factory_girl_rails 4.1.0 → 4.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/.gitignore CHANGED
@@ -5,3 +5,5 @@ tmp
5
5
  rdoc
6
6
  coverage
7
7
  pkg
8
+ .bundle
9
+ Gemfile.lock
@@ -0,0 +1,17 @@
1
+ rvm:
2
+ - 1.9.2
3
+ - 1.9.3
4
+ - jruby-19mode
5
+ before_install:
6
+ - gem update --system
7
+ - gem install turn --version 0.8.2
8
+ - gem install turn --version 0.8.3
9
+ jdk:
10
+ - openjdk6
11
+ gemfile:
12
+ - gemfiles/rails3.0.gemfile
13
+ - gemfiles/rails3.1.gemfile
14
+ - gemfiles/rails3.2.gemfile
15
+ branches:
16
+ only:
17
+ - master
@@ -0,0 +1,35 @@
1
+ appraise "rails3.0" do
2
+ gem "rails", "3.0.18"
3
+ gem "sqlite3", ">= 1.3.4", platforms: :mri
4
+ gem "activerecord-jdbcsqlite3-adapter", "~> 1.2.5", platforms: :jruby
5
+ gem "minitest-rails"
6
+ gem "therubyrhino"
7
+ gem "jquery-rails"
8
+ gem "rspec-rails"
9
+ end
10
+
11
+ appraise "rails3.1" do
12
+ gem "rails", "3.1.9"
13
+ gem "sass-rails"
14
+ gem "coffee-rails"
15
+ gem "uglifier"
16
+ gem "sqlite3", ">= 1.3.4", platforms: :mri
17
+ gem "activerecord-jdbcsqlite3-adapter", "~> 1.2.5", platforms: :jruby
18
+ gem "minitest-rails"
19
+ gem "therubyrhino"
20
+ gem "jquery-rails"
21
+ gem "rspec-rails"
22
+ end
23
+
24
+ appraise "rails3.2" do
25
+ gem "rails", "3.2.10"
26
+ gem "sass-rails"
27
+ gem "coffee-rails"
28
+ gem "uglifier"
29
+ gem "sqlite3", ">= 1.3.4", platforms: :mri
30
+ gem "activerecord-jdbcsqlite3-adapter", "~> 1.2.5", platforms: :jruby
31
+ gem "minitest-rails"
32
+ gem "therubyrhino"
33
+ gem "jquery-rails"
34
+ gem "rspec-rails"
35
+ end
data/LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2010 Joe Ferris and thoughtbot, inc.
1
+ Copyright (c) 2008-2013 Joe Ferris and thoughtbot, inc.
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining a copy
4
4
  of this software and associated documentation files (the "Software"), to deal
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- factory_girl
1
+ factory_girl [![Build Status](https://secure.travis-ci.org/thoughtbot/factory_girl_rails.png)](http://travis-ci.org/thoughtbot/factory_girl_rails?branch=master)
2
2
  ============
3
3
 
4
4
  factory_girl is a fixtures replacement with a straightforward definition
@@ -31,6 +31,16 @@ Add factory_girl_rails to your Gemfile:
31
31
 
32
32
  gem 'factory_girl_rails'
33
33
 
34
+ Optionally, to have rails generators automatically generate factories instead
35
+ of fixtures, add the following to your application.rb file:
36
+
37
+ config.generators do |g|
38
+ g.fixture_replacement :factory_girl
39
+ end
40
+
41
+ `fixture_replacement :factory_girl` takes an option `:suffix => 'some_suffix'`
42
+ to generate factories as "modelname_some_suffix.rb"
43
+
34
44
  Cucumber Integration
35
45
  --------------------
36
46
 
@@ -62,4 +72,4 @@ The names and logos for thoughtbot are trademarks of thoughtbot, inc.
62
72
  License
63
73
  -------
64
74
 
65
- factory_girl is Copyright © 2008-2011 Joe Ferris and thoughtbot. It is free software, and may be redistributed under the terms specified in the LICENSE file.
75
+ factory_girl is Copyright © 2008-2013 Joe Ferris and thoughtbot. It is free software, and may be redistributed under the terms specified in the LICENSE file.
data/Rakefile CHANGED
@@ -7,5 +7,17 @@ Cucumber::Rake::Task.new(:cucumber) do |t|
7
7
  t.cucumber_opts = ['--format', (ENV['CUCUMBER_FORMAT'] || 'progress')]
8
8
  end
9
9
 
10
- desc "Default: run the cucumber scenarios"
11
- task :default => :cucumber
10
+ require 'appraisal'
11
+
12
+ desc 'Run the test suite'
13
+ task :default do |t|
14
+ if ENV['BUNDLE_GEMFILE'] =~ /gemfiles/
15
+ exec 'rake cucumber'
16
+ else
17
+ Rake::Task['appraise'].execute
18
+ end
19
+ end
20
+
21
+ task :appraise => ['appraisal:install'] do |t|
22
+ exec 'rake appraisal'
23
+ end
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = %q{factory_girl_rails}
3
- s.version = '4.1.0'
3
+ s.version = '4.2.0'
4
4
  s.authors = ["Joe Ferris"]
5
5
  s.email = %q{jferris@thoughtbot.com}
6
6
  s.homepage = "http://github.com/thoughtbot/factory_girl_rails"
@@ -11,16 +11,16 @@ Gem::Specification.new do |s|
11
11
  loading)}
12
12
 
13
13
  s.files = `git ls-files`.split("\n")
14
- s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
14
+ s.test_files = `git ls-files -- Appraisals {spec,features,gemfiles}/*`.split("\n")
15
15
  s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
16
16
  s.require_paths = ["lib"]
17
17
 
18
18
  s.add_runtime_dependency('railties', '>= 3.0.0')
19
- s.add_runtime_dependency('factory_girl', '~> 4.1.0')
19
+ s.add_runtime_dependency('factory_girl', '~> 4.2.0')
20
20
 
21
+ s.add_development_dependency('appraisal', '~> 0.5.0')
21
22
  s.add_development_dependency('rake')
22
- s.add_development_dependency('rspec', '~> 2.6.0')
23
- s.add_development_dependency('cucumber', '~> 1.0.0')
24
- s.add_development_dependency('aruba')
25
- s.add_development_dependency('rails', '3.0.7')
23
+ s.add_development_dependency('rspec', '~> 2.11.0')
24
+ s.add_development_dependency('cucumber', '~> 1.2.1')
25
+ s.add_development_dependency('aruba', '~> 0.5.1')
26
26
  end
@@ -1,31 +1,72 @@
1
- @disable-bundler
2
1
  Feature:
