manage 1.3.29 → 1.3.30

Sign up to get free protection for your applications and to get access to all the features.
Files changed (78) hide show
  1. checksums.yaml +4 -4
  2. data/MIT-LICENSE +20 -20
  3. data/Rakefile +31 -31
  4. data/app/assets/javascripts/manage/collection_actions.js.coffee +30 -30
  5. data/app/assets/javascripts/manage/handlers.js.coffee +46 -46
  6. data/app/assets/javascripts/manage/table_checkboxes.js.coffee +11 -11
  7. data/app/controllers/manage/application_controller.rb +13 -13
  8. data/app/controllers/manage/dashboards_controller.rb +4 -4
  9. data/app/controllers/manage/resource_controller.rb +6 -0
  10. data/app/controllers/manage/responder.rb +11 -11
  11. data/app/controllers/manage/sessions_controller.rb +11 -11
  12. data/app/helpers/manage/application_helper.rb +42 -42
  13. data/app/helpers/manage/form_helper.rb +21 -21
  14. data/app/helpers/manage/resource_helper.rb +77 -77
  15. data/app/models/admin_user.rb +4 -4
  16. data/app/views/layouts/manage/_main_menu.html.slim +52 -52
  17. data/app/views/layouts/manage/application.html.slim +39 -39
  18. data/app/views/layouts/manage/sign_in.html.slim +30 -30
  19. data/app/views/manage/resource/_form.html.slim +4 -4
  20. data/app/views/manage/resource/index/_collection_actions.html.slim +2 -2
  21. data/app/views/manage/resource/index/_count.html.slim +6 -6
  22. data/app/views/manage/resource/show.html.slim +10 -10
  23. data/app/views/manage/sessions/new.html.slim +10 -10
  24. data/config/initializers/devise.rb +247 -247
  25. data/config/initializers/session_store.rb +3 -3
  26. data/config/initializers/simple_form.rb +145 -145
  27. data/config/initializers/simple_form_foundation.rb +26 -26
  28. data/config/locales/devise.en.yml +59 -59
  29. data/config/locales/en.yml +20 -20
  30. data/config/routes.rb +10 -10
  31. data/db/migrate/20131204142720_create_admin_users.rb +24 -24
  32. data/lib/manage/engine.rb +21 -21
  33. data/lib/manage/fields/reader.rb +57 -57
  34. data/lib/manage/fields.rb +6 -6
  35. data/lib/manage/version.rb +1 -1
  36. data/lib/manage.rb +5 -5
  37. data/lib/tasks/manage_tasks.rake +15 -15
  38. data/lib/templates/erb/scaffold/_form.html.erb +13 -13
  39. data/spec/controllers/manage/resource_controller_spec.rb +29 -29
  40. data/spec/dummy/README.rdoc +28 -28
  41. data/spec/dummy/Rakefile +6 -6
  42. data/spec/dummy/app/assets/javascripts/application.js +13 -13
  43. data/spec/dummy/app/assets/stylesheets/application.css +13 -13
  44. data/spec/dummy/app/controllers/application_controller.rb +5 -5
  45. data/spec/dummy/app/controllers/manage/posts_controller.rb +4 -4
  46. data/spec/dummy/app/helpers/application_helper.rb +2 -2
  47. data/spec/dummy/app/models/post.rb +3 -3
  48. data/spec/dummy/app/models/user.rb +5 -5
  49. data/spec/dummy/app/views/layouts/application.html.erb +14 -14
  50. data/spec/dummy/bin/bundle +3 -3
  51. data/spec/dummy/bin/rails +4 -4
  52. data/spec/dummy/bin/rake +4 -4
  53. data/spec/dummy/config/application.rb +24 -24
  54. data/spec/dummy/config/boot.rb +5 -5
  55. data/spec/dummy/config/database.yml +25 -25
  56. data/spec/dummy/config/environment.rb +5 -5
  57. data/spec/dummy/config/environments/development.rb +29 -29
  58. data/spec/dummy/config/environments/production.rb +80 -80
  59. data/spec/dummy/config/environments/test.rb +36 -36
  60. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -7
  61. data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -4
  62. data/spec/dummy/config/initializers/inflections.rb +16 -16
  63. data/spec/dummy/config/initializers/mime_types.rb +5 -5
  64. data/spec/dummy/config/initializers/secret_token.rb +12 -12
  65. data/spec/dummy/config/initializers/session_store.rb +3 -3
  66. data/spec/dummy/config/initializers/wrap_parameters.rb +14 -14
  67. data/spec/dummy/config/locales/en.yml +23 -23
  68. data/spec/dummy/config/routes.rb +10 -10
  69. data/spec/dummy/config.ru +4 -4
  70. data/spec/dummy/db/migrate/20130716083410_init_migration.rb +21 -21
  71. data/spec/dummy/db/schema.rb +53 -53
  72. data/spec/dummy/public/404.html +58 -58
  73. data/spec/dummy/public/422.html +58 -58
  74. data/spec/dummy/public/500.html +57 -57
  75. data/spec/fields/reader_spec.rb +79 -79
  76. data/spec/spec_helper.rb +24 -24
  77. metadata +88 -90
  78. data/spec/dummy/log/test.log +0 -0
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: manage
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.29
4
+ version: 1.3.30
5
5
  platform: ruby
