push_type_core 0.12.0 → 0.12.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (23) hide show
  1. checksums.yaml +4 -4
  2. data/app/fields/push_type/wysiwyg_field.rb +1 -1
  3. data/lib/push_type/version.rb +1 -1
  4. data/test/dummy/config/credentials.yml.enc +1 -1
  5. data/test/dummy/config/initializers/push_type.rb +1 -1
  6. data/test/dummy/config/master.key +1 -1
  7. data/test/dummy/db/migrate/{20180416190556_create_active_storage_tables.active_storage.rb → 20180704111735_create_active_storage_tables.active_storage.rb} +0 -0
  8. data/test/dummy/db/migrate/{20180416190557_create_push_type_users.push_type.rb → 20180704111736_create_push_type_users.push_type.rb} +0 -0
  9. data/test/dummy/db/migrate/{20180416190558_create_push_type_nodes.push_type.rb → 20180704111737_create_push_type_nodes.push_type.rb} +0 -0
  10. data/test/dummy/db/migrate/{20180416190559_create_push_type_node_hierarchies.push_type.rb → 20180704111738_create_push_type_node_hierarchies.push_type.rb} +0 -0
  11. data/test/dummy/db/migrate/{20180416190560_create_push_type_assets.push_type.rb → 20180704111739_create_push_type_assets.push_type.rb} +0 -0
  12. data/test/dummy/db/migrate/{20180416190561_add_field_store_default_values.push_type.rb → 20180704111740_add_field_store_default_values.push_type.rb} +0 -0
  13. data/test/dummy/db/migrate/{20180416190562_drop_legacy_push_type_taxonomies.push_type.rb → 20180704111741_drop_legacy_push_type_taxonomies.push_type.rb} +0 -0
  14. data/test/dummy/db/schema.rb +1 -1
  15. data/test/dummy/log/test.log +7537 -7537
  16. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{7L/7LVQvtc1iMZeAO68sDJYR2hCgSPnodE_9eLtd1Ulqn4.cache → AK/AKCGIRHtuuYNXRRPciRz5O5L-ajUW2lAo7dFkr8HAl8.cache} +0 -0
  17. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{Gb/Gb7a_LyQ5axipgxr32c24vxnBVc-_Ifogrfb94rFst0.cache → Dg/DgSEVUQ8gXamL3iF0A_wXgZtRnW9nYljR4uppFTlHas.cache} +0 -0
  18. data/test/dummy/tmp/cache/assets/sprockets/v3.0/P4/P4-KmUIugrRsv4S7s_1OpQ80ftRLH6SwHnN04O3bvRE.cache +0 -0
  19. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Qp/Qpesf09ShFU1VXLof0RhGNbfW4kmnXSxWoSZjBHxbzk.cache +0 -0
  20. data/test/dummy/tmp/generators/app/models/location.rb +7 -0
  21. metadata +22 -24
  22. data/test/dummy/tmp/generators/config/initializers/push_type.rb +0 -50
  23. data/test/dummy/tmp/generators/config/routes.rb +0 -15
@@ -0,0 +1,7 @@
1
+ class Location < PushType::Structure
2
+
3
+ # Model the content by adding custom fields to the structure.
4
+ field :foo, :string
5
+ field :bar, :text
6
+
7
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: push_type_core
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.0
4
+ version: 0.12.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: 2018-06-04 00:00:00.000000000 Z
11
+ date: 2018-07-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -239,13 +239,13 @@ files:
239
239
  - test/dummy/config/routes.rb
240
240
  - test/dummy/config/spring.rb
241
241
  - test/dummy/config/storage.yml
