push_type_admin 0.6.0.beta.1 → 0.6.0.beta.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (92) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/push_type/admin.js.coffee +7 -4
  3. data/app/assets/javascripts/push_type/fields/asset_field.js.coffee +2 -1
  4. data/app/assets/javascripts/push_type/fields/date_time_fields.js.coffee +9 -6
  5. data/app/assets/javascripts/push_type/fields/repeater_field.js.coffee +28 -12
  6. data/app/assets/javascripts/push_type/fields/{relation_fields.js.coffee → select_fields.js.coffee} +18 -3
  7. data/app/helpers/push_type/fields_helper.rb +2 -27
  8. data/app/views/push_type/fields/_asset.html.haml +3 -3
  9. data/app/views/push_type/fields/_date.html.haml +1 -1
  10. data/app/views/push_type/fields/_matrix.html.haml +20 -10
  11. data/app/views/push_type/fields/_relation.html.haml +1 -1
  12. data/app/views/push_type/fields/_repeater.html.haml +18 -10
  13. data/app/views/push_type/fields/_select.html.haml +1 -1
  14. data/test/dummy/config/initializers/push_type.rb +1 -1
  15. data/test/dummy/config/secrets.yml +2 -2
  16. data/test/dummy/db/schema.rb +1 -1
  17. data/test/dummy/log/test.log +4520 -4520
  18. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/{b9JQPxW4JXsEMPg6IuwbcxAuP2OhDDjLKHRDAmL9gi0.cache → 2EThNHqLu_xwuBEx4vHV3OET28iaKx6e_PUWDDYCfNA.cache} +1 -1
  19. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/3LxVbFL3l9A2TlSeH7h2o-F13L_JW1mkCx_M9d4C7A8.cache +46 -0
  20. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/68-rfVTVnRlWELlXq3fFfQ-DJzuJPuIRXihjH-A4DDw.cache +0 -0
  21. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/8Yus8_gDNuUFZEcVfeXKTB56TPihlWLL6d8qBUtlxhs.cache +0 -0
  22. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/{EFi353vPjI0mCdem6bROYjtNuvlKj3EcwMkp5g5Mpj0.cache → 9uv1sZD3AP_O2KaJodca_1LtmauwIODXfzHvRu2G7-c.cache} +1 -1
  23. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/AKNuwBosUS_xVARIwHOtZLhpTj0VGfcpMSDOzY5VYSM.cache +1 -0
  24. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/{gTuX3cv-vdz9qv8gNX5F84Ei5mIJttVCsJjrqv4Np5g.cache → CASd7mtaP88OldKeSPlNlSe5Z0rXQDEwSVTCfeSoblw.cache} +1 -1
  25. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/FtlieXse4_zwRlqG_RseVlz-TXIop-wClSIXiGyCa-k.cache +0 -0
  26. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/GSuwmAmknqPxy3lOcjsmOG1cGtWUAK67WCqDt3pWc0E.cache +0 -0
  27. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/NOLzY4N8876kNz0nVXOuWtF5FApAsa9NO-e4quADtHM.cache +1 -0
  28. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/{WzG6jRDGbAJ41fKtKf8Rmip8oknkkLAfWgvOd0kkgjY.cache → RZ7U3cmHsXIKt6ekhKZP6Pw8KEtCwk7Hy9HViUWfQj0.cache} +2 -1
  29. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/Ti3ckxVqeNRd1ShfRfv4oOZZ8Boq8qKJB6y_Fv9ytU0.cache +0 -0
  30. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/{4AF6EbpH49NMHFQdc9OnIUfkRLM8lKlSBqaBvUVo3KM.cache → Uh8MXM6z2fmNXc4sqqPfSRoLUQPEFMEmu2Ifr44NsEc.cache} +1 -1
  31. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/{VkZ0DGEafpmCHjq-WFxDxbu3tQIQdddqOV-7qXmT_Js.cache → VT4ptrpfuw0joWBCiDIXoO5_j6knZOUqsEHVhSzZDug.cache} +0 -0
  32. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/Z1wb-zyOfM070cy_9rtWent0zzV8LZK8Sj8a3WfQhps.cache +0 -0
  33. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/Za-bWpyPHwDgncSmeFii-kf2OBoGGfM9hq7a2ek4UB0.cache +0 -0
  34. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/{bn4g9rKX92aXFOIF45FlF5DA0zMZCBDpiTSbD55ZsWA.cache → Zy6nYRgc2MyEGXCZnYSq-m1aAY44ChWxkTH6HT8TdOU.cache} +0 -0
  35. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/_lObpVI6whu6Za3BTLG5Hx8sNP9CVQ3ZMVzzdeK0NTQ.cache +2 -0
  36. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/{pbDdMevTripqjdLgZ-5gJL5yJ9u8_WN_wvD-2bDKchs.cache → fUjwjDI8TTWz2HrWHI5JMUs6j5Zhhpt4gu6RUqI_mUI.cache} +1 -1
  37. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/oGabhBAYxeJ2uXArE6IRQrs9lp2BEAwkEQNAVAlZJr8.cache +1 -0
  38. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/o_4u5rpJosTLleHQ6oFN50tkbxKhh8vZ-pV_WowjSHI.cache +1 -0
  39. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/oa9cqTFdyQ42k9Pg0lPDUvvUhMMoQ_GRclViUq6uaRg.cache +0 -0
  40. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/t3hCHk9ruCftcpXnkKI-fJNua82etX3bwNBEUtZ9lto.cache +1 -0
  41. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/vcC8Jy6hXCQmtvaDthKUCjhefi2JHvMcweAO6q6iCrQ.cache +30 -0
  42. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/{hHilQ4bcUd8onLMrObWVvrbBXGQji2ic5mYuEwKnnNY.cache → xW0MZCmr6qsKPiKHi-p_tpm4quTg9MjmOa-Od5_rIU4.cache} +10 -3
  43. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/y-lokYJWyt-TTTl8aQ5SR0Bjp8EDmS6mpAPPdm__J0w.cache +0 -0
  44. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/{tli_LD_p18lfhUBkYvg05DnTi6ub4yzVxobMsgAhJ80.cache → yVAlvXhvMp6zOjyiiyQBHnvrEidq7VqKYL8AtUH97uY.cache} +1 -1
  45. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/{oPvGci8wIDxeMOWgaH9tg9cmiw_uXWAnEgNSB1G36C4.cache → zU6SWg93-hpgJyTjFP15NSTMQgfkIQ0RK2aq5zpJXaQ.cache} +30 -4
  46. metadata +83 -116
  47. data/app/assets/javascripts/push_type/fields/matrix_field.js.coffee +0 -15
  48. data/app/assets/javascripts/push_type/fields/select_field.js.coffee +0 -6
  49. data/app/assets/javascripts/push_type/fields/tag_list_field.js.coffee +0 -7
  50. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/0Mgh5nyc3Pzes6lDtGL-Gv6ROsVKBh0lUsGUKzXw9kc.cache +0 -1
  51. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/1bVhd3dFMo9Ta1ZpKfvQhdvM5qaev4RvY_3DMATQbrM.cache +0 -0
  52. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/1nNN5hiPJhSBFbXuNhBFG9MAnwLc93VFIaeblAGZ3To.cache +0 -1
  53. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/5P1BK5rrkt_pXJofFRcpFsmzd_MJW8pl403ygUGDDxs.cache +0 -0
  54. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/5eYnCJcXnQkAOctRXxDskITlrtsk7nrYlEf8qxbEpgo.cache +0 -2
  55. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/5qCJaEhgPbRPDUGCudAamasvrzwHon7PLBJ3kPdq21s.cache +0 -1
  56. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/8OSaAe5xd1TtBUWFtqunZLYGKr-iTN8p_PgoaSfNjB4.cache +0 -2
  57. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/AFosvpRRM0x48rPHPouVE6eBrYZY6rcsRuUatpTfJzY.cache +0 -10
  58. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/EfhRYuSCpVmiWXUWtbKDKzGwk58paaV2GPb4_rREQPg.cache +0 -2
  59. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/H3uM2R6qlfQ8WXNmFFe23Sw3CSzcZm5YubuWd5pUIQA.cache +0 -0
  60. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/KYdGQ31taQ80bQiRyD5P527fNvIZmseD3OPEXwkWAYE.cache +0 -1
  61. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/Nut9NY263iE2JHbMgV8KTaKMThqrxHG242447k_-VG4.cache +0 -1
  62. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/PJ2ondm6na55yEj8Q6fzW4hErJNAV0hEJpN9a04eZ6I.cache +0 -1
  63. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/PLJqtbGuGip_S21FMzWEwuL8tHSd3_L_e9lBchsOD_Q.cache +0 -0
  64. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/YFAro2UoBm8P_QlrbBg2oTTP4EJddGbzgT_-7tFdP9M.cache +0 -11
  65. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/YNPSWoHxiTzJIdNt3nDkJQuR60jdFqw58LfFMz2WUkE.cache +0 -0
  66. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/YiHXNl-e6pgl9d3wk6J5jSq2zt9W9tmKloipy49G6XE.cache +0 -1
  67. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/cgRz1kQTuswK7Bo8D5znvQXHywdhrORz5fWIydag1F0.cache +0 -21
  68. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/e6yFwTLDDEwVn9G3mpsV_5f5r68_Ht5HSyOBjhhrioY.cache +0 -1
  69. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/hHoFdLF-c8SLdDf6BH8UmOS6j1HFnvT40DiKakWrRJE.cache +0 -1
  70. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/ij1h-nsseqe7QjynUzOIy_ewVf4ChzVoR2uAAuEvjCY.cache +0 -0
  71. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/jKX8VTCvXUSDC6yVThQiAX_wf1EWIkrZDhShrJnpFbQ.cache +0 -21
  72. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/kpJyJzfaviaCFO-XtHlJ7f40Em4nABVAVQHoqQHzzeA.cache +0 -0
  73. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/mZf34r0DjzryIiaM7TY7d5qOdD02esR0mCd6sNH3r-k.cache +0 -0
  74. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/muDDpoKNrUnYa7QCaUYWGeiwHFzO5RDGJUA-wj606Bs.cache +0 -1
  75. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/rpmymrTDaltDPEmKOAQPQ2FObPIrhRDS-6ImndpqPb0.cache +0 -17
  76. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/sEa2reB8yNAAce0aN3ByKwFb1NmMmqK3hh9CDh6wYdA.cache +0 -1
  77. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/t_gbM3iDelNCbFx1f94Th2HHAAEr9E6mgKDWru8YYpI.cache +0 -0
  78. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/wHBZ11mt80O4IBCWSmsX_xLwmIgkoS-zXRE2O80Jg-4.cache +0 -0
  79. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/y3KGeoqel0zi9J24AzufRd1-enK-SZMtCdTOxn3pxHQ.cache +0 -1
  80. /data/test/dummy/db/migrate/{20151015181712_create_push_type_users.push_type.rb → 20151102165855_create_push_type_users.push_type.rb} +0 -0
  81. /data/test/dummy/db/migrate/{20151015181713_create_push_type_nodes.push_type.rb → 20151102165856_create_push_type_nodes.push_type.rb} +0 -0
  82. /data/test/dummy/db/migrate/{20151015181714_create_push_type_node_hierarchies.push_type.rb → 20151102165857_create_push_type_node_hierarchies.push_type.rb} +0 -0
  83. /data/test/dummy/db/migrate/{20151015181715_create_push_type_assets.push_type.rb → 20151102165858_create_push_type_assets.push_type.rb} +0 -0
  84. /data/test/dummy/db/migrate/{20151015181716_create_push_type_taxonomies.push_type.rb → 20151102165859_create_push_type_taxonomies.push_type.rb} +0 -0
  85. /data/test/dummy/db/migrate/{20151015181717_create_push_type_taxonomy_hierarchies.push_type.rb → 20151102165860_create_push_type_taxonomy_hierarchies.push_type.rb} +0 -0
  86. /data/test/dummy/db/migrate/{20151015181718_add_field_store_default_values.push_type.rb → 20151102165861_add_field_store_default_values.push_type.rb} +0 -0
  87. /data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/{b_s0LvGnXotYeP7ueqwDIpeRe_32gsm1zkbeE2UmozQ.cache → A3QMbn17wDkitGAvrQzrM5Yvwc4n485nbIme7P3pipI.cache} +0 -0
  88. /data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/{UXhmsxcPbGcG36Pk6KUujzn9noRkcRgGOohZ8wP8O58.cache → JWU4QAKxpGFz1WxBsIoXKK6IH5hWAZ6ulEAwKiOz1X4.cache} +0 -0
  89. /data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/{5fEpjdfAeqZsIjcnsi0MPOE80IWL2sGRCSSxfUUIIoM.cache → Lix1By3vZQ-BSL0QFJuiriDgj0L7Tl9DD-8Feoiaa-Q.cache} +0 -0
  90. /data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/{PghaRuu1VpTYo6FSvTUg-wiFBQhv4uj69lpKjI6JjKQ.cache → emReUhkfaQkbNvBYnI2hyBwbph-vKsk323NNnNZP2v0.cache} +0 -0
  91. /data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/{DlH-DnEsmWl8jIHY3k5keLk6ZTl0UcGFooi9qEQzg0Q.cache → nhJuId471nk5_X22-JkYdy2xSm6cLXff_H6Xt5COar8.cache} +0 -0
  92. /data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/{uZWjCUafkm7SECxzLEtFxy5P7sfw2rYKt8yN59KJ42Q.cache → uWg65r77iUJib7MTS9pw5aH9FKMjlzUSRKBD331BPtI.cache} +0 -0
