From c4f561d2d72597404930b762dc0d8f972da762c9 Mon Sep 17 00:00:00 2001 From: meganemura Date: Wed, 15 Aug 2018 10:21:49 -0400 Subject: [PATCH] Don't include extra files in the gem Closes #225 Also remove the factory_girl_rails gemspec, since we aren't going to release another version of that gem. Co-authored-by: Daniel Colson --- factory_bot_rails.gemspec | 2 +- factory_girl_rails.gemspec | 20 -------------------- 2 files changed, 1 insertion(+), 21 deletions(-) delete mode 100644 factory_girl_rails.gemspec 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