factory_girl 2.0.0.rc3 → 2.0.0.rc4
Sign up to get free protection for your applications and to get access to all the features.
- data/features/support/test.db +0 -0
- data/lib/factory_girl/definition_proxy.rb +1 -1
- data/lib/factory_girl/version.rb +1 -1
- metadata +23 -65
data/features/support/test.db
CHANGED
Binary file
|
@@ -3,7 +3,7 @@ module FactoryGirl
|
|
3
3
|
UNPROXIED_METHODS = %w(__send__ __id__ nil? send object_id extend instance_eval initialize block_given? raise)
|
4
4
|
|
5
5
|
(instance_methods + private_instance_methods).each do |method|
|
6
|
-
undef_method(method) unless UNPROXIED_METHODS.include?(method)
|
6
|
+
undef_method(method) unless UNPROXIED_METHODS.include?(method.to_s)
|
7
7
|
end
|
8
8
|
|
9
9
|
attr_reader :child_factories
|
data/lib/factory_girl/version.rb
CHANGED
metadata
CHANGED
@@ -1,15 +1,8 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: factory_girl
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash: 15424083
|
5
4
|
prerelease: 6
|
6
|
-
|
7
|
-
- 2
|
8
|
-
- 0
|
9
|
-
- 0
|
10
|
-
- rc
|
11
|
-
- 3
|
12
|
-
version: 2.0.0.rc3
|
5
|
+
version: 2.0.0.rc4
|
13
6
|
platform: ruby
|
14
7
|
authors:
|
15
8
|
- Joe Ferris
|
@@ -17,113 +10,86 @@ autorequire:
|
|
17
10
|
bindir: bin
|
18
11
|
cert_chain: []
|
19
12
|
|
20
|
-
date: 2011-07-
|
13
|
+
date: 2011-07-08 00:00:00 -04:00
|
21
14
|
default_executable:
|
22
15
|
dependencies:
|
23
16
|
- !ruby/object:Gem::Dependency
|
24
|
-
|
17
|
+
name: rcov
|
18
|
+
prerelease: false
|
25
19
|
requirement: &id001 !ruby/object:Gem::Requirement
|
26
20
|
none: false
|
27
21
|
requirements:
|
28
22
|
- - ">="
|
29
23
|
- !ruby/object:Gem::Version
|
30
|
-
hash: 3
|
31
|
-
segments:
|
32
|
-
- 0
|
33
24
|
version: "0"
|
25
|
+
type: :development
|
34
26
|
version_requirements: *id001
|
35
|
-
name: rcov
|
36
|
-
prerelease: false
|
37
27
|
- !ruby/object:Gem::Dependency
|
38
|
-
|
28
|
+
name: rspec
|
29
|
+
prerelease: false
|
39
30
|
requirement: &id002 !ruby/object:Gem::Requirement
|
40
31
|
none: false
|
41
32
|
requirements:
|
42
33
|
- - ">="
|
43
34
|
- !ruby/object:Gem::Version
|
44
|
-
hash: 3
|
45
|
-
segments:
|
46
|
-
- 0
|
47
35
|
version: "0"
|
36
|
+
type: :development
|
48
37
|
version_requirements: *id002
|
49
|
-
name: rspec
|
50
|
-
prerelease: false
|
51
38
|
- !ruby/object:Gem::Dependency
|
52
|
-
|
39
|
+
name: cucumber
|
40
|
+
prerelease: false
|
53
41
|
requirement: &id003 !ruby/object:Gem::Requirement
|
54
42
|
none: false
|
55
43
|
requirements:
|
56
44
|
- - ">="
|
57
45
|
- !ruby/object:Gem::Version
|
58
|
-
hash: 3
|
59
|
-
segments:
|
60
|
-
- 0
|
61
46
|
version: "0"
|
47
|
+
type: :development
|
62
48
|
version_requirements: *id003
|
63
|
-
name: cucumber
|
64
|
-
prerelease: false
|
65
49
|
- !ruby/object:Gem::Dependency
|
66
|
-
|
50
|
+
name: activerecord
|
51
|
+
prerelease: false
|
67
52
|
requirement: &id004 !ruby/object:Gem::Requirement
|
68
53
|
none: false
|
69
54
|
requirements:
|
70
55
|
- - ~>
|
71
56
|
- !ruby/object:Gem::Version
|
72
|
-
hash: 9
|
73
|
-
segments:
|
74
|
-
- 2
|
75
|
-
- 3
|
76
|
-
- 5
|
77
57
|
version: 2.3.5
|
58
|
+
type: :development
|
78
59
|
version_requirements: *id004
|
60
|
+
- !ruby/object:Gem::Dependency
|
79
61
|
name: activerecord
|
80
62
|
prerelease: false
|
81
|
-
- !ruby/object:Gem::Dependency
|
82
|
-
type: :development
|
83
63
|
requirement: &id005 !ruby/object:Gem::Requirement
|
84
64
|
none: false
|
85
65
|
requirements:
|
86
66
|
- - ~>
|
87
67
|
- !ruby/object:Gem::Version
|
88
|
-
hash: 62196421
|
89
|
-
segments:
|
90
|
-
- 3
|
91
|
-
- 0
|
92
|
-
- 0
|
93
|
-
- beta
|
94
|
-
- 3
|
95
68
|
version: 3.0.0.beta3
|
69
|
+
type: :development
|
96
70
|
version_requirements: *id005
|
97
|
-
name: activerecord
|
98
|
-
prerelease: false
|
99
71
|
- !ruby/object:Gem::Dependency
|
100
|
-
|
72
|
+
name: rr
|
73
|
+
prerelease: false
|
101
74
|
requirement: &id006 !ruby/object:Gem::Requirement
|
102
75
|
none: false
|
103
76
|
requirements:
|
104
77
|
- - ">="
|
105
78
|
- !ruby/object:Gem::Version
|
106
|
-
hash: 3
|
107
|
-
segments:
|
108
|
-
- 0
|
109
79
|
version: "0"
|
80
|
+
type: :development
|
110
81
|
version_requirements: *id006
|
111
|
-
name: rr
|
112
|
-
prerelease: false
|
113
82
|
- !ruby/object:Gem::Dependency
|
114
|
-
|
83
|
+
name: sqlite3
|
84
|
+
prerelease: false
|
115
85
|
requirement: &id007 !ruby/object:Gem::Requirement
|
116
86
|
none: false
|
117
87
|
requirements:
|
118
88
|
- - ">="
|
119
89
|
- !ruby/object:Gem::Version
|
120
|
-
hash: 3
|
121
|
-
segments:
|
122
|
-
- 0
|
123
90
|
version: "0"
|
91
|
+
type: :development
|
124
92
|
version_requirements: *id007
|
125
|
-
name: sqlite3
|
126
|
-
prerelease: false
|
127
93
|
description: |-
|
128
94
|
factory_girl provides a framework and DSL for defining and
|
129
95
|
using factories - less error-prone, more explicit, and
|
@@ -235,25 +201,17 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
235
201
|
requirements:
|
236
202
|
- - ">="
|
237
203
|
- !ruby/object:Gem::Version
|
238
|
-
hash: 3
|
239
|
-
segments:
|
240
|
-
- 0
|
241
204
|
version: "0"
|
242
205
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
243
206
|
none: false
|
244
207
|
requirements:
|
245
208
|
- - ">"
|
246
209
|
- !ruby/object:Gem::Version
|
247
|
-
hash: 25
|
248
|
-
segments:
|
249
|
-
- 1
|
250
|
-
- 3
|
251
|
-
- 1
|
252
210
|
version: 1.3.1
|
253
211
|
requirements: []
|
254
212
|
|
255
213
|
rubyforge_project:
|
256
|
-
rubygems_version: 1.6.
|
214
|
+
rubygems_version: 1.6.2
|
257
215
|
signing_key:
|
258
216
|
specification_version: 3
|
259
217
|
summary: factory_girl provides a framework and DSL for defining and using model instance factories.
|