6
6
  authors:
7
7
  - Empower United
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-05-08 00:00:00.000000000 Z
12
+ date: 2014-05-19 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -256,101 +256,100 @@ executables: []
256
256
  extensions: []
257
257
  extra_rdoc_files: []
258
258
  files:
259
- - app/views/layouts/manage/_main_menu.html.slim
260
- - app/views/layouts/manage/application.html.slim
259
+ - app/controllers/manage/sessions_controller.rb
260
+ - app/controllers/manage/application_controller.rb
261
+ - app/controllers/manage/resource_controller.rb
262
+ - app/controllers/manage/admin_users_controller.rb
263
+ - app/controllers/manage/dashboards_controller.rb
264
+ - app/controllers/manage/responder.rb
265
+ - app/assets/stylesheets/manage/custom.css.scss
266
+ - app/assets/stylesheets/manage/layout.css.scss
267
+ - app/assets/stylesheets/manage/application.css.scss
268
+ - app/assets/javascripts/manage/application.js
269
+ - app/assets/javascripts/manage/collection_actions.js.coffee
270
+ - app/assets/javascripts/manage/handlers.js.coffee
271
+ - app/assets/javascripts/manage/init.js.coffee
272
+ - app/assets/javascripts/manage/table_checkboxes.js.coffee
273
+ - app/assets/javascripts/manage/custom.js.coffee
274
+ - app/models/admin_user.rb
275
+ - app/helpers/manage/form_helper.rb
276
+ - app/helpers/manage/resource_helper.rb
277
+ - app/helpers/manage/application_helper.rb
261
278
  - app/views/layouts/manage/sign_in.html.slim
279
+ - app/views/layouts/manage/application.html.slim
280
+ - app/views/layouts/manage/_main_menu.html.slim
281
+ - app/views/manage/sessions/new.html.slim
282
+ - app/views/manage/resource/edit.html.slim
283
+ - app/views/manage/resource/new.html.slim
262
284
  - app/views/manage/resource/index.html.slim
263
285
  - app/views/manage/resource/show_help.html.slim
264
- - app/views/manage/resource/_form.html.slim
265
- - app/views/manage/resource/show.html.slim
266
- - app/views/manage/resource/index/_count.html.slim
267
286
  - app/views/manage/resource/index/_collection_actions.html.slim
268
287
  - app/views/manage/resource/index/_table.html.slim
288
+ - app/views/manage/resource/index/_count.html.slim
269
289
  - app/views/manage/resource/index/_filters.html.slim
270
290
  - app/views/manage/resource/index/_scopes.html.slim
271
- - app/views/manage/resource/new.html.slim
272
- - app/views/manage/resource/edit.html.slim
273
- - app/views/manage/sessions/new.html.slim
291
+ - app/views/manage/resource/show.html.slim
292
+ - app/views/manage/resource/_form.html.slim
274
293
  - app/views/manage/admin_users/_form.html.slim
275
- - app/models/admin_user.rb
276
- - app/assets/javascripts/manage/collection_actions.js.coffee
277
- - app/assets/javascripts/manage/handlers.js.coffee
278
- - app/assets/javascripts/manage/custom.js.coffee
279
- - app/assets/javascripts/manage/application.js
280
- - app/assets/javascripts/manage/table_checkboxes.js.coffee
281
- - app/assets/javascripts/manage/init.js.coffee
282
- - app/assets/stylesheets/manage/application.css.scss
283
- - app/assets/stylesheets/manage/custom.css.scss
284
- - app/assets/stylesheets/manage/layout.css.scss
285
- - app/controllers/manage/responder.rb
286
- - app/controllers/manage/resource_controller.rb
287
- - app/controllers/manage/admin_users_controller.rb
288
- - app/controllers/manage/sessions_controller.rb
289
- - app/controllers/manage/application_controller.rb
290
- - app/controllers/manage/dashboards_controller.rb
291
- - app/helpers/manage/resource_helper.rb
292
- - app/helpers/manage/form_helper.rb
293
- - app/helpers/manage/application_helper.rb
294
- - config/routes.rb
294
+ - config/locales/en.yml
295
+ - config/locales/simple_form.en.yml
295
296
  - config/locales/bg.yml
