cm_page_builder-rails 0.1.8 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (55) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +31 -15
  3. data/app/models/cm_page_builder/rails/page.rb +39 -23
  4. data/app/views/cm_page_builder/rails/pages/_form.html.slim +1 -2
  5. data/app/views/cm_page_builder/rails/pages/edit.html.slim +0 -3
  6. data/config/routes.rb +4 -4
  7. data/lib/cm_page_builder/rails/version.rb +1 -1
  8. data/spec/dummy/app/controllers/test_containers_controller.rb +43 -0
  9. data/spec/dummy/app/views/test_containers/_form.html.slim +10 -0
  10. data/spec/dummy/app/views/test_containers/edit.html.slim +7 -0
  11. data/spec/dummy/app/views/test_containers/index.html.slim +21 -0
  12. data/spec/dummy/app/views/test_containers/new.html.slim +5 -0
  13. data/spec/dummy/app/views/test_containers/show.html.slim +3 -0
  14. data/spec/dummy/config/database.yml +1 -1
  15. data/spec/dummy/config/routes.rb +1 -0
  16. data/spec/dummy/db/migrate/20191114114259_create_cm_page_builder_rails_pages.cm_page_builder_rails.rb +10 -0
  17. data/spec/dummy/db/migrate/20191114114260_create_cm_page_builder_rails_page_components.cm_page_builder_rails.rb +14 -0
  18. data/spec/dummy/db/migrate/20191114114261_change_page_component_primary_key.cm_page_builder_rails.rb +12 -0
  19. data/spec/dummy/log/development.log +1780 -0
  20. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/-8/-8wLv-gkS0lWbg5gMshjwVvEX-JbIZUEBVR2pr9_bKA.cache +1 -0
  21. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/5D/5DPzt4__rm7GhngiwkT-lUOoi4bxaoTs0K5kvJStU0k.cache +2 -0
  22. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/8t/8tWHnBupt4r5zX1sjy8C6i7S3z5ajB6srIvDWOWVf9M.cache +3 -0
  23. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Ac/AcI542cVIIgUfhEHlfWRg1sVCk-ci8q7KJjtfiXWrqU.cache +1 -0
  24. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Gc/GcDr51VZAgE8TwLQ4lVLRgj06T_sip-iHJ31oZhzX2E.cache +1 -0
  25. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/K5/K5x_Jacr65xC7yksZkQ8Lu-ZDQDOr7RKTkXGmRF7rNg.cache +0 -0
  26. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Li/LiQyyzJdhsuIp-k1fAZr5FGe5zI5auwfWTrl0HRmfgc.cache +1 -0
  27. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/N3/N3Sm2Yo3ko7YeZE7Tm84toiF8Uc8SvwN_dPmwE31NHY.cache +1 -0
  28. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Om/OmMgC0Ie4yVZz8R3xcFMwe3zaxbHUZjsMyO9ps04Qpc.cache +1 -0
  29. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/P-/P-zt7qJNJDPVCYemhhzcCrULNd8WMOrYSEfLANHYDmg.cache +1 -0
  30. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Pe/Peitb8vcIuqpCVAjgFYYksat7BhWf5MRwqriqxp4WW4.cache +1 -0
  31. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Sf/SfmrkSwWT4EUyQAKsRlhn5MHbfVz_o_VBzAuaEK7bAU.cache +1 -0
  32. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Y0/Y0-81RV0kP3kkrrtpu2uMeyzo64nCXW3SDJlw6m2fj4.cache +0 -0
  33. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/dN/dN2-E0CCM5wtYZomdgp64eQAmopGFC0ePOhTRWuNBvQ.cache +0 -0
  34. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/eS/eS3il8sFiF70CJZmKBPTm1FLec-zw8B7IzPPvkuK1u8.cache +0 -0
  35. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/jK/jK5UBWD1YVDtsefRk_JwOBR72ghgtCV--u7IlbUc03s.cache +2 -0
  36. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/kP/kPcwhPILUYMzJ6ur2tH2T8usC53KxUxepYBSOZ7VUt8.cache +0 -0
  37. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/lS/lS6RwqteayFTAdf6FgMw11bXGGI8DWJFPqHxP2XkXd0.cache +1 -0
  38. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/n_/n_xYqQYhwEMQknb3jFQnjlxxBE9TzMNHCdJ-bEyZFIw.cache +2 -0
  39. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/nx/nxTv3sKVUQZADJyM3dPaVmUA78MIsMLD_K279yN_GsI.cache +2 -0
  40. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/pi/pi6etlT1bMiWX7thI__-KxLHhEoKAo30IgXOwtRK9t0.cache +3 -0
  41. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/qP/qPmv5snMrDw830S6hSICDcnIy7kVEWoFKXhGKT38lG4.cache +2 -0
  42. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/st/st-pTV9TPstETNHhsnxBCbAlS05rcNIKba7hRNbkmUA.cache +0 -0
  43. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/w4/w4GqgS1yUGmN0YskbhLsZ8iu1mDpp86ioSjy3_mmUIA.cache +0 -0
  44. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/wJ/wJZCYzf_JMRm-wPqe-Mv1sMfBxQTe3DtTTjinVeNWWc.cache +1 -0
  45. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/yv/yvvhpgDo16OpYhb-dcBGMN6o5Dnk-R7nbOf5GPpdL0k.cache +1 -0
  46. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/yx/yxWvmr9K44epqBAsbVq9PanAxfY0mrNIrysWagrWEps.cache +1 -0
  47. metadata +74 -10
  48. data/app/controllers/cm_page_builder/rails/page_components_controller.rb +0 -62
  49. data/app/views/cm_page_builder/rails/page_components/_form.html.slim +0 -24
  50. data/app/views/cm_page_builder/rails/page_components/edit.html.slim +0 -8
  51. data/app/views/cm_page_builder/rails/page_components/index.html.slim +0 -29
  52. data/app/views/cm_page_builder/rails/page_components/new.html.slim +0 -5
  53. data/app/views/cm_page_builder/rails/page_components/show.html.slim +0 -21
  54. data/app/views/cm_page_builder/rails/pages/index.html.slim +0 -21
  55. data/app/views/cm_page_builder/rails/pages/new.html.slim +0 -5