242
- - test/dummy/db/migrate/20180416190556_create_active_storage_tables.active_storage.rb
243
- - test/dummy/db/migrate/20180416190557_create_push_type_users.push_type.rb
244
- - test/dummy/db/migrate/20180416190558_create_push_type_nodes.push_type.rb
245
- - test/dummy/db/migrate/20180416190559_create_push_type_node_hierarchies.push_type.rb
246
- - test/dummy/db/migrate/20180416190560_create_push_type_assets.push_type.rb
247
- - test/dummy/db/migrate/20180416190561_add_field_store_default_values.push_type.rb
248
- - test/dummy/db/migrate/20180416190562_drop_legacy_push_type_taxonomies.push_type.rb
242
+ - test/dummy/db/migrate/20180704111735_create_active_storage_tables.active_storage.rb
243
+ - test/dummy/db/migrate/20180704111736_create_push_type_users.push_type.rb
244
+ - test/dummy/db/migrate/20180704111737_create_push_type_nodes.push_type.rb
245
+ - test/dummy/db/migrate/20180704111738_create_push_type_node_hierarchies.push_type.rb
246
+ - test/dummy/db/migrate/20180704111739_create_push_type_assets.push_type.rb
247
+ - test/dummy/db/migrate/20180704111740_add_field_store_default_values.push_type.rb
248
+ - test/dummy/db/migrate/20180704111741_drop_legacy_push_type_taxonomies.push_type.rb
249
249
  - test/dummy/db/schema.rb
250
250
  - test/dummy/db/seeds.rb
251
251
  - test/dummy/log/test.log
@@ -259,12 +259,12 @@ files:
259
259
  - test/dummy/public/robots.txt
260
260
  - test/dummy/tmp/cache/assets/sprockets/v3.0/6C/6C2JbMFhTmFheksOeqr5CxG7FdJaTtdjhGlXeXF6CY0.cache
261
261
  - test/dummy/tmp/cache/assets/sprockets/v3.0/7H/7HiGdGTR97GmdYojFWv4_p3igsfx4Dtp6wakxe6DhP8.cache
262
- - test/dummy/tmp/cache/assets/sprockets/v3.0/7L/7LVQvtc1iMZeAO68sDJYR2hCgSPnodE_9eLtd1Ulqn4.cache
263
262
  - test/dummy/tmp/cache/assets/sprockets/v3.0/99/99m8UCKl4j8IpsVOK8ltLHyNh8Ae0nHw3GBkC34V_co.cache
264
263
  - test/dummy/tmp/cache/assets/sprockets/v3.0/9v/9vnNjAebssmz7XPUIgssBZbkNcX-l446wdMdLtHbbyQ.cache
264
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/AK/AKCGIRHtuuYNXRRPciRz5O5L-ajUW2lAo7dFkr8HAl8.cache
265
265
  - test/dummy/tmp/cache/assets/sprockets/v3.0/B4/B43LeT9Wba4fLvXw-C_kKq-x9HwYZxnBBiltbIufzzQ.cache
266
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/Dg/DgSEVUQ8gXamL3iF0A_wXgZtRnW9nYljR4uppFTlHas.cache
266
267
  - test/dummy/tmp/cache/assets/sprockets/v3.0/E9/E91cQ4ShXSylrleKbStS2KX6gNUGpKTaGgiX79Qg4hc.cache
267
- - test/dummy/tmp/cache/assets/sprockets/v3.0/Gb/Gb7a_LyQ5axipgxr32c24vxnBVc-_Ifogrfb94rFst0.cache
268
268
  - test/dummy/tmp/cache/assets/sprockets/v3.0/IU/IUrx_cz11W6a7Js_I-zzSgQEpw58K2zYnJsvznf71Pg.cache
269
269
  - test/dummy/tmp/cache/assets/sprockets/v3.0/Jc/JcugcCYqHRu0vpHnC82vaPBddonD4xjcKCXrBzBBRWc.cache
270
270
  - test/dummy/tmp/cache/assets/sprockets/v3.0/Ks/Ksgj75EJWHSroUlBiZ_Yxf1ckdbfDlTBBzqLb1g152Q.cache
@@ -277,8 +277,7 @@ files:
277
277
  - test/dummy/tmp/cache/assets/sprockets/v3.0/n-/n-AVacTIOztKN9mPiB3ZELfidOz1W5urnRN4AsSujqA.cache
278
278
  - test/dummy/tmp/cache/assets/sprockets/v3.0/pn/pnUfa3lDaIS9XJhFDXf1mYGDN8ctf4qw3EZzJHS8qiM.cache
279
279
  - test/dummy/tmp/cache/assets/sprockets/v3.0/qN/qNOz7Rvtjul20-XTH3jifHnv-ypnSVomm2Q1nckbmqQ.cache
