active_mocker 1.2.pre → 1.2.pre.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (153) hide show
  1. checksums.yaml +4 -4
  2. data/lib/active_mocker/version.rb +1 -1
  3. data/sample_app_rails_4/.idea/.generators +8 -0
  4. data/sample_app_rails_4/.idea/.name +1 -0
  5. data/sample_app_rails_4/.idea/.rakeTasks +7 -0
  6. data/sample_app_rails_4/.idea/dataSources.ids +141 -0
  7. data/sample_app_rails_4/.idea/dataSources.xml +36 -0
  8. data/sample_app_rails_4/.idea/dictionaries/zeisler.xml +3 -0
  9. data/sample_app_rails_4/.idea/encodings.xml +5 -0
  10. data/sample_app_rails_4/.idea/inspectionProfiles/Project_Default.xml +20 -0
  11. data/sample_app_rails_4/.idea/inspectionProfiles/profiles_settings.xml +7 -0
  12. data/sample_app_rails_4/.idea/misc.xml +5 -0
  13. data/sample_app_rails_4/.idea/modules.xml +10 -0
  14. data/sample_app_rails_4/.idea/runConfigurations/Development__sample_app_rails_4.xml +28 -0
  15. data/sample_app_rails_4/.idea/runConfigurations/Production__sample_app_rails_4.xml +28 -0
  16. data/sample_app_rails_4/.idea/runConfigurations/spec__sample_app_rails_4.xml +26 -0
  17. data/sample_app_rails_4/.idea/runConfigurations/test__sample_app_rails_4.xml +28 -0
  18. data/sample_app_rails_4/.idea/sample_app_rails_4.iml +262 -0
  19. data/sample_app_rails_4/.idea/scopes/scope_settings.xml +5 -0
  20. data/sample_app_rails_4/.idea/vcs.xml +7 -0
  21. data/sample_app_rails_4/.idea/workspace.xml +969 -0
  22. data/sample_app_rails_4/.rspec +1 -0
  23. data/sample_app_rails_4/.secret +1 -0
  24. data/sample_app_rails_4/Gemfile +53 -0
  25. data/sample_app_rails_4/Guardfile +53 -0
  26. data/sample_app_rails_4/LICENSE +21 -0
  27. data/sample_app_rails_4/README.md +25 -0
  28. data/sample_app_rails_4/README.nitrous.md +20 -0
  29. data/sample_app_rails_4/Rakefile +6 -0
  30. data/sample_app_rails_4/app/assets/images/rails.png +0 -0
  31. data/sample_app_rails_4/app/assets/javascripts/application.js +17 -0
  32. data/sample_app_rails_4/app/assets/javascripts/sessions.js.coffee +3 -0
  33. data/sample_app_rails_4/app/assets/javascripts/static_pages.js.coffee +3 -0
  34. data/sample_app_rails_4/app/assets/javascripts/users.js.coffee +3 -0
  35. data/sample_app_rails_4/app/assets/stylesheets/application.css +13 -0
  36. data/sample_app_rails_4/app/assets/stylesheets/custom.css.scss +246 -0
  37. data/sample_app_rails_4/app/assets/stylesheets/sessions.css.scss +3 -0
  38. data/sample_app_rails_4/app/assets/stylesheets/static_pages.css.scss +3 -0
  39. data/sample_app_rails_4/app/assets/stylesheets/users.css.scss +3 -0
  40. data/sample_app_rails_4/app/controllers/application_controller.rb +6 -0
  41. data/sample_app_rails_4/app/controllers/concerns/.keep +0 -0
  42. data/sample_app_rails_4/app/controllers/microposts_controller.rb +31 -0
  43. data/sample_app_rails_4/app/controllers/relationships_controller.rb +21 -0
  44. data/sample_app_rails_4/app/controllers/sessions_controller.rb +21 -0
  45. data/sample_app_rails_4/app/controllers/static_pages_controller.rb +18 -0
  46. data/sample_app_rails_4/app/controllers/users_controller.rb +80 -0
  47. data/sample_app_rails_4/app/helpers/application_helper.rb +12 -0
  48. data/sample_app_rails_4/app/helpers/sessions_helper.rb +49 -0
  49. data/sample_app_rails_4/app/helpers/static_pages_helper.rb +2 -0
  50. data/sample_app_rails_4/app/helpers/users_helper.rb +10 -0
  51. data/sample_app_rails_4/app/mailers/.keep +0 -0
  52. data/sample_app_rails_4/app/models/.keep +0 -0
  53. data/sample_app_rails_4/app/models/concerns/.keep +0 -0
  54. data/sample_app_rails_4/app/models/micropost.rb +14 -0
  55. data/sample_app_rails_4/app/models/relationship.rb +6 -0
  56. data/sample_app_rails_4/app/models/user.rb +47 -0
  57. data/sample_app_rails_4/app/views/layouts/_footer.html.erb +13 -0
  58. data/sample_app_rails_4/app/views/layouts/_header.html.erb +31 -0
  59. data/sample_app_rails_4/app/views/layouts/_shim.html.erb +3 -0
  60. data/sample_app_rails_4/app/views/layouts/application.html.erb +22 -0
  61. data/sample_app_rails_4/app/views/microposts/_micropost.html.erb +11 -0
  62. data/sample_app_rails_4/app/views/relationships/create.js.erb +2 -0
  63. data/sample_app_rails_4/app/views/relationships/destroy.js.erb +2 -0
  64. data/sample_app_rails_4/app/views/sessions/new.html.erb +19 -0
  65. data/sample_app_rails_4/app/views/shared/_error_messages.html.erb +12 -0
  66. data/sample_app_rails_4/app/views/shared/_feed.html.erb +6 -0
  67. data/sample_app_rails_4/app/views/shared/_feed_item.html.erb +15 -0
  68. data/sample_app_rails_4/app/views/shared/_micropost_form.html.erb +7 -0
  69. data/sample_app_rails_4/app/views/shared/_stats.html.erb +15 -0
  70. data/sample_app_rails_4/app/views/shared/_user_info.html.erb +12 -0
  71. data/sample_app_rails_4/app/views/static_pages/about.html.erb +8 -0
  72. data/sample_app_rails_4/app/views/static_pages/contact.html.erb +6 -0
  73. data/sample_app_rails_4/app/views/static_pages/help.html.erb +8 -0
  74. data/sample_app_rails_4/app/views/static_pages/home.html.erb +34 -0
  75. data/sample_app_rails_4/app/views/static_pages/show.html.erb +0 -0
  76. data/sample_app_rails_4/app/views/users/_follow.html.erb +5 -0
  77. data/sample_app_rails_4/app/views/users/_follow_form.html.erb +9 -0
  78. data/sample_app_rails_4/app/views/users/_unfollow.html.erb +5 -0
  79. data/sample_app_rails_4/app/views/users/_user.html.erb +8 -0
  80. data/sample_app_rails_4/app/views/users/edit.html.erb +27 -0
  81. data/sample_app_rails_4/app/views/users/index.html.erb +10 -0
  82. data/sample_app_rails_4/app/views/users/new.html.erb +24 -0
  83. data/sample_app_rails_4/app/views/users/show.html.erb +24 -0
  84. data/sample_app_rails_4/app/views/users/show_follow.html.erb +30 -0
  85. data/sample_app_rails_4/bin/bundle +3 -0
  86. data/sample_app_rails_4/bin/rails +4 -0
  87. data/sample_app_rails_4/bin/rake +4 -0
  88. data/sample_app_rails_4/config.ru +4 -0
  89. data/sample_app_rails_4/config/application.rb +31 -0
  90. data/sample_app_rails_4/config/boot.rb +4 -0
  91. data/sample_app_rails_4/config/cucumber.yml +8 -0
  92. data/sample_app_rails_4/config/database.yml +28 -0
  93. data/sample_app_rails_4/config/environment.rb +5 -0
  94. data/sample_app_rails_4/config/environments/development.rb +27 -0
  95. data/sample_app_rails_4/config/environments/production.rb +79 -0
  96. data/sample_app_rails_4/config/environments/test.rb +39 -0
  97. data/sample_app_rails_4/config/initializers/active_mocker.rb +10 -0
  98. data/sample_app_rails_4/config/initializers/backtrace_silencers.rb +7 -0
  99. data/sample_app_rails_4/config/initializers/filter_parameter_logging.rb +4 -0
  100. data/sample_app_rails_4/config/initializers/inflections.rb +16 -0
  101. data/sample_app_rails_4/config/initializers/mime_types.rb +5 -0
  102. data/sample_app_rails_4/config/initializers/secret_token.rb +22 -0
  103. data/sample_app_rails_4/config/initializers/session_store.rb +3 -0
  104. data/sample_app_rails_4/config/initializers/wrap_parameters.rb +14 -0
  105. data/sample_app_rails_4/config/locales/en.yml +23 -0
  106. data/sample_app_rails_4/config/routes.rb +17 -0
  107. data/sample_app_rails_4/db/development.sqlite3 +0 -0
  108. data/sample_app_rails_4/db/migrate/20130311191400_create_users.rb +10 -0
  109. data/sample_app_rails_4/db/migrate/20130311194153_add_index_to_users_email.rb +5 -0
  110. data/sample_app_rails_4/db/migrate/20130311201841_add_password_digest_to_users.rb +5 -0
  111. data/sample_app_rails_4/db/migrate/20130314184954_add_remember_token_to_users.rb +6 -0
  112. data/sample_app_rails_4/db/migrate/20130315015932_add_admin_to_users.rb +5 -0
  113. data/sample_app_rails_4/db/migrate/20130315175534_create_microposts.rb +11 -0
  114. data/sample_app_rails_4/db/migrate/20130315230445_create_relationships.rb +13 -0
  115. data/sample_app_rails_4/db/schema.rb +49 -0
  116. data/sample_app_rails_4/db/seeds.rb +7 -0
  117. data/sample_app_rails_4/db/test.sqlite3 +0 -0
  118. data/sample_app_rails_4/features/signing_in.feature +13 -0
  119. data/sample_app_rails_4/features/step_definitions/authentication_steps.rb +30 -0
  120. data/sample_app_rails_4/features/support/env.rb +59 -0
  121. data/sample_app_rails_4/lib/assets/.keep +0 -0
  122. data/sample_app_rails_4/lib/tasks/.keep +0 -0
  123. data/sample_app_rails_4/lib/tasks/cucumber.rake +65 -0
  124. data/sample_app_rails_4/lib/tasks/mocks.rake +10 -0
  125. data/sample_app_rails_4/lib/tasks/sample_data.rake +42 -0
  126. data/sample_app_rails_4/log/.keep +0 -0
  127. data/sample_app_rails_4/log/development.log +603 -0
  128. data/sample_app_rails_4/log/test.log +6727 -0
  129. data/sample_app_rails_4/public/404.html +27 -0
  130. data/sample_app_rails_4/public/422.html +26 -0
  131. data/sample_app_rails_4/public/500.html +26 -0
  132. data/sample_app_rails_4/public/assets/application-4962059d8f80f9bb096692bacc29c4e8.css +5091 -0
  133. data/sample_app_rails_4/public/assets/application-4962059d8f80f9bb096692bacc29c4e8.css.gz +0 -0
  134. data/sample_app_rails_4/public/assets/application-eeb856e3fe2c8f879c91d0e81d59cb40.js +12952 -0
  135. data/sample_app_rails_4/public/assets/application-eeb856e3fe2c8f879c91d0e81d59cb40.js.gz +0 -0
  136. data/sample_app_rails_4/public/assets/glyphicons-halflings-c806376f05e4ccabe2c5315a8e95667c.png +0 -0
  137. data/sample_app_rails_4/public/assets/glyphicons-halflings-white-62b67d9edee3db90d18833087f848d6e.png +0 -0
  138. data/sample_app_rails_4/public/assets/manifest-802de9eb1c853769101852422b620883.json +1 -0
  139. data/sample_app_rails_4/public/assets/rails-231a680f23887d9dd70710ea5efd3c62.png +0 -0
  140. data/sample_app_rails_4/public/favicon.ico +0 -0
  141. data/sample_app_rails_4/public/robots.txt +5 -0
  142. data/sample_app_rails_4/script/cucumber +10 -0
  143. data/sample_app_rails_4/spec/controllers/relationships_controller_spec.rb +42 -0
  144. data/sample_app_rails_4/spec/factories.rb +17 -0
  145. data/sample_app_rails_4/spec/helpers/application_helper_spec.rb +18 -0
  146. data/sample_app_rails_4/spec/models/micropost_spec.rb +30 -0
  147. data/sample_app_rails_4/spec/models/relationship_spec.rb +29 -0
  148. data/sample_app_rails_4/spec/models/user_spec.rb +194 -0
  149. data/sample_app_rails_4/spec/spec_helper.rb +49 -0
  150. data/sample_app_rails_4/spec/support/utilities.rb +21 -0
  151. data/sample_app_rails_4/vendor/assets/javascripts/.keep +0 -0
  152. data/sample_app_rails_4/vendor/assets/stylesheets/.keep +0 -0
  153. metadata +151 -1
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_mocker
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.pre
4
+ version: 1.2.pre.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dustin Zeisler
@@ -179,6 +179,156 @@ files:
179
179
  - mocks/relationship_mock.rb