296
297
  - config/locales/devise.en.yml
297
- - config/locales/simple_form.en.yml
298
- - config/locales/en.yml
299
- - config/initializers/devise.rb
300
298
  - config/initializers/session_store.rb
301
- - config/initializers/simple_form_foundation.rb
302
299
  - config/initializers/simple_form.rb
300
+ - config/initializers/simple_form_foundation.rb
301
+ - config/initializers/devise.rb
302
+ - config/routes.rb
303
303
  - db/migrate/20131204142720_create_admin_users.rb
304
- - lib/manage/version.rb
305
- - lib/manage/fields.rb
304
+ - lib/tasks/manage_tasks.rake
305
+ - lib/manage.rb
306
306
  - lib/manage/engine.rb
307
+ - lib/manage/fields.rb
307
308
  - lib/manage/fields/searcher.rb
308
309
  - lib/manage/fields/reader.rb
309
- - lib/manage.rb
310
- - lib/tasks/manage_tasks.rake
310
+ - lib/manage/version.rb
311
311
  - lib/templates/erb/scaffold/_form.html.erb
312
312
  - MIT-LICENSE
313
313
  - Rakefile
314
314
  - README.rdoc
315
- - spec/fields/reader_spec.rb
315
+ - spec/controllers/manage/resource_controller_spec.rb
316
+ - spec/dummy/app/controllers/application_controller.rb
317
+ - spec/dummy/app/controllers/manage/posts_controller.rb
318
+ - spec/dummy/app/assets/stylesheets/application.css
319
+ - spec/dummy/app/assets/javascripts/application.js
320
+ - spec/dummy/app/models/post.rb
321
+ - spec/dummy/app/models/user.rb
322
+ - spec/dummy/app/helpers/application_helper.rb
323
+ - spec/dummy/app/views/layouts/application.html.erb
316
324
  - spec/dummy/Rakefile
325
+ - spec/dummy/db/schema.rb
326
+ - spec/dummy/db/migrate/20130716083410_init_migration.rb
317
327
  - spec/dummy/README.rdoc
318
- - spec/dummy/bin/rails
319
328
  - spec/dummy/bin/rake
329
+ - spec/dummy/bin/rails
320
330
  - spec/dummy/bin/bundle
331
+ - spec/dummy/public/500.html
332
+ - spec/dummy/public/422.html
333
+ - spec/dummy/public/404.html
334
+ - spec/dummy/public/favicon.ico
335
+ - spec/dummy/config/locales/en.yml
321
336
  - spec/dummy/config/boot.rb
322
- - spec/dummy/config/routes.rb
337
+ - spec/dummy/config/environments/development.rb
338
+ - spec/dummy/config/environments/production.rb
339
+ - spec/dummy/config/environments/test.rb
323
340
  - spec/dummy/config/environment.rb
324
341
  - spec/dummy/config/database.yml
325
- - spec/dummy/config/locales/en.yml
326
- - spec/dummy/config/initializers/inflections.rb
327
342
  - spec/dummy/config/initializers/session_store.rb
343
+ - spec/dummy/config/initializers/inflections.rb
328
344
  - spec/dummy/config/initializers/mime_types.rb
329
345
  - spec/dummy/config/initializers/backtrace_silencers.rb
330
- - spec/dummy/config/initializers/wrap_parameters.rb
331
- - spec/dummy/config/initializers/filter_parameter_logging.rb
332
346
  - spec/dummy/config/initializers/secret_token.rb
333
- - spec/dummy/config/environments/development.rb
334
- - spec/dummy/config/environments/test.rb
335
- - spec/dummy/config/environments/production.rb
347
+ - spec/dummy/config/initializers/filter_parameter_logging.rb
348
+ - spec/dummy/config/initializers/wrap_parameters.rb
336
349
  - spec/dummy/config/application.rb
337
- - spec/dummy/public/422.html
338
- - spec/dummy/public/favicon.ico
339
- - spec/dummy/public/500.html
340
- - spec/dummy/public/404.html
341
- - spec/dummy/db/schema.rb
342
- - spec/dummy/db/migrate/20130716083410_init_migration.rb
343
- - spec/dummy/log/test.log
350
+ - spec/dummy/config/routes.rb
344
351
  - spec/dummy/config.ru