@@ -1,15 +0,0 @@
1
- @app.controller 'MatrixFieldCtrl', ['$scope', ($scope) ->
2
-
3
- $scope.rows = [{}]
4
-
5
- $scope.initRows = (rows) ->
6
- $scope.rows = rows if rows?
7
-
8
- $scope.addRow = ->
9
- $scope.rows.push {}
10
-
11
- $scope.removeRow = (i) ->
12
- console.log "Removeing #{i}"
13
- $scope.rows.splice(i, 1);
14
-
15
- ]
@@ -1,6 +0,0 @@
1
- # jQuery init
2
- $(document).on 'ready page:load', ->
3
-
4
- $('select', '.select').selectize
5
- plugins: ['remove_button']
6
- hideSelected: false
@@ -1,7 +0,0 @@
1
- # jQuery init
2
- $(document).on 'ready page:load', ->
3
-
4
- $('select', '.tag_list').selectize
5
- plugins: ['remove_button', 'drag_drop']
6
- create: true
7
- persist: false
@@ -1 +0,0 @@
1
- "%���m�q��0�`K��v�G�{� 3:�}ü
@@ -1 +0,0 @@
1
- I"�/Users/aaron/dev/pushcode/push_type/admin/app/assets/javascripts/push_type/fields/relation_fields.js.coffee?type=application/javascript&pipeline=self&id=3ad0018685ff1de568e29d880152bcda07eb445d3f889581d493f3b1f07bbd9a:ET
@@ -1,2 +0,0 @@
1
- [o:Set:
2
- @hash{ I"environment-version:ETTI"environment-paths;TTI"jprocessors:type=application/javascript&file_type=application/javascript&engines=.coffee&pipeline=self;TTI"}file-digest:///Users/aaron/dev/pushcode/push_type/admin/app/assets/javascripts/push_type/fields/tag_list_field.js.coffee;TT
@@ -1 +0,0 @@
1
- I"�/Users/aaron/dev/pushcode/push_type/admin/app/assets/javascripts/push_type/fields/select_field.js.coffee?type=application/javascript&pipeline=self&id=dbf77143b0658579ccaa927d3eea837787aa118f1986f145df1183acd1a3bd86:ET
@@ -1,2 +0,0 @@
1
- [o:Set:
2
- @hash{ I"environment-version:ETTI"environment-paths;TTI"jprocessors:type=application/javascript&file_type=application/javascript&engines=.coffee&pipeline=self;TTI"~file-digest:///Users/aaron/dev/pushcode/push_type/admin/app/assets/javascripts/push_type/fields/relation_fields.js.coffee;TT
@@ -1,10 +0,0 @@
1
- I"�(function() {
2
- $(document).on('ready page:load', function() {
3
- return $('select', '.select').selectize({
4
- plugins: ['remove_button'],
5
- hideSelected: false
6
- });
7
- });
8
-
9
- }).call(this);
10
- :ET
@@ -1,2 +0,0 @@
1
- [o:Set:
2
- @hash{ I"environment-version:ETTI"environment-paths;TTI"jprocessors:type=application/javascript&file_type=application/javascript&engines=.coffee&pipeline=self;TTI"{file-digest:///Users/aaron/dev/pushcode/push_type/admin/app/assets/javascripts/push_type/fields/matrix_field.js.coffee;TT
@@ -1 +0,0 @@
1
- I"�/Users/aaron/dev/pushcode/push_type/admin/app/assets/javascripts/push_type/fields/tag_list_field.js.coffee?type=application/javascript&pipeline=self&id=f0ccc4a9b16b184e60d377741df5716357cccae9a47b5f5fbe3444cba5964988:ET
@@ -1 +0,0 @@
1
- "%^D�l��[��6�;��am�(~��o���F�U�H
@@ -1 +0,0 @@
1
- "%�aI����㤬���þ�hP*��>������e
@@ -1,11 +0,0 @@
1
- I"�(function() {
2
- $(document).on('ready page:load', function() {
3
- return $('select', '.tag_list').selectize({
4
- plugins: ['remove_button', 'drag_drop'],
5
- create: true,
6
- persist: false
7
- });
8
- });
9
-
10
- }).call(this);
11
- :ET
@@ -1 +0,0 @@
1
- "% ��Q�C�jޞ�ۮ�vD��c���>c��
@@ -1,21 +0,0 @@
1
- I"�(function() {
2
- this.app.controller('RepeaterFieldCtrl', [
3
- '$scope', function($scope) {
4
- $scope.rows = [null];
5
- $scope.initRows = function(rows) {
6
- if (rows != null) {
7
- return $scope.rows = rows;
8
- }
9
- };
10
- $scope.addRow = function() {
11
- return $scope.rows.push(null);
12
- };
13
- return $scope.removeRow = function(i) {
14
- console.log("Removeing " + i);
15
- return $scope.rows.splice(i, 1);
16
- };
17
- }
18
- ]);
19
-
20
- }).call(this);
21
- :ET
@@ -1 +0,0 @@
1
- "%�$&�O!y������oU/��erv�w�t �c��
@@ -1 +0,0 @@
1
- "%�����賷�Qc� 8�ւu��+���6�32
@@ -1,21 +0,0 @@
1
- I"�(function() {
2
- this.app.controller('MatrixFieldCtrl', [
3
- '$scope', function($scope) {
4
- $scope.rows = [{}];
5
- $scope.initRows = function(rows) {
6
- if (rows != null) {
7
- return $scope.rows = rows;
8
- }
9
- };
10
- $scope.addRow = function() {
11
- return $scope.rows.push({});
12
- };
13
- return $scope.removeRow = function(i) {
14
- console.log("Removeing " + i);
15
- return $scope.rows.splice(i, 1);
16
- };
17
- }
18
- ]);
19
-
20
- }).call(this);
21
- :ET
@@ -1 +0,0 @@
1
- I"�/Users/aaron/dev/pushcode/push_type/admin/app/assets/javascripts/push_type/fields/matrix_field.js.coffee?type=application/javascript&pipeline=self&id=3bad6aba267ae1e64b04856a42b8cfe7d61bac955bee50d122b2926ce2bea5a6:ET
@@ -1,17 +0,0 @@
1
- I"�(function() {
2
- $(document).on('ready page:load', function() {
3
- $('input', '.date').pickadate({
4
- format: 'd mmmm yyyy',
5
- formatSubmit: 'yyyy-mm-dd',
6
- hiddenName: true
7
- });
8
- return $('input', '.time').pickatime({
9
- format: 'h:i A',
10
- formatSubmit: 'HH:i',
11
- formatLabel: 'h:i A <sm!all>HH:i</sm!all>',
12
- hiddenName: true
13
- });
14
- });
15
-
16
- }).call(this);
17
- :ET
@@ -1 +0,0 @@
1
- "%[�∰����M��*�d��W�U�uZ��(8VQN
@@ -1 +0,0 @@
1
- "%M��������V��Ȧ|f]B��]ٴ��#D