gonzales 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- data/MIT-LICENSE +23 -0
- data/README.md +107 -0
- data/Rakefile +38 -0
- data/lib/gonzales/collection.rb +70 -0
- data/lib/gonzales/factories.rb +57 -0
- data/lib/gonzales/factory_girl/definition_proxy.rb +77 -0
- data/lib/gonzales/test_helper.rb +51 -0
- data/lib/gonzales/version.rb +3 -0
- data/lib/gonzales.rb +72 -0
- data/lib/tasks/gonzales_tasks.rake +7 -0
- data/test/dummy/README.rdoc +261 -0
- data/test/dummy/Rakefile +7 -0
- data/test/dummy/app/models/hat.rb +3 -0
- data/test/dummy/app/models/material.rb +3 -0
- data/test/dummy/app/models/outfit.rb +6 -0
- data/test/dummy/app/models/shoe.rb +6 -0
- data/test/dummy/app/models/wardrobe.rb +3 -0
- data/test/dummy/config/application.rb +59 -0
- data/test/dummy/config/boot.rb +10 -0
- data/test/dummy/config/database.yml +25 -0
- data/test/dummy/config/environment.rb +5 -0
- data/test/dummy/config/environments/development.rb +37 -0
- data/test/dummy/config/environments/production.rb +67 -0
- data/test/dummy/config/environments/test.rb +37 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/test/dummy/config/initializers/inflections.rb +15 -0
- data/test/dummy/config/initializers/mime_types.rb +5 -0
- data/test/dummy/config/initializers/secret_token.rb +7 -0
- data/test/dummy/config/initializers/session_store.rb +8 -0
- data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/test/dummy/config/locales/en.yml +5 -0
- data/test/dummy/config/routes.rb +58 -0
- data/test/dummy/config.ru +4 -0
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/db/migrate/20121005205521_create_hats.rb +10 -0
- data/test/dummy/db/migrate/20121009054201_create_materials.rb +9 -0
- data/test/dummy/db/migrate/20121009055333_create_shoes.rb +16 -0
- data/test/dummy/db/migrate/20121009091652_create_outfits.rb +13 -0
- data/test/dummy/db/migrate/20121010161218_create_hats_outfits.rb +10 -0
- data/test/dummy/db/migrate/20121011131629_create_wardrobes.rb +9 -0
- data/test/dummy/db/migrate/20121011131724_add_wardrobe_to_outfit.rb +5 -0
- data/test/dummy/db/schema.rb +69 -0
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/development.log +571 -0
- data/test/dummy/log/test.log +20542 -0
- data/test/dummy/script/rails +6 -0
- data/test/dummy/test/factories/hats.rb +14 -0
- data/test/dummy/test/factories/materials.rb +11 -0
- data/test/dummy/test/factories/outfits.rb +16 -0
- data/test/dummy/test/factories/shoes.rb +16 -0
- data/test/dummy/test/factories/wardrobes.rb +7 -0
- data/test/dummy/test/speedy.rb +7 -0
- data/test/dummy/test/unit/hat_test.rb +14 -0
- data/test/dummy/test/unit/material_test.rb +7 -0
- data/test/dummy/test/unit/outfit_test.rb +36 -0
- data/test/dummy/test/unit/shoe_test.rb +13 -0
- data/test/dummy/test/unit/wardrobe_test.rb +7 -0
- data/test/dummy/tmp/speedy.yml +16 -0
- data/test/test_helper.rb +15 -0
- data/test/unit/gonzales/collection_test.rb +81 -0
- data/test/unit/gonzales/factories_test.rb +53 -0
- data/test/unit/gonzales/factory_girl/definition_proxy_test.rb +106 -0
- data/test/unit/gonzales/test_helper_test.rb +44 -0
- data/test/unit/gonzales_test.rb +15 -0
- metadata +251 -0
metadata
ADDED
@@ -0,0 +1,251 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: gonzales
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.5.0
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Knut I Stenmark
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2012-10-12 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: rails
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: 3.0.1
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ! '>='
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: 3.0.1
|
30
|
+
- !ruby/object:Gem::Dependency
|
31
|
+
name: factory_girl
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
34
|
+
requirements:
|
35
|
+
- - ! '>='
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: 2.3.2
|
38
|
+
type: :runtime
|
39
|
+
prerelease: false
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ! '>='
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: 2.3.2
|
46
|
+
- !ruby/object:Gem::Dependency
|
47
|
+
name: sqlite3
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
50
|
+
requirements:
|
51
|
+
- - ! '>='
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '0'
|
54
|
+
type: :development
|
55
|
+
prerelease: false
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
58
|
+
requirements:
|
59
|
+
- - ! '>='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
- !ruby/object:Gem::Dependency
|
63
|
+
name: shoulda
|
64
|
+
requirement: !ruby/object:Gem::Requirement
|
65
|
+
none: false
|
66
|
+
requirements:
|
67
|
+
- - ! '>='
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '0'
|
70
|
+
type: :development
|
71
|
+
prerelease: false
|
72
|
+
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
74
|
+
requirements:
|
75
|
+
- - ! '>='
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: '0'
|
78
|
+
- !ruby/object:Gem::Dependency
|
79
|
+
name: mocha
|
80
|
+
requirement: !ruby/object:Gem::Requirement
|
81
|
+
none: false
|
82
|
+
requirements:
|
83
|
+
- - ! '>='
|
84
|
+
- !ruby/object:Gem::Version
|
85
|
+
version: '0'
|
86
|
+
type: :development
|
87
|
+
prerelease: false
|
88
|
+
version_requirements: !ruby/object:Gem::Requirement
|
89
|
+
none: false
|
90
|
+
requirements:
|
91
|
+
- - ! '>='
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
version: '0'
|
94
|
+
description: ! " Gonzales makes the best out of FactoryGirl, by allowing you to load
|
95
|
+
the factories into the database before the tests starts. \n You just have to learn
|
96
|
+
one new keyword - 'speedy'.\n"
|
97
|
+
email:
|
98
|
+
- knut.stenmark@gmail.com
|
99
|
+
executables: []
|
100
|
+
extensions: []
|
101
|
+
extra_rdoc_files: []
|
102
|
+
files:
|
103
|
+
- lib/gonzales/collection.rb
|
104
|
+
- lib/gonzales/factories.rb
|
105
|
+
- lib/gonzales/factory_girl/definition_proxy.rb
|
106
|
+
- lib/gonzales/test_helper.rb
|
107
|
+
- lib/gonzales/version.rb
|
108
|
+
- lib/gonzales.rb
|
109
|
+
- lib/tasks/gonzales_tasks.rake
|
110
|
+
- MIT-LICENSE
|
111
|
+
- Rakefile
|
112
|
+
- README.md
|
113
|
+
- test/dummy/app/models/hat.rb
|
114
|
+
- test/dummy/app/models/material.rb
|
115
|
+
- test/dummy/app/models/outfit.rb
|
116
|
+
- test/dummy/app/models/shoe.rb
|
117
|
+
- test/dummy/app/models/wardrobe.rb
|
118
|
+
- test/dummy/config/application.rb
|
119
|
+
- test/dummy/config/boot.rb
|
120
|
+
- test/dummy/config/database.yml
|
121
|
+
- test/dummy/config/environment.rb
|
122
|
+
- test/dummy/config/environments/development.rb
|
123
|
+
- test/dummy/config/environments/production.rb
|
124
|
+
- test/dummy/config/environments/test.rb
|
125
|
+
- test/dummy/config/initializers/backtrace_silencers.rb
|
126
|
+
- test/dummy/config/initializers/inflections.rb
|
127
|
+
- test/dummy/config/initializers/mime_types.rb
|
128
|
+
- test/dummy/config/initializers/secret_token.rb
|
129
|
+
- test/dummy/config/initializers/session_store.rb
|
130
|
+
- test/dummy/config/initializers/wrap_parameters.rb
|
131
|
+
- test/dummy/config/locales/en.yml
|
132
|
+
- test/dummy/config/routes.rb
|
133
|
+
- test/dummy/config.ru
|
134
|
+
- test/dummy/db/development.sqlite3
|
135
|
+
- test/dummy/db/migrate/20121005205521_create_hats.rb
|
136
|
+
- test/dummy/db/migrate/20121009054201_create_materials.rb
|
137
|
+
- test/dummy/db/migrate/20121009055333_create_shoes.rb
|
138
|
+
- test/dummy/db/migrate/20121009091652_create_outfits.rb
|
139
|
+
- test/dummy/db/migrate/20121010161218_create_hats_outfits.rb
|
140
|
+
- test/dummy/db/migrate/20121011131629_create_wardrobes.rb
|
141
|
+
- test/dummy/db/migrate/20121011131724_add_wardrobe_to_outfit.rb
|
142
|
+
- test/dummy/db/schema.rb
|
143
|
+
- test/dummy/db/test.sqlite3
|
144
|
+
- test/dummy/log/development.log
|
145
|
+
- test/dummy/log/test.log
|
146
|
+
- test/dummy/Rakefile
|
147
|
+
- test/dummy/README.rdoc
|
148
|
+
- test/dummy/script/rails
|
149
|
+
- test/dummy/test/factories/hats.rb
|
150
|
+
- test/dummy/test/factories/materials.rb
|
151
|
+
- test/dummy/test/factories/outfits.rb
|
152
|
+
- test/dummy/test/factories/shoes.rb
|
153
|
+
- test/dummy/test/factories/wardrobes.rb
|
154
|
+
- test/dummy/test/speedy.rb
|
155
|
+
- test/dummy/test/unit/hat_test.rb
|
156
|
+
- test/dummy/test/unit/material_test.rb
|
157
|
+
- test/dummy/test/unit/outfit_test.rb
|
158
|
+
- test/dummy/test/unit/shoe_test.rb
|
159
|
+
- test/dummy/test/unit/wardrobe_test.rb
|
160
|
+
- test/dummy/tmp/speedy.yml
|
161
|
+
- test/test_helper.rb
|
162
|
+
- test/unit/gonzales/collection_test.rb
|
163
|
+
- test/unit/gonzales/factories_test.rb
|
164
|
+
- test/unit/gonzales/factory_girl/definition_proxy_test.rb
|
165
|
+
- test/unit/gonzales/test_helper_test.rb
|
166
|
+
- test/unit/gonzales_test.rb
|
167
|
+
homepage: https://github.com/teknobingo/gonzales
|
168
|
+
licenses: []
|
169
|
+
post_install_message:
|
170
|
+
rdoc_options: []
|
171
|
+
require_paths:
|
172
|
+
- lib
|
173
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
174
|
+
none: false
|
175
|
+
requirements:
|
176
|
+
- - ! '>='
|
177
|
+
- !ruby/object:Gem::Version
|
178
|
+
version: '0'
|
179
|
+
segments:
|
180
|
+
- 0
|
181
|
+
hash: 2888341545684677644
|
182
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
183
|
+
none: false
|
184
|
+
requirements:
|
185
|
+
- - ! '>='
|
186
|
+
- !ruby/object:Gem::Version
|
187
|
+
version: '0'
|
188
|
+
segments:
|
189
|
+
- 0
|
190
|
+
hash: 2888341545684677644
|
191
|
+
requirements: []
|
192
|
+
rubyforge_project:
|
193
|
+
rubygems_version: 1.8.24
|
194
|
+
signing_key:
|
195
|
+
specification_version: 3
|
196
|
+
summary: Gonzales speeds up unit teste when using factory_girl
|
197
|
+
test_files:
|
198
|
+
- test/dummy/app/models/hat.rb
|
199
|
+
- test/dummy/app/models/material.rb
|
200
|
+
- test/dummy/app/models/outfit.rb
|
201
|
+
- test/dummy/app/models/shoe.rb
|
202
|
+
- test/dummy/app/models/wardrobe.rb
|
203
|
+
- test/dummy/config/application.rb
|
204
|
+
- test/dummy/config/boot.rb
|
205
|
+
- test/dummy/config/database.yml
|
206
|
+
- test/dummy/config/environment.rb
|
207
|
+
- test/dummy/config/environments/development.rb
|
208
|
+
- test/dummy/config/environments/production.rb
|
209
|
+
- test/dummy/config/environments/test.rb
|
210
|
+
- test/dummy/config/initializers/backtrace_silencers.rb
|
211
|
+
- test/dummy/config/initializers/inflections.rb
|
212
|
+
- test/dummy/config/initializers/mime_types.rb
|
213
|
+
- test/dummy/config/initializers/secret_token.rb
|
214
|
+
- test/dummy/config/initializers/session_store.rb
|
215
|
+
- test/dummy/config/initializers/wrap_parameters.rb
|
216
|
+
- test/dummy/config/locales/en.yml
|
217
|
+
- test/dummy/config/routes.rb
|
218
|
+
- test/dummy/config.ru
|
219
|
+
- test/dummy/db/development.sqlite3
|
220
|
+
- test/dummy/db/migrate/20121005205521_create_hats.rb
|
221
|
+
- test/dummy/db/migrate/20121009054201_create_materials.rb
|
222
|
+
- test/dummy/db/migrate/20121009055333_create_shoes.rb
|
223
|
+
- test/dummy/db/migrate/20121009091652_create_outfits.rb
|
224
|
+
- test/dummy/db/migrate/20121010161218_create_hats_outfits.rb
|
225
|
+
- test/dummy/db/migrate/20121011131629_create_wardrobes.rb
|
226
|
+
- test/dummy/db/migrate/20121011131724_add_wardrobe_to_outfit.rb
|
227
|
+
- test/dummy/db/schema.rb
|
228
|
+
- test/dummy/db/test.sqlite3
|
229
|
+
- test/dummy/log/development.log
|
230
|
+
- test/dummy/log/test.log
|
231
|
+
- test/dummy/Rakefile
|
232
|
+
- test/dummy/README.rdoc
|
233
|
+
- test/dummy/script/rails
|
234
|
+
- test/dummy/test/factories/hats.rb
|
235
|
+
- test/dummy/test/factories/materials.rb
|
236
|
+
- test/dummy/test/factories/outfits.rb
|
237
|
+
- test/dummy/test/factories/shoes.rb
|
238
|
+
- test/dummy/test/factories/wardrobes.rb
|
239
|
+
- test/dummy/test/speedy.rb
|
240
|
+
- test/dummy/test/unit/hat_test.rb
|
241
|
+
- test/dummy/test/unit/material_test.rb
|
242
|
+
- test/dummy/test/unit/outfit_test.rb
|
243
|
+
- test/dummy/test/unit/shoe_test.rb
|
244
|
+
- test/dummy/test/unit/wardrobe_test.rb
|
245
|
+
- test/dummy/tmp/speedy.yml
|
246
|
+
- test/test_helper.rb
|
247
|
+
- test/unit/gonzales/collection_test.rb
|
248
|
+
- test/unit/gonzales/factories_test.rb
|
249
|
+
- test/unit/gonzales/factory_girl/definition_proxy_test.rb
|
250
|
+
- test/unit/gonzales/test_helper_test.rb
|
251
|
+
- test/unit/gonzales_test.rb
|