345
- - spec/dummy/app/views/layouts/application.html.erb
346
- - spec/dummy/app/models/post.rb
347
- - spec/dummy/app/models/user.rb
348
- - spec/dummy/app/assets/javascripts/application.js
349
- - spec/dummy/app/assets/stylesheets/application.css
350
- - spec/dummy/app/controllers/manage/posts_controller.rb
351
- - spec/dummy/app/controllers/application_controller.rb
352
- - spec/dummy/app/helpers/application_helper.rb
353
- - spec/controllers/manage/resource_controller_spec.rb
352
+ - spec/fields/reader_spec.rb
354
353
  - spec/spec_helper.rb
355
354
  homepage: https://github.com/empowerunited/manage
356
355
  licenses:
@@ -377,43 +376,42 @@ signing_key:
377
376
  specification_version: 4
378
377
  summary: Empower Unitited Manage Backend
379
378
  test_files:
380
- - spec/fields/reader_spec.rb
379
+ - spec/controllers/manage/resource_controller_spec.rb
380
+ - spec/dummy/app/controllers/application_controller.rb
381
+ - spec/dummy/app/controllers/manage/posts_controller.rb
382
+ - spec/dummy/app/assets/stylesheets/application.css
383
+ - spec/dummy/app/assets/javascripts/application.js
384
+ - spec/dummy/app/models/post.rb
385
+ - spec/dummy/app/models/user.rb
386
+ - spec/dummy/app/helpers/application_helper.rb
387
+ - spec/dummy/app/views/layouts/application.html.erb
381
388
  - spec/dummy/Rakefile
389
+ - spec/dummy/db/schema.rb
390
+ - spec/dummy/db/migrate/20130716083410_init_migration.rb
382
391
  - spec/dummy/README.rdoc
383
- - spec/dummy/bin/rails
384
392
  - spec/dummy/bin/rake
393
+ - spec/dummy/bin/rails
385
394
  - spec/dummy/bin/bundle
395
+ - spec/dummy/public/500.html
396
+ - spec/dummy/public/422.html
397
+ - spec/dummy/public/404.html
398
+ - spec/dummy/public/favicon.ico
399
+ - spec/dummy/config/locales/en.yml
386
400
  - spec/dummy/config/boot.rb
387
- - spec/dummy/config/routes.rb
401
+ - spec/dummy/config/environments/development.rb
402
+ - spec/dummy/config/environments/production.rb
403
+ - spec/dummy/config/environments/test.rb
388
404
  - spec/dummy/config/environment.rb
389
405
  - spec/dummy/config/database.yml
390
- - spec/dummy/config/locales/en.yml
391
- - spec/dummy/config/initializers/inflections.rb
392
406
  - spec/dummy/config/initializers/session_store.rb
407
+ - spec/dummy/config/initializers/inflections.rb
393
408
  - spec/dummy/config/initializers/mime_types.rb
394
409
  - spec/dummy/config/initializers/backtrace_silencers.rb
395
- - spec/dummy/config/initializers/wrap_parameters.rb
396
- - spec/dummy/config/initializers/filter_parameter_logging.rb
397
410
  - spec/dummy/config/initializers/secret_token.rb
398
- - spec/dummy/config/environments/development.rb
399
- - spec/dummy/config/environments/test.rb
400
- - spec/dummy/config/environments/production.rb
411
+ - spec/dummy/config/initializers/filter_parameter_logging.rb
412
+ - spec/dummy/config/initializers/wrap_parameters.rb
401
413
  - spec/dummy/config/application.rb
402
- - spec/dummy/public/422.html
403
- - spec/dummy/public/favicon.ico
404
- - spec/dummy/public/500.html
405
- - spec/dummy/public/404.html
406
- - spec/dummy/db/schema.rb
407
- - spec/dummy/db/migrate/20130716083410_init_migration.rb
408
- - spec/dummy/log/test.log
414
+ - spec/dummy/config/routes.rb
409
415
  - spec/dummy/config.ru
410
- - spec/dummy/app/views/layouts/application.html.erb
411
- - spec/dummy/app/models/post.rb
412
- - spec/dummy/app/models/user.rb
413
- - spec/dummy/app/assets/javascripts/application.js
414
- - spec/dummy/app/assets/stylesheets/application.css
415
- - spec/dummy/app/controllers/manage/posts_controller.rb
416
- - spec/dummy/app/controllers/application_controller.rb
417
- - spec/dummy/app/helpers/application_helper.rb
418
- - spec/controllers/manage/resource_controller_spec.rb
416
+ - spec/fields/reader_spec.rb
419
417
  - spec/spec_helper.rb
File without changes