push_type_admin 0.2.1 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (54) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/push_type/assets.js.coffee +0 -3
  3. data/app/assets/stylesheets/push_type/admin.scss +29 -5
  4. data/app/controllers/push_type/admin_controller.rb +1 -0
  5. data/app/controllers/push_type/assets_controller.rb +25 -3
  6. data/app/controllers/push_type/nodes_controller.rb +34 -6
  7. data/app/helpers/push_type/assets_helper.rb +8 -0
  8. data/app/helpers/push_type/nodes_helper.rb +10 -0
  9. data/app/views/layouts/push_type/admin.html.erb +4 -11
  10. data/app/views/push_type/admin/info.html.haml +1 -1
  11. data/app/views/push_type/assets/_form.html.haml +3 -9
  12. data/app/views/push_type/assets/_form_submit.html.haml +13 -0
  13. data/app/views/push_type/assets/_meta_table.html.haml +15 -0
  14. data/app/views/push_type/assets/edit.html.haml +3 -0
  15. data/app/views/push_type/assets/index.html.haml +30 -30
  16. data/app/views/push_type/assets/trash.html.haml +35 -0
  17. data/app/views/push_type/nodes/_form_fields.html.haml +3 -29
  18. data/app/views/push_type/nodes/_form_submit.html.haml +24 -0
  19. data/app/views/push_type/nodes/_meta_table.html.haml +33 -8
  20. data/app/views/push_type/nodes/edit.html.haml +6 -2
  21. data/app/views/push_type/nodes/index.html.haml +50 -48
  22. data/app/views/push_type/nodes/trash.html.haml +48 -0
  23. data/app/views/push_type/users/_form.html.haml +3 -1
  24. data/config/routes.rb +16 -2
  25. data/lib/push_type/admin/engine.rb +32 -0
  26. data/test/controllers/push_type/assets_controller_test.rb +30 -0
  27. data/test/controllers/push_type/nodes_controller_test.rb +45 -4
  28. data/test/dummy/app/models/page.rb +1 -1
  29. data/test/dummy/app/views/nodes/page.html.erb +3 -1
  30. data/test/dummy/config/initializers/push_type.rb +1 -1
  31. data/test/dummy/config/secrets.yml +2 -2
  32. data/test/dummy/db/migrate/{20150209204345_create_push_type_users.push_type.rb → 20150222152455_create_push_type_users.push_type.rb} +0 -0
  33. data/test/dummy/db/migrate/{20150209204346_create_push_type_nodes.push_type.rb → 20150222152456_create_push_type_nodes.push_type.rb} +0 -0
  34. data/test/dummy/db/migrate/{20150209204347_create_push_type_node_hierarchies.push_type.rb → 20150222152457_create_push_type_node_hierarchies.push_type.rb} +0 -0
  35. data/test/dummy/db/migrate/{20150209204348_create_push_type_assets.push_type.rb → 20150222152458_create_push_type_assets.push_type.rb} +0 -0
  36. data/test/dummy/db/schema.rb +1 -1
  37. data/test/dummy/log/test.log +3552 -2380
  38. data/test/dummy/tmp/cache/assets/test/sass/2df752541ff0a319141a1cb83ca971d2ffd2d050/admin.scssc +0 -0
  39. data/test/dummy/tmp/cache/assets/test/sprockets/0e01ae9de0f3914c8317853aedd9ace4 +0 -0
  40. data/test/dummy/tmp/cache/assets/test/sprockets/30f88df6b769522639aee569e18ab005 +0 -0
  41. data/test/dummy/tmp/cache/assets/test/sprockets/3508023b6222e6b0876c773e38ec700d +0 -0
  42. data/test/dummy/tmp/cache/assets/test/sprockets/5f85da4ac11a64f005e2656b99be44ac +0 -0
  43. data/test/dummy/tmp/cache/assets/test/sprockets/8d531fdb806de0724337e0b80e253914 +0 -0
  44. data/test/dummy/tmp/cache/assets/test/sprockets/9c34afd1737e54e4eb06cc87ddf17b78 +0 -0
  45. data/test/dummy/tmp/cache/assets/test/sprockets/a93ec74f5cd7f26f8c663d4c481fe689 +0 -0
  46. data/test/dummy/tmp/cache/assets/test/sprockets/a9b8decaa2942e8913458c9f35da2693 +0 -0
  47. data/test/dummy/tmp/cache/assets/test/sprockets/c206fbd33f49ab785c6ddf4bcffd3b93 +0 -0
  48. data/test/dummy/tmp/cache/assets/test/sprockets/df90022afc0d52f16bc498be20a5967d +0 -0
  49. data/test/dummy/tmp/cache/assets/test/sprockets/e540a9dc1aa001f8c4cba7a6b00f69d2 +0 -0
  50. data/test/dummy/tmp/cache/assets/test/sprockets/edd24c59de6c00e4e68dbbdf2775984a +0 -0
  51. metadata +25 -17
  52. data/app/assets/images/push_type/pushtype-logo.png +0 -0
  53. data/test/dummy/tmp/cache/assets/test/sprockets/8da458b8df4bfbd9fb0eed86c36442d4 +0 -0
  54. data/test/dummy/tmp/cache/assets/test/sprockets/a010781c05d478892856f75c751d6ab4 +0 -0
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: push_type_admin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aaron Russell
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-02-17 00:00:00.000000000 Z
11
+ date: 2015-02-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: push_type_core
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 0.2.1
19
+ version: 0.3.1
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 0.2.1
26
+ version: 0.3.1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: haml-rails
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -204,7 +204,6 @@ files:
204
204
  - app/assets/images/push_type/icon-file-audio.png