@@ -0,0 +1 @@
1
+ I"�/home/camilo/commutatus/cm-page-builder-rails/app/assets/stylesheets/cm_page_builder/rails/application.css?type=text/css&pipeline=self&id=a9ec30f9d16f3141b878420797f875be2350452f7d030d2095088e1ac4bdcd31:ET
@@ -0,0 +1,2 @@
1
+ [o:Set:
2
+ @hash}I"environment-version:ETTI"environment-paths;TTI"rails-env;TTI"0processors:type=text/css&file_type=text/css;TTI"}file-digest:///home/camilo/commutatus/cm-page-builder-rails/app/assets/stylesheets/cm_page_builder/rails/application.css;TTI">processors:type=text/css&file_type=text/css&pipeline=self;TTI"|file-digest:///home/camilo/commutatus/cm-page-builder-rails/app/assets/stylesheets/cm_page_builder/rails/page_components.css;TTI"wfile-digest:///home/camilo/commutatus/cm-page-builder-rails/app/assets/stylesheets/cm_page_builder/rails/pages.css;TTI"mfile-digest:///home/camilo/commutatus/cm-page-builder-rails/app/assets/stylesheets/cm_page_builder/rails;TTF
@@ -0,0 +1,3 @@
1
+ [o:Set:
2
+ @hash}
3
+ I"environment-version:ETTI"environment-paths;TTI"rails-env;TTI">processors:type=text/css&file_type=text/css&pipeline=self;TTI"|file-digest:///home/camilo/commutatus/cm-page-builder-rails/app/assets/stylesheets/cm_page_builder/rails/page_components.css;TTF
@@ -0,0 +1 @@
1
+ I"�/home/camilo/commutatus/cm-page-builder-rails/app/assets/stylesheets/cm_page_builder/rails/page_components.css?type=text/css&pipeline=self&id=ff178c5e70184b80e41067521024dec07b1d610e21ad25afe3147b905d482463:ET
@@ -0,0 +1 @@
1
+ I"�/home/camilo/commutatus/cm-page-builder-rails/app/assets/stylesheets/cm_page_builder/rails/pages.css?type=text/css&pipeline=self&id=361e50278f166bc00b082a8dfc04db4ca3f103784fea045b2bc78ba857bc242a:ET
@@ -0,0 +1 @@
1
+ "%�<������X���̀#+�����,�(o���
@@ -0,0 +1 @@
1
+ I"}app/assets/stylesheets/application.css?type=text/css&id=e58b7f35e43b664e5a5b3c0ead59288c6201cce31298b3503428a13a8a7f4ff0:ET
@@ -0,0 +1 @@
1
+ "%֧�NTZq�בH�L��#p3��Jg!��)
@@ -0,0 +1 @@
1
+ "%��Rm�v�S3.��O�L���ڹc�ƕq�=_j�
@@ -0,0 +1 @@
1
+ "%֧�NTZq�בH�L��#p3��Jg!��)
@@ -0,0 +1 @@
1
+ "%�<������X���̀#+�����,�(o���
@@ -0,0 +1 @@
1
+ "%�F�UK%<Z�?ߖ4}}3�@ ؤ��a�P�
@@ -0,0 +1,2 @@
1
+ [o:Set:
2
+ @hash} I"environment-version:ETTI"environment-paths;TTI"rails-env;TTI">processors:type=text/css&file_type=text/css&pipeline=self;TTI"9file-digest://app/assets/stylesheets/application.css;TTI")file-digest://app/assets/stylesheets;TTF
@@ -0,0 +1,2 @@
1
+ [o:Set:
2
+ @hash} I"environment-version:ETTI"environment-paths;TTI"rails-env;TTI"0processors:type=text/css&file_type=text/css;TTI"9file-digest://app/assets/stylesheets/application.css;TTI">processors:type=text/css&file_type=text/css&pipeline=self;TTI")file-digest://app/assets/stylesheets;TTF
@@ -0,0 +1,3 @@
1
+ [o:Set:
2
+ @hash}
3
+ I"environment-version:ETTI"environment-paths;TTI"rails-env;TTI">processors:type=text/css&file_type=text/css&pipeline=self;TTI"wfile-digest:///home/camilo/commutatus/cm-page-builder-rails/app/assets/stylesheets/cm_page_builder/rails/pages.css;TTF
@@ -0,0 +1,2 @@
1
+ [o:Set:
2
+ @hash} I"environment-version:ETTI"environment-paths;TTI"rails-env;TTI"?processors:type=text/css&file_type=text/css&pipeline=debug;TTI"9file-digest://app/assets/stylesheets/application.css;TTI">processors:type=text/css&file_type=text/css&pipeline=self;TTI")file-digest://app/assets/stylesheets;TTF
@@ -0,0 +1 @@
1
+ I"�app/assets/stylesheets/application.css?type=text/css&pipeline=self&id=f32e470685928ca9e25de3af4649f1b59dca641e03573319dda5c92b3a2100cf:ET
@@ -0,0 +1 @@
1
+ I"�/home/camilo/commutatus/cm-page-builder-rails/app/assets/stylesheets/cm_page_builder/rails/application.css?type=text/css&id=86e0f7668d81b949c56c913287bd0284d74b14398fd51f8994b8f985ea107bd4:ET
@@ -0,0 +1 @@
1
+ I"�app/assets/stylesheets/application.css?type=text/css&pipeline=debug&id=059736c756ed85829c29923996694864ea29be0e4f19f896f711f6a8ba116f85:ET
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cm_page_builder-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Camilo Ernesto Forero Junco
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-10-03 00:00:00.000000000 Z
11
+ date: 2020-06-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -82,7 +82,6 @@ files:
82
82
  - app/assets/stylesheets/cm_page_builder/rails/pages.css