3
- In order to not have to manually configure factory girl as the testing fixture replacement
4
- by using the --fixture-replacement=factory_girl option
5
- as a Rails3 and Factory Girl user
6
- I would like the Factory Girl Rails gem to configure Factory Girl
7
- as the fixture replacement.
2
+ In order to not have to manually configure factory girl as the testing fixture replacement by using the --fixture-replacement=factory_girl option as a Rails3 and Factory Girl user
3
+ I would like the Factory Girl Rails gem to configure Factory Girl as the fixture replacement.
8
4
 
9
5
  Background:
10
6
  Given I successfully run `bundle exec rails new testapp`
11
7
  And I cd to "testapp"
12
8
  And I add "factory_girl_rails" from this project as a dependency
13
9
 
14
- Scenario: Using Factory Girl and Factory Girl Rails with Test Unit generates
15
- a factory file and does not generate a fixture file
16
- And I successfully run `bundle install`
17
- And I successfully run `bundle exec rails generate model User name:string`
10
+ Scenario: Using Factory Girl and Factory Girl Rails with Test Unit generates a factory file and does not generate a fixture file
11
+ And I run `bundle install` with a clean environment
12
+ And I run `bundle exec rails generate model User name:string` with a clean environment
18
13
  Then the following files should exist:
19
14
  | test/factories/users.rb |
20
15
  And the following files should not exist:
21
16
  | test/fixtures/users.yml |
22
17
 
23
-
24
18
  Scenario: Using Factory Girl and Factory Girl Rails with RSpec should generate a factory file
25
- And I add "rspec-rails" as a dependency
26
- And I successfully run `bundle install`
27
- And I successfully run `bundle exec rails generate model User name:string`
19
+ When I add "rspec-rails" as a dependency
20
+ And I run `bundle install` with a clean environment
21
+ Then the output should contain "rspec-rails"
22
+ And I run `bundle exec rails generate model User name:string` with a clean environment
28
23
  Then the following files should exist:
29
24
  | spec/factories/users.rb |
30
25
  And the following files should not exist:
31
26
  | spec/fixtures/users.yml |
27
+
28
+ Scenario: Using Factory Girl and Factory Girl Rails does not override a manually-configured factories directory using RSpec
29
+ When I add "rspec-rails" as a dependency
30
+ And I configure the factories directory as "custom/dir"
31
+ And I run `bundle install` with a clean environment
32
+ Then the output should contain "rspec-rails"
33
+ And I run `bundle exec rails generate model User name:string` with a clean environment
34
+ Then the following files should not exist:
35
+ | test/factories/users.rb |
36
+ | spec/factories/users.rb |
37
+ But the following files should exist:
38
+ | custom/dir/users.rb |
39
+
40
+ Scenario: Using Factory Girl and Factory Girl Rails does not override a manually-configured factories directory using Test::Unit
41
+ When I configure the factories directory as "custom/dir"
42
+ And I run `bundle install` with a clean environment
43
+ And I run `bundle exec rails generate model User name:string` with a clean environment
44
+ Then the following files should not exist:
45
+ | test/factories/users.rb |
46
+ | spec/factories/users.rb |
47
+ But the following files should exist:
48
+ | custom/dir/users.rb |
49
+
50
+ Scenario: Using Factory Girl and Factory Girl Rails with MiniTest should generate a factory file
51
+ When I add "minitest" as a dependency
52
+ And I configure the testing framework to use MiniTest
53
+ And I run `bundle install` with a clean environment
54
+ Then the output should contain "minitest"
55
+ And I run `bundle exec rails generate model User name:string` with a clean environment
56
+ Then the following files should exist:
57
+ | test/factories/users.rb |
58
+ But the following files should not exist:
59
+ | spec/fixtures/users.yml |
60
+
61
+ Scenario: Using Factory Girl and Factory Girl Rails with MiniTest and a custom directory should generate a factory file
62
+ When I configure the factories directory as "custom/dir"
63
+ And I add "minitest" as a dependency
64
+ And I configure the testing framework to use MiniTest
65
+ And I run `bundle install` with a clean environment
66
+ Then the output should contain "minitest"
67
+ And I run `bundle exec rails generate model User name:string` with a clean environment
68
+ Then the following files should exist:
69
+ | custom/dir/users.rb |
70
+ But the following files should not exist:
71
+ | spec/fixtures/users.yml |
72
+ And the file "test/models/user_test.rb" should contain "MiniTest::Rails::ActiveSupport::TestCase"
@@ -3,15 +3,26 @@ Feature:
3
3
  As a user of Rails3 and factory_girl
4
4
  I would like to use factory_girl_rails generators.
5
5
 
6
- Scenario: The factory_girl_rails generators create a factory file
7
- for each model that I generate
8
- When I successfully run `bundle exec rails new testapp`
6
+ Background:
7
+ Given I successfully run `bundle exec rails new testapp`
9
8
  And I cd to "testapp"
10
9
  And I add "factory_girl_rails" from this project as a dependency
11
- When I successfully run `bundle install`
12
- And I successfully run `bundle exec rails generate model User name:string --fixture-replacement=factory_girl`
13
- And I successfully run `bundle exec rails generate model Namespaced::User name:string --fixture-replacement=factory_girl`
10
+
11
+ Scenario: The factory_girl_rails generators create a factory file for each model that I generate
12
+ When I run `bundle install` with a clean environment
13
+ And I run `bundle exec rails generate model User name:string --fixture-replacement=factory_girl` with a clean environment
14
+ And I run `bundle exec rails generate model Namespaced::User name:string --fixture-replacement=factory_girl` with a clean environment
14
15
  Then the output should contain "test/factories/users.rb"
15
16
  And the output should contain "test/factories/namespaced_users.rb"
16
17
  And the file "test/factories/users.rb" should contain "factory :user do"
17
18
  And the file "test/factories/namespaced_users.rb" should contain "factory :namespaced_user, :class => 'Namespaced::User' do"
19
+
20
+ Scenario: The factory_girl_rails generators create a factory file with a custom name for each model that I generate
21
+ When I run `bundle install` with a clean environment
22
+ And I set the FactoryGirl :suffix option to "factory"
23
+ And I run `bundle exec rails generate model User name:string --fixture-replacement=factory_girl` with a clean environment
24
+ And I run `bundle exec rails generate model Namespaced::User name:string --fixture-replacement=factory_girl` with a clean environment
25
+ Then the output should contain "test/factories/users_factory.rb"
26
+ And the output should contain "test/factories/namespaced_users_factory.rb"
27
+ And the file "test/factories/users_factory.rb" should contain "factory :user do"
28
+ And the file "test/factories/namespaced_users_factory.rb" should contain "factory :namespaced_user, :class => 'Namespaced::User' do"
@@ -1,9 +1,11 @@
1
1
  Feature: automatically load step definitions
