factory_girl 2.6.4 → 3.0.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
- data/.travis.yml +0 -3
- data/Appraisals +0 -4
- data/Changelog +0 -4
- data/Gemfile.lock +7 -4
- data/Rakefile +0 -12
- data/factory_girl.gemspec +3 -3
- data/features/support/env.rb +3 -0
- data/gemfiles/3.0.gemfile.lock +8 -4
- data/gemfiles/3.1.gemfile.lock +7 -4
- data/gemfiles/3.2.gemfile.lock +7 -4
- data/lib/factory_girl.rb +0 -1
- data/lib/factory_girl/attribute_assigner.rb +2 -2
- data/lib/factory_girl/declaration.rb +0 -5
- data/lib/factory_girl/definition.rb +1 -1
- data/lib/factory_girl/definition_proxy.rb +1 -1
- data/lib/factory_girl/errors.rb +1 -1
- data/lib/factory_girl/evaluator.rb +2 -5
- data/lib/factory_girl/factory.rb +4 -20
- data/lib/factory_girl/null_factory.rb +1 -2
- data/lib/factory_girl/null_object.rb +3 -15
- data/lib/factory_girl/sequence.rb +0 -4
- data/lib/factory_girl/step_definitions.rb +1 -1
- data/lib/factory_girl/syntax/blueprint.rb +2 -2
- data/lib/factory_girl/syntax/default.rb +1 -1
- data/lib/factory_girl/syntax/generate.rb +1 -1
- data/lib/factory_girl/syntax/make.rb +1 -1
- data/lib/factory_girl/syntax/vintage.rb +13 -32
- data/lib/factory_girl/trait.rb +1 -1
- data/lib/factory_girl/version.rb +1 -1
- data/spec/acceptance/aliases_spec.rb +3 -3
- data/spec/acceptance/attribute_aliases_spec.rb +5 -5
- data/spec/acceptance/attribute_existing_on_object_spec.rb +5 -5
- data/spec/acceptance/attributes_for_spec.rb +8 -8
- data/spec/acceptance/attributes_from_instance_spec.rb +5 -5
- data/spec/acceptance/attributes_ordered_spec.rb +5 -5
- data/spec/acceptance/build_list_spec.rb +2 -2
- data/spec/acceptance/build_spec.rb +6 -6
- data/spec/acceptance/build_stubbed_spec.rb +7 -7
- data/spec/acceptance/callbacks_spec.rb +3 -3
- data/spec/acceptance/create_list_spec.rb +6 -6
- data/spec/acceptance/create_spec.rb +13 -42
- data/spec/acceptance/define_child_before_parent_spec.rb +2 -2
- data/spec/acceptance/definition_spec.rb +2 -2
- data/spec/acceptance/initialize_with_spec.rb +7 -7
- data/spec/acceptance/modify_factories_spec.rb +5 -5
- data/spec/acceptance/modify_inherited_spec.rb +8 -8
- data/spec/acceptance/overrides_spec.rb +4 -4
- data/spec/acceptance/parent_spec.rb +3 -3
- data/spec/acceptance/stub_spec.rb +12 -41
- data/spec/acceptance/syntax/blueprint_spec.rb +6 -3
- data/spec/acceptance/syntax/generate_spec.rb +4 -4
- data/spec/acceptance/syntax/make_spec.rb +3 -3
- data/spec/acceptance/syntax/sham_spec.rb +5 -5
- data/spec/acceptance/syntax/vintage_spec.rb +28 -46
- data/spec/acceptance/traits_spec.rb +33 -33
- data/spec/acceptance/transient_attributes_spec.rb +7 -59
- data/spec/factory_girl/aliases_spec.rb +1 -1
- data/spec/factory_girl/attribute/association_spec.rb +2 -2
- data/spec/factory_girl/attribute/dynamic_spec.rb +2 -2
- data/spec/factory_girl/declaration_list_spec.rb +7 -7
- data/spec/factory_girl/definition_proxy_spec.rb +6 -6
- data/spec/factory_girl/definition_spec.rb +3 -3
- data/spec/factory_girl/evaluator_class_definer_spec.rb +5 -5
- data/spec/factory_girl/factory_spec.rb +19 -69
- data/spec/factory_girl/null_factory_spec.rb +4 -5
- data/spec/factory_girl/registry_spec.rb +1 -1
- data/spec/factory_girl/sequence_spec.rb +3 -4
- data/spec/factory_girl/strategy/attributes_for_spec.rb +2 -2
- data/spec/factory_girl/strategy/build_spec.rb +1 -1
- data/spec/factory_girl/strategy/create_spec.rb +1 -1
- data/spec/factory_girl/strategy/stub_spec.rb +2 -2
- data/spec/spec_helper.rb +3 -0
- data/spec/support/macros/define_constant.rb +2 -2
- data/spec/support/shared_examples/strategy.rb +12 -22
- metadata +32 -41
- data/gemfiles/2.3.gemfile.lock +0 -72
- data/lib/factory_girl/deprecated.rb +0 -18
- data/spec/acceptance/default_strategy_spec.rb +0 -24
- data/spec/acceptance/nested_attributes_spec.rb +0 -32
- data/spec/factory_girl/deprecated_spec.rb +0 -45
@@ -5,7 +5,7 @@ describe FactoryGirl::Registry do
|
|
5
5
|
let(:sequence) { FactoryGirl::Sequence.new(:email) { |n| "somebody#{n}@example.com" } }
|
6
6
|
let(:factory) { FactoryGirl::Factory.new(:object) }
|
7
7
|
let(:other_factory) { FactoryGirl::Factory.new(:string) }
|
8
|
-
let(:factory_with_aliases) { FactoryGirl::Factory.new(:string, :
|
8
|
+
let(:factory_with_aliases) { FactoryGirl::Factory.new(:string, aliases: aliases) }
|
9
9
|
let(:registry_name) { "Factory" }
|
10
10
|
|
11
11
|
subject { FactoryGirl::Registry.new(registry_name) }
|
@@ -5,10 +5,9 @@ describe FactoryGirl::Sequence do
|
|
5
5
|
let(:name) { :test }
|
6
6
|
subject { FactoryGirl::Sequence.new(name) {|n| "=#{n}" } }
|
7
7
|
|
8
|
-
its(:name)
|
9
|
-
its(:names)
|
10
|
-
its(:next)
|
11
|
-
its(:default_strategy) { should == :create }
|
8
|
+
its(:name) { should == name }
|
9
|
+
its(:names) { should == [name] }
|
10
|
+
its(:next) { should == "=1" }
|
12
11
|
|
13
12
|
describe "when incrementing" do
|
14
13
|
before { subject.next }
|
@@ -1,8 +1,8 @@
|
|
1
1
|
require 'spec_helper'
|
2
2
|
|
3
3
|
describe FactoryGirl::Strategy::AttributesFor do
|
4
|
-
let(:result) { { :
|
5
|
-
let(:attribute_assigner) { stub("attribute assigner", :
|
4
|
+
let(:result) { { name: "John Doe", gender: "Male", admin: false } }
|
5
|
+
let(:attribute_assigner) { stub("attribute assigner", hash: result) }
|
6
6
|
|
7
7
|
it_should_behave_like "strategy without association support"
|
8
8
|
|
@@ -3,5 +3,5 @@ require "spec_helper"
|
|
3
3
|
describe FactoryGirl::Strategy::Build do
|
4
4
|
it_should_behave_like "strategy with association support", FactoryGirl::Strategy::Create
|
5
5
|
it_should_behave_like "strategy with callbacks", :after_build
|
6
|
-
it_should_behave_like "strategy with :
|
6
|
+
it_should_behave_like "strategy with strategy: :build", FactoryGirl::Strategy::Build
|
7
7
|
end
|
@@ -7,7 +7,7 @@ describe FactoryGirl::Strategy::Create do
|
|
7
7
|
it "runs a custom create block" do
|
8
8
|
block_run = false
|
9
9
|
block = lambda {|instance| block_run = true }
|
10
|
-
subject.result(stub("assigner", :
|
10
|
+
subject.result(stub("assigner", object: stub("result instance")), block)
|
11
11
|
block_run.should be_true
|
12
12
|
end
|
13
13
|
end
|
@@ -3,7 +3,7 @@ require 'spec_helper'
|
|
3
3
|
describe FactoryGirl::Strategy::Stub do
|
4
4
|
it_should_behave_like "strategy with association support", FactoryGirl::Strategy::Stub
|
5
5
|
it_should_behave_like "strategy with callbacks", :after_stub
|
6
|
-
it_should_behave_like "strategy with :
|
6
|
+
it_should_behave_like "strategy with strategy: :build", FactoryGirl::Strategy::Stub
|
7
7
|
|
8
8
|
context "asking for a result" do
|
9
9
|
before { Timecop.freeze(Time.now) }
|
@@ -14,7 +14,7 @@ describe FactoryGirl::Strategy::Stub do
|
|
14
14
|
end.new
|
15
15
|
end
|
16
16
|
|
17
|
-
let(:assigner) { stub("attribute assigner", :
|
17
|
+
let(:assigner) { stub("attribute assigner", object: result_instance) }
|
18
18
|
let(:to_create) { lambda {|instance| instance } }
|
19
19
|
|
20
20
|
it { subject.result(assigner, to_create).should_not be_new_record }
|
data/spec/spec_helper.rb
CHANGED
@@ -70,8 +70,8 @@ RSpec.configure do |config|
|
|
70
70
|
|
71
71
|
config.before(:all) do
|
72
72
|
ActiveRecord::Base.establish_connection(
|
73
|
-
:
|
74
|
-
:
|
73
|
+
adapter: 'sqlite3',
|
74
|
+
database: File.join(File.dirname(__FILE__), 'test.db')
|
75
75
|
)
|
76
76
|
end
|
77
77
|
|
@@ -26,54 +26,44 @@ shared_examples_for "strategy with association support" do |factory_girl_strateg
|
|
26
26
|
end
|
27
27
|
|
28
28
|
before do
|
29
|
-
FactoryGirl.stubs(:
|
29
|
+
FactoryGirl.stubs(factory_by_name: factory)
|
30
30
|
factory.stubs(:compile)
|
31
31
|
factory.stubs(:run)
|
32
32
|
end
|
33
33
|
|
34
34
|
it "runs the factory with the correct overrides" do
|
35
|
-
association_named(:author, factory_girl_strategy_class, :
|
36
|
-
factory.should have_received(:run).with(factory_girl_strategy_class, :
|
35
|
+
association_named(:author, factory_girl_strategy_class, great: "value")
|
36
|
+
factory.should have_received(:run).with(factory_girl_strategy_class, great: "value")
|
37
37
|
end
|
38
38
|
|
39
39
|
it "finds the factory with the correct factory name" do
|
40
|
-
association_named(:author, factory_girl_strategy_class, :
|
40
|
+
association_named(:author, factory_girl_strategy_class, great: "value")
|
41
41
|
FactoryGirl.should have_received(:factory_by_name).with(:author)
|
42
42
|
end
|
43
43
|
end
|
44
44
|
|
45
|
-
shared_examples_for "strategy with :
|
45
|
+
shared_examples_for "strategy with strategy: :build" do |factory_girl_strategy_class|
|
46
46
|
let(:factory) { stub("associate_factory") }
|
47
47
|
|
48
48
|
def association_named(name, overrides)
|
49
|
-
strategy = FactoryGirl::StrategyCalculator.new(overrides[:strategy]
|
50
|
-
runner = FactoryGirl::FactoryRunner.new(name, strategy, [overrides.except(:strategy
|
49
|
+
strategy = FactoryGirl::StrategyCalculator.new(overrides[:strategy]).strategy
|
50
|
+
runner = FactoryGirl::FactoryRunner.new(name, strategy, [overrides.except(:strategy)])
|
51
51
|
subject.association(runner)
|
52
52
|
end
|
53
53
|
|
54
54
|
before do
|
55
|
-
FactoryGirl.stubs(:
|
55
|
+
FactoryGirl.stubs(factory_by_name: factory)
|
56
56
|
factory.stubs(:compile)
|
57
57
|
factory.stubs(:run)
|
58
58
|
end
|
59
59
|
|
60
60
|
it "runs the factory with the correct overrides" do
|
61
|
-
association_named(:author, :
|
62
|
-
factory.should have_received(:run).with(factory_girl_strategy_class, { :
|
61
|
+
association_named(:author, strategy: :build, great: "value")
|
62
|
+
factory.should have_received(:run).with(factory_girl_strategy_class, { great: "value" })
|
63
63
|
end
|
64
64
|
|
65
65
|
it "finds the factory with the correct factory name" do
|
66
|
-
association_named(:author, :
|
67
|
-
FactoryGirl.should have_received(:factory_by_name).with(:author)
|
68
|
-
end
|
69
|
-
|
70
|
-
it "runs the factory with the correct overrides with :method" do
|
71
|
-
association_named(:author, :method => :build, :great => "value")
|
72
|
-
factory.should have_received(:run).with(factory_girl_strategy_class, { :great => "value" })
|
73
|
-
end
|
74
|
-
|
75
|
-
it "finds the factory with the correct factory name with :method" do
|
76
|
-
association_named(:author, :method => :build, :great => "value")
|
66
|
+
association_named(:author, strategy: :build, great: "value")
|
77
67
|
FactoryGirl.should have_received(:factory_by_name).with(:author)
|
78
68
|
end
|
79
69
|
end
|
@@ -99,7 +89,7 @@ shared_examples_for "strategy with callbacks" do |*callback_names|
|
|
99
89
|
end.new
|
100
90
|
end
|
101
91
|
|
102
|
-
let(:assigner) { stub("attribute assigner", :
|
92
|
+
let(:assigner) { stub("attribute assigner", object: result_instance) }
|
103
93
|
|
104
94
|
before { subject.add_observer(callback_observer) }
|
105
95
|
|
metadata
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: factory_girl
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
5
|
-
prerelease:
|
4
|
+
version: 3.0.0.rc1
|
5
|
+
prerelease: 6
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Josh Clayton
|
@@ -10,22 +10,22 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2012-03-
|
13
|
+
date: 2012-03-09 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: activesupport
|
17
|
-
requirement: &
|
17
|
+
requirement: &70291930464900 !ruby/object:Gem::Requirement
|
18
18
|
none: false
|
19
19
|
requirements:
|
20
20
|
- - ! '>='
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version:
|
22
|
+
version: 3.0.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
|
-
version_requirements: *
|
25
|
+
version_requirements: *70291930464900
|
26
26
|
- !ruby/object:Gem::Dependency
|
27
27
|
name: rspec
|
28
|
-
requirement: &
|
28
|
+
requirement: &70291930463360 !ruby/object:Gem::Requirement
|
29
29
|
none: false
|
30
30
|
requirements:
|
31
31
|
- - ~>
|
@@ -33,10 +33,10 @@ dependencies:
|
|
33
33
|
version: '2.0'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
|
-
version_requirements: *
|
36
|
+
version_requirements: *70291930463360
|
37
37
|
- !ruby/object:Gem::Dependency
|
38
38
|
name: cucumber
|
39
|
-
requirement: &
|
39
|
+
requirement: &70291930461720 !ruby/object:Gem::Requirement
|
40
40
|
none: false
|
41
41
|
requirements:
|
42
42
|
- - ~>
|
@@ -44,10 +44,10 @@ dependencies:
|
|
44
44
|
version: 1.0.0
|
45
45
|
type: :development
|
46
46
|
prerelease: false
|
47
|
-
version_requirements: *
|
47
|
+
version_requirements: *70291930461720
|
48
48
|
- !ruby/object:Gem::Dependency
|
49
49
|
name: timecop
|
50
|
-
requirement: &
|
50
|
+
requirement: &70291930461040 !ruby/object:Gem::Requirement
|
51
51
|
none: false
|
52
52
|
requirements:
|
53
53
|
- - ! '>='
|
@@ -55,10 +55,10 @@ dependencies:
|
|
55
55
|
version: '0'
|
56
56
|
type: :development
|
57
57
|
prerelease: false
|
58
|
-
version_requirements: *
|
58
|
+
version_requirements: *70291930461040
|
59
59
|
- !ruby/object:Gem::Dependency
|
60
|
-
name:
|
61
|
-
requirement: &
|
60
|
+
name: simplecov
|
61
|
+
requirement: &70291930459800 !ruby/object:Gem::Requirement
|
62
62
|
none: false
|
63
63
|
requirements:
|
64
64
|
- - ! '>='
|
@@ -66,10 +66,10 @@ dependencies:
|
|
66
66
|
version: '0'
|
67
67
|
type: :development
|
68
68
|
prerelease: false
|
69
|
-
version_requirements: *
|
69
|
+
version_requirements: *70291930459800
|
70
70
|
- !ruby/object:Gem::Dependency
|
71
71
|
name: aruba
|
72
|
-
requirement: &
|
72
|
+
requirement: &70291930458700 !ruby/object:Gem::Requirement
|
73
73
|
none: false
|
74
74
|
requirements:
|
75
75
|
- - ! '>='
|
@@ -77,10 +77,10 @@ dependencies:
|
|
77
77
|
version: '0'
|
78
78
|
type: :development
|
79
79
|
prerelease: false
|
80
|
-
version_requirements: *
|
80
|
+
version_requirements: *70291930458700
|
81
81
|
- !ruby/object:Gem::Dependency
|
82
82
|
name: mocha
|
83
|
-
requirement: &
|
83
|
+
requirement: &70291930330920 !ruby/object:Gem::Requirement
|
84
84
|
none: false
|
85
85
|
requirements:
|
86
86
|
- - ! '>='
|
@@ -88,10 +88,10 @@ dependencies:
|
|
88
88
|
version: '0'
|
89
89
|
type: :development
|
90
90
|
prerelease: false
|
91
|
-
version_requirements: *
|
91
|
+
version_requirements: *70291930330920
|
92
92
|
- !ruby/object:Gem::Dependency
|
93
93
|
name: bourne
|
94
|
-
requirement: &
|
94
|
+
requirement: &70291930329740 !ruby/object:Gem::Requirement
|
95
95
|
none: false
|
96
96
|
requirements:
|
97
97
|
- - ! '>='
|
@@ -99,10 +99,10 @@ dependencies:
|
|
99
99
|
version: '0'
|
100
100
|
type: :development
|
101
101
|
prerelease: false
|
102
|
-
version_requirements: *
|
102
|
+
version_requirements: *70291930329740
|
103
103
|
- !ruby/object:Gem::Dependency
|
104
104
|
name: appraisal
|
105
|
-
requirement: &
|
105
|
+
requirement: &70291930328760 !ruby/object:Gem::Requirement
|
106
106
|
none: false
|
107
107
|
requirements:
|
108
108
|
- - ~>
|
@@ -110,10 +110,10 @@ dependencies:
|
|
110
110
|
version: 0.3.8
|
111
111
|
type: :development
|
112
112
|
prerelease: false
|
113
|
-
version_requirements: *
|
113
|
+
version_requirements: *70291930328760
|
114
114
|
- !ruby/object:Gem::Dependency
|
115
115
|
name: sqlite3-ruby
|
116
|
-
requirement: &
|
116
|
+
requirement: &70291930327820 !ruby/object:Gem::Requirement
|
117
117
|
none: false
|
118
118
|
requirements:
|
119
119
|
- - ! '>='
|
@@ -121,10 +121,10 @@ dependencies:
|
|
121
121
|
version: '0'
|
122
122
|
type: :development
|
123
123
|
prerelease: false
|
124
|
-
version_requirements: *
|
124
|
+
version_requirements: *70291930327820
|
125
125
|
- !ruby/object:Gem::Dependency
|
126
126
|
name: yard
|
127
|
-
requirement: &
|
127
|
+
requirement: &70291930326540 !ruby/object:Gem::Requirement
|
128
128
|
none: false
|
129
129
|
requirements:
|
130
130
|
- - ! '>='
|
@@ -132,10 +132,10 @@ dependencies:
|
|
132
132
|
version: '0'
|
133
133
|
type: :development
|
134
134
|
prerelease: false
|
135
|
-
version_requirements: *
|
135
|
+
version_requirements: *70291930326540
|
136
136
|
- !ruby/object:Gem::Dependency
|
137
137
|
name: bluecloth
|
138
|
-
requirement: &
|
138
|
+
requirement: &70291930325800 !ruby/object:Gem::Requirement
|
139
139
|
none: false
|
140
140
|
requirements:
|
141
141
|
- - ! '>='
|
@@ -143,7 +143,7 @@ dependencies:
|
|
143
143
|
version: '0'
|
144
144
|
type: :development
|
145
145
|
prerelease: false
|
146
|
-
version_requirements: *
|
146
|
+
version_requirements: *70291930325800
|
147
147
|
description: ! "factory_girl provides a framework and DSL for defining and\n using
|
148
148
|
factories - less error-prone, more explicit, and\n all-around
|
149
149
|
easier to work with than fixtures."
|
@@ -177,7 +177,6 @@ files:
|
|
177
177
|
- features/support/env.rb
|
178
178
|
- features/support/factories.rb
|
179
179
|
- gemfiles/2.3.gemfile
|
180
|
-
- gemfiles/2.3.gemfile.lock
|
181
180
|
- gemfiles/3.0.gemfile
|
182
181
|
- gemfiles/3.0.gemfile.lock
|
183
182
|
- gemfiles/3.1.gemfile
|
@@ -202,7 +201,6 @@ files:
|
|
202
201
|
- lib/factory_girl/declaration_list.rb
|
203
202
|
- lib/factory_girl/definition.rb
|
204
203
|
- lib/factory_girl/definition_proxy.rb
|
205
|
-
- lib/factory_girl/deprecated.rb
|
206
204
|
- lib/factory_girl/errors.rb
|
207
205
|
- lib/factory_girl/evaluator.rb
|
208
206
|
- lib/factory_girl/evaluator_class_definer.rb
|
@@ -244,14 +242,12 @@ files:
|
|
244
242
|
- spec/acceptance/callbacks_spec.rb
|
245
243
|
- spec/acceptance/create_list_spec.rb
|
246
244
|
- spec/acceptance/create_spec.rb
|
247
|
-
- spec/acceptance/default_strategy_spec.rb
|
248
245
|
- spec/acceptance/define_child_before_parent_spec.rb
|
249
246
|
- spec/acceptance/definition_spec.rb
|
250
247
|
- spec/acceptance/definition_without_block_spec.rb
|
251
248
|
- spec/acceptance/initialize_with_spec.rb
|
252
249
|
- spec/acceptance/modify_factories_spec.rb
|
253
250
|
- spec/acceptance/modify_inherited_spec.rb
|
254
|
-
- spec/acceptance/nested_attributes_spec.rb
|
255
251
|
- spec/acceptance/overrides_spec.rb
|
256
252
|
- spec/acceptance/parent_spec.rb
|
257
253
|
- spec/acceptance/sequence_spec.rb
|
@@ -275,7 +271,6 @@ files:
|
|
275
271
|
- spec/factory_girl/declaration_list_spec.rb
|
276
272
|
- spec/factory_girl/definition_proxy_spec.rb
|
277
273
|
- spec/factory_girl/definition_spec.rb
|
278
|
-
- spec/factory_girl/deprecated_spec.rb
|
279
274
|
- spec/factory_girl/evaluator_class_definer_spec.rb
|
280
275
|
- spec/factory_girl/factory_spec.rb
|
281
276
|
- spec/factory_girl/find_definitions_spec.rb
|
@@ -308,13 +303,13 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
308
303
|
requirements:
|
309
304
|
- - ! '>='
|
310
305
|
- !ruby/object:Gem::Version
|
311
|
-
version: 1.
|
306
|
+
version: 1.9.2
|
312
307
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
313
308
|
none: false
|
314
309
|
requirements:
|
315
|
-
- - ! '
|
310
|
+
- - ! '>'
|
316
311
|
- !ruby/object:Gem::Version
|
317
|
-
version:
|
312
|
+
version: 1.3.1
|
318
313
|
requirements: []
|
319
314
|
rubyforge_project:
|
320
315
|
rubygems_version: 1.8.16
|
@@ -331,7 +326,6 @@ test_files:
|
|
331
326
|
- features/support/env.rb
|
332
327
|
- features/support/factories.rb
|
333
328
|
- gemfiles/2.3.gemfile
|
334
|
-
- gemfiles/2.3.gemfile.lock
|
335
329
|
- gemfiles/3.0.gemfile
|
336
330
|
- gemfiles/3.0.gemfile.lock
|
337
331
|
- gemfiles/3.1.gemfile
|
@@ -350,14 +344,12 @@ test_files:
|
|
350
344
|
- spec/acceptance/callbacks_spec.rb
|
351
345
|
- spec/acceptance/create_list_spec.rb
|
352
346
|
- spec/acceptance/create_spec.rb
|
353
|
-
- spec/acceptance/default_strategy_spec.rb
|
354
347
|
- spec/acceptance/define_child_before_parent_spec.rb
|
355
348
|
- spec/acceptance/definition_spec.rb
|
356
349
|
- spec/acceptance/definition_without_block_spec.rb
|
357
350
|
- spec/acceptance/initialize_with_spec.rb
|
358
351
|
- spec/acceptance/modify_factories_spec.rb
|
359
352
|
- spec/acceptance/modify_inherited_spec.rb
|
360
|
-
- spec/acceptance/nested_attributes_spec.rb
|
361
353
|
- spec/acceptance/overrides_spec.rb
|
362
354
|
- spec/acceptance/parent_spec.rb
|
363
355
|
- spec/acceptance/sequence_spec.rb
|
@@ -381,7 +373,6 @@ test_files:
|
|
381
373
|
- spec/factory_girl/declaration_list_spec.rb
|
382
374
|
- spec/factory_girl/definition_proxy_spec.rb
|
383
375
|
- spec/factory_girl/definition_spec.rb
|
384
|
-
- spec/factory_girl/deprecated_spec.rb
|
385
376
|
- spec/factory_girl/evaluator_class_definer_spec.rb
|
386
377
|
- spec/factory_girl/factory_spec.rb
|
387
378
|
- spec/factory_girl/find_definitions_spec.rb
|
data/gemfiles/2.3.gemfile.lock
DELETED
@@ -1,72 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: /Users/joshuaclayton/dev/gems/factory_girl
|
3
|
-
specs:
|
4
|
-
factory_girl (2.6.4)
|
5
|
-
activesupport (>= 2.3.9)
|
6
|
-
|
7
|
-
GEM
|
8
|
-
remote: http://rubygems.org/
|
9
|
-
specs:
|
10
|
-
activerecord (2.3.12)
|
11
|
-
activesupport (= 2.3.12)
|
12
|
-
activesupport (2.3.12)
|
13
|
-
appraisal (0.3.8)
|
14
|
-
bundler
|
15
|
-
rake
|
16
|
-
aruba (0.3.7)
|
17
|
-
childprocess (>= 0.1.9)
|
18
|
-
cucumber (>= 0.10.5)
|
19
|
-
rspec (>= 2.6.0)
|
20
|
-
bluecloth (2.1.0)
|
21
|
-
bourne (1.0)
|
22
|
-
mocha (= 0.9.8)
|
23
|
-
builder (3.0.0)
|
24
|
-
childprocess (0.1.9)
|
25
|
-
ffi (~> 1.0.6)
|
26
|
-
cucumber (1.0.0)
|
27
|
-
builder (>= 2.1.2)
|
28
|
-
diff-lcs (>= 1.1.2)
|
29
|
-
gherkin (~> 2.4.1)
|
30
|
-
json (>= 1.4.6)
|
31
|
-
term-ansicolor (>= 1.0.5)
|
32
|
-
diff-lcs (1.1.2)
|
33
|
-
ffi (1.0.9)
|
34
|
-
gherkin (2.4.1)
|
35
|
-
json (>= 1.4.6)
|
36
|
-
json (1.5.3)
|
37
|
-
mocha (0.9.8)
|
38
|
-
rake
|
39
|
-
rake (0.9.2)
|
40
|
-
rcov (0.9.9)
|
41
|
-
rspec (2.6.0)
|
42
|
-
rspec-core (~> 2.6.0)
|
43
|
-
rspec-expectations (~> 2.6.0)
|
44
|
-
rspec-mocks (~> 2.6.0)
|
45
|
-
rspec-core (2.6.4)
|
46
|
-
rspec-expectations (2.6.0)
|
47
|
-
diff-lcs (~> 1.1.2)
|
48
|
-
rspec-mocks (2.6.0)
|
49
|
-
sqlite3 (1.3.3)
|
50
|
-
sqlite3-ruby (1.3.3)
|
51
|
-
sqlite3 (>= 1.3.3)
|
52
|
-
term-ansicolor (1.0.5)
|
53
|
-
timecop (0.3.5)
|
54
|
-
yard (0.7.2)
|
55
|
-
|
56
|
-
PLATFORMS
|
57
|
-
ruby
|
58
|
-
|
59
|
-
DEPENDENCIES
|
60
|
-
activerecord (~> 2.3)
|
61
|
-
appraisal (~> 0.3.8)
|
62
|
-
aruba
|
63
|
-
bluecloth
|
64
|
-
bourne
|
65
|
-
cucumber (~> 1.0.0)
|
66
|
-
factory_girl!
|
67
|
-
mocha
|
68
|
-
rcov
|
69
|
-
rspec (~> 2.0)
|
70
|
-
sqlite3-ruby
|
71
|
-
timecop
|
72
|
-
yard
|