83
83
  - app/assets/stylesheets/scaffold.css
84
84
  - app/controllers/cm_page_builder/rails/application_controller.rb
85
- - app/controllers/cm_page_builder/rails/page_components_controller.rb
86
85
  - app/controllers/cm_page_builder/rails/pages_controller.rb
87
86
  - app/helpers/cm_page_builder/rails/application_helper.rb
88
87
  - app/helpers/cm_page_builder/rails/page_components_helper.rb
@@ -93,15 +92,8 @@ files:
93
92
  - app/models/cm_page_builder/rails/page.rb
94
93
  - app/models/cm_page_builder/rails/page_component.rb
95
94
  - app/models/concerns/cm_page_builder/rails/has_cm_content.rb
96
- - app/views/cm_page_builder/rails/page_components/_form.html.slim
97
- - app/views/cm_page_builder/rails/page_components/edit.html.slim
98
- - app/views/cm_page_builder/rails/page_components/index.html.slim
99
- - app/views/cm_page_builder/rails/page_components/new.html.slim
100
- - app/views/cm_page_builder/rails/page_components/show.html.slim
101
95
  - app/views/cm_page_builder/rails/pages/_form.html.slim
102
96
  - app/views/cm_page_builder/rails/pages/edit.html.slim
103
- - app/views/cm_page_builder/rails/pages/index.html.slim
104
- - app/views/cm_page_builder/rails/pages/new.html.slim
105
97
  - app/views/cm_page_builder/rails/pages/show.html.slim