280
- - test/dummy/tmp/generators/config/initializers/push_type.rb
281
- - test/dummy/tmp/generators/config/routes.rb
280
+ - test/dummy/tmp/generators/app/models/location.rb
282
281
  - test/fields/push_type/asset_field_test.rb
283
282
  - test/fields/push_type/boolean_field_test.rb
284
283
  - test/fields/push_type/date_field_test.rb
@@ -401,13 +400,13 @@ test_files:
401
400
  - test/dummy/config/spring.rb
402
401
  - test/dummy/config/storage.yml
403
402
  - test/dummy/config.ru
404
- - test/dummy/db/migrate/20180416190556_create_active_storage_tables.active_storage.rb
405
- - test/dummy/db/migrate/20180416190557_create_push_type_users.push_type.rb
406
- - test/dummy/db/migrate/20180416190558_create_push_type_nodes.push_type.rb
407
- - test/dummy/db/migrate/20180416190559_create_push_type_node_hierarchies.push_type.rb
408
- - test/dummy/db/migrate/20180416190560_create_push_type_assets.push_type.rb
409
- - test/dummy/db/migrate/20180416190561_add_field_store_default_values.push_type.rb
410
- - test/dummy/db/migrate/20180416190562_drop_legacy_push_type_taxonomies.push_type.rb
403
+ - test/dummy/db/migrate/20180704111735_create_active_storage_tables.active_storage.rb
404
+ - test/dummy/db/migrate/20180704111736_create_push_type_users.push_type.rb
405
+ - test/dummy/db/migrate/20180704111737_create_push_type_nodes.push_type.rb
406
+ - test/dummy/db/migrate/20180704111738_create_push_type_node_hierarchies.push_type.rb
407
+ - test/dummy/db/migrate/20180704111739_create_push_type_assets.push_type.rb
408
+ - test/dummy/db/migrate/20180704111740_add_field_store_default_values.push_type.rb
409
+ - test/dummy/db/migrate/20180704111741_drop_legacy_push_type_taxonomies.push_type.rb
411
410
  - test/dummy/db/schema.rb
412
411
  - test/dummy/db/seeds.rb
413
412
  - test/dummy/log/test.log
@@ -423,12 +422,12 @@ test_files:
423
422
  - test/dummy/README.md
424
423
  - test/dummy/tmp/cache/assets/sprockets/v3.0/6C/6C2JbMFhTmFheksOeqr5CxG7FdJaTtdjhGlXeXF6CY0.cache
425
424
  - test/dummy/tmp/cache/assets/sprockets/v3.0/7H/7HiGdGTR97GmdYojFWv4_p3igsfx4Dtp6wakxe6DhP8.cache
426
- - test/dummy/tmp/cache/assets/sprockets/v3.0/7L/7LVQvtc1iMZeAO68sDJYR2hCgSPnodE_9eLtd1Ulqn4.cache
427
425
  - test/dummy/tmp/cache/assets/sprockets/v3.0/99/99m8UCKl4j8IpsVOK8ltLHyNh8Ae0nHw3GBkC34V_co.cache
428
426
  - test/dummy/tmp/cache/assets/sprockets/v3.0/9v/9vnNjAebssmz7XPUIgssBZbkNcX-l446wdMdLtHbbyQ.cache
427
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/AK/AKCGIRHtuuYNXRRPciRz5O5L-ajUW2lAo7dFkr8HAl8.cache
429
428
  - test/dummy/tmp/cache/assets/sprockets/v3.0/B4/B43LeT9Wba4fLvXw-C_kKq-x9HwYZxnBBiltbIufzzQ.cache
429
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/Dg/DgSEVUQ8gXamL3iF0A_wXgZtRnW9nYljR4uppFTlHas.cache
430
430
  - test/dummy/tmp/cache/assets/sprockets/v3.0/E9/E91cQ4ShXSylrleKbStS2KX6gNUGpKTaGgiX79Qg4hc.cache
431
- - test/dummy/tmp/cache/assets/sprockets/v3.0/Gb/Gb7a_LyQ5axipgxr32c24vxnBVc-_Ifogrfb94rFst0.cache
432
431
  - test/dummy/tmp/cache/assets/sprockets/v3.0/IU/IUrx_cz11W6a7Js_I-zzSgQEpw58K2zYnJsvznf71Pg.cache
