fabricators 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/MIT-LICENSE +20 -0
- data/README.rdoc +134 -0
- data/Rakefile +32 -0
- data/lib/fabricators.rb +41 -0
- data/lib/fabricators/callbacks.rb +23 -0
- data/lib/fabricators/definitions.rb +58 -0
- data/lib/fabricators/fabricator.rb +102 -0
- data/lib/fabricators/generator.rb +19 -0
- data/lib/fabricators/methods.rb +11 -0
- data/lib/fabricators/proxy.rb +45 -0
- data/lib/fabricators/railtie.rb +14 -0
- data/lib/fabricators/reader.rb +18 -0
- data/lib/fabricators/version.rb +5 -0
- data/lib/generators/fabricators/model/model_generator.rb +15 -0
- data/lib/generators/fabricators/model/templates/fabricator.rb +4 -0
- data/test/aliases_test.rb +25 -0
- data/test/associations_test.rb +50 -0
- data/test/callbacks_test.rb +36 -0
- data/test/dependent_test.rb +26 -0
- data/test/dummy/README.rdoc +28 -0
- data/test/dummy/Rakefile +6 -0
- data/test/dummy/app/assets/javascripts/application.js +13 -0
- data/test/dummy/app/assets/stylesheets/application.css +15 -0
- data/test/dummy/app/controllers/application_controller.rb +5 -0
- data/test/dummy/app/helpers/application_helper.rb +2 -0
- data/test/dummy/app/models/group.rb +2 -0
- data/test/dummy/app/models/post.rb +3 -0
- data/test/dummy/app/models/user.rb +3 -0
- data/test/dummy/app/views/layouts/application.html.erb +14 -0
- data/test/dummy/bin/bundle +3 -0
- data/test/dummy/bin/rails +4 -0
- data/test/dummy/bin/rake +4 -0
- data/test/dummy/config.ru +4 -0
- data/test/dummy/config/application.rb +22 -0
- data/test/dummy/config/boot.rb +5 -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 +83 -0
- data/test/dummy/config/environments/test.rb +39 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/test/dummy/config/initializers/cookies_serializer.rb +3 -0
- data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/test/dummy/config/initializers/inflections.rb +16 -0
- data/test/dummy/config/initializers/mime_types.rb +4 -0
- data/test/dummy/config/initializers/session_store.rb +3 -0
- data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/test/dummy/config/locales/en.yml +23 -0
- data/test/dummy/config/routes.rb +56 -0
- data/test/dummy/config/secrets.yml +22 -0
- data/test/dummy/db/migrate/20140613221835_create_users.rb +10 -0
- data/test/dummy/db/migrate/20140615152257_add_age_to_users.rb +5 -0
- data/test/dummy/db/migrate/20140615175509_add_phone_to_users.rb +5 -0
- data/test/dummy/db/migrate/20140615180938_create_groups.rb +9 -0
- data/test/dummy/db/migrate/20140615180954_create_posts.rb +9 -0
- data/test/dummy/db/migrate/20140615181030_add_group_id_to_users.rb +5 -0
- data/test/dummy/db/migrate/20140615181051_add_user_id_to_posts.rb +5 -0
- data/test/dummy/db/schema.rb +39 -0
- data/test/dummy/log/development.log +0 -0
- data/test/dummy/log/test.log +14513 -0
- data/test/dummy/public/404.html +67 -0
- data/test/dummy/public/422.html +67 -0
- data/test/dummy/public/500.html +66 -0
- data/test/dummy/public/favicon.ico +0 -0
- data/test/dummy/test/fabricators/people.rb +4 -0
- data/test/dummy/test/fabricators/users.rb +5 -0
- data/test/fabricators_test.rb +33 -0
- data/test/fixtures_test.rb +13 -0
- data/test/generators_test.rb +36 -0
- data/test/inheritance_test.rb +49 -0
- data/test/lists_test.rb +33 -0
- data/test/load_test.rb +13 -0
- data/test/merges_test.rb +31 -0
- data/test/test_helper.rb +27 -0
- metadata +211 -0
metadata
ADDED
@@ -0,0 +1,211 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: fabricators
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Museways
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2014-06-18 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: rails
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 3.1.0
|
20
|
+
- - "<"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 4.2.0
|
23
|
+
type: :runtime
|
24
|
+
prerelease: false
|
25
|
+
version_requirements: !ruby/object:Gem::Requirement
|
26
|
+
requirements:
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: 3.1.0
|
30
|
+
- - "<"
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: 4.2.0
|
33
|
+
- !ruby/object:Gem::Dependency
|
34
|
+
name: sqlite3
|
35
|
+
requirement: !ruby/object:Gem::Requirement
|
36
|
+
requirements:
|
37
|
+
- - "~>"
|
38
|
+
- !ruby/object:Gem::Version
|
39
|
+
version: '1.3'
|
40
|
+
type: :development
|
41
|
+
prerelease: false
|
42
|
+
version_requirements: !ruby/object:Gem::Requirement
|
43
|
+
requirements:
|
44
|
+
- - "~>"
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: '1.3'
|
47
|
+
description: Minimalistic factory alternative inspired in factory_girl.
|
48
|
+
email:
|
49
|
+
- hello@museways.com
|
50
|
+
executables: []
|
51
|
+
extensions: []
|
52
|
+
extra_rdoc_files: []
|
53
|
+
files:
|
54
|
+
- MIT-LICENSE
|
55
|
+
- README.rdoc
|
56
|
+
- Rakefile
|
57
|
+
- lib/fabricators.rb
|
58
|
+
- lib/fabricators/callbacks.rb
|
59
|
+
- lib/fabricators/definitions.rb
|
60
|
+
- lib/fabricators/fabricator.rb
|
61
|
+
- lib/fabricators/generator.rb
|
62
|
+
- lib/fabricators/methods.rb
|
63
|
+
- lib/fabricators/proxy.rb
|
64
|
+
- lib/fabricators/railtie.rb
|
65
|
+
- lib/fabricators/reader.rb
|
66
|
+
- lib/fabricators/version.rb
|
67
|
+
- lib/generators/fabricators/model/model_generator.rb
|
68
|
+
- lib/generators/fabricators/model/templates/fabricator.rb
|
69
|
+
- test/aliases_test.rb
|
70
|
+
- test/associations_test.rb
|
71
|
+
- test/callbacks_test.rb
|
72
|
+
- test/dependent_test.rb
|
73
|
+
- test/dummy/README.rdoc
|
74
|
+
- test/dummy/Rakefile
|
75
|
+
- test/dummy/app/assets/javascripts/application.js
|
76
|
+
- test/dummy/app/assets/stylesheets/application.css
|
77
|
+
- test/dummy/app/controllers/application_controller.rb
|
78
|
+
- test/dummy/app/helpers/application_helper.rb
|
79
|
+
- test/dummy/app/models/group.rb
|
80
|
+
- test/dummy/app/models/post.rb
|
81
|
+
- test/dummy/app/models/user.rb
|
82
|
+
- test/dummy/app/views/layouts/application.html.erb
|
83
|
+
- test/dummy/bin/bundle
|
84
|
+
- test/dummy/bin/rails
|
85
|
+
- test/dummy/bin/rake
|
86
|
+
- test/dummy/config.ru
|
87
|
+
- test/dummy/config/application.rb
|
88
|
+
- test/dummy/config/boot.rb
|
89
|
+
- test/dummy/config/database.yml
|
90
|
+
- test/dummy/config/environment.rb
|
91
|
+
- test/dummy/config/environments/development.rb
|
92
|
+
- test/dummy/config/environments/production.rb
|
93
|
+
- test/dummy/config/environments/test.rb
|
94
|
+
- test/dummy/config/initializers/backtrace_silencers.rb
|
95
|
+
- test/dummy/config/initializers/cookies_serializer.rb
|
96
|
+
- test/dummy/config/initializers/filter_parameter_logging.rb
|
97
|
+
- test/dummy/config/initializers/inflections.rb
|
98
|
+
- test/dummy/config/initializers/mime_types.rb
|
99
|
+
- test/dummy/config/initializers/session_store.rb
|
100
|
+
- test/dummy/config/initializers/wrap_parameters.rb
|
101
|
+
- test/dummy/config/locales/en.yml
|
102
|
+
- test/dummy/config/routes.rb
|
103
|
+
- test/dummy/config/secrets.yml
|
104
|
+
- test/dummy/db/migrate/20140613221835_create_users.rb
|
105
|
+
- test/dummy/db/migrate/20140615152257_add_age_to_users.rb
|
106
|
+
- test/dummy/db/migrate/20140615175509_add_phone_to_users.rb
|
107
|
+
- test/dummy/db/migrate/20140615180938_create_groups.rb
|
108
|
+
- test/dummy/db/migrate/20140615180954_create_posts.rb
|
109
|
+
- test/dummy/db/migrate/20140615181030_add_group_id_to_users.rb
|
110
|
+
- test/dummy/db/migrate/20140615181051_add_user_id_to_posts.rb
|
111
|
+
- test/dummy/db/schema.rb
|
112
|
+
- test/dummy/log/development.log
|
113
|
+
- test/dummy/log/test.log
|
114
|
+
- test/dummy/public/404.html
|
115
|
+
- test/dummy/public/422.html
|
116
|
+
- test/dummy/public/500.html
|
117
|
+
- test/dummy/public/favicon.ico
|
118
|
+
- test/dummy/test/fabricators/people.rb
|
119
|
+
- test/dummy/test/fabricators/users.rb
|
120
|
+
- test/fabricators_test.rb
|
121
|
+
- test/fixtures_test.rb
|
122
|
+
- test/generators_test.rb
|
123
|
+
- test/inheritance_test.rb
|
124
|
+
- test/lists_test.rb
|
125
|
+
- test/load_test.rb
|
126
|
+
- test/merges_test.rb
|
127
|
+
- test/test_helper.rb
|
128
|
+
homepage: https://github.com/museways/fabricators
|
129
|
+
licenses:
|
130
|
+
- MIT
|
131
|
+
metadata: {}
|
132
|
+
post_install_message:
|
133
|
+
rdoc_options: []
|
134
|
+
require_paths:
|
135
|
+
- lib
|
136
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
137
|
+
requirements:
|
138
|
+
- - ">="
|
139
|
+
- !ruby/object:Gem::Version
|
140
|
+
version: 1.9.3
|
141
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - ">="
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '0'
|
146
|
+
requirements: []
|
147
|
+
rubyforge_project:
|
148
|
+
rubygems_version: 2.2.2
|
149
|
+
signing_key:
|
150
|
+
specification_version: 4
|
151
|
+
summary: Fabricators for Rails
|
152
|
+
test_files:
|
153
|
+
- test/aliases_test.rb
|
154
|
+
- test/associations_test.rb
|
155
|
+
- test/callbacks_test.rb
|
156
|
+
- test/dependent_test.rb
|
157
|
+
- test/dummy/app/assets/javascripts/application.js
|
158
|
+
- test/dummy/app/assets/stylesheets/application.css
|
159
|
+
- test/dummy/app/controllers/application_controller.rb
|
160
|
+
- test/dummy/app/helpers/application_helper.rb
|
161
|
+
- test/dummy/app/models/group.rb
|
162
|
+
- test/dummy/app/models/post.rb
|
163
|
+
- test/dummy/app/models/user.rb
|
164
|
+
- test/dummy/app/views/layouts/application.html.erb
|
165
|
+
- test/dummy/bin/bundle
|
166
|
+
- test/dummy/bin/rails
|
167
|
+
- test/dummy/bin/rake
|
168
|
+
- test/dummy/config/application.rb
|
169
|
+
- test/dummy/config/boot.rb
|
170
|
+
- test/dummy/config/database.yml
|
171
|
+
- test/dummy/config/environment.rb
|
172
|
+
- test/dummy/config/environments/development.rb
|
173
|
+
- test/dummy/config/environments/production.rb
|
174
|
+
- test/dummy/config/environments/test.rb
|
175
|
+
- test/dummy/config/initializers/backtrace_silencers.rb
|
176
|
+
- test/dummy/config/initializers/cookies_serializer.rb
|
177
|
+
- test/dummy/config/initializers/filter_parameter_logging.rb
|
178
|
+
- test/dummy/config/initializers/inflections.rb
|
179
|
+
- test/dummy/config/initializers/mime_types.rb
|
180
|
+
- test/dummy/config/initializers/session_store.rb
|
181
|
+
- test/dummy/config/initializers/wrap_parameters.rb
|
182
|
+
- test/dummy/config/locales/en.yml
|
183
|
+
- test/dummy/config/routes.rb
|
184
|
+
- test/dummy/config/secrets.yml
|
185
|
+
- test/dummy/config.ru
|
186
|
+
- test/dummy/db/migrate/20140613221835_create_users.rb
|
187
|
+
- test/dummy/db/migrate/20140615152257_add_age_to_users.rb
|
188
|
+
- test/dummy/db/migrate/20140615175509_add_phone_to_users.rb
|
189
|
+
- test/dummy/db/migrate/20140615180938_create_groups.rb
|
190
|
+
- test/dummy/db/migrate/20140615180954_create_posts.rb
|
191
|
+
- test/dummy/db/migrate/20140615181030_add_group_id_to_users.rb
|
192
|
+
- test/dummy/db/migrate/20140615181051_add_user_id_to_posts.rb
|
193
|
+
- test/dummy/db/schema.rb
|
194
|
+
- test/dummy/log/development.log
|
195
|
+
- test/dummy/log/test.log
|
196
|
+
- test/dummy/public/404.html
|
197
|
+
- test/dummy/public/422.html
|
198
|
+
- test/dummy/public/500.html
|
199
|
+
- test/dummy/public/favicon.ico
|
200
|
+
- test/dummy/Rakefile
|
201
|
+
- test/dummy/README.rdoc
|
202
|
+
- test/dummy/test/fabricators/people.rb
|
203
|
+
- test/dummy/test/fabricators/users.rb
|
204
|
+
- test/fabricators_test.rb
|
205
|
+
- test/fixtures_test.rb
|
206
|
+
- test/generators_test.rb
|
207
|
+
- test/inheritance_test.rb
|
208
|
+
- test/lists_test.rb
|
209
|
+
- test/load_test.rb
|
210
|
+
- test/merges_test.rb
|
211
|
+
- test/test_helper.rb
|