106
98
  - app/views/layouts/cm_page_builder/rails/application.html.erb
107
99
  - config/routes.rb
@@ -119,12 +111,18 @@ files:
119
111
  - spec/dummy/app/channels/application_cable/channel.rb
120
112
  - spec/dummy/app/channels/application_cable/connection.rb
121
113
  - spec/dummy/app/controllers/application_controller.rb
114
+ - spec/dummy/app/controllers/test_containers_controller.rb
122
115
  - spec/dummy/app/helpers/application_helper.rb
123
116
  - spec/dummy/app/javascript/packs/application.js
124
117
  - spec/dummy/app/jobs/application_job.rb
125
118
  - spec/dummy/app/models/application_record.rb
126
119
  - spec/dummy/app/models/test_container.rb
127
120
  - spec/dummy/app/views/layouts/application.html.erb
121
+ - spec/dummy/app/views/test_containers/_form.html.slim
122
+ - spec/dummy/app/views/test_containers/edit.html.slim
123
+ - spec/dummy/app/views/test_containers/index.html.slim
124
+ - spec/dummy/app/views/test_containers/new.html.slim
125
+ - spec/dummy/app/views/test_containers/show.html.slim
128
126
  - spec/dummy/bin/rails
129
127
  - spec/dummy/bin/rake
130
128
  - spec/dummy/bin/setup
@@ -153,6 +151,9 @@ files:
153
151
  - spec/dummy/config/storage.yml
154
152
  - spec/dummy/db/migrate/20190930111315_create_test_containers.rb
155
153
  - spec/dummy/db/migrate/20190930120755_create_active_storage_tables.active_storage.rb
154
+ - spec/dummy/db/migrate/20191114114259_create_cm_page_builder_rails_pages.cm_page_builder_rails.rb
155
+ - spec/dummy/db/migrate/20191114114260_create_cm_page_builder_rails_page_components.cm_page_builder_rails.rb
156
+ - spec/dummy/db/migrate/20191114114261_change_page_component_primary_key.cm_page_builder_rails.rb
156
157
  - spec/dummy/db/schema.rb
157
158
  - spec/dummy/log/development.log
158
159
  - spec/dummy/log/test.log
@@ -163,6 +164,33 @@ files:
163
164
  - spec/dummy/public/apple-touch-icon.png
164
165
  - spec/dummy/public/favicon.ico
165
166
  - spec/dummy/spec/models/test_container_spec.rb
