factory_girl 4.2.0 → 4.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.travis.yml +3 -2
- data/Appraisals +3 -7
- data/GETTING_STARTED.md +101 -5
- data/Gemfile +1 -1
- data/Gemfile.lock +56 -48
- data/README.md +5 -12
- data/Rakefile +2 -2
- data/factory_girl.gemspec +1 -0
- data/gemfiles/3.1.gemfile +1 -1
- data/gemfiles/3.1.gemfile.lock +36 -33
- data/gemfiles/3.2.gemfile +1 -1
- data/gemfiles/3.2.gemfile.lock +31 -32
- data/gemfiles/4.0.gemfile +1 -1
- data/gemfiles/4.0.gemfile.lock +51 -50
- data/lib/factory_girl.rb +1 -1
- data/lib/factory_girl/attribute/dynamic.rb +1 -1
- data/lib/factory_girl/callback.rb +1 -1
- data/lib/factory_girl/configuration.rb +2 -1
- data/lib/factory_girl/definition.rb +15 -0
- data/lib/factory_girl/definition_hierarchy.rb +1 -1
- data/lib/factory_girl/definition_proxy.rb +8 -16
- data/lib/factory_girl/errors.rb +3 -0
- data/lib/factory_girl/factory.rb +1 -1
- data/lib/factory_girl/strategy_syntax_method_registrar.rb +9 -0
- data/lib/factory_girl/syntax/default.rb +8 -0
- data/lib/factory_girl/version.rb +1 -1
- data/spec/acceptance/callbacks_spec.rb +76 -0
- data/spec/acceptance/create_pair_spec.rb +32 -0
- data/spec/acceptance/defining_methods_inside_a_factory_spec.rb +17 -0
- data/spec/acceptance/definition_camel_string_spec.rb +15 -0
- data/spec/acceptance/register_strategies_spec.rb +8 -0
- data/spec/acceptance/syntax_methods_within_dynamic_attributes_spec.rb +10 -0
- data/spec/factory_girl/callback_spec.rb +1 -1
- metadata +35 -55
- data/gemfiles/3.0.gemfile +0 -7
- data/gemfiles/3.0.gemfile.lock +0 -81
data/gemfiles/3.0.gemfile
DELETED
data/gemfiles/3.0.gemfile.lock
DELETED
@@ -1,81 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: /Users/joshuaclayton/dev/gems/factory_girl
|
3
|
-
specs:
|
4
|
-
factory_girl (4.2.0)
|
5
|
-
activesupport (>= 3.0.0)
|
6
|
-
|
7
|
-
GEM
|
8
|
-
remote: http://rubygems.org/
|
9
|
-
specs:
|
10
|
-
activemodel (3.0.19)
|
11
|
-
activesupport (= 3.0.19)
|
12
|
-
builder (~> 2.1.2)
|
13
|
-
i18n (~> 0.5.0)
|
14
|
-
activerecord (3.0.19)
|
15
|
-
activemodel (= 3.0.19)
|
16
|
-
activesupport (= 3.0.19)
|
17
|
-
arel (~> 2.0.10)
|
18
|
-
tzinfo (~> 0.3.23)
|
19
|
-
activesupport (3.0.19)
|
20
|
-
appraisal (0.5.1)
|
21
|
-
bundler
|
22
|
-
rake
|
23
|
-
arel (2.0.10)
|
24
|
-
aruba (0.5.1)
|
25
|
-
childprocess (~> 0.3.6)
|
26
|
-
cucumber (>= 1.1.1)
|
27
|
-
rspec-expectations (>= 2.7.0)
|
28
|
-
bourne (1.3.0)
|
29
|
-
mocha (= 0.13.0)
|
30
|
-
builder (2.1.2)
|
31
|
-
childprocess (0.3.6)
|
32
|
-
ffi (~> 1.0, >= 1.0.6)
|
33
|
-
cucumber (1.2.1)
|
34
|
-
builder (>= 2.1.2)
|
35
|
-
diff-lcs (>= 1.1.3)
|
36
|
-
gherkin (~> 2.11.0)
|
37
|
-
json (>= 1.4.6)
|
38
|
-
diff-lcs (1.1.3)
|
39
|
-
ffi (1.3.1)
|
40
|
-
gherkin (2.11.5)
|
41
|
-
json (>= 1.4.6)
|
42
|
-
i18n (0.5.0)
|
43
|
-
json (1.7.6)
|
44
|
-
metaclass (0.0.1)
|
45
|
-
mocha (0.13.0)
|
46
|
-
metaclass (~> 0.0.1)
|
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)
|
55
|
-
diff-lcs (~> 1.1.3)
|
56
|
-
rspec-mocks (2.12.1)
|
57
|
-
simplecov (0.7.1)
|
58
|
-
multi_json (~> 1.0)
|
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)
|
65
|
-
|
66
|
-
PLATFORMS
|
67
|
-
ruby
|
68
|
-
|
69
|
-
DEPENDENCIES
|
70
|
-
activerecord (~> 3.0.19)
|
71
|
-
appraisal (~> 0.5.1)
|
72
|
-
aruba
|
73
|
-
bourne
|
74
|
-
cucumber (~> 1.2.1)
|
75
|
-
factory_girl!
|
76
|
-
mocha (>= 0.12.8)
|
77
|
-
rspec (~> 2.12.0)
|
78
|
-
simplecov
|
79
|
-
sqlite3
|
80
|
-
timecop
|
81
|
-
yard
|