mirror of
https://github.com/thoughtbot/factory_bot_rails.git
synced 2022-11-09 11:49:18 -05:00
Use Bundler gem conventions.
This commit is contained in:
parent
bf6acea862
commit
eb7d9c1126
3 changed files with 13 additions and 18 deletions
10
Rakefile
10
Rakefile
|
@ -1,13 +1,7 @@
|
|||
require 'rubygems'
|
||||
require 'bundler/setup'
|
||||
require 'rake/gempackagetask'
|
||||
require 'bundler'
|
||||
require 'cucumber/rake/task'
|
||||
|
||||
eval("$specification = #{IO.read('factory_girl_rails.gemspec')}")
|
||||
Rake::GemPackageTask.new($specification) do |package|
|
||||
package.need_zip = true
|
||||
package.need_tar = true
|
||||
end
|
||||
Bundler::GemHelper.install_tasks
|
||||
|
||||
Cucumber::Rake::Task.new(:cucumber) do |t|
|
||||
t.fork = true
|
||||
|
|
|
@ -1,26 +1,26 @@
|
|||
Gem::Specification.new do |s|
|
||||
s.name = %q{factory_girl_rails}
|
||||
s.version = '1.3.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}
|
||||
s.description = %q{factory_girl_rails provides integration between
|
||||
factory_girl and rails 3 (currently just automatic factory definition
|
||||
loading)}
|
||||
s.files = Dir['[A-Z]*', 'lib/**/*.rb', 'spec/**/*.rb', 'features/**/*']
|
||||
s.require_path = 'lib'
|
||||
s.test_files = Dir['spec/**/*_spec.rb', 'features/**/*']
|
||||
s.authors = ["Joe Ferris"]
|
||||
s.email = %q{jferris@thoughtbot.com}
|
||||
s.homepage = "http://github.com/thoughtbot/factory_girl_rails"
|
||||
|
||||
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"]
|
||||
|
||||
s.add_runtime_dependency('railties', '>= 3.0.0')
|
||||
s.add_runtime_dependency('factory_girl', '~> 2.2.0')
|
||||
|
||||
s.add_development_dependency('rake')
|
||||
s.add_development_dependency('rspec', '~> 2.6.0')
|
||||
s.add_development_dependency('cucumber', '~> 1.0.0')
|
||||
s.add_development_dependency('aruba')
|
||||
s.add_development_dependency('rails', '3.0.7')
|
||||
|
||||
s.platform = Gem::Platform::RUBY
|
||||
s.rubygems_version = %q{1.2.0}
|
||||
end
|
||||
|
||||
|
|
1
lib/factory_girl_rails/version.rb
Normal file
1
lib/factory_girl_rails/version.rb
Normal file
|
@ -0,0 +1 @@
|
|||
module FactoryGirl
|
Loading…
Reference in a new issue