factory_girl 4.1.0 → 4.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (84) hide show
  1. data/Appraisals +7 -3
  2. data/GETTING_STARTED.md +28 -4
  3. data/Gemfile.lock +28 -32
  4. data/LICENSE +1 -1
  5. data/NEWS +11 -0
  6. data/README.md +2 -2
  7. data/factory_girl.gemspec +5 -5
  8. data/features/step_definitions/database_steps.rb +1 -1
  9. data/gemfiles/3.0.gemfile +1 -1
  10. data/gemfiles/3.0.gemfile.lock +40 -48
  11. data/gemfiles/3.1.gemfile +1 -1
  12. data/gemfiles/3.1.gemfile.lock +41 -49
  13. data/gemfiles/3.2.gemfile +1 -1
  14. data/gemfiles/3.2.gemfile.lock +42 -50
  15. data/gemfiles/4.0.gemfile +7 -0
  16. data/gemfiles/4.0.gemfile.lock +95 -0
  17. data/lib/factory_girl/definition_hierarchy.rb +9 -0
  18. data/lib/factory_girl/definition_proxy.rb +1 -1
  19. data/lib/factory_girl/evaluator.rb +11 -2
  20. data/lib/factory_girl/factory.rb +1 -3
  21. data/lib/factory_girl/sequence.rb +17 -3
  22. data/lib/factory_girl/strategy/stub.rb +2 -2
  23. data/lib/factory_girl/strategy_syntax_method_registrar.rb +2 -2
  24. data/lib/factory_girl/version.rb +1 -1
  25. data/spec/acceptance/activesupport_instrumentation_spec.rb +3 -3
  26. data/spec/acceptance/aliases_spec.rb +1 -1
  27. data/spec/acceptance/attribute_aliases_spec.rb +3 -3
  28. data/spec/acceptance/attribute_existing_on_object_spec.rb +8 -8
  29. data/spec/acceptance/attributes_for_spec.rb +11 -9
  30. data/spec/acceptance/attributes_from_instance_spec.rb +7 -7
  31. data/spec/acceptance/attributes_ordered_spec.rb +6 -6
  32. data/spec/acceptance/build_list_spec.rb +20 -5
  33. data/spec/acceptance/build_spec.rb +10 -13
  34. data/spec/acceptance/build_stubbed_spec.rb +38 -13
  35. data/spec/acceptance/callbacks_spec.rb +19 -19
  36. data/spec/acceptance/create_list_spec.rb +22 -7
  37. data/spec/acceptance/create_spec.rb +10 -11
  38. data/spec/acceptance/define_child_before_parent_spec.rb +1 -1
  39. data/spec/acceptance/definition_spec.rb +2 -7
  40. data/spec/acceptance/definition_without_block_spec.rb +1 -1
  41. data/spec/acceptance/global_initialize_with_spec.rb +10 -10
  42. data/spec/acceptance/global_to_create_spec.rb +18 -18
  43. data/spec/acceptance/initialize_with_spec.rb +13 -13
  44. data/spec/acceptance/keyed_by_class_spec.rb +2 -2
  45. data/spec/acceptance/modify_factories_spec.rb +21 -21
  46. data/spec/acceptance/modify_inherited_spec.rb +7 -7
  47. data/spec/acceptance/nested_attributes_spec.rb +2 -2
  48. data/spec/acceptance/overrides_spec.rb +1 -1
  49. data/spec/acceptance/parent_spec.rb +9 -9
  50. data/spec/acceptance/register_strategies_spec.rb +9 -9
  51. data/spec/acceptance/sequence_context_spec.rb +52 -0
  52. data/spec/acceptance/sequence_spec.rb +12 -12
  53. data/spec/acceptance/skip_create_spec.rb +1 -1
  54. data/spec/acceptance/stub_spec.rb +4 -4
  55. data/spec/acceptance/syntax_methods_within_dynamic_attributes_spec.rb +5 -5
  56. data/spec/acceptance/traits_spec.rb +84 -84
  57. data/spec/acceptance/transient_attributes_spec.rb +13 -13
  58. data/spec/factory_girl/attribute/association_spec.rb +4 -4
  59. data/spec/factory_girl/attribute/dynamic_spec.rb +5 -5
  60. data/spec/factory_girl/attribute/sequence_spec.rb +2 -2
  61. data/spec/factory_girl/attribute/static_spec.rb +3 -3
  62. data/spec/factory_girl/attribute_list_spec.rb +12 -12
  63. data/spec/factory_girl/attribute_spec.rb +1 -1
  64. data/spec/factory_girl/callback_spec.rb +5 -5
  65. data/spec/factory_girl/declaration/implicit_spec.rb +1 -1
  66. data/spec/factory_girl/declaration_list_spec.rb +11 -11
  67. data/spec/factory_girl/definition_proxy_spec.rb +21 -21
  68. data/spec/factory_girl/definition_spec.rb +6 -6
  69. data/spec/factory_girl/disallows_duplicates_registry_spec.rb +1 -1
  70. data/spec/factory_girl/evaluator_class_definer_spec.rb +54 -21
  71. data/spec/factory_girl/factory_spec.rb +34 -34
  72. data/spec/factory_girl/null_factory_spec.rb +1 -1
  73. data/spec/factory_girl/null_object_spec.rb +3 -3
  74. data/spec/factory_girl/registry_spec.rb +12 -12
  75. data/spec/factory_girl/sequence_spec.rb +34 -17
  76. data/spec/factory_girl/strategy/attributes_for_spec.rb +1 -1
  77. data/spec/factory_girl/strategy/create_spec.rb +1 -1
  78. data/spec/factory_girl/strategy/stub_spec.rb +4 -4
  79. data/spec/factory_girl/strategy_calculator_spec.rb +3 -3
  80. data/spec/factory_girl_spec.rb +3 -3
  81. data/spec/spec_helper.rb +1 -1
  82. data/spec/support/macros/define_constant.rb +2 -2
  83. data/spec/support/shared_examples/strategy.rb +7 -7
  84. metadata +17 -11