167
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/-8/-8wLv-gkS0lWbg5gMshjwVvEX-JbIZUEBVR2pr9_bKA.cache
168
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/5D/5DPzt4__rm7GhngiwkT-lUOoi4bxaoTs0K5kvJStU0k.cache
169
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/8t/8tWHnBupt4r5zX1sjy8C6i7S3z5ajB6srIvDWOWVf9M.cache
170
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/Ac/AcI542cVIIgUfhEHlfWRg1sVCk-ci8q7KJjtfiXWrqU.cache
171
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/Gc/GcDr51VZAgE8TwLQ4lVLRgj06T_sip-iHJ31oZhzX2E.cache
172
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/K5/K5x_Jacr65xC7yksZkQ8Lu-ZDQDOr7RKTkXGmRF7rNg.cache
173
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/Li/LiQyyzJdhsuIp-k1fAZr5FGe5zI5auwfWTrl0HRmfgc.cache
174
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/N3/N3Sm2Yo3ko7YeZE7Tm84toiF8Uc8SvwN_dPmwE31NHY.cache
175
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/Om/OmMgC0Ie4yVZz8R3xcFMwe3zaxbHUZjsMyO9ps04Qpc.cache
176
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/P-/P-zt7qJNJDPVCYemhhzcCrULNd8WMOrYSEfLANHYDmg.cache
177
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/Pe/Peitb8vcIuqpCVAjgFYYksat7BhWf5MRwqriqxp4WW4.cache
178
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/Sf/SfmrkSwWT4EUyQAKsRlhn5MHbfVz_o_VBzAuaEK7bAU.cache
179
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/Y0/Y0-81RV0kP3kkrrtpu2uMeyzo64nCXW3SDJlw6m2fj4.cache
180
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/dN/dN2-E0CCM5wtYZomdgp64eQAmopGFC0ePOhTRWuNBvQ.cache
181
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/eS/eS3il8sFiF70CJZmKBPTm1FLec-zw8B7IzPPvkuK1u8.cache
182
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/jK/jK5UBWD1YVDtsefRk_JwOBR72ghgtCV--u7IlbUc03s.cache
183
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/kP/kPcwhPILUYMzJ6ur2tH2T8usC53KxUxepYBSOZ7VUt8.cache
184
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/lS/lS6RwqteayFTAdf6FgMw11bXGGI8DWJFPqHxP2XkXd0.cache
185
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/n_/n_xYqQYhwEMQknb3jFQnjlxxBE9TzMNHCdJ-bEyZFIw.cache
186
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/nx/nxTv3sKVUQZADJyM3dPaVmUA78MIsMLD_K279yN_GsI.cache
187
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/pi/pi6etlT1bMiWX7thI__-KxLHhEoKAo30IgXOwtRK9t0.cache
188
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/qP/qPmv5snMrDw830S6hSICDcnIy7kVEWoFKXhGKT38lG4.cache
189
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/st/st-pTV9TPstETNHhsnxBCbAlS05rcNIKba7hRNbkmUA.cache
190
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/w4/w4GqgS1yUGmN0YskbhLsZ8iu1mDpp86ioSjy3_mmUIA.cache
191
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/wJ/wJZCYzf_JMRm-wPqe-Mv1sMfBxQTe3DtTTjinVeNWWc.cache
192
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/yv/yvvhpgDo16OpYhb-dcBGMN6o5Dnk-R7nbOf5GPpdL0k.cache
193
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/yx/yxWvmr9K44epqBAsbVq9PanAxfY0mrNIrysWagrWEps.cache
166
194
  - spec/dummy/tmp/development_secret.txt
167
195
  - spec/fixtures/files/commutatus_logo.png
168
196
  - spec/models/cm_page_builder/rails/page_spec.rb
@@ -205,9 +233,15 @@ test_files:
205
233
  - spec/dummy/bin/rails
206
234
  - spec/dummy/config.ru
207
235
  - spec/dummy/app/javascript/packs/application.js
236
+ - spec/dummy/app/controllers/test_containers_controller.rb
208
237
  - spec/dummy/app/controllers/application_controller.rb
209
238
  - spec/dummy/app/models/application_record.rb
210
239
  - spec/dummy/app/models/test_container.rb
240
+ - spec/dummy/app/views/test_containers/edit.html.slim
241
+ - spec/dummy/app/views/test_containers/show.html.slim
242
+ - spec/dummy/app/views/test_containers/new.html.slim
243
+ - spec/dummy/app/views/test_containers/_form.html.slim
244
+ - spec/dummy/app/views/test_containers/index.html.slim
211
245
  - spec/dummy/app/views/layouts/application.html.erb
212
246
  - spec/dummy/app/jobs/application_job.rb
213
247
  - spec/dummy/app/assets/stylesheets/application.css
@@ -215,6 +249,33 @@ test_files:
215
249
  - spec/dummy/app/helpers/application_helper.rb
216
250
  - spec/dummy/app/channels/application_cable/channel.rb
217
251
  - spec/dummy/app/channels/application_cable/connection.rb
