factory_girl 3.2.0 → 3.3.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/Appraisals +3 -3
- data/GETTING_STARTED.md +74 -15
- data/Gemfile.lock +38 -44
- data/NEWS +12 -0
- data/gemfiles/3.0.gemfile +1 -1
- data/gemfiles/3.0.gemfile.lock +23 -24
- data/gemfiles/3.1.gemfile +1 -1
- data/gemfiles/3.1.gemfile.lock +19 -19
- data/gemfiles/3.2.gemfile +1 -1
- data/gemfiles/3.2.gemfile.lock +10 -10
- data/lib/factory_girl.rb +39 -37
- data/lib/factory_girl/aliases.rb +3 -4
- data/lib/factory_girl/attribute.rb +33 -11
- data/lib/factory_girl/attribute/association.rb +3 -2
- data/lib/factory_girl/attribute/dynamic.rb +3 -2
- data/lib/factory_girl/attribute/sequence.rb +1 -2
- data/lib/factory_girl/attribute/static.rb +3 -2
- data/lib/factory_girl/attribute_assigner.rb +6 -5
- data/lib/factory_girl/attribute_list.rb +16 -3
- data/lib/factory_girl/callback.rb +7 -3
- data/lib/factory_girl/callbacks_observer.rb +1 -0
- data/lib/factory_girl/configuration.rb +24 -0
- data/lib/factory_girl/declaration.rb +5 -4
- data/lib/factory_girl/declaration/association.rb +1 -0
- data/lib/factory_girl/declaration/dynamic.rb +1 -0
- data/lib/factory_girl/declaration/implicit.rb +1 -0
- data/lib/factory_girl/declaration/static.rb +1 -0
- data/lib/factory_girl/declaration_list.rb +1 -0
- data/lib/factory_girl/definition.rb +22 -3
- data/lib/factory_girl/definition_list.rb +31 -0
- data/lib/factory_girl/definition_proxy.rb +19 -4
- data/lib/factory_girl/evaluation.rb +3 -3
- data/lib/factory_girl/evaluator.rb +24 -14
- data/lib/factory_girl/evaluator_class_definer.rb +2 -13
- data/lib/factory_girl/factory.rb +22 -24
- data/lib/factory_girl/factory_runner.rb +6 -3
- data/lib/factory_girl/find_definitions.rb +2 -2
- data/lib/factory_girl/null_factory.rb +3 -1
- data/lib/factory_girl/null_object.rb +1 -0
- data/lib/factory_girl/reload.rb +4 -6
- data/lib/factory_girl/sequence.rb +3 -2
- data/lib/factory_girl/step_definitions.rb +1 -0
- data/lib/factory_girl/strategy/attributes_for.rb +1 -1
- data/lib/factory_girl/strategy/stub.rb +6 -6
- data/lib/factory_girl/strategy_calculator.rb +1 -0
- data/lib/factory_girl/strategy_syntax_method_registrar.rb +37 -0
- data/lib/factory_girl/syntax.rb +5 -4
- data/lib/factory_girl/syntax/blueprint.rb +5 -8
- data/lib/factory_girl/syntax/default.rb +18 -6
- data/lib/factory_girl/syntax/generate.rb +10 -13
- data/lib/factory_girl/syntax/make.rb +8 -11
- data/lib/factory_girl/syntax/methods.rb +76 -36
- data/lib/factory_girl/syntax/sham.rb +3 -2
- data/lib/factory_girl/syntax/vintage.rb +9 -9
- data/lib/factory_girl/syntax_runner.rb +1 -0
- data/lib/factory_girl/trait.rb +5 -4
- data/lib/factory_girl/version.rb +1 -2
- data/spec/acceptance/activesupport_instrumentation_spec.rb +15 -2
- data/spec/acceptance/callbacks_spec.rb +113 -9
- data/spec/acceptance/create_list_spec.rb +1 -1
- data/spec/acceptance/global_initialize_with_spec.rb +82 -0
- data/spec/acceptance/global_to_create_spec.rb +122 -0
- data/spec/acceptance/modify_factories_spec.rb +2 -2
- data/spec/acceptance/parent_spec.rb +1 -1
- data/spec/acceptance/register_strategies_spec.rb +8 -0
- data/spec/acceptance/syntax/vintage_spec.rb +8 -8
- data/spec/acceptance/traits_spec.rb +145 -3
- data/spec/acceptance/transient_attributes_spec.rb +1 -1
- data/spec/factory_girl/attribute_list_spec.rb +66 -1
- data/spec/factory_girl/attribute_spec.rb +1 -1
- data/spec/factory_girl/definition_proxy_spec.rb +6 -6
- data/spec/factory_girl/definition_spec.rb +22 -16
- data/spec/factory_girl/factory_spec.rb +6 -4
- data/spec/factory_girl/strategy/build_spec.rb +2 -2
- data/spec/factory_girl/strategy/create_spec.rb +1 -1
- data/spec/factory_girl/strategy/stub_spec.rb +2 -2
- data/spec/factory_girl/strategy_calculator_spec.rb +20 -14
- data/spec/support/shared_examples/strategy.rb +8 -9
- metadata +94 -29
- data/gemfiles/2.3.gemfile +0 -7
data/Appraisals
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
appraise "3.0" do
|
2
|
-
gem "activerecord", "~> 3.0"
|
2
|
+
gem "activerecord", "~> 3.0.0"
|
3
3
|
end
|
4
4
|
|
5
5
|
appraise "3.1" do
|
6
|
-
gem "activerecord", "~> 3.1"
|
6
|
+
gem "activerecord", "~> 3.1.0"
|
7
7
|
end
|
8
8
|
|
9
9
|
appraise "3.2" do
|
10
|
-
gem "activerecord", "~> 3.2"
|
10
|
+
gem "activerecord", "~> 3.2.0"
|
11
11
|
end
|
data/GETTING_STARTED.md
CHANGED
@@ -207,7 +207,7 @@ factory :user do
|
|
207
207
|
name { "John Doe#{" - Rockstar" if rockstar}" }
|
208
208
|
email { "#{name.downcase}@example.com" }
|
209
209
|
|
210
|
-
|
210
|
+
after(:create) do |user, evaluator|
|
211
211
|
user.name.upcase! if evaluator.upcased
|
212
212
|
end
|
213
213
|
end
|
@@ -299,11 +299,11 @@ FactoryGirl.define do
|
|
299
299
|
posts_count 5
|
300
300
|
end
|
301
301
|
|
302
|
-
# the
|
302
|
+
# the after(:create) yields two values; the user instance itself and the
|
303
303
|
# evaluator, which stores all values from the factory, including ignored
|
304
304
|
# attributes; `create_list`'s second argument is the number of records
|
305
305
|
# to create and we make sure the user is associated properly to the post
|
306
|
-
|
306
|
+
after(:create) do |user, evaluator|
|
307
307
|
FactoryGirl.create_list(:post, evaluator.posts_count, user: user)
|
308
308
|
end
|
309
309
|
end
|
@@ -589,18 +589,19 @@ FactoryGirl.create_list(:user, 3, :admin, :male, name: "Jon Snow")
|
|
589
589
|
Callbacks
|
590
590
|
---------
|
591
591
|
|
592
|
-
factory\_girl makes available
|
592
|
+
factory\_girl makes available four callbacks for injecting some code:
|
593
593
|
|
594
|
-
*
|
595
|
-
*
|
596
|
-
*
|
594
|
+
* after(:build) - called after a factory is built (via `FactoryGirl.build`, `FactoryGirl.create`)
|
595
|
+
* before(:create) - called before a factory is saved (via `FactoryGirl.create`)
|
596
|
+
* after(:create) - called after a factory is saved (via `FactoryGirl.create`)
|
597
|
+
* after(:stub) - called after a factory is stubbed (via `FactoryGirl.build_stubbed`)
|
597
598
|
|
598
599
|
Examples:
|
599
600
|
|
600
601
|
```ruby
|
601
602
|
# Define a factory that calls the generate_hashed_password method after it is built
|
602
603
|
factory :user do
|
603
|
-
|
604
|
+
after(:build) { |user| generate_hashed_password(user) }
|
604
605
|
end
|
605
606
|
```
|
606
607
|
|
@@ -610,8 +611,8 @@ You can also define multiple types of callbacks on the same factory:
|
|
610
611
|
|
611
612
|
```ruby
|
612
613
|
factory :user do
|
613
|
-
|
614
|
-
|
614
|
+
after(:build) { |user| do_something_to(user) }
|
615
|
+
after(:create) { |user| do_something_else_to(user) }
|
615
616
|
end
|
616
617
|
```
|
617
618
|
|
@@ -619,12 +620,12 @@ Factories can also define any number of the same kind of callback. These callba
|
|
619
620
|
|
620
621
|
```ruby
|
621
622
|
factory :user do
|
622
|
-
|
623
|
-
|
623
|
+
after(:create) { this_runs_first }
|
624
|
+
after(:create) { then_this }
|
624
625
|
end
|
625
626
|
```
|
626
627
|
|
627
|
-
Calling FactoryGirl.create will invoke both
|
628
|
+
Calling FactoryGirl.create will invoke both `after_build` and `after_create` callbacks.
|
628
629
|
|
629
630
|
Also, like standard attributes, child factories will inherit (and can also define) callbacks from their parent factory.
|
630
631
|
|
@@ -677,7 +678,7 @@ When modifying a factory, you can change any of the attributes you want (aside f
|
|
677
678
|
`FactoryGirl.modify` must be called outside of a `FactoryGirl.define` block as it operates on factories differently.
|
678
679
|
|
679
680
|
A caveat: you can only modify factories (not sequences or traits) and callbacks *still compound as they normally would*. So, if
|
680
|
-
the factory you're modifying defines an `
|
681
|
+
the factory you're modifying defines an `after(:create)` callback, you defining an `after(:create)` won't override it, it'll just get run after the first callback.
|
681
682
|
|
682
683
|
Building or Creating Multiple Records
|
683
684
|
-------------------------------------
|
@@ -761,6 +762,15 @@ factory :user do
|
|
761
762
|
end
|
762
763
|
```
|
763
764
|
|
765
|
+
You can define `initialize_with` for all factories by including it in the
|
766
|
+
`FactoryGirl.define` block:
|
767
|
+
|
768
|
+
```ruby
|
769
|
+
FactoryGirl.define do
|
770
|
+
initialize_with { new("Awesome first argument") }
|
771
|
+
end
|
772
|
+
```
|
773
|
+
|
764
774
|
Custom Strategies
|
765
775
|
-----------------
|
766
776
|
|
@@ -778,7 +788,7 @@ executes the `to_create` callback defined on the factory.
|
|
778
788
|
To understand how factory\_girl uses strategies internally, it's probably
|
779
789
|
easiest to just view the source for each of the four default strategies.
|
780
790
|
|
781
|
-
|
791
|
+
Here's an example of composing a strategy using
|
782
792
|
`FactoryGirl::Strategy::Create` to build a JSON representation of your model.
|
783
793
|
|
784
794
|
```ruby
|
@@ -810,6 +820,41 @@ FactoryGirl.json(:user)
|
|
810
820
|
Finally, you can override factory\_girl's own strategies if you'd like by
|
811
821
|
registering a new object in place of the strategies.
|
812
822
|
|
823
|
+
Custom Callbacks
|
824
|
+
----------------
|
825
|
+
|
826
|
+
Custom callbacks can be defined if you're using custom strategies:
|
827
|
+
|
828
|
+
```ruby
|
829
|
+
class JsonStrategy
|
830
|
+
def initialize
|
831
|
+
@strategy = FactoryGirl.strategy_by_name(:create).new
|
832
|
+
end
|
833
|
+
|
834
|
+
delegate :association, to: :@strategy
|
835
|
+
|
836
|
+
def result(evaluation)
|
837
|
+
result = @strategy.result(evaluation)
|
838
|
+
evaluation.notify(:before_json, result)
|
839
|
+
|
840
|
+
result.to_json.tap do |json|
|
841
|
+
evaluation.notify(:after_json, json)
|
842
|
+
evaluation.notify(:make_json_awesome, json)
|
843
|
+
end
|
844
|
+
end
|
845
|
+
end
|
846
|
+
|
847
|
+
FactoryGirl.register_strategy(:json, JsonStrategy)
|
848
|
+
|
849
|
+
FactoryGirl.define do
|
850
|
+
factory :user do
|
851
|
+
before(:json) {|user| do_something_to(user) }
|
852
|
+
after(:json) {|user_json| do_something_to(user_json) }
|
853
|
+
callback(:make_json_awesome) {|user_json| do_something_to(user_json) }
|
854
|
+
end
|
855
|
+
end
|
856
|
+
```
|
857
|
+
|
813
858
|
Custom Methods to Persist Objects
|
814
859
|
---------------------------------
|
815
860
|
|
@@ -832,6 +877,20 @@ factory :user_without_database do
|
|
832
877
|
end
|
833
878
|
```
|
834
879
|
|
880
|
+
To override `to_create` for all factories, define it within the
|
881
|
+
`FactoryGirl.define` block:
|
882
|
+
|
883
|
+
```ruby
|
884
|
+
FactoryGirl.define do
|
885
|
+
to_create {|instance| instance.persist! }
|
886
|
+
|
887
|
+
|
888
|
+
factory :user do
|
889
|
+
name "John Doe"
|
890
|
+
end
|
891
|
+
end
|
892
|
+
```
|
893
|
+
|
835
894
|
ActiveSupport Instrumentation
|
836
895
|
-----------------------------
|
837
896
|
|
data/Gemfile.lock
CHANGED
@@ -1,42 +1,37 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
factory_girl (3.
|
4
|
+
factory_girl (3.3.0)
|
5
5
|
activesupport (>= 3.0.0)
|
6
6
|
|
7
7
|
GEM
|
8
8
|
remote: http://rubygems.org/
|
9
9
|
specs:
|
10
|
-
activemodel (3.
|
11
|
-
activesupport (= 3.
|
12
|
-
bcrypt-ruby (~> 3.0.0)
|
10
|
+
activemodel (3.2.3)
|
11
|
+
activesupport (= 3.2.3)
|
13
12
|
builder (~> 3.0.0)
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
arel (~> 2.2.1)
|
13
|
+
activerecord (3.2.3)
|
14
|
+
activemodel (= 3.2.3)
|
15
|
+
activesupport (= 3.2.3)
|
16
|
+
arel (~> 3.0.2)
|
19
17
|
tzinfo (~> 0.3.29)
|
20
|
-
activesupport (3.
|
18
|
+
activesupport (3.2.3)
|
19
|
+
i18n (~> 0.6)
|
21
20
|
multi_json (~> 1.0)
|
22
21
|
appraisal (0.4.1)
|
23
22
|
bundler
|
24
23
|
rake
|
25
|
-
arel (
|
26
|
-
aruba (0.4.
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
bcrypt-ruby (3.0.1)
|
35
|
-
bluecloth (2.1.0)
|
36
|
-
bourne (1.0)
|
37
|
-
mocha (= 0.9.8)
|
24
|
+
arel (3.0.2)
|
25
|
+
aruba (0.4.11)
|
26
|
+
childprocess (>= 0.2.3)
|
27
|
+
cucumber (>= 1.1.1)
|
28
|
+
ffi (>= 1.0.11)
|
29
|
+
rspec (>= 2.7.0)
|
30
|
+
bluecloth (2.2.0)
|
31
|
+
bourne (1.1.2)
|
32
|
+
mocha (= 0.10.5)
|
38
33
|
builder (3.0.0)
|
39
|
-
childprocess (0.
|
34
|
+
childprocess (0.3.2)
|
40
35
|
ffi (~> 1.0.6)
|
41
36
|
cucumber (1.1.9)
|
42
37
|
builder (>= 2.1.2)
|
@@ -45,36 +40,35 @@ GEM
|
|
45
40
|
json (>= 1.4.6)
|
46
41
|
term-ansicolor (>= 1.0.6)
|
47
42
|
diff-lcs (1.1.3)
|
48
|
-
ffi (1.0.
|
43
|
+
ffi (1.0.11)
|
49
44
|
gherkin (2.9.3)
|
50
45
|
json (>= 1.4.6)
|
51
46
|
i18n (0.6.0)
|
52
|
-
json (1.
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
47
|
+
json (1.7.0)
|
48
|
+
metaclass (0.0.1)
|
49
|
+
mocha (0.10.5)
|
50
|
+
metaclass (~> 0.0.1)
|
51
|
+
multi_json (1.3.4)
|
57
52
|
rake (0.9.2.2)
|
58
|
-
|
59
|
-
|
60
|
-
rspec-
|
61
|
-
rspec-
|
62
|
-
|
63
|
-
rspec-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
multi_json (~> 1.0)
|
53
|
+
rspec (2.9.0)
|
54
|
+
rspec-core (~> 2.9.0)
|
55
|
+
rspec-expectations (~> 2.9.0)
|
56
|
+
rspec-mocks (~> 2.9.0)
|
57
|
+
rspec-core (2.9.0)
|
58
|
+
rspec-expectations (2.9.1)
|
59
|
+
diff-lcs (~> 1.1.3)
|
60
|
+
rspec-mocks (2.9.0)
|
61
|
+
simplecov (0.6.2)
|
62
|
+
multi_json (~> 1.3)
|
69
63
|
simplecov-html (~> 0.5.3)
|
70
64
|
simplecov-html (0.5.3)
|
71
|
-
sqlite3 (1.3.
|
65
|
+
sqlite3 (1.3.6)
|
72
66
|
sqlite3-ruby (1.3.3)
|
73
67
|
sqlite3 (>= 1.3.3)
|
74
68
|
term-ansicolor (1.0.7)
|
75
69
|
timecop (0.3.5)
|
76
|
-
tzinfo (0.3.
|
77
|
-
yard (0.
|
70
|
+
tzinfo (0.3.33)
|
71
|
+
yard (0.8.1)
|
78
72
|
|
79
73
|
PLATFORMS
|
80
74
|
ruby
|
data/NEWS
CHANGED
@@ -1,3 +1,15 @@
|
|
1
|
+
3.3.0 (May 13, 2012)
|
2
|
+
Allow to_create, skip_create, and initialize_with to be defined globally
|
3
|
+
Allow to_create, skip_create, and initialize_with to be defined within traits
|
4
|
+
Fix deprecation messages for alternate syntaxes (make, generate, etc.)
|
5
|
+
Improve library documentation
|
6
|
+
Deprecate after_build, after_create, before_create, after_stub in favor of new callbacks
|
7
|
+
Introduce new callback syntax: after(:build) {}, after(:custom) {}, or callback(:different) {}
|
8
|
+
This allows for declaring any callback, usable with custom strategies
|
9
|
+
Add attributes_for_list and build_stubbed_list with the StrategySyntaxMethodRegistrar
|
10
|
+
Allow use of syntax methods (build, create, generate, etc) implicitly in callbacks
|
11
|
+
Internal refactoring of a handful of components
|
12
|
+
|
1
13
|
3.2.0 (April 24, 2012)
|
2
14
|
Use AS::Notifications for pub/sub to track running factories
|
3
15
|
Call new within initialize_with implicitly on the build class
|
data/gemfiles/3.0.gemfile
CHANGED
data/gemfiles/3.0.gemfile.lock
CHANGED
@@ -1,27 +1,26 @@
|
|
1
1
|
PATH
|
2
2
|
remote: /Users/joshuaclayton/dev/gems/factory_girl
|
3
3
|
specs:
|
4
|
-
factory_girl (3.
|
4
|
+
factory_girl (3.3.0)
|
5
5
|
activesupport (>= 3.0.0)
|
6
6
|
|
7
7
|
GEM
|
8
8
|
remote: http://rubygems.org/
|
9
9
|
specs:
|
10
|
-
activemodel (3.
|
11
|
-
activesupport (= 3.
|
12
|
-
builder (~>
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
multi_json (~> 1.0)
|
10
|
+
activemodel (3.0.12)
|
11
|
+
activesupport (= 3.0.12)
|
12
|
+
builder (~> 2.1.2)
|
13
|
+
i18n (~> 0.5.0)
|
14
|
+
activerecord (3.0.12)
|
15
|
+
activemodel (= 3.0.12)
|
16
|
+
activesupport (= 3.0.12)
|
17
|
+
arel (~> 2.0.10)
|
18
|
+
tzinfo (~> 0.3.23)
|
19
|
+
activesupport (3.0.12)
|
21
20
|
appraisal (0.4.1)
|
22
21
|
bundler
|
23
22
|
rake
|
24
|
-
arel (
|
23
|
+
arel (2.0.10)
|
25
24
|
aruba (0.4.11)
|
26
25
|
childprocess (>= 0.2.3)
|
27
26
|
cucumber (>= 1.1.1)
|
@@ -30,8 +29,8 @@ GEM
|
|
30
29
|
bluecloth (2.2.0)
|
31
30
|
bourne (1.1.2)
|
32
31
|
mocha (= 0.10.5)
|
33
|
-
builder (
|
34
|
-
childprocess (0.3.
|
32
|
+
builder (2.1.2)
|
33
|
+
childprocess (0.3.2)
|
35
34
|
ffi (~> 1.0.6)
|
36
35
|
cucumber (1.1.9)
|
37
36
|
builder (>= 2.1.2)
|
@@ -43,12 +42,12 @@ GEM
|
|
43
42
|
ffi (1.0.11)
|
44
43
|
gherkin (2.9.3)
|
45
44
|
json (>= 1.4.6)
|
46
|
-
i18n (0.
|
47
|
-
json (1.
|
45
|
+
i18n (0.5.0)
|
46
|
+
json (1.7.0)
|
48
47
|
metaclass (0.0.1)
|
49
48
|
mocha (0.10.5)
|
50
49
|
metaclass (~> 0.0.1)
|
51
|
-
multi_json (1.
|
50
|
+
multi_json (1.3.4)
|
52
51
|
rake (0.9.2.2)
|
53
52
|
rspec (2.9.0)
|
54
53
|
rspec-core (~> 2.9.0)
|
@@ -58,23 +57,23 @@ GEM
|
|
58
57
|
rspec-expectations (2.9.1)
|
59
58
|
diff-lcs (~> 1.1.3)
|
60
59
|
rspec-mocks (2.9.0)
|
61
|
-
simplecov (0.6.
|
62
|
-
multi_json (~> 1.
|
60
|
+
simplecov (0.6.2)
|
61
|
+
multi_json (~> 1.3)
|
63
62
|
simplecov-html (~> 0.5.3)
|
64
63
|
simplecov-html (0.5.3)
|
65
|
-
sqlite3 (1.3.
|
64
|
+
sqlite3 (1.3.6)
|
66
65
|
sqlite3-ruby (1.3.3)
|
67
66
|
sqlite3 (>= 1.3.3)
|
68
67
|
term-ansicolor (1.0.7)
|
69
68
|
timecop (0.3.5)
|
70
|
-
tzinfo (0.3.
|
71
|
-
yard (0.
|
69
|
+
tzinfo (0.3.33)
|
70
|
+
yard (0.8.1)
|
72
71
|
|
73
72
|
PLATFORMS
|
74
73
|
ruby
|
75
74
|
|
76
75
|
DEPENDENCIES
|
77
|
-
activerecord (~> 3.0)
|
76
|
+
activerecord (~> 3.0.0)
|
78
77
|
appraisal (~> 0.4)
|
79
78
|
aruba
|
80
79
|
bluecloth
|
data/gemfiles/3.1.gemfile
CHANGED
data/gemfiles/3.1.gemfile.lock
CHANGED
@@ -1,27 +1,27 @@
|
|
1
1
|
PATH
|
2
2
|
remote: /Users/joshuaclayton/dev/gems/factory_girl
|
3
3
|
specs:
|
4
|
-
factory_girl (3.
|
4
|
+
factory_girl (3.3.0)
|
5
5
|
activesupport (>= 3.0.0)
|
6
6
|
|
7
7
|
GEM
|
8
8
|
remote: http://rubygems.org/
|
9
9
|
specs:
|
10
|
-
activemodel (3.
|
11
|
-
activesupport (= 3.
|
10
|
+
activemodel (3.1.4)
|
11
|
+
activesupport (= 3.1.4)
|
12
12
|
builder (~> 3.0.0)
|
13
|
-
activerecord (3.2.3)
|
14
|
-
activemodel (= 3.2.3)
|
15
|
-
activesupport (= 3.2.3)
|
16
|
-
arel (~> 3.0.2)
|
17
|
-
tzinfo (~> 0.3.29)
|
18
|
-
activesupport (3.2.3)
|
19
13
|
i18n (~> 0.6)
|
14
|
+
activerecord (3.1.4)
|
15
|
+
activemodel (= 3.1.4)
|
16
|
+
activesupport (= 3.1.4)
|
17
|
+
arel (~> 2.2.3)
|
18
|
+
tzinfo (~> 0.3.29)
|
19
|
+
activesupport (3.1.4)
|
20
20
|
multi_json (~> 1.0)
|
21
21
|
appraisal (0.4.1)
|
22
22
|
bundler
|
23
23
|
rake
|
24
|
-
arel (
|
24
|
+
arel (2.2.3)
|
25
25
|
aruba (0.4.11)
|
26
26
|
childprocess (>= 0.2.3)
|
27
27
|
cucumber (>= 1.1.1)
|
@@ -31,7 +31,7 @@ GEM
|
|
31
31
|
bourne (1.1.2)
|
32
32
|
mocha (= 0.10.5)
|
33
33
|
builder (3.0.0)
|
34
|
-
childprocess (0.3.
|
34
|
+
childprocess (0.3.2)
|
35
35
|
ffi (~> 1.0.6)
|
36
36
|
cucumber (1.1.9)
|
37
37
|
builder (>= 2.1.2)
|
@@ -44,11 +44,11 @@ GEM
|
|
44
44
|
gherkin (2.9.3)
|
45
45
|
json (>= 1.4.6)
|
46
46
|
i18n (0.6.0)
|
47
|
-
json (1.
|
47
|
+
json (1.7.0)
|
48
48
|
metaclass (0.0.1)
|
49
49
|
mocha (0.10.5)
|
50
50
|
metaclass (~> 0.0.1)
|
51
|
-
multi_json (1.
|
51
|
+
multi_json (1.3.4)
|
52
52
|
rake (0.9.2.2)
|
53
53
|
rspec (2.9.0)
|
54
54
|
rspec-core (~> 2.9.0)
|
@@ -58,23 +58,23 @@ GEM
|
|
58
58
|
rspec-expectations (2.9.1)
|
59
59
|
diff-lcs (~> 1.1.3)
|
60
60
|
rspec-mocks (2.9.0)
|
61
|
-
simplecov (0.6.
|
62
|
-
multi_json (~> 1.
|
61
|
+
simplecov (0.6.2)
|
62
|
+
multi_json (~> 1.3)
|
63
63
|
simplecov-html (~> 0.5.3)
|
64
64
|
simplecov-html (0.5.3)
|
65
|
-
sqlite3 (1.3.
|
65
|
+
sqlite3 (1.3.6)
|
66
66
|
sqlite3-ruby (1.3.3)
|
67
67
|
sqlite3 (>= 1.3.3)
|
68
68
|
term-ansicolor (1.0.7)
|
69
69
|
timecop (0.3.5)
|
70
|
-
tzinfo (0.3.
|
71
|
-
yard (0.
|
70
|
+
tzinfo (0.3.33)
|
71
|
+
yard (0.8.1)
|
72
72
|
|
73
73
|
PLATFORMS
|
74
74
|
ruby
|
75
75
|
|
76
76
|
DEPENDENCIES
|
77
|
-
activerecord (~> 3.1)
|
77
|
+
activerecord (~> 3.1.0)
|
78
78
|
appraisal (~> 0.4)
|
79
79
|
aruba
|
80
80
|
bluecloth
|