2
+
2
3
  Background:
3
4
  When I successfully run `bundle exec rails new testapp`
4
5
  And I cd to "testapp"
5
6
  And I add "factory_girl_rails" from this project as a dependency
6
- When I successfully run `bundle install`
7
+ And I comment out gem "turn" from my Gemfile
8
+ And I run `bundle install` with a clean environment
7
9
  And I write to "db/migrate/1_create_users.rb" with:
8
10
  """
9
11
  class CreateUsers < ActiveRecord::Migration
@@ -14,14 +16,13 @@ Feature: automatically load step definitions
14
16
  end
15
17
  end
16
18
  """
17
- When I successfully run `bundle exec rake db:migrate --trace`
19
+ When I run `bundle exec rake db:migrate --trace` with a clean environment
18
20
  And I write to "app/models/user.rb" with:
19
21
  """
20
22
  class User < ActiveRecord::Base
21
23
  end
22
24
  """
23
25
 
24
- @disable-bundler
25
26
  Scenario: generate a rails 3 application and use factory definitions
26
27
  When I write to "test/factories.rb" with:
27
28
  """
@@ -42,10 +43,9 @@ Feature: automatically load step definitions
42
43
  end
43
44
  end
44
45
  """
45
- When I successfully run `bundle exec rake test --trace`
46
+ When I run `bundle exec rake test --trace` with a clean environment
46
47
  Then the output should contain "1 tests, 1 assertions, 0 failures, 0 errors"
47
48
 
48
- @disable-bundler
49
49
  Scenario: use factories advertised by railties/engines/3rd-party gems
50
50
  When I append to "config/application.rb" with:
51
51
  """
@@ -81,5 +81,5 @@ Feature: automatically load step definitions
81
81
  end
82
82
  end
83
83
  """
84
- When I successfully run `bundle exec rake test --trace`
85
- Then the output should contain "1 tests, 1 assertions, 0 failures, 0 errors"
84
+ When I run `bundle exec rake test --trace` with a clean environment
85
+ Then the output should contain "1 tests, 1 assertions, 0 failures, 0 errors"
@@ -0,0 +1,5 @@
1
+ When /^I run `([^"]+)` with a clean environment$/ do |command|
2
+ step %{I successfully run `ruby -e 'system({"BUNDLE_GEMFILE" => nil}, "#{command}")'`}
3
+ end
4
+
5
+ # system({'BUNDLE_GEMFILE' => nil}, "cd tmp/aruba/testapp && #{command} && cd -")
@@ -5,3 +5,48 @@ end
5
5
  When /^I add "([^"]+)" as a dependency$/ do |gem_name|
6
6
  append_to_file('Gemfile', %{gem "#{gem_name}"\n})
7
7
  end