205
205
  - app/assets/images/push_type/icon-file-document.png
206
206
  - app/assets/images/push_type/icon-file-video.png
207
- - app/assets/images/push_type/pushtype-logo.png
208
207
  - app/assets/javascripts/push_type/admin.js.coffee
209
208
  - app/assets/javascripts/push_type/admin_assets.js.coffee.erb
210
209
  - app/assets/javascripts/push_type/assets.js.coffee
@@ -231,17 +230,22 @@ files:
231
230
  - app/views/layouts/push_type/admin.html.erb
232
231
  - app/views/push_type/admin/info.html.haml
233
232
  - app/views/push_type/assets/_form.html.haml
233
+ - app/views/push_type/assets/_form_submit.html.haml
234
+ - app/views/push_type/assets/_meta_table.html.haml
234
235
  - app/views/push_type/assets/edit.html.haml
235
236
  - app/views/push_type/assets/index.html.haml
236
237
  - app/views/push_type/assets/new.html.haml
238
+ - app/views/push_type/assets/trash.html.haml
237
239
  - app/views/push_type/fields/_default.html.haml
238
240
  - app/views/push_type/fields/_tag_list.html.haml
239
241
  - app/views/push_type/nodes/_form_fields.html.haml
242
+ - app/views/push_type/nodes/_form_submit.html.haml
240
243
  - app/views/push_type/nodes/_meta_table.html.haml
241
244
  - app/views/push_type/nodes/_new_node_button.html.haml
242
245
  - app/views/push_type/nodes/edit.html.haml
243
246
  - app/views/push_type/nodes/index.html.haml
244
247
  - app/views/push_type/nodes/new.html.haml
248
+ - app/views/push_type/nodes/trash.html.haml
245
249
  - app/views/push_type/users/_form.html.haml
246
250
  - app/views/push_type/users/_meta_table.html.haml
247
251
  - app/views/push_type/users/_user.html.haml
@@ -293,10 +297,10 @@ files:
293
297
  - test/dummy/config/locales/en.yml
294
298
  - test/dummy/config/routes.rb
295
299
  - test/dummy/config/secrets.yml
296
- - test/dummy/db/migrate/20150209204345_create_push_type_users.push_type.rb
297
- - test/dummy/db/migrate/20150209204346_create_push_type_nodes.push_type.rb
298
- - test/dummy/db/migrate/20150209204347_create_push_type_node_hierarchies.push_type.rb
299
- - test/dummy/db/migrate/20150209204348_create_push_type_assets.push_type.rb
300
+ - test/dummy/db/migrate/20150222152455_create_push_type_users.push_type.rb
301
+ - test/dummy/db/migrate/20150222152456_create_push_type_nodes.push_type.rb
302
+ - test/dummy/db/migrate/20150222152457_create_push_type_node_hierarchies.push_type.rb
303
+ - test/dummy/db/migrate/20150222152458_create_push_type_assets.push_type.rb
300
304
  - test/dummy/db/schema.rb
301
305
  - test/dummy/db/seeds.rb
302
306
  - test/dummy/log/test.log
@@ -370,6 +374,7 @@ files:
370
374
  - test/dummy/tmp/cache/assets/test/sprockets/27d0805c68db0e1ea5335f4ad7273237
371
375
  - test/dummy/tmp/cache/assets/test/sprockets/2821176477eee8de7b9581f0564d0947