data/Appraisals CHANGED
@@ -1,11 +1,15 @@
1
1
  appraise "3.0" do
2
- gem "activerecord", "~> 3.0.0"
2
+ gem "activerecord", "~> 3.0.19"
3
3
  end
4
4
 
5
5
  appraise "3.1" do
6
- gem "activerecord", "~> 3.1.0"
6
+ gem "activerecord", "~> 3.1.10"
7
7
  end
8
8
 
9
9
  appraise "3.2" do
10
- gem "activerecord", "~> 3.2.0"
10
+ gem "activerecord", "~> 3.2.11"
11
+ end
12
+
13
+ appraise '4.0' do
14
+ gem 'activerecord', github: 'rails/rails'
11
15
  end
data/GETTING_STARTED.md CHANGED
@@ -146,6 +146,21 @@ end
146
146
 
147
147
  # Cucumber
148
148
  World(FactoryGirl::Syntax::Methods)
149
+
150
+ # MiniTest
151
+ class MiniTest::Unit::TestCase
152
+ include FactoryGirl::Syntax::Methods
153
+ end
154
+
155
+ # MiniTest::Spec
156
+ class MiniTest::Spec
157
+ include FactoryGirl::Syntax::Methods
158
+ end
159
+
160
+ # minitest-rails
161
+ class MiniTest::Rails::ActiveSupport::TestCase
162
+ include FactoryGirl::Syntax::Methods
163
+ end
149
164
  ```
150
165
 
151
166
  This allows you to use the core set of syntax methods (`build`,
@@ -156,7 +171,7 @@ without having to call them on FactoryGirl directly:
156
171
  describe User, "#full_name" do
157
172
  subject { create(:user, first_name: "John", last_name: "Doe") }
158
173
 
159
- its(:full_name) { should == "John Doe" }
174
+ its(:full_name) { should eq "John Doe" }
160
175
  end
161
176
  ```
162
177
 