8
+
9
+ When /^I set the FactoryGirl :suffix option to "([^"]+)"$/ do |suffix|
10
+ append_to_file('config/application.rb', <<-RUBY)
11
+ module Testapp
12
+ class Application < Rails::Application
13
+ config.generators do |g|
14
+ g.fixture_replacement :factory_girl, :suffix => '#{suffix}'
15
+ end
16
+ end
17
+ end
18
+ RUBY
19
+
20
+ end
21
+
22
+ When /^I configure the factories directory as "([^"]+)"$/ do |factory_dir|
23
+ append_to_file File.join('config', 'application.rb'), <<-END
24
+ class Testapp::Application
25
+ config.generators do |g|
26
+ g.fixture_replacement :factory_girl, :dir => "#{factory_dir}"
27
+ end
28
+ end
29
+ END
30
+ end
31
+
32
+ When /^I configure the testing framework to use MiniTest$/ do
33
+ append_to_file('Gemfile', %{gem "minitest-rails", :group => [:development, :test]\n})
34
+ step %{I run `rails generate mini_test:install` with a clean environment}
35
+
36
+ append_to_file File.join('config', 'application.rb'), <<-END
37
+ class Testapp::Application
38
+ config.generators do |g|
39
+ g.test_framework :mini_test, :fixture => false, :fixture_replacement => :factory_girl
40
+ end
41
+ end
42
+ END
43
+ end
44
+
45
+ When /^I comment out gem "([^"]*)" from my Gemfile$/ do |gem_name|
46
+ in_current_dir do
47
+ content = File.read('Gemfile')
48
+ File.open('Gemfile', 'w') do |f|
49
+ f.write content.sub(/gem ['"]#{gem_name}/, '#\1')
50
+ end
51
+ end
52
+ end
@@ -5,3 +5,10 @@ PROJECT_ROOT = File.expand_path(File.join(File.dirname(__FILE__), '..', '..')).f
5
5
  Before do
6
6
  @aruba_timeout_seconds = 3600
7
7
  end
8
+
9
+ Aruba.configure do |config|
10
+ config.before_cmd do |cmd|
11
+ set_env('JRUBY_OPTS', "-X-C #{ENV['JRUBY_OPTS']}") # disable JIT since these processes are so short lived
12
+ set_env('JAVA_OPTS', "-d32 #{ENV['JAVA_OPTS']}") # force jRuby to use client JVM for faster startup times
13
+ end
14
+ end if RUBY_PLATFORM == 'java'
@@ -0,0 +1,13 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "http://rubygems.org"
4
+
5
+ gem "rails", "3.0.18"
6
+ gem "sqlite3", ">= 1.3.4", :platforms=>:mri
7
+ gem "activerecord-jdbcsqlite3-adapter", "~> 1.2.5", :platforms=>:jruby
8
+ gem "minitest-rails"
9
+ gem "therubyrhino"
10
+ gem "jquery-rails"
11
+ gem "rspec-rails"
12
+
13
+ gemspec :path=>"../"
@@ -0,0 +1,139 @@
1
+ PATH
2
+ remote: /Users/joshuaclayton/dev/gems/factory_girl_rails
3
+ specs:
4
+ factory_girl_rails (4.2.0)
5
+ factory_girl (~> 4.2.0)
6
+ railties (>= 3.0.0)
7
+
8
+ GEM
9
+ remote: http://rubygems.org/
10
+ specs:
11
+ abstract (1.0.0)
12
+ actionmailer (3.0.18)
13
+ actionpack (= 3.0.18)
14
+ mail (~> 2.2.19)
15
+ actionpack (3.0.18)
16
+ activemodel (= 3.0.18)
17
+ activesupport (= 3.0.18)
18
+ builder (~> 2.1.2)
19
+ erubis (~> 2.6.6)
20
+ i18n (~> 0.5.0)
21
+ rack (~> 1.2.5)
22
+ rack-mount (~> 0.6.14)
23
+ rack-test (~> 0.5.7)
24
+ tzinfo (~> 0.3.23)
25
+ activemodel (3.0.18)
26
+ activesupport (= 3.0.18)
27
+ builder (~> 2.1.2)
28
+ i18n (~> 0.5.0)
29
+ activerecord (3.0.18)
30
+ activemodel (= 3.0.18)
31
+ activesupport (= 3.0.18)
32
+ arel (~> 2.0.10)
33
+ tzinfo (~> 0.3.23)
34
+ activeresource (3.0.18)
35
+ activemodel (= 3.0.18)
36
+ activesupport (= 3.0.18)
37
+ activesupport (3.0.18)
38
+ appraisal (0.5.1)
39
+ bundler
40
+ rake
41
+ arel (2.0.10)
42
+ aruba (0.5.1)
43
+ childprocess (~> 0.3.6)
44
+ cucumber (>= 1.1.1)
45
+ rspec-expectations (>= 2.7.0)
46
+ builder (2.1.2)
47
+ childprocess (0.3.6)
48
+ ffi (~> 1.0, >= 1.0.6)
49
+ cucumber (1.2.1)
50
+ builder (>= 2.1.2)
51
+ diff-lcs (>= 1.1.3)
52
+ gherkin (~> 2.11.0)
53
+ json (>= 1.4.6)
54
+ diff-lcs (1.1.3)
55
+ erubis (2.6.6)
56
+ abstract (>= 1.0.0)
57
+ factory_girl (4.2.0)
58
+ activesupport (>= 3.0.0)
59
+ ffi (1.3.1)
60
+ gherkin (2.11.5)
61
+ json (>= 1.4.6)
62
+ i18n (0.5.0)
63
+ jquery-rails (2.1.4)
64
+ railties (>= 3.0, < 5.0)
65
+ thor (>= 0.14, < 2.0)
66
+ json (1.7.6)
67
+ mail (2.2.19)
68
+ activesupport (>= 2.3.6)
69
+ i18n (>= 0.4.0)
70
+ mime-types (~> 1.16)
71
+ treetop (~> 1.4.8)
72
+ mime-types (1.19)
73
+ minitest (4.4.0)
74
+ minitest-rails (0.3)
75
+ minitest (~> 4.0)
76
+ rails (~> 3.0)
77
+ polyglot (0.3.3)
78
+ rack (1.2.7)
79
+ rack-mount (0.6.14)
80
+ rack (>= 1.0.0)
81
+ rack-test (0.5.7)
82
+ rack (>= 1.0)
83
+ rails (3.0.18)
84
+ actionmailer (= 3.0.18)
85
+ actionpack (= 3.0.18)
86
+ activerecord (= 3.0.18)
87
+ activeresource (= 3.0.18)
88
+ activesupport (= 3.0.18)
89
+ bundler (~> 1.0)
90
+ railties (= 3.0.18)
91
+ railties (3.0.18)
92
+ actionpack (= 3.0.18)
93
+ activesupport (= 3.0.18)
94
+ rake (>= 0.8.7)
95
+ rdoc (~> 3.4)
96
+ thor (~> 0.14.4)
97
+ rake (10.0.3)
98
+ rdoc (3.12)
99
+ json (~> 1.4)
100
+ rspec (2.11.0)
101
+ rspec-core (~> 2.11.0)
102
+ rspec-expectations (~> 2.11.0)
103
+ rspec-mocks (~> 2.11.0)
104
+ rspec-core (2.11.1)
105
+ rspec-expectations (2.11.3)
106
+ diff-lcs (~> 1.1.3)
107
+ rspec-mocks (2.11.3)
108
+ rspec-rails (2.11.4)
109
+ actionpack (>= 3.0)
110
+ activesupport (>= 3.0)
111
+ railties (>= 3.0)
112
+ rspec (~> 2.11.0)
113
+ sqlite3 (1.3.7)
114
+ therubyrhino (2.0.2)
115
+ therubyrhino_jar (>= 1.7.3)
116
+ therubyrhino_jar (1.7.4)
117
+ thor (0.14.6)
118
+ treetop (1.4.12)
119
+ polyglot
120
+ polyglot (>= 0.3.1)
121
+ tzinfo (0.3.35)
122
+
123
+ PLATFORMS
124
+ ruby
125
+
126
+ DEPENDENCIES
127
+ activerecord-jdbcsqlite3-adapter (~> 1.2.5)
128
+ appraisal (~> 0.5.0)
129
+ aruba (~> 0.5.1)
130
+ cucumber (~> 1.2.1)
131
+ factory_girl_rails!
132
+ jquery-rails
133
+ minitest-rails
134
+ rails (= 3.0.18)
135
+ rake
136
+ rspec (~> 2.11.0)
137
+ rspec-rails
138
+ sqlite3 (>= 1.3.4)
139
+ therubyrhino
@@ -0,0 +1,16 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "http://rubygems.org"
4
+
5
+ gem "rails", "3.1.9"
6
+ gem "sass-rails"
7
+ gem "coffee-rails"
8
+ gem "uglifier"
9
+ gem "sqlite3", ">= 1.3.4", :platforms=>:mri
10
+ gem "activerecord-jdbcsqlite3-adapter", "~> 1.2.5", :platforms=>:jruby
11
+ gem "minitest-rails"
12
+ gem "therubyrhino"
13
+ gem "jquery-rails"
14
+ gem "rspec-rails"
15
+
16
+ gemspec :path=>"../"
@@ -0,0 +1,171 @@
1
+ PATH
2
+ remote: /Users/joshuaclayton/dev/gems/factory_girl_rails
3
+ specs:
4
+ factory_girl_rails (4.2.0)
5
+ factory_girl (~> 4.2.0)
6
+ railties (>= 3.0.0)
7
+
8
+ GEM
9
+ remote: http://rubygems.org/
10
+ specs:
11
+ actionmailer (3.1.9)
12
+ actionpack (= 3.1.9)
13
+ mail (~> 2.3.3)
14
+ actionpack (3.1.9)
15
+ activemodel (= 3.1.9)
16
+ activesupport (= 3.1.9)
17
+ builder (~> 3.0.0)
18
+ erubis (~> 2.7.0)
19
+ i18n (~> 0.6)
20
+ rack (~> 1.3.6)
21
+ rack-cache (~> 1.2)
22
+ rack-mount (~> 0.8.2)
23
+ rack-test (~> 0.6.1)
24
+ sprockets (~> 2.0.4)
25
+ activemodel (3.1.9)
26
+ activesupport (= 3.1.9)
27
+ builder (~> 3.0.0)
28
+ i18n (~> 0.6)
29
+ activerecord (3.1.9)
30
+ activemodel (= 3.1.9)
31
+ activesupport (= 3.1.9)
32
+ arel (~> 2.2.3)
33
+ tzinfo (~> 0.3.29)
34
+ activeresource (3.1.9)
35
+ activemodel (= 3.1.9)
36
+ activesupport (= 3.1.9)
37
+ activesupport (3.1.9)
38
+ multi_json (>= 1.0, < 1.3)
39
+ appraisal (0.5.1)
40
+ bundler
41
+ rake
42
+ arel (2.2.3)
43
+ aruba (0.5.1)
44
+ childprocess (~> 0.3.6)
45
+ cucumber (>= 1.1.1)
46
+ rspec-expectations (>= 2.7.0)
47
+ builder (3.0.4)
48
+ childprocess (0.3.6)
49
+ ffi (~> 1.0, >= 1.0.6)
50
+ coffee-rails (3.1.1)
51
+ coffee-script (>= 2.2.0)
52
+ railties (~> 3.1.0)
53
+ coffee-script (2.2.0)
54
+ coffee-script-source
55
+ execjs
56
+ coffee-script-source (1.4.0)
57
+ cucumber (1.2.1)
58
+ builder (>= 2.1.2)
59
+ diff-lcs (>= 1.1.3)
60
+ gherkin (~> 2.11.0)
61
+ json (>= 1.4.6)
62
+ diff-lcs (1.1.3)
63
+ erubis (2.7.0)
64
+ execjs (1.4.0)
65
+ multi_json (~> 1.0)
66
+ factory_girl (4.2.0)
67
+ activesupport (>= 3.0.0)
68
+ ffi (1.3.1)
69
+ gherkin (2.11.5)
70
+ json (>= 1.4.6)
71
+ hike (1.2.1)
72
+ i18n (0.6.1)
73
+ jquery-rails (2.1.4)
74
+ railties (>= 3.0, < 5.0)
75
+ thor (>= 0.14, < 2.0)
76
+ json (1.7.6)
77
+ mail (2.3.3)
78
+ i18n (>= 0.4.0)
79
+ mime-types (~> 1.16)
80
+ treetop (~> 1.4.8)
81
+ mime-types (1.19)
82
+ minitest (4.4.0)
83
+ minitest-rails (0.3)
84
+ minitest (~> 4.0)
85
+ rails (~> 3.0)
86
+ multi_json (1.2.0)
87
+ polyglot (0.3.3)
88
+ rack (1.3.9)
89
+ rack-cache (1.2)
90
+ rack (>= 0.4)
91
+ rack-mount (0.8.3)
92
+ rack (>= 1.0.0)
93
+ rack-ssl (1.3.2)
94
+ rack
95
+ rack-test (0.6.2)
96
+ rack (>= 1.0)
97
+ rails (3.1.9)
98
+ actionmailer (= 3.1.9)
99
+ actionpack (= 3.1.9)
100
+ activerecord (= 3.1.9)
101
+ activeresource (= 3.1.9)
102
+ activesupport (= 3.1.9)
103
+ bundler (~> 1.0)
104
+ railties (= 3.1.9)
105
+ railties (3.1.9)
106
+ actionpack (= 3.1.9)
107
+ activesupport (= 3.1.9)
108
+ rack-ssl (~> 1.3.2)
109
+ rake (>= 0.8.7)
110
+ rdoc (~> 3.4)
111
+ thor (~> 0.14.6)
112
+ rake (10.0.3)
113
+ rdoc (3.12)
114
+ json (~> 1.4)
115
+ rspec (2.11.0)
116
+ rspec-core (~> 2.11.0)
117
+ rspec-expectations (~> 2.11.0)
118
+ rspec-mocks (~> 2.11.0)
119
+ rspec-core (2.11.1)
120
+ rspec-expectations (2.11.3)
121
+ diff-lcs (~> 1.1.3)
122
+ rspec-mocks (2.11.3)
123
+ rspec-rails (2.11.4)
124
+ actionpack (>= 3.0)
125
+ activesupport (>= 3.0)
126
+ railties (>= 3.0)
127
+ rspec (~> 2.11.0)
128
+ sass (3.2.5)
129
+ sass-rails (3.1.7)
130
+ actionpack (~> 3.1.0)
131
+ railties (~> 3.1.0)
132
+ sass (>= 3.1.10)
133
+ tilt (~> 1.3.2)
134
+ sprockets (2.0.4)
135
+ hike (~> 1.2)
136
+ rack (~> 1.0)
137
+ tilt (~> 1.1, != 1.3.0)
138
+ sqlite3 (1.3.7)
139
+ therubyrhino (2.0.2)
140
+ therubyrhino_jar (>= 1.7.3)
141
+ therubyrhino_jar (1.7.4)
142
+ thor (0.14.6)
143
+ tilt (1.3.3)
144
+ treetop (1.4.12)
145
+ polyglot
146
+ polyglot (>= 0.3.1)
147
+ tzinfo (0.3.35)
148
+ uglifier (1.3.0)
149
+ execjs (>= 0.3.0)
150
+ multi_json (~> 1.0, >= 1.0.2)
151
+
152
+ PLATFORMS
153
+ ruby
154
+
155
+ DEPENDENCIES
156
+ activerecord-jdbcsqlite3-adapter (~> 1.2.5)
157
+ appraisal (~> 0.5.0)
158
+ aruba (~> 0.5.1)
159
+ coffee-rails
160
+ cucumber (~> 1.2.1)
161
+ factory_girl_rails!
162
+ jquery-rails
163
+ minitest-rails
164
+ rails (= 3.1.9)
165
+ rake
166
+ rspec (~> 2.11.0)
167
+ rspec-rails
168
+ sass-rails
169
+ sqlite3 (>= 1.3.4)
170
+ therubyrhino
171
+ uglifier
@@ -0,0 +1,16 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "http://rubygems.org"
4
+
5
+ gem "rails", "3.2.10"
6
+ gem "sass-rails"
7
+ gem "coffee-rails"
8
+ gem "uglifier"
9
+ gem "sqlite3", ">= 1.3.4", :platforms=>:mri
10
+ gem "activerecord-jdbcsqlite3-adapter", "~> 1.2.5", :platforms=>:jruby
11
+ gem "minitest-rails"
12
+ gem "therubyrhino"
13
+ gem "jquery-rails"
14
+ gem "rspec-rails"
15
+
16
+ gemspec :path=>"../"
@@ -0,0 +1,169 @@
1
+ PATH
2
+ remote: /Users/joshuaclayton/dev/gems/factory_girl_rails
3
+ specs:
4
+ factory_girl_rails (4.2.0)
5
+ factory_girl (~> 4.2.0)
6
+ railties (>= 3.0.0)
7
+
8
+ GEM
9
+ remote: http://rubygems.org/
10
+ specs:
11
+ actionmailer (3.2.10)
12
+ actionpack (= 3.2.10)
13
+ mail (~> 2.4.4)
14
+ actionpack (3.2.10)
15
+ activemodel (= 3.2.10)
16
+ activesupport (= 3.2.10)
17
+ builder (~> 3.0.0)
18
+ erubis (~> 2.7.0)
19
+ journey (~> 1.0.4)
20
+ rack (~> 1.4.0)
21
+ rack-cache (~> 1.2)
22
+ rack-test (~> 0.6.1)
23
+ sprockets (~> 2.2.1)
24
+ activemodel (3.2.10)
25
+ activesupport (= 3.2.10)
26
+ builder (~> 3.0.0)
27
+ activerecord (3.2.10)
28
+ activemodel (= 3.2.10)
29
+ activesupport (= 3.2.10)
30
+ arel (~> 3.0.2)
31
+ tzinfo (~> 0.3.29)
32
+ activeresource (3.2.10)
33
+ activemodel (= 3.2.10)
34
+ activesupport (= 3.2.10)
35
+ activesupport (3.2.10)
36
+ i18n (~> 0.6)
37
+ multi_json (~> 1.0)
38
+ appraisal (0.5.1)
39
+ bundler
40
+ rake
41
+ arel (3.0.2)
42
+ aruba (0.5.1)
43
+ childprocess (~> 0.3.6)
44
+ cucumber (>= 1.1.1)
45
+ rspec-expectations (>= 2.7.0)
46
+ builder (3.0.4)
47
+ childprocess (0.3.6)
48
+ ffi (~> 1.0, >= 1.0.6)
49
+ coffee-rails (3.2.2)
50
+ coffee-script (>= 2.2.0)
51
+ railties (~> 3.2.0)
52
+ coffee-script (2.2.0)
53
+ coffee-script-source
54
+ execjs
55
+ coffee-script-source (1.4.0)
56
+ cucumber (1.2.1)
57
+ builder (>= 2.1.2)
58
+ diff-lcs (>= 1.1.3)
59
+ gherkin (~> 2.11.0)
60
+ json (>= 1.4.6)
61
+ diff-lcs (1.1.3)
62
+ erubis (2.7.0)
63
+ execjs (1.4.0)
64
+ multi_json (~> 1.0)
65
+ factory_girl (4.2.0)
66
+ activesupport (>= 3.0.0)
67
+ ffi (1.3.1)
68
+ gherkin (2.11.5)
69
+ json (>= 1.4.6)
70
+ hike (1.2.1)
71
+ i18n (0.6.1)
72
+ journey (1.0.4)
73
+ jquery-rails (2.1.4)
74
+ railties (>= 3.0, < 5.0)
75
+ thor (>= 0.14, < 2.0)
76
+ json (1.7.6)
77
+ mail (2.4.4)
78
+ i18n (>= 0.4.0)
79
+ mime-types (~> 1.16)
80
+ treetop (~> 1.4.8)
81
+ mime-types (1.19)
82
+ minitest (4.4.0)
83
+ minitest-rails (0.3)
84
+ minitest (~> 4.0)
85
+ rails (~> 3.0)
86
+ multi_json (1.5.0)
87
+ polyglot (0.3.3)
88
+ rack (1.4.4)
89
+ rack-cache (1.2)
90
+ rack (>= 0.4)
91
+ rack-ssl (1.3.2)
92
+ rack
93
+ rack-test (0.6.2)
94
+ rack (>= 1.0)
95
+ rails (3.2.10)
96
+ actionmailer (= 3.2.10)
97
+ actionpack (= 3.2.10)
98
+ activerecord (= 3.2.10)
99
+ activeresource (= 3.2.10)
100
+ activesupport (= 3.2.10)
101
+ bundler (~> 1.0)
102
+ railties (= 3.2.10)
103
+ railties (3.2.10)
104
+ actionpack (= 3.2.10)
105
+ activesupport (= 3.2.10)
106
+ rack-ssl (~> 1.3.2)
107
+ rake (>= 0.8.7)
108
+ rdoc (~> 3.4)
109
+ thor (>= 0.14.6, < 2.0)
110
+ rake (10.0.3)
111
+ rdoc (3.12)
112
+ json (~> 1.4)
113
+ rspec (2.11.0)
114
+ rspec-core (~> 2.11.0)
115
+ rspec-expectations (~> 2.11.0)
116
+ rspec-mocks (~> 2.11.0)
117
+ rspec-core (2.11.1)
118
+ rspec-expectations (2.11.3)
119
+ diff-lcs (~> 1.1.3)
120
+ rspec-mocks (2.11.3)
121
+ rspec-rails (2.11.4)
122
+ actionpack (>= 3.0)
123
+ activesupport (>= 3.0)
124
+ railties (>= 3.0)
125
+ rspec (~> 2.11.0)
126
+ sass (3.2.5)
127
+ sass-rails (3.2.6)
128
+ railties (~> 3.2.0)
129
+ sass (>= 3.1.10)
130
+ tilt (~> 1.3)
131
+ sprockets (2.2.2)
132
+ hike (~> 1.2)
133
+ multi_json (~> 1.0)
134
+ rack (~> 1.0)
135
+ tilt (~> 1.1, != 1.3.0)
136
+ sqlite3 (1.3.7)
137
+ therubyrhino (2.0.2)
138
+ therubyrhino_jar (>= 1.7.3)
139
+ therubyrhino_jar (1.7.4)
140
+ thor (0.16.0)
141
+ tilt (1.3.3)
142
+ treetop (1.4.12)
143
+ polyglot
144
+ polyglot (>= 0.3.1)
145
+ tzinfo (0.3.35)
146
+ uglifier (1.3.0)
147
+ execjs (>= 0.3.0)
148
+ multi_json (~> 1.0, >= 1.0.2)
149
+
150
+ PLATFORMS
151
+ ruby
152
+
153
+ DEPENDENCIES
154
+ activerecord-jdbcsqlite3-adapter (~> 1.2.5)
155
+ appraisal (~> 0.5.0)
156
+ aruba (~> 0.5.1)
157
+ coffee-rails
158
+ cucumber (~> 1.2.1)
159
+ factory_girl_rails!
160
+ jquery-rails
161
+ minitest-rails
162
+ rails (= 3.2.10)
163
+ rake
164
+ rspec (~> 2.11.0)
165
+ rspec-rails
166
+ sass-rails
167
+ sqlite3 (>= 1.3.4)
168
+ therubyrhino
169
+ uglifier
@@ -6,19 +6,22 @@ module FactoryGirl
6
6
 
7
7
  initializer "factory_girl.set_fixture_replacement" do
8
8
  generators = config.respond_to?(:app_generators) ? config.app_generators : config.generators
9
+ rails_options = generators.options[:rails]
9
10
 
10
- if generators.options[:rails][:test_framework] == :rspec
11
- generators.fixture_replacement :factory_girl, :dir => 'spec/factories'
11
+ if rails_options[:test_framework] == :rspec
12
+ if !rails_options.has_key?(:fixture_replacement)
13
+ generators.fixture_replacement :factory_girl, :dir => 'spec/factories'
14
+ end
12
15
  else
13
- generators.test_framework :test_unit, :fixture => false, :fixture_replacement => :factory_girl
16
+ generators.test_framework rails_options[:test_framework], :fixture => false, :fixture_replacement => :factory_girl
14
17
  end
15
18
  end
16
19
 
17
20
  initializer "factory_girl.set_factory_paths" do
18
21
  FactoryGirl.definition_file_paths = [
19
- File.join(Rails.root, 'factories'),
20
- File.join(Rails.root, 'test', 'factories'),
21
- File.join(Rails.root, 'spec', 'factories')
22
+ File.join(Rails.root, 'factories'),
23
+ File.join(Rails.root, 'test', 'factories'),
24
+ File.join(Rails.root, 'spec', 'factories')
22
25
  ]
23
26
  end
24
27
 
@@ -27,4 +30,3 @@ module FactoryGirl
27
30
  end
28
31
  end
29
32
  end
30
-
@@ -5,9 +5,25 @@ module FactoryGirl
5
5
  class ModelGenerator < Base
6
6
  argument :attributes, :type => :array, :default => [], :banner => "field:type field:type"
7
7
  class_option :dir, :type => :string, :default => "test/factories", :desc => "The directory where the factories should go"
8
-
8
+
9
9
  def create_fixture_file
10
- template 'fixtures.erb', File.join(options[:dir], "#{table_name}.rb")
10
+ filename = [table_name, filename_suffix].compact.join('_')
11
+ template 'fixtures.erb', File.join(options[:dir], "#{filename}.rb")
12
+ end
13
+
14
+ private
15
+
16
+ def filename_suffix
17
+ factory_girl_options[:suffix]
18
+ end
19
+
20
+ def generators
21
+ config = FactoryGirl::Railtie.config
22
+ config.respond_to?(:app_generators) ? config.app_generators : config.generators
23
+ end
24
+
25
+ def factory_girl_options
26
+ generators.options[:factory_girl] || {}
11
27
  end
12
28
  end
13
29
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: factory_girl_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.1.0
4
+ version: 4.2.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-09-11 00:00:00.000000000 Z
12
+ date: 2013-01-25 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: railties
@@ -34,7 +34,7 @@ dependencies:
34
34
  requirements:
35
35
  - - ~>
36
36
  - !ruby/object:Gem::Version
37
- version: 4.1.0
37
+ version: 4.2.0
38
38
  type: :runtime
39
39
  prerelease: false
40
40
  version_requirements: !ruby/object:Gem::Requirement
@@ -42,47 +42,47 @@ dependencies:
42
42
  requirements:
43
43
  - - ~>
44
44
  - !ruby/object:Gem::Version
45
- version: 4.1.0
45
+ version: 4.2.0
46
46
  - !ruby/object:Gem::Dependency
47
- name: rake
47
+ name: appraisal
48
48
  requirement: !ruby/object:Gem::Requirement
49
49
  none: false
50
50
  requirements:
51
- - - ! '>='
51
+ - - ~>
52
52
  - !ruby/object:Gem::Version
53
- version: '0'
53
+ version: 0.5.0
54
54
  type: :development
55
55
  prerelease: false
56
56
  version_requirements: !ruby/object:Gem::Requirement
57
57
  none: false
58
58
  requirements:
59
- - - ! '>='
59
+ - - ~>
60
60
  - !ruby/object:Gem::Version
61
- version: '0'
61
+ version: 0.5.0
62
62
  - !ruby/object:Gem::Dependency
63
- name: rspec
63
+ name: rake
64
64
  requirement: !ruby/object:Gem::Requirement
65
65
  none: false
66
66
  requirements:
67
- - - ~>
67
+ - - ! '>='
68
68
  - !ruby/object:Gem::Version
69
- version: 2.6.0
69
+ version: '0'
70
70
  type: :development
71
71
  prerelease: false
72
72
  version_requirements: !ruby/object:Gem::Requirement
73
73
  none: false
74
74
  requirements:
75
- - - ~>
75
+ - - ! '>='
76
76
  - !ruby/object:Gem::Version
77
- version: 2.6.0
77
+ version: '0'
78
78
  - !ruby/object:Gem::Dependency
79
- name: cucumber
79
+ name: rspec
80
80
  requirement: !ruby/object:Gem::Requirement
81
81
  none: false
82
82
  requirements:
83
83
  - - ~>
84
84
  - !ruby/object:Gem::Version
85
- version: 1.0.0
85
+ version: 2.11.0
86
86
  type: :development
87
87
  prerelease: false
88
88
  version_requirements: !ruby/object:Gem::Requirement
@@ -90,39 +90,39 @@ dependencies:
90
90
  requirements:
91
91
  - - ~>
92
92
  - !ruby/object:Gem::Version
93
- version: 1.0.0
93
+ version: 2.11.0
94
94
  - !ruby/object:Gem::Dependency
95
- name: aruba
95
+ name: cucumber
96
96
  requirement: !ruby/object:Gem::Requirement
97
97
  none: false
98
98
  requirements:
99
- - - ! '>='
99
+ - - ~>
100
100
  - !ruby/object:Gem::Version
101
- version: '0'
101
+ version: 1.2.1
102
102
  type: :development
103
103
  prerelease: false
104
104
  version_requirements: !ruby/object:Gem::Requirement
105
105
  none: false
106
106
  requirements:
107
- - - ! '>='
107
+ - - ~>
108
108
  - !ruby/object:Gem::Version
109
- version: '0'
109
+ version: 1.2.1
110
110
  - !ruby/object:Gem::Dependency
111
- name: rails
111
+ name: aruba
112
112
  requirement: !ruby/object:Gem::Requirement
113
113
  none: false
114
114
  requirements:
115
- - - '='
115
+ - - ~>
116
116
  - !ruby/object:Gem::Version
117
- version: 3.0.7
117
+ version: 0.5.1
118
118
  type: :development
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  none: false
122
122
  requirements:
123
- - - '='
123
+ - - ~>
124
124
  - !ruby/object:Gem::Version
125
- version: 3.0.7
125
+ version: 0.5.1
126
126
  description: ! "factory_girl_rails provides integration between\n factory_girl
127
127
  and rails 3 (currently just automatic factory definition\n loading)"
128
128
  email: jferris@thoughtbot.com
@@ -130,11 +130,11 @@ executables: []
130
130
  extensions: []
131
131
  extra_rdoc_files: []
132
132
  files:
133
- - .bundle/config
134
133
  - .gitignore
134
+ - .travis.yml
135
+ - Appraisals
135
136
  - CONTRIBUTING.md
136
137
  - Gemfile
137
- - Gemfile.lock
138
138
  - LICENSE
139
139
  - README.md
140
140
  - Rakefile
@@ -142,8 +142,15 @@ files:
142
142
  - features/fixture_replacement_config.feature
143
143
  - features/generators.feature
144
144
  - features/load_definitions.feature
145
+ - features/step_definitions/appraisal.rb
145
146
  - features/step_definitions/rails_steps.rb
146
147
  - features/support/env.rb
148
+ - gemfiles/rails3.0.gemfile
149
+ - gemfiles/rails3.0.gemfile.lock
150
+ - gemfiles/rails3.1.gemfile
151
+ - gemfiles/rails3.1.gemfile.lock
152
+ - gemfiles/rails3.2.gemfile
153
+ - gemfiles/rails3.2.gemfile.lock
147
154
  - lib/factory_girl_rails.rb
148
155
  - lib/factory_girl_rails/railtie.rb
149
156
  - lib/generators/factory_girl.rb
@@ -174,9 +181,16 @@ signing_key:
174
181
  specification_version: 3
175
182
  summary: factory_girl_rails provides integration between factory_girl and rails 3
176
183
  test_files:
184
+ - Appraisals
177
185
  - features/fixture_replacement_config.feature
178
186
  - features/generators.feature
179
187
  - features/load_definitions.feature
188
+ - features/step_definitions/appraisal.rb
180
189
  - features/step_definitions/rails_steps.rb
181
190
  - features/support/env.rb
182
- has_rdoc:
191
+ - gemfiles/rails3.0.gemfile
192
+ - gemfiles/rails3.0.gemfile.lock
193
+ - gemfiles/rails3.1.gemfile
194
+ - gemfiles/rails3.1.gemfile.lock
195
+ - gemfiles/rails3.2.gemfile
196
+ - gemfiles/rails3.2.gemfile.lock
@@ -1,2 +0,0 @@
1
- --- {}
2
-
@@ -1,116 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- factory_girl_rails (4.1.0)
5
- factory_girl (~> 4.1.0)
6
- railties (>= 3.0.0)
7
-
8
- GEM
9
- remote: http://rubygems.org/
10
- specs:
11
- abstract (1.0.0)
12
- actionmailer (3.0.7)
13
- actionpack (= 3.0.7)
14
- mail (~> 2.2.15)
15
- actionpack (3.0.7)
16
- activemodel (= 3.0.7)
17
- activesupport (= 3.0.7)
18
- builder (~> 2.1.2)
19
- erubis (~> 2.6.6)
20
- i18n (~> 0.5.0)
21
- rack (~> 1.2.1)
22
- rack-mount (~> 0.6.14)
23
- rack-test (~> 0.5.7)
24
- tzinfo (~> 0.3.23)
25
- activemodel (3.0.7)
26
- activesupport (= 3.0.7)
27
- builder (~> 2.1.2)
28
- i18n (~> 0.5.0)
29
- activerecord (3.0.7)
30
- activemodel (= 3.0.7)
31
- activesupport (= 3.0.7)
32
- arel (~> 2.0.2)
33
- tzinfo (~> 0.3.23)
34
- activeresource (3.0.7)
35
- activemodel (= 3.0.7)
36
- activesupport (= 3.0.7)
37
- activesupport (3.0.7)
38
- arel (2.0.10)
39
- aruba (0.4.3)
40
- bcat (>= 0.6.1)
41
- childprocess (>= 0.1.9)
42
- cucumber (>= 0.10.7)
43
- rdiscount (>= 1.6.8)
44
- rspec (>= 2.6.0)
45
- bcat (0.6.1)
46
- rack (~> 1.0)
47
- builder (2.1.2)
48
- childprocess (0.1.9)
49
- ffi (~> 1.0.6)
50
- cucumber (1.0.0)
51
- builder (>= 2.1.2)
52
- diff-lcs (>= 1.1.2)
53
- gherkin (~> 2.4.1)
54
- json (>= 1.4.6)
55
- term-ansicolor (>= 1.0.5)
56
- diff-lcs (1.1.2)
57
- erubis (2.6.6)
58
- abstract (>= 1.0.0)
59
- factory_girl (4.1.0)
60
- activesupport (>= 3.0.0)
61
- ffi (1.0.9)
62
- gherkin (2.4.1)
63
- json (>= 1.4.6)
64
- i18n (0.5.0)
65
- json (1.5.3)
66
- mail (2.2.19)
67
- activesupport (>= 2.3.6)
68
- i18n (>= 0.4.0)
69
- mime-types (~> 1.16)
70
- treetop (~> 1.4.8)
71
- mime-types (1.16)
72
- polyglot (0.3.1)
73
- rack (1.2.3)
74
- rack-mount (0.6.14)
75
- rack (>= 1.0.0)
76
- rack-test (0.5.7)
77
- rack (>= 1.0)
78
- rails (3.0.7)
79
- actionmailer (= 3.0.7)
80
- actionpack (= 3.0.7)
81
- activerecord (= 3.0.7)
82
- activeresource (= 3.0.7)
83
- activesupport (= 3.0.7)
84
- bundler (~> 1.0)
85
- railties (= 3.0.7)
86
- railties (3.0.7)
87
- actionpack (= 3.0.7)
88
- activesupport (= 3.0.7)
89
- rake (>= 0.8.7)
90
- thor (~> 0.14.4)
91
- rake (0.9.2.2)
92
- rdiscount (1.6.8)
93
- rspec (2.6.0)
94
- rspec-core (~> 2.6.0)
95
- rspec-expectations (~> 2.6.0)
96
- rspec-mocks (~> 2.6.0)
97
- rspec-core (2.6.4)
98
- rspec-expectations (2.6.0)
99
- diff-lcs (~> 1.1.2)
100
- rspec-mocks (2.6.0)
101
- term-ansicolor (1.0.5)
102
- thor (0.14.6)
103
- treetop (1.4.9)
104
- polyglot (>= 0.3.1)
105
- tzinfo (0.3.27)
106
-
107
- PLATFORMS
108
- ruby
109
-
110
- DEPENDENCIES
111
- aruba
112
- cucumber (~> 1.0.0)
113
- factory_girl_rails!
114
- rails (= 3.0.7)
115
- rake
116
- rspec (~> 2.6.0)