From 030f4945fe72265177bd5620141b363b3cddeefb Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Sun, 8 Nov 2015 21:56:40 -0500 Subject: [PATCH] Move the install-fixtures.sh script to a harmless location. --- mailshears.gemspec | 11 +++++++---- {bin => test/bin}/install-fixtures.sh | 6 +++++- 2 files changed, 12 insertions(+), 5 deletions(-) rename {bin => test/bin}/install-fixtures.sh (84%) diff --git a/mailshears.gemspec b/mailshears.gemspec index 6af744f..3d7239b 100644 --- a/mailshears.gemspec +++ b/mailshears.gemspec @@ -1,7 +1,7 @@ Gem::Specification.new do |s| s.name = 'mailshears' - s.version = '0.0.1' + s.version = '0.0.2' s.platform = Gem::Platform::RUBY s.authors = ['Michael Orlitzky'] s.email = ['michael@orlitzky.com'] @@ -30,9 +30,12 @@ Gem::Specification.new do |s| # If you have runtime dependencies, add them here s.add_runtime_dependency 'pg', '~> 0.11' - # The list of files to be contained in the gem - s.files = `git ls-files`.split("\n") - s.executables = ['mailshears'] + # The list of files to be contained in the gem. We can obtain it + # from git as long as we remember that this magic will happen and we + # don't add any files in weird locations or build the gem before + # running `git add`. + s.files = `git ls-files`.split("\n") + s.executables = ['mailshears'] s.require_path = 'lib' diff --git a/bin/install-fixtures.sh b/test/bin/install-fixtures.sh similarity index 84% rename from bin/install-fixtures.sh rename to test/bin/install-fixtures.sh index da052e6..88e4441 100755 --- a/bin/install-fixtures.sh +++ b/test/bin/install-fixtures.sh @@ -1,5 +1,9 @@ #!/bin/sh - +# +# This script installs the test fixtures into the default databases on +# localhost assuming everything is configured just right. Don't worry +# about this, go play with something else. +# rm -rf /tmp/mailshears-test mkdir -p /tmp/mailshears-test/example.com/alice mkdir -p /tmp/mailshears-test/example.com/booger -- 2.43.2