252
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/kP/kPcwhPILUYMzJ6ur2tH2T8usC53KxUxepYBSOZ7VUt8.cache
253
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/8t/8tWHnBupt4r5zX1sjy8C6i7S3z5ajB6srIvDWOWVf9M.cache
254
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/n_/n_xYqQYhwEMQknb3jFQnjlxxBE9TzMNHCdJ-bEyZFIw.cache
255
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/Ac/AcI542cVIIgUfhEHlfWRg1sVCk-ci8q7KJjtfiXWrqU.cache
256
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/Om/OmMgC0Ie4yVZz8R3xcFMwe3zaxbHUZjsMyO9ps04Qpc.cache
257
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/K5/K5x_Jacr65xC7yksZkQ8Lu-ZDQDOr7RKTkXGmRF7rNg.cache
258
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/Li/LiQyyzJdhsuIp-k1fAZr5FGe5zI5auwfWTrl0HRmfgc.cache
259
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/Sf/SfmrkSwWT4EUyQAKsRlhn5MHbfVz_o_VBzAuaEK7bAU.cache
260
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/Y0/Y0-81RV0kP3kkrrtpu2uMeyzo64nCXW3SDJlw6m2fj4.cache
261
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/lS/lS6RwqteayFTAdf6FgMw11bXGGI8DWJFPqHxP2XkXd0.cache
262
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/-8/-8wLv-gkS0lWbg5gMshjwVvEX-JbIZUEBVR2pr9_bKA.cache
263
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/Gc/GcDr51VZAgE8TwLQ4lVLRgj06T_sip-iHJ31oZhzX2E.cache
264
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/eS/eS3il8sFiF70CJZmKBPTm1FLec-zw8B7IzPPvkuK1u8.cache
265
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/N3/N3Sm2Yo3ko7YeZE7Tm84toiF8Uc8SvwN_dPmwE31NHY.cache
266
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/dN/dN2-E0CCM5wtYZomdgp64eQAmopGFC0ePOhTRWuNBvQ.cache
267
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/w4/w4GqgS1yUGmN0YskbhLsZ8iu1mDpp86ioSjy3_mmUIA.cache
268
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/wJ/wJZCYzf_JMRm-wPqe-Mv1sMfBxQTe3DtTTjinVeNWWc.cache
269
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/qP/qPmv5snMrDw830S6hSICDcnIy7kVEWoFKXhGKT38lG4.cache
270
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/st/st-pTV9TPstETNHhsnxBCbAlS05rcNIKba7hRNbkmUA.cache
271
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/5D/5DPzt4__rm7GhngiwkT-lUOoi4bxaoTs0K5kvJStU0k.cache
272
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/jK/jK5UBWD1YVDtsefRk_JwOBR72ghgtCV--u7IlbUc03s.cache
273
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/nx/nxTv3sKVUQZADJyM3dPaVmUA78MIsMLD_K279yN_GsI.cache
274
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/P-/P-zt7qJNJDPVCYemhhzcCrULNd8WMOrYSEfLANHYDmg.cache
275
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/Pe/Peitb8vcIuqpCVAjgFYYksat7BhWf5MRwqriqxp4WW4.cache
276
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/yv/yvvhpgDo16OpYhb-dcBGMN6o5Dnk-R7nbOf5GPpdL0k.cache
277
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/pi/pi6etlT1bMiWX7thI__-KxLHhEoKAo30IgXOwtRK9t0.cache
278
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/yx/yxWvmr9K44epqBAsbVq9PanAxfY0mrNIrysWagrWEps.cache
218
279
  - spec/dummy/tmp/development_secret.txt
219
280
  - spec/dummy/config/routes.rb
220
281
  - spec/dummy/config/spring.rb
@@ -241,7 +302,10 @@ test_files:
241
302
  - spec/dummy/log/development.log
242
303
  - spec/dummy/log/test.log
243
304
  - spec/dummy/db/migrate/20190930111315_create_test_containers.rb
305
+ - spec/dummy/db/migrate/20191114114260_create_cm_page_builder_rails_page_components.cm_page_builder_rails.rb
306
+ - spec/dummy/db/migrate/20191114114261_change_page_component_primary_key.cm_page_builder_rails.rb
244
307
  - spec/dummy/db/migrate/20190930120755_create_active_storage_tables.active_storage.rb
308
+ - spec/dummy/db/migrate/20191114114259_create_cm_page_builder_rails_pages.cm_page_builder_rails.rb
245
309
  - spec/dummy/db/schema.rb
246
310
  - spec/dummy/Rakefile
247
311
  - spec/rails_helper.rb