372
376
  - test/dummy/tmp/cache/assets/test/sprockets/2929961e63046a72db4e8d82548a8f31
377
+ - test/dummy/tmp/cache/assets/test/sprockets/30f88df6b769522639aee569e18ab005
373
378
  - test/dummy/tmp/cache/assets/test/sprockets/312dcc14683b058a2ecb35f844b45deb
374
379
  - test/dummy/tmp/cache/assets/test/sprockets/3508023b6222e6b0876c773e38ec700d
375
380
  - test/dummy/tmp/cache/assets/test/sprockets/488d63b20534d2642d48b86b5a267a3b
@@ -378,6 +383,7 @@ files:
378
383
  - test/dummy/tmp/cache/assets/test/sprockets/57531b6d66c8c471ca21a68cde85f198
379
384
  - test/dummy/tmp/cache/assets/test/sprockets/5c694af01dab7474cace85e2e37233af
380
385
  - test/dummy/tmp/cache/assets/test/sprockets/5eb2ada2e9af19cdbe5cb8750ce801df
386
+ - test/dummy/tmp/cache/assets/test/sprockets/5f85da4ac11a64f005e2656b99be44ac
381
387
  - test/dummy/tmp/cache/assets/test/sprockets/6245a5f4c9368169ba2cab2de39b1316
382
388
  - test/dummy/tmp/cache/assets/test/sprockets/633ffb1bd470dc99106053fe08ffcef3
383
389
  - test/dummy/tmp/cache/assets/test/sprockets/6450b2170b90777c94faa92d8913b5af
@@ -395,15 +401,15 @@ files:
395
401
  - test/dummy/tmp/cache/assets/test/sprockets/8a34d99aaa243ebb4e60f483a5b5a817
396
402
  - test/dummy/tmp/cache/assets/test/sprockets/8b83fd34df285c871e41af1e2c3efda9
397
403
  - test/dummy/tmp/cache/assets/test/sprockets/8d531fdb806de0724337e0b80e253914
398
- - test/dummy/tmp/cache/assets/test/sprockets/8da458b8df4bfbd9fb0eed86c36442d4
399
404
  - test/dummy/tmp/cache/assets/test/sprockets/8df98e9b5189ffce4cf77a33533416a6
400
405
  - test/dummy/tmp/cache/assets/test/sprockets/91e13d81afe9041372ad8f79ee9159f4
401
406
  - test/dummy/tmp/cache/assets/test/sprockets/92716c1d1cdd92efe79de35a47956fc9
402
407
  - test/dummy/tmp/cache/assets/test/sprockets/93f1c8b2c57b6a34ce6be7a69af2eeab
403
408
  - test/dummy/tmp/cache/assets/test/sprockets/9850ccc5ff77cfe44eef6c931be25fa2
404
409
  - test/dummy/tmp/cache/assets/test/sprockets/9aef3ae1f0c62b895d86ab60901dd450
405
- - test/dummy/tmp/cache/assets/test/sprockets/a010781c05d478892856f75c751d6ab4
410
+ - test/dummy/tmp/cache/assets/test/sprockets/9c34afd1737e54e4eb06cc87ddf17b78
406
411
  - test/dummy/tmp/cache/assets/test/sprockets/a656594778473574f77b201837cc446f
412
+ - test/dummy/tmp/cache/assets/test/sprockets/a93ec74f5cd7f26f8c663d4c481fe689
407
413
  - test/dummy/tmp/cache/assets/test/sprockets/a9b8decaa2942e8913458c9f35da2693
408
414
  - test/dummy/tmp/cache/assets/test/sprockets/aab84c1f5c24fa406a94eac09d22b2a4
409
415
  - test/dummy/tmp/cache/assets/test/sprockets/aaf7959dea629271d23756ab876bc035
@@ -509,10 +515,10 @@ test_files:
509
515
  - test/dummy/config/routes.rb
510
516
  - test/dummy/config/secrets.yml
511
517
  - test/dummy/config.ru
512
- - test/dummy/db/migrate/20150209204345_create_push_type_users.push_type.rb
513
- - test/dummy/db/migrate/20150209204346_create_push_type_nodes.push_type.rb
514
- - test/dummy/db/migrate/20150209204347_create_push_type_node_hierarchies.push_type.rb
515
- - test/dummy/db/migrate/20150209204348_create_push_type_assets.push_type.rb
518
+ - test/dummy/db/migrate/20150222152455_create_push_type_users.push_type.rb
519
+ - test/dummy/db/migrate/20150222152456_create_push_type_nodes.push_type.rb
520
+ - test/dummy/db/migrate/20150222152457_create_push_type_node_hierarchies.push_type.rb
521
+ - test/dummy/db/migrate/20150222152458_create_push_type_assets.push_type.rb
516
522
  - test/dummy/db/schema.rb
