diff --git a/.gitignore b/.gitignore index 136b8a8..8ed33a6 100644 --- a/.gitignore +++ b/.gitignore @@ -10,3 +10,4 @@ spec/db/data_schema.rb .ruby-version .idea/ vendor/ +Gemfile.lock diff --git a/data_migrate.gemspec b/data_migrate.gemspec index 22e9cb4..e05ec5f 100644 --- a/data_migrate.gemspec +++ b/data_migrate.gemspec @@ -15,6 +15,11 @@ Gem::Specification.new do |s| s.rubyforge_project = "data_migrate" + s.files = Dir["{lib,tasks}/**/*", "Changelog.md", "LICENSE", "README.md"] + s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n") + s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) } + s.require_paths = ["lib"] + %w[ activerecord railties @@ -32,10 +37,4 @@ Gem::Specification.new do |s| s.add_development_dependency "timecop" s.add_development_dependency "rubocop" s.add_development_dependency "overcommit" - - - s.files = `git ls-files`.split("\n") - s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n") - s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) } - s.require_paths = ["lib"] end