@@ -1,62 +0,0 @@
1
- require_dependency "cm_page_builder/rails/application_controller"
2
-
3
- module CmPageBuilder::Rails
4
- class PageComponentsController < ApplicationController
5
- before_action :set_page_component, only: [:show, :edit, :update, :destroy]
6
-
7
- # GET /page_components
8
- def index
9
- @page_components = PageComponent.all
10
- end
11
-
12
- # GET /page_components/1
13
- def show
14
- end
15
-
16
- # GET /page_components/new
17
- def new
18
- @page_component = PageComponent.new
19
- end
20
-
21
- # GET /page_components/1/edit
22
- def edit
23
- end
24
-
25
- # POST /page_components
26
- def create
27
- @page_component = PageComponent.new(page_component_params)
28
-
29
- if @page_component.save
30
- redirect_to @page_component, notice: 'Page component was successfully created.'
31
- else
32
- render :new
33
- end
34
- end
35
-
36
- # PATCH/PUT /page_components/1
37
- def update
38
- if @page_component.update(page_component_params)
39
- redirect_to @page_component, notice: 'Page component was successfully updated.'
40
- else
41
- render :edit
42
- end
43
- end
44
-
45
- # DELETE /page_components/1
46
- def destroy
47
- @page_component.destroy
48
- redirect_to page_components_url, notice: 'Page component was successfully destroyed.'
49
- end
50
-
51
- private
52
- # Use callbacks to share common setup or constraints between actions.
53
- def set_page_component
54
- @page_component = PageComponent.find(params[:id])
55
- end
56
-
57
- # Only allow a trusted parameter "white list" through.
58
- def page_component_params
59
- params.require(:page_component).permit(:page_id, :content, :position, :component_type, :id)
60
- end
61
- end
62
- end
@@ -1,24 +0,0 @@
1
- = form_for @page_component do |f|
2
- - if @page_component.errors.any?
3
- #error_explanation
4
- h2 = "#{pluralize(@page_component.errors.count, "error")} prohibited this page_component from being saved:"
5
- ul
6
- - @page_component.errors.full_messages.each do |message|
7
- li = message
8
-
9
- .field
10
- = f.label :page
11
- = f.text_field :page
12
- .field
13
- = f.label :content
14
- = f.text_field :content
15
- .field
16
- = f.label :position
17
- = f.number_field :position
18
- .field
19
- = f.label :component_type
20
- = f.text_field :component_type
21
- .field
22
- = f.label :id
23
- = f.text_field :id
24
- .actions = f.submit
@@ -1,8 +0,0 @@
1
- h1 Editing page_component
2
-
3
- == render 'form'
4
-
5
- => link_to 'Show', @page_component
6
- '|
7
- =< link_to 'Back', page_components_path
8
-
@@ -1,29 +0,0 @@
1
- h1 Listing page_components
2
-
3
- table
4
- thead
5
- tr
6
- th Page
7
- th Content
8
- th Position
9
- th Component type
10
- th Id
11
- th
12
- th
13
- th
14
-
15
- tbody
16
- - @page_components.each do |page_component|
17
- tr
18
- td = page_component.page
19
- td = page_component.content
20
- td = page_component.position
21
- td = page_component.component_type
22
- td = page_component.id
23
- td = link_to 'Show', page_component
24
- td = link_to 'Edit', edit_page_component_path(page_component)
25
- td = link_to 'Destroy', page_component, data: { confirm: 'Are you sure?' }, method: :delete
26
-
27
- br
28
-
29
- = link_to 'New Page component', new_page_component_path
@@ -1,5 +0,0 @@
1
- h1 New page_component
2
-
3
- == render 'form'
4
-
5
- = link_to 'Back', page_components_path
@@ -1,21 +0,0 @@
1
- p#notice = notice
2
-
3
- p
4
- strong Page:
5
- = @page_component.page
6
- p
7
- strong Content:
8
- = @page_component.content
9
- p
10
- strong Position:
11
- = @page_component.position
12
- p
13
- strong Component type:
14
- = @page_component.component_type
15
- p
16
- strong Id:
17
- = @page_component.id
18
-
19
- => link_to 'Edit', edit_page_component_path(@page_component)
20
- '|
21
- =< link_to 'Back', page_components_path
@@ -1,21 +0,0 @@
1
- h1 Listing pages
2
-
3
- table
4
- thead
5
- tr
6
- th Container
7
- th
8
- th
9
- th
10
-
11
- tbody
12
- - @pages.each do |page|
13
- tr
14
- td = page.container
15
- td = link_to 'Show', page
16
- td = link_to 'Edit', edit_page_path(page)
17
- td = link_to 'Destroy', page, data: { confirm: 'Are you sure?' }, method: :delete
18
-
19
- br
20
-
21
- = link_to 'New Page', new_page_path
@@ -1,5 +0,0 @@
1
- h1 New page
2
-
3
- == render 'form'
4
-
5
- = link_to 'Back', pages_path