diff --git a/factory_bot_rails.gemspec b/factory_bot_rails.gemspec index a34ac09..3d86fc6 100644 --- a/factory_bot_rails.gemspec +++ b/factory_bot_rails.gemspec @@ -10,7 +10,7 @@ Gem::Specification.new do |s| factory_bot and rails 3 or newer (currently just automatic factory definition loading)} - s.files = Dir['**/*'].keep_if { |file| File.file?(file) } + s.files = Dir['lib/**/*'] + %w[CONTRIBUTING.md LICENSE NEWS README.md] s.require_paths = ["lib"] s.executables = [] s.license = "MIT" diff --git a/factory_girl_rails.gemspec b/factory_girl_rails.gemspec deleted file mode 100644 index 80710a4..0000000 --- a/factory_girl_rails.gemspec +++ /dev/null @@ -1,20 +0,0 @@ -Gem::Specification.new do |s| - s.name = %q{factory_girl_rails} - s.version = '4.8.2' - s.authors = ["Joe Ferris"] - s.email = %q{jferris@thoughtbot.com} - s.homepage = "http://github.com/thoughtbot/factory_girl_rails" - s.summary = %q{factory_girl_rails provides integration between - factory_girl and rails 3 or newer} - s.description = %q{factory_girl_rails provides integration between - factory_girl and rails 3 or newer (currently just automatic factory definition - loading)} - - s.files = Dir['**/*'].keep_if { |file| File.file?(file) } - s.require_paths = ["lib"] - s.executables = [] - s.license = "MIT" - - s.add_runtime_dependency('railties', '>= 3.0.0') - s.add_runtime_dependency('factory_girl', '~> 4.8.2') -end