517
523
  - test/dummy/db/seeds.rb
518
524
  - test/dummy/log/test.log
@@ -588,6 +594,7 @@ test_files:
588
594
  - test/dummy/tmp/cache/assets/test/sprockets/27d0805c68db0e1ea5335f4ad7273237
589
595
  - test/dummy/tmp/cache/assets/test/sprockets/2821176477eee8de7b9581f0564d0947
590
596
  - test/dummy/tmp/cache/assets/test/sprockets/2929961e63046a72db4e8d82548a8f31
597
+ - test/dummy/tmp/cache/assets/test/sprockets/30f88df6b769522639aee569e18ab005
591
598
  - test/dummy/tmp/cache/assets/test/sprockets/312dcc14683b058a2ecb35f844b45deb
592
599
  - test/dummy/tmp/cache/assets/test/sprockets/3508023b6222e6b0876c773e38ec700d
593
600
  - test/dummy/tmp/cache/assets/test/sprockets/488d63b20534d2642d48b86b5a267a3b
@@ -596,6 +603,7 @@ test_files:
596
603
  - test/dummy/tmp/cache/assets/test/sprockets/57531b6d66c8c471ca21a68cde85f198
597
604
  - test/dummy/tmp/cache/assets/test/sprockets/5c694af01dab7474cace85e2e37233af
598
605
  - test/dummy/tmp/cache/assets/test/sprockets/5eb2ada2e9af19cdbe5cb8750ce801df
606
+ - test/dummy/tmp/cache/assets/test/sprockets/5f85da4ac11a64f005e2656b99be44ac
599
607
  - test/dummy/tmp/cache/assets/test/sprockets/6245a5f4c9368169ba2cab2de39b1316
600
608
  - test/dummy/tmp/cache/assets/test/sprockets/633ffb1bd470dc99106053fe08ffcef3
601
609
  - test/dummy/tmp/cache/assets/test/sprockets/6450b2170b90777c94faa92d8913b5af
@@ -613,15 +621,15 @@ test_files:
613
621
  - test/dummy/tmp/cache/assets/test/sprockets/8a34d99aaa243ebb4e60f483a5b5a817
614
622
  - test/dummy/tmp/cache/assets/test/sprockets/8b83fd34df285c871e41af1e2c3efda9
615
623
  - test/dummy/tmp/cache/assets/test/sprockets/8d531fdb806de0724337e0b80e253914
616
- - test/dummy/tmp/cache/assets/test/sprockets/8da458b8df4bfbd9fb0eed86c36442d4
617
624
  - test/dummy/tmp/cache/assets/test/sprockets/8df98e9b5189ffce4cf77a33533416a6
618
625
  - test/dummy/tmp/cache/assets/test/sprockets/91e13d81afe9041372ad8f79ee9159f4
619
626
  - test/dummy/tmp/cache/assets/test/sprockets/92716c1d1cdd92efe79de35a47956fc9
620
627
  - test/dummy/tmp/cache/assets/test/sprockets/93f1c8b2c57b6a34ce6be7a69af2eeab
621
628
  - test/dummy/tmp/cache/assets/test/sprockets/9850ccc5ff77cfe44eef6c931be25fa2
622
629
  - test/dummy/tmp/cache/assets/test/sprockets/9aef3ae1f0c62b895d86ab60901dd450
623
- - test/dummy/tmp/cache/assets/test/sprockets/a010781c05d478892856f75c751d6ab4
630
+ - test/dummy/tmp/cache/assets/test/sprockets/9c34afd1737e54e4eb06cc87ddf17b78
624
631
  - test/dummy/tmp/cache/assets/test/sprockets/a656594778473574f77b201837cc446f
632
+ - test/dummy/tmp/cache/assets/test/sprockets/a93ec74f5cd7f26f8c663d4c481fe689
625
633
  - test/dummy/tmp/cache/assets/test/sprockets/a9b8decaa2942e8913458c9f35da2693
626
634
  - test/dummy/tmp/cache/assets/test/sprockets/aab84c1f5c24fa406a94eac09d22b2a4
627
635
  - test/dummy/tmp/cache/assets/test/sprockets/aaf7959dea629271d23756ab876bc035