@@ -321,6 +336,15 @@ post.new_record? # => true
321
336
  post.author.new_record? # => true
322
337
  ```
323
338
 
339
+ Please note that the `strategy: :build` option must be passed to an explicit call to `association`,
340
+ and cannot be used with implicit associations:
341
+
342
+ ```ruby
343
+ factory :post do
344
+ # ...
345
+ author strategy: :build # <<< this does *not* work; causes author_id to be nil
346
+ ```
347
+
324
348
  Generating data for a `has_many` relationship is a bit more involved,
325
349
  depending on the amount of flexibility desired, but here's a surefire example
326
350
  of generating associated data.
@@ -647,7 +671,7 @@ factory :post do
647
671
  association :user, :admin, name: 'John Doe'
648
672
  end
649
673
 
650
- # creates an admin user with named "John Doe"
674
+ # creates an admin user with name "John Doe"
651
675
  FactoryGirl.create(:post).user
652
676
  ```
653
677
 
@@ -668,8 +692,8 @@ factory :post do
668
692
  association :author, factory: [:user, :admin], name: 'John Doe'
669
693
  end
670
694
 
671
- # creates an admin user with named "John Doe"
672
- FactoryGirl.create(:post).user
695
+ # creates an admin user with name "John Doe"
696
+ FactoryGirl.create(:post).author
673
697
  ```
674
698
  Callbacks
675
699
  ---------
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- factory_girl (4.1.0)
4
+ factory_girl (4.2.0)
5
5
  activesupport (>= 3.0.0)
6
6
 
7
7
  GEM
@@ -18,7 +18,7 @@ GEM
18
18
  activesupport (3.2.3)
19
19
  i18n (~> 0.6)
20
20
  multi_json (~> 1.0)
21
- appraisal (0.4.1)
21
+ appraisal (0.5.1)
22
22
  bundler
23
23
  rake
24
24
  arel (3.0.2)
@@ -27,48 +27,44 @@ GEM
27
27
  cucumber (>= 1.1.1)
28
28
  ffi (>= 1.0.11)
29
29
  rspec (>= 2.7.0)
30
- bourne (1.1.2)
31
- mocha (= 0.10.5)
32
- builder (3.0.0)
30
+ bourne (1.3.0)
31
+ mocha (= 0.13.0)
32
+ builder (3.0.4)
33
33
  childprocess (0.3.2)
34
34
  ffi (~> 1.0.6)
35
- cucumber (1.1.9)
35
+ cucumber (1.2.1)
36
36
  builder (>= 2.1.2)
37
- diff-lcs (>= 1.1.2)
38
- gherkin (~> 2.9.0)
37
+ diff-lcs (>= 1.1.3)
38
+ gherkin (~> 2.11.0)
39
39
  json (>= 1.4.6)
40
- term-ansicolor (>= 1.0.6)
41
40
  diff-lcs (1.1.3)
42
41
  ffi (1.0.11)
43
42
  ffi (1.0.11-java)
44
- gherkin (2.9.3)
43
+ gherkin (2.11.5)
45
44
  json (>= 1.4.6)
46
- gherkin (2.9.3-java)
45
+ gherkin (2.11.5-java)
47
46
  json (>= 1.4.6)
48
- i18n (0.6.0)
49
- json (1.7.0)
50
- json (1.7.0-java)
47
+ i18n (0.6.1)
48
+ json (1.7.5)
49
+ json (1.7.5-java)
51
50
  metaclass (0.0.1)
52
- mocha (0.10.5)
51
+ mocha (0.13.0)
53
52
  metaclass (~> 0.0.1)
54
- multi_json (1.3.4)
53
+ multi_json (1.5.0)
55
54
  rake (0.9.2.2)
56
- rspec (2.11.0)
57
- rspec-core (~> 2.11.0)
58
- rspec-expectations (~> 2.11.0)
59
- rspec-mocks (~> 2.11.0)
60
- rspec-core (2.11.1)
61
- rspec-expectations (2.11.2)
55
+ rspec (2.12.0)
56
+ rspec-core (~> 2.12.0)
57
+ rspec-expectations (~> 2.12.0)
58
+ rspec-mocks (~> 2.12.0)
59
+ rspec-core (2.12.2)
60
+ rspec-expectations (2.12.1)
62
61
  diff-lcs (~> 1.1.3)
63
- rspec-mocks (2.11.1)
62
+ rspec-mocks (2.12.1)
64
63
  simplecov (0.6.2)
65
64
  multi_json (~> 1.3)
66
65
  simplecov-html (~> 0.5.3)
67
66
  simplecov-html (0.5.3)
68
- sqlite3 (1.3.6)
69
- sqlite3-ruby (1.3.3)
70
- sqlite3 (>= 1.3.3)
71
- term-ansicolor (1.0.7)
67
+ sqlite3 (1.3.7)
72
68
  timecop (0.3.5)
73
69
  tzinfo (0.3.33)
74
70
  yard (0.8.1)
@@ -79,14 +75,14 @@ PLATFORMS
79
75
 
80
76
  DEPENDENCIES
81
77
  activerecord
82
- appraisal (~> 0.4)
78
+ appraisal (~> 0.5.1)
83
79
  aruba
84
80
  bourne
85
- cucumber (~> 1.1)
81
+ cucumber (~> 1.2.1)
86
82
  factory_girl!
87
- mocha
88
- rspec (~> 2.0)
83
+ mocha (>= 0.12.8)
84
+ rspec (~> 2.12.0)
89
85
  simplecov
90
- sqlite3-ruby
86
+ sqlite3
91
87
  timecop
92
88
  yard
data/LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2008 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/NEWS CHANGED
@@ -1,3 +1,14 @@
1
+ 4.2.0 (January 18, 2013)
2
+ Improve documentation
3
+ Allow *_list syntax methods to accept a block
4
+ Update gem dependencies
5
+ Allow setting id for objects created with `build_stubbed`
6
+ Fix Stub strategy to mimic ActiveRecord regarding `created_at`
7
+ Evaluate sequences within the context of an Evaluator
8
+ Fix Mocha deprecation warning
9
+ Fix some warnings when running RUBYOPT=-w rake
10
+ Convert test suite to RSpec's "expect" syntax
11
+
1
12
  4.1.0 (September 11, 2012)
2
13
  Allow multiple callbacks to bind to the same block
3
14
  Fix documentation surrounding the stub strategy
data/README.md CHANGED
@@ -62,7 +62,7 @@ factory_girl was written by Joe Ferris with contributions from several authors,
62
62
  * Josh Clayton
63
63
  * Thomas Walpole
64
64
 
65
- ![thoughtbot](http://thoughtbot.com/images/tm/logo.png)
65
+ ![thoughtbot](http://thoughtbot.com/assets/tm/logo.png)
66
66
 
67
67
  factory_girl is maintained and funded by [thoughtbot, inc](http://thoughtbot.com/community)
68
68
 
@@ -71,4 +71,4 @@ The names and logos for thoughtbot are trademarks of thoughtbot, inc.
71
71
  License
72
72
  -------
73
73
 
74
- 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.
74
+ 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/factory_girl.gemspec CHANGED
@@ -23,20 +23,20 @@ Gem::Specification.new do |s|
23
23
 
24
24
  s.add_dependency("activesupport", ">= 3.0.0")
25
25
 
26
- s.add_development_dependency("rspec", "~> 2.0")
27
- s.add_development_dependency("cucumber", "~> 1.1")
26
+ s.add_development_dependency("rspec", "~> 2.12.0")
27
+ s.add_development_dependency("cucumber", "~> 1.2.1")
28
28
  s.add_development_dependency("timecop")
29
29
  s.add_development_dependency("simplecov")
30
30
  s.add_development_dependency("aruba")
31
- s.add_development_dependency("mocha")
31
+ s.add_development_dependency("mocha", ">= 0.12.8")
32
32
  s.add_development_dependency("bourne")
33
- s.add_development_dependency("appraisal", "~> 0.4")
33
+ s.add_development_dependency("appraisal", "~> 0.5.1")
34
34
 
35
35
  if RUBY_PLATFORM == "java"
36
36
  s.add_development_dependency("activerecord-jdbcsqlite3-adapter")
37
37
  s.add_development_dependency("jdbc-sqlite3")
38
38
  else
39
- s.add_development_dependency("sqlite3-ruby")
39
+ s.add_development_dependency("sqlite3")
40
40
  end
41
41
 
42
42
  s.add_development_dependency("yard")
@@ -1,6 +1,6 @@
1
1
  Then /^I should find the following for the last category:$/ do |table|
2
2
  table.hashes.first.each do |key, value|
3
- Category.last.attributes[key].to_s.should == value
3
+ expect(Category.last.attributes[key].to_s).to eq value
4
4
  end
5
5
  end
6
6
 
data/gemfiles/3.0.gemfile CHANGED
@@ -2,6 +2,6 @@
2
2
 
3
3
  source "http://rubygems.org"
4
4
 
5
- gem "activerecord", "~> 3.0.0"
5
+ gem "activerecord", "~> 3.0.19"
6
6
 
7
7
  gemspec :path=>"../"
@@ -1,35 +1,34 @@
1
1
  PATH
2
2
  remote: /Users/joshuaclayton/dev/gems/factory_girl
3
3
  specs:
4
- factory_girl (4.1.0)
4
+ factory_girl (4.2.0)
5
5
  activesupport (>= 3.0.0)
6
6
 
7
7
  GEM
8
8
  remote: http://rubygems.org/
9
9
  specs:
10
- activemodel (3.0.16)
11
- activesupport (= 3.0.16)
10
+ activemodel (3.0.19)
11
+ activesupport (= 3.0.19)
12
12
  builder (~> 2.1.2)
13
13
  i18n (~> 0.5.0)
14
- activerecord (3.0.16)
15
- activemodel (= 3.0.16)
16
- activesupport (= 3.0.16)
14
+ activerecord (3.0.19)
15
+ activemodel (= 3.0.19)
16
+ activesupport (= 3.0.19)
17
17
  arel (~> 2.0.10)
18
18
  tzinfo (~> 0.3.23)
19
- activesupport (3.0.16)
20
- appraisal (0.4.1)
19
+ activesupport (3.0.19)
20
+ appraisal (0.5.1)
21
21
  bundler
22
22
  rake
23
23
  arel (2.0.10)
24
- aruba (0.4.11)
25
- childprocess (>= 0.2.3)
24
+ aruba (0.5.1)
25
+ childprocess (~> 0.3.6)
26
26
  cucumber (>= 1.1.1)
27
- ffi (>= 1.0.11)
28
- rspec (>= 2.7.0)
29
- bourne (1.1.2)
30
- mocha (= 0.10.5)
27
+ rspec-expectations (>= 2.7.0)
28
+ bourne (1.3.0)
29
+ mocha (= 0.13.0)
31
30
  builder (2.1.2)
32
- childprocess (0.3.4)
31
+ childprocess (0.3.6)
33
32
  ffi (~> 1.0, >= 1.0.6)
34
33
  cucumber (1.2.1)
35
34
  builder (>= 2.1.2)
@@ -37,53 +36,46 @@ GEM
37
36
  gherkin (~> 2.11.0)
38
37
  json (>= 1.4.6)
39
38
  diff-lcs (1.1.3)
40
- ffi (1.1.3)
41
- ffi (1.1.3-java)
42
- gherkin (2.11.1)
43
- json (>= 1.4.6)
44
- gherkin (2.11.1-java)
39
+ ffi (1.3.1)
40
+ gherkin (2.11.5)
45
41
  json (>= 1.4.6)
46
42
  i18n (0.5.0)
47
- json (1.7.4)
48
- json (1.7.4-java)
43
+ json (1.7.6)
49
44
  metaclass (0.0.1)
50
- mocha (0.10.5)
45
+ mocha (0.13.0)
51
46
  metaclass (~> 0.0.1)
52
- multi_json (1.3.6)
53
- rake (0.9.2.2)
54
- rspec (2.11.0)
55
- rspec-core (~> 2.11.0)
56
- rspec-expectations (~> 2.11.0)
57
- rspec-mocks (~> 2.11.0)
58
- rspec-core (2.11.1)
59
- rspec-expectations (2.11.2)
47
+ multi_json (1.5.0)
48
+ rake (10.0.3)
49
+ rspec (2.12.0)
50
+ rspec-core (~> 2.12.0)
51
+ rspec-expectations (~> 2.12.0)
52
+ rspec-mocks (~> 2.12.0)
53
+ rspec-core (2.12.2)
54
+ rspec-expectations (2.12.1)
60
55
  diff-lcs (~> 1.1.3)
61
- rspec-mocks (2.11.1)
62
- simplecov (0.6.4)
56
+ rspec-mocks (2.12.1)
57
+ simplecov (0.7.1)
63
58
  multi_json (~> 1.0)
64
- simplecov-html (~> 0.5.3)
65
- simplecov-html (0.5.3)
66
- sqlite3 (1.3.6)
67
- sqlite3-ruby (1.3.3)
68
- sqlite3 (>= 1.3.3)
69
- timecop (0.4.4)
70
- tzinfo (0.3.33)
71
- yard (0.8.2.1)
59
+ simplecov-html (~> 0.7.1)
60
+ simplecov-html (0.7.1)
61
+ sqlite3 (1.3.7)
62
+ timecop (0.5.9)
63
+ tzinfo (0.3.35)
64
+ yard (0.8.3)
72
65
 
73
66
  PLATFORMS
74
- java
75
67
  ruby
76
68
 
77
69
  DEPENDENCIES
78
- activerecord (~> 3.0.0)
79
- appraisal (~> 0.4)
70
+ activerecord (~> 3.0.19)
71
+ appraisal (~> 0.5.1)
80
72
  aruba
81
73
  bourne
82
- cucumber (~> 1.1)
74
+ cucumber (~> 1.2.1)
83
75
  factory_girl!
84
- mocha
85
- rspec (~> 2.0)
76
+ mocha (>= 0.12.8)
77
+ rspec (~> 2.12.0)
86
78
  simplecov
87
- sqlite3-ruby
79
+ sqlite3
88
80
  timecop
89
81
  yard
data/gemfiles/3.1.gemfile CHANGED
@@ -2,6 +2,6 @@
2
2
 
3
3
  source "http://rubygems.org"
4
4
 
5
- gem "activerecord", "~> 3.1.0"
5
+ gem "activerecord", "~> 3.1.10"
6
6
 
7
7
  gemspec :path=>"../"
@@ -1,36 +1,35 @@
1
1
  PATH
2
2
  remote: /Users/joshuaclayton/dev/gems/factory_girl
3
3
  specs:
4
- factory_girl (4.1.0)
4
+ factory_girl (4.2.0)
5
5
  activesupport (>= 3.0.0)
6
6
 
7
7
  GEM
8
8
  remote: http://rubygems.org/
9
9
  specs:
10
- activemodel (3.1.7)
11
- activesupport (= 3.1.7)
10
+ activemodel (3.1.10)
11
+ activesupport (= 3.1.10)
12
12
  builder (~> 3.0.0)
13
13
  i18n (~> 0.6)
14
- activerecord (3.1.7)
15
- activemodel (= 3.1.7)
16
- activesupport (= 3.1.7)
14
+ activerecord (3.1.10)
15
+ activemodel (= 3.1.10)
16
+ activesupport (= 3.1.10)
17
17
  arel (~> 2.2.3)
18
18
  tzinfo (~> 0.3.29)
19
- activesupport (3.1.7)
19
+ activesupport (3.1.10)
20
20
  multi_json (>= 1.0, < 1.3)
21
- appraisal (0.4.1)
21
+ appraisal (0.5.1)
22
22
  bundler
23
23
  rake
24
24
  arel (2.2.3)
25
- aruba (0.4.11)
26
- childprocess (>= 0.2.3)
25
+ aruba (0.5.1)
26
+ childprocess (~> 0.3.6)
27
27
  cucumber (>= 1.1.1)
28
- ffi (>= 1.0.11)
29
- rspec (>= 2.7.0)
30
- bourne (1.1.2)
31
- mocha (= 0.10.5)
32
- builder (3.0.0)
33
- childprocess (0.3.4)
28
+ rspec-expectations (>= 2.7.0)
29
+ bourne (1.3.0)
30
+ mocha (= 0.13.0)
31
+ builder (3.0.4)
32
+ childprocess (0.3.6)
34
33
  ffi (~> 1.0, >= 1.0.6)
35
34
  cucumber (1.2.1)
36
35
  builder (>= 2.1.2)
@@ -38,53 +37,46 @@ GEM
38
37
  gherkin (~> 2.11.0)
39
38
  json (>= 1.4.6)
40
39
  diff-lcs (1.1.3)
41
- ffi (1.1.3)
42
- ffi (1.1.3-java)
43
- gherkin (2.11.1)
40
+ ffi (1.3.1)
41
+ gherkin (2.11.5)
44
42
  json (>= 1.4.6)
45
- gherkin (2.11.1-java)
46
- json (>= 1.4.6)
47
- i18n (0.6.0)
48
- json (1.7.4)
49
- json (1.7.4-java)
43
+ i18n (0.6.1)
44
+ json (1.7.6)
50
45
  metaclass (0.0.1)
51
- mocha (0.10.5)
46
+ mocha (0.13.0)
52
47
  metaclass (~> 0.0.1)
53
48
  multi_json (1.2.0)
54
- rake (0.9.2.2)
55
- rspec (2.11.0)
56
- rspec-core (~> 2.11.0)
57
- rspec-expectations (~> 2.11.0)
58
- rspec-mocks (~> 2.11.0)
59
- rspec-core (2.11.1)
60
- rspec-expectations (2.11.2)
49
+ rake (10.0.3)
50
+ rspec (2.12.0)
51
+ rspec-core (~> 2.12.0)
52
+ rspec-expectations (~> 2.12.0)
53
+ rspec-mocks (~> 2.12.0)
54
+ rspec-core (2.12.2)
55
+ rspec-expectations (2.12.1)
61
56
  diff-lcs (~> 1.1.3)
62
- rspec-mocks (2.11.1)
63
- simplecov (0.6.4)
57
+ rspec-mocks (2.12.1)
58
+ simplecov (0.7.1)
64
59
  multi_json (~> 1.0)
65
- simplecov-html (~> 0.5.3)
66
- simplecov-html (0.5.3)
67
- sqlite3 (1.3.6)
68
- sqlite3-ruby (1.3.3)
69
- sqlite3 (>= 1.3.3)
70
- timecop (0.4.4)
71
- tzinfo (0.3.33)
72
- yard (0.8.2.1)
60
+ simplecov-html (~> 0.7.1)
61
+ simplecov-html (0.7.1)
62
+ sqlite3 (1.3.7)
63
+ timecop (0.5.9)
64
+ tzinfo (0.3.35)
65
+ yard (0.8.3)
73
66
 
74
67
  PLATFORMS
75
- java
76
68
  ruby
77
69
 
78
70
  DEPENDENCIES
79
- activerecord (~> 3.1.0)
80
- appraisal (~> 0.4)
71
+ activerecord (~> 3.1.10)
72
+ appraisal (~> 0.5.1)
81
73
  aruba
82
74
  bourne
83
- cucumber (~> 1.1)
75
+ cucumber (~> 1.2.1)
84
76
  factory_girl!
85
- mocha
86
- rspec (~> 2.0)
77
+ mocha (>= 0.12.8)
78
+ rspec (~> 2.12.0)
87
79
  simplecov
88
- sqlite3-ruby
80
+ sqlite3
89
81
  timecop
90
82
  yard