mirror of
https://github.com/thoughtbot/factory_bot_rails.git
synced 2022-11-09 11:49:18 -05:00
a44854dc0c
The gem is dependent on Git (factory_girl_rails.gemspec uses git ls-files). Some prod environments do not have git and if you try adding a gem through git or path option in bundler, 'git ls-files' in the .gemspec fails. Instead of using git, we could use pure Ruby code to list the gem files. Fixes #177.
20 lines
774 B
Ruby
20 lines
774 B
Ruby
Gem::Specification.new do |s|
|
|
s.name = %q{factory_girl_rails}
|
|
s.version = '4.7.0'
|
|
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.7.0')
|
|
end
|