180
180
  - mocks/user_mock.rb
181
181
  - plan_mock.rb
182
+ - sample_app_rails_4/.idea/.generators
183
+ - sample_app_rails_4/.idea/.name
184
+ - sample_app_rails_4/.idea/.rakeTasks
185
+ - sample_app_rails_4/.idea/dataSources.ids
186
+ - sample_app_rails_4/.idea/dataSources.xml
187
+ - sample_app_rails_4/.idea/dictionaries/zeisler.xml
188
+ - sample_app_rails_4/.idea/encodings.xml
189
+ - sample_app_rails_4/.idea/inspectionProfiles/Project_Default.xml
190
+ - sample_app_rails_4/.idea/inspectionProfiles/profiles_settings.xml
191
+ - sample_app_rails_4/.idea/misc.xml
192
+ - sample_app_rails_4/.idea/modules.xml
193
+ - sample_app_rails_4/.idea/runConfigurations/Development__sample_app_rails_4.xml
194
+ - sample_app_rails_4/.idea/runConfigurations/Production__sample_app_rails_4.xml
195
+ - sample_app_rails_4/.idea/runConfigurations/spec__sample_app_rails_4.xml
196
+ - sample_app_rails_4/.idea/runConfigurations/test__sample_app_rails_4.xml
197
+ - sample_app_rails_4/.idea/sample_app_rails_4.iml
198
+ - sample_app_rails_4/.idea/scopes/scope_settings.xml
199
+ - sample_app_rails_4/.idea/vcs.xml
200
+ - sample_app_rails_4/.idea/workspace.xml
201
+ - sample_app_rails_4/.rspec
202
+ - sample_app_rails_4/.secret
203
+ - sample_app_rails_4/Gemfile
204
+ - sample_app_rails_4/Guardfile
205
+ - sample_app_rails_4/LICENSE
206
+ - sample_app_rails_4/README.md
207
+ - sample_app_rails_4/README.nitrous.md
208
+ - sample_app_rails_4/Rakefile
209
+ - sample_app_rails_4/app/assets/images/rails.png
210
+ - sample_app_rails_4/app/assets/javascripts/application.js
211
+ - sample_app_rails_4/app/assets/javascripts/sessions.js.coffee
212
+ - sample_app_rails_4/app/assets/javascripts/static_pages.js.coffee
213
+ - sample_app_rails_4/app/assets/javascripts/users.js.coffee
214
+ - sample_app_rails_4/app/assets/stylesheets/application.css
215
+ - sample_app_rails_4/app/assets/stylesheets/custom.css.scss
216
+ - sample_app_rails_4/app/assets/stylesheets/sessions.css.scss
217
+ - sample_app_rails_4/app/assets/stylesheets/static_pages.css.scss
218
+ - sample_app_rails_4/app/assets/stylesheets/users.css.scss
219
+ - sample_app_rails_4/app/controllers/application_controller.rb
220
+ - sample_app_rails_4/app/controllers/concerns/.keep
221
+ - sample_app_rails_4/app/controllers/microposts_controller.rb
222
+ - sample_app_rails_4/app/controllers/relationships_controller.rb
223
+ - sample_app_rails_4/app/controllers/sessions_controller.rb
224
+ - sample_app_rails_4/app/controllers/static_pages_controller.rb
225
+ - sample_app_rails_4/app/controllers/users_controller.rb
226
+ - sample_app_rails_4/app/helpers/application_helper.rb
227
+ - sample_app_rails_4/app/helpers/sessions_helper.rb
228
+ - sample_app_rails_4/app/helpers/static_pages_helper.rb
229
+ - sample_app_rails_4/app/helpers/users_helper.rb
230
+ - sample_app_rails_4/app/mailers/.keep
231
+ - sample_app_rails_4/app/models/.keep
232
+ - sample_app_rails_4/app/models/concerns/.keep
233
+ - sample_app_rails_4/app/models/micropost.rb
234
+ - sample_app_rails_4/app/models/relationship.rb
235
+ - sample_app_rails_4/app/models/user.rb
236
+ - sample_app_rails_4/app/views/layouts/_footer.html.erb
237
+ - sample_app_rails_4/app/views/layouts/_header.html.erb
238
+ - sample_app_rails_4/app/views/layouts/_shim.html.erb
239
+ - sample_app_rails_4/app/views/layouts/application.html.erb
240
+ - sample_app_rails_4/app/views/microposts/_micropost.html.erb
241
+ - sample_app_rails_4/app/views/relationships/create.js.erb
242
+ - sample_app_rails_4/app/views/relationships/destroy.js.erb
243
+ - sample_app_rails_4/app/views/sessions/new.html.erb
244
+ - sample_app_rails_4/app/views/shared/_error_messages.html.erb
245
+ - sample_app_rails_4/app/views/shared/_feed.html.erb
246
+ - sample_app_rails_4/app/views/shared/_feed_item.html.erb
247
+ - sample_app_rails_4/app/views/shared/_micropost_form.html.erb
248
+ - sample_app_rails_4/app/views/shared/_stats.html.erb
249
+ - sample_app_rails_4/app/views/shared/_user_info.html.erb
250
+ - sample_app_rails_4/app/views/static_pages/about.html.erb
251
+ - sample_app_rails_4/app/views/static_pages/contact.html.erb
252
+ - sample_app_rails_4/app/views/static_pages/help.html.erb
253
+ - sample_app_rails_4/app/views/static_pages/home.html.erb
254
+ - sample_app_rails_4/app/views/static_pages/show.html.erb
255
+ - sample_app_rails_4/app/views/users/_follow.html.erb
256
+ - sample_app_rails_4/app/views/users/_follow_form.html.erb
257
+ - sample_app_rails_4/app/views/users/_unfollow.html.erb
258
+ - sample_app_rails_4/app/views/users/_user.html.erb
259
+ - sample_app_rails_4/app/views/users/edit.html.erb
260
+ - sample_app_rails_4/app/views/users/index.html.erb
261
+ - sample_app_rails_4/app/views/users/new.html.erb
262
+ - sample_app_rails_4/app/views/users/show.html.erb
263
+ - sample_app_rails_4/app/views/users/show_follow.html.erb
264
+ - sample_app_rails_4/bin/bundle
265
+ - sample_app_rails_4/bin/rails
266
+ - sample_app_rails_4/bin/rake
267
+ - sample_app_rails_4/config.ru
268
+ - sample_app_rails_4/config/application.rb
269
+ - sample_app_rails_4/config/boot.rb
270
+ - sample_app_rails_4/config/cucumber.yml
271
+ - sample_app_rails_4/config/database.yml
272
+ - sample_app_rails_4/config/environment.rb
273
+ - sample_app_rails_4/config/environments/development.rb
274
+ - sample_app_rails_4/config/environments/production.rb
275
+ - sample_app_rails_4/config/environments/test.rb
276
+ - sample_app_rails_4/config/initializers/active_mocker.rb
277
+ - sample_app_rails_4/config/initializers/backtrace_silencers.rb
278
+ - sample_app_rails_4/config/initializers/filter_parameter_logging.rb
279
+ - sample_app_rails_4/config/initializers/inflections.rb
280
+ - sample_app_rails_4/config/initializers/mime_types.rb
281
+ - sample_app_rails_4/config/initializers/secret_token.rb
282
+ - sample_app_rails_4/config/initializers/session_store.rb
283
+ - sample_app_rails_4/config/initializers/wrap_parameters.rb
284
+ - sample_app_rails_4/config/locales/en.yml
285
+ - sample_app_rails_4/config/routes.rb
286
+ - sample_app_rails_4/db/development.sqlite3
287
+ - sample_app_rails_4/db/migrate/20130311191400_create_users.rb
288
+ - sample_app_rails_4/db/migrate/20130311194153_add_index_to_users_email.rb
289
+ - sample_app_rails_4/db/migrate/20130311201841_add_password_digest_to_users.rb
290
+ - sample_app_rails_4/db/migrate/20130314184954_add_remember_token_to_users.rb
291
+ - sample_app_rails_4/db/migrate/20130315015932_add_admin_to_users.rb
292
+ - sample_app_rails_4/db/migrate/20130315175534_create_microposts.rb
293
+ - sample_app_rails_4/db/migrate/20130315230445_create_relationships.rb
294
+ - sample_app_rails_4/db/schema.rb
295
+ - sample_app_rails_4/db/seeds.rb
296
+ - sample_app_rails_4/db/test.sqlite3
297
+ - sample_app_rails_4/features/signing_in.feature
298
+ - sample_app_rails_4/features/step_definitions/authentication_steps.rb
299
+ - sample_app_rails_4/features/support/env.rb
300
+ - sample_app_rails_4/lib/assets/.keep
301
+ - sample_app_rails_4/lib/tasks/.keep
302
+ - sample_app_rails_4/lib/tasks/cucumber.rake
303
+ - sample_app_rails_4/lib/tasks/mocks.rake
304
+ - sample_app_rails_4/lib/tasks/sample_data.rake
305
+ - sample_app_rails_4/log/.keep
306
+ - sample_app_rails_4/log/development.log
307
+ - sample_app_rails_4/log/test.log
308
+ - sample_app_rails_4/public/404.html
309
+ - sample_app_rails_4/public/422.html
310
+ - sample_app_rails_4/public/500.html
311
+ - sample_app_rails_4/public/assets/application-4962059d8f80f9bb096692bacc29c4e8.css
312
+ - sample_app_rails_4/public/assets/application-4962059d8f80f9bb096692bacc29c4e8.css.gz
313
+ - sample_app_rails_4/public/assets/application-eeb856e3fe2c8f879c91d0e81d59cb40.js
314
+ - sample_app_rails_4/public/assets/application-eeb856e3fe2c8f879c91d0e81d59cb40.js.gz
315
+ - sample_app_rails_4/public/assets/glyphicons-halflings-c806376f05e4ccabe2c5315a8e95667c.png
316
+ - sample_app_rails_4/public/assets/glyphicons-halflings-white-62b67d9edee3db90d18833087f848d6e.png
317
+ - sample_app_rails_4/public/assets/manifest-802de9eb1c853769101852422b620883.json
318
+ - sample_app_rails_4/public/assets/rails-231a680f23887d9dd70710ea5efd3c62.png
319
+ - sample_app_rails_4/public/favicon.ico
320
+ - sample_app_rails_4/public/robots.txt
321
+ - sample_app_rails_4/script/cucumber
322
+ - sample_app_rails_4/spec/controllers/relationships_controller_spec.rb
323
+ - sample_app_rails_4/spec/factories.rb
324
+ - sample_app_rails_4/spec/helpers/application_helper_spec.rb
325
+ - sample_app_rails_4/spec/models/micropost_spec.rb
326
+ - sample_app_rails_4/spec/models/relationship_spec.rb
327
+ - sample_app_rails_4/spec/models/user_spec.rb
328
+ - sample_app_rails_4/spec/spec_helper.rb
329
+ - sample_app_rails_4/spec/support/utilities.rb
330
+ - sample_app_rails_4/vendor/assets/javascripts/.keep
331
+ - sample_app_rails_4/vendor/assets/stylesheets/.keep
182
332
  - spec/lib/active_mocker/collection_association_spec.rb
183
333
  - spec/lib/active_mocker/generate_spec.rb
184
334
  - spec/lib/active_mocker/model_reader_spec.rb