433
432
  - test/dummy/tmp/cache/assets/sprockets/v3.0/Jc/JcugcCYqHRu0vpHnC82vaPBddonD4xjcKCXrBzBBRWc.cache
434
433
  - test/dummy/tmp/cache/assets/sprockets/v3.0/Ks/Ksgj75EJWHSroUlBiZ_Yxf1ckdbfDlTBBzqLb1g152Q.cache
@@ -441,8 +440,7 @@ test_files:
441
440
  - test/dummy/tmp/cache/assets/sprockets/v3.0/Wl/Wl19Wzw2lW_-k2MBxQ8EbFLVH767C8erklxU1EQgEX8.cache
442
441
  - test/dummy/tmp/cache/assets/sprockets/v3.0/XM/XM3DBlByPxBkHmk_0YnTMQRksSqlxv1pXVEhlfudgp8.cache
443
442
  - test/dummy/tmp/cache/assets/sprockets/v3.0/XR/XRrfYUs4AQslvAiJmgJms-4P3jStQr3rzQtvBThYCs8.cache
444
- - test/dummy/tmp/generators/config/initializers/push_type.rb
445
- - test/dummy/tmp/generators/config/routes.rb
443
+ - test/dummy/tmp/generators/app/models/location.rb
446
444
  - test/fields/push_type/asset_field_test.rb
447
445
  - test/fields/push_type/boolean_field_test.rb
448
446
  - test/fields/push_type/date_field_test.rb
@@ -1,50 +0,0 @@
1
- PushType.setup do |config|
2
-
3
- # By default all node types can be placed at the root of the
4
- # content tree. Alternatively, set an array of node type symbols
5
- # to whiltelist acceptable root nodes.
6
- config.root_nodes = :all
7
-
8
- # Set the slug of the node that the `NodesFrontEndContoller` will
9
- # render when visting the root URL of the site (the homepage).
10
- # This setting can be overridden in config/routes.rb.
11
- config.home_slug = 'home'
12
-
13
- # Set an array of node type symbols which will not be exposed to
14
- # the `NodesFrontEndContoller`. These nodes will not be accessible
15
- # through their permalink.
16
- config.unexposed_nodes = []
17
-
18
- # Media styles allow you to predefine a collection of geometry
19
- # strings for resizing images on the fly with the `Asset#media`
20
- # method. Example: `image.media(:large)`
21
- config.media_styles = {
22
- large: '1024x1024>',
23
- medium: '512x512>',
24
- small: '256x256>'
25
- }
26
-
27
- # Configure the email address to be used as the "from" address
28
- # for PushType's built in mailers.
29
- config.mailer_sender = 'pushtype@example.com'
30
-
31
- # PushType uses Dragonfly for managing uploaded images/assets.
32
- # Dragonfly datastore configuration
33
- config.dragonfly_datastore = :file
34
- config.dragonfly_datastore_options = {
35
- root_path: Rails.root.join('public/system/dragonfly', Rails.env),
36
- server_root: Rails.root.join('public')
37
- }
38
-
39
- # For S3 storage, remember to add to Gemfile:
40
- # gem 'dragonfly-s3_data_store'
41
- # config.dragonfly_datastore = :s3
42
- # config.dragonfly_datastore_options = {
43
- # bucket_name: ENV['S3_BUCKET'],
44
- # access_key_id: ENV['S3_ACCESS_KEY_ID'],
45
- # secret_access_key: ENV['SECRET_ACCESS_KEY_ID']
46
- # }
47
-
48
- # config.dragonfly_secret = 'd4998c332ca211717c1598b710e6e7f2c395a4cd659e5c9c9e061fd45706b9c5'
49
-
50
- end
@@ -1,15 +0,0 @@
1
- Rails.application.routes.draw do
2
-
3
- # Mount all the registered PushType Rails Engines. This should be placed
4
- # at the end of your routes.rb file to ensure your application routes are
5
- # not overidden by PushType.
6
- #
7
- # Overide the default mount points by passing a hash of options.
8
- # Example:
9
- #
10
- # mount_push_type admin: 'cms', front_end: 'blog'
11
- #
12
- mount_push_type
13
-
14
- # For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html
15
- end