push_type_core 0.9.0.beta.3 → 0.9.0.beta.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (20) hide show
  1. checksums.yaml +4 -4
  2. data/lib/push_type/version.rb +1 -1
  3. data/test/dummy/config/initializers/push_type.rb +1 -1
  4. data/test/dummy/config/secrets.yml +2 -2
  5. data/test/dummy/db/schema.rb +1 -1
  6. data/test/dummy/log/test.log +7188 -7188
  7. data/test/dummy/tmp/cache/assets/sprockets/v3.0/T4/T4GQ8YD0DmTbkGOBb9_FXxyAS4d4bTyDY2ZNaOFrZYI.cache +0 -0
  8. data/test/dummy/tmp/cache/assets/sprockets/v3.0/rI/rIrIe053W7_bEOF2UU8uE2-YdjmGhP_XyEll7fNAGHQ.cache +0 -0
  9. data/test/dummy/tmp/generators/config/initializers/push_type.rb +50 -0
  10. data/test/dummy/tmp/generators/config/routes.rb +6 -0
  11. metadata +22 -20
  12. data/test/dummy/tmp/generators/app/models/location.rb +0 -7
  13. /data/test/dummy/db/migrate/{20160727140410_create_push_type_users.push_type.rb → 20160728152220_create_push_type_users.push_type.rb} +0 -0
  14. /data/test/dummy/db/migrate/{20160727140411_create_push_type_nodes.push_type.rb → 20160728152221_create_push_type_nodes.push_type.rb} +0 -0
  15. /data/test/dummy/db/migrate/{20160727140412_create_push_type_node_hierarchies.push_type.rb → 20160728152222_create_push_type_node_hierarchies.push_type.rb} +0 -0
  16. /data/test/dummy/db/migrate/{20160727140413_create_push_type_assets.push_type.rb → 20160728152223_create_push_type_assets.push_type.rb} +0 -0
  17. /data/test/dummy/db/migrate/{20160727140414_add_field_store_default_values.push_type.rb → 20160728152224_add_field_store_default_values.push_type.rb} +0 -0
  18. /data/test/dummy/db/migrate/{20160727140415_drop_legacy_push_type_taxonomies.push_type.rb → 20160728152225_drop_legacy_push_type_taxonomies.push_type.rb} +0 -0
  19. /data/test/dummy/tmp/cache/assets/sprockets/v3.0/{Za/ZakTdF-eAKhuCJCW-D0R5ZsrN0EUT1c8R3zBD_X7Nu8.cache → d4/d4iYg1EYgWm-CRN_UXs3eJbP4z0RJlagLUIJcaE7kxk.cache} +0 -0
  20. /data/test/dummy/tmp/cache/assets/sprockets/v3.0/{rT/rTxKejlRARCtp_ixwJchF_SPKAn1Qgqx2I6Of2Vaeow.cache → fA/fAo9VB2WDD7gb2mtyPz1Iv6xXRCpWw-4myxu7U0duo8.cache} +0 -0
@@ -0,0 +1,50 @@
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 build 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 = '2c9d925a898960b1ee25cdbcbc76ed93b7eeecc3eb3effb97489d33ccf8b11a2'
49
+
50
+ end
@@ -0,0 +1,6 @@
1
+ Rails.application.routes.draw do
2
+
3
+ mount_push_type
4
+
5
+ # For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html
6
+ 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.9.0.beta.3
4
+ version: 0.9.0.beta.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aaron Russell
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-07-27 00:00:00.000000000 Z
11
+ date: 2016-07-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -304,12 +304,12 @@ files:
304
304
  - test/dummy/config/routes.rb
305
305
  - test/dummy/config/secrets.yml
306
306
  - test/dummy/config/spring.rb
307
- - test/dummy/db/migrate/20160727140410_create_push_type_users.push_type.rb
308
- - test/dummy/db/migrate/20160727140411_create_push_type_nodes.push_type.rb
309
- - test/dummy/db/migrate/20160727140412_create_push_type_node_hierarchies.push_type.rb
310
- - test/dummy/db/migrate/20160727140413_create_push_type_assets.push_type.rb
311
- - test/dummy/db/migrate/20160727140414_add_field_store_default_values.push_type.rb
312
- - test/dummy/db/migrate/20160727140415_drop_legacy_push_type_taxonomies.push_type.rb
307
+ - test/dummy/db/migrate/20160728152220_create_push_type_users.push_type.rb
308
+ - test/dummy/db/migrate/20160728152221_create_push_type_nodes.push_type.rb
309
+ - test/dummy/db/migrate/20160728152222_create_push_type_node_hierarchies.push_type.rb
310
+ - test/dummy/db/migrate/20160728152223_create_push_type_assets.push_type.rb
311
+ - test/dummy/db/migrate/20160728152224_add_field_store_default_values.push_type.rb
312
+ - test/dummy/db/migrate/20160728152225_drop_legacy_push_type_taxonomies.push_type.rb
313
313
  - test/dummy/db/schema.rb
314
314
  - test/dummy/db/seeds.rb
315
315
  - test/dummy/log/test.log
@@ -328,7 +328,8 @@ files:
328
328
  - test/dummy/tmp/cache/assets/sprockets/v3.0/T4/T4GQ8YD0DmTbkGOBb9_FXxyAS4d4bTyDY2ZNaOFrZYI.cache
329
329
  - test/dummy/tmp/cache/assets/sprockets/v3.0/XK/XKi7NI277oX6OL-scTKJX0mD8ETpeTWUmd0qOhAh48c.cache
330
330
  - test/dummy/tmp/cache/assets/sprockets/v3.0/XM/XM3DBlByPxBkHmk_0YnTMQRksSqlxv1pXVEhlfudgp8.cache
331
- - test/dummy/tmp/cache/assets/sprockets/v3.0/Za/ZakTdF-eAKhuCJCW-D0R5ZsrN0EUT1c8R3zBD_X7Nu8.cache
331
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/d4/d4iYg1EYgWm-CRN_UXs3eJbP4z0RJlagLUIJcaE7kxk.cache
332
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/fA/fAo9VB2WDD7gb2mtyPz1Iv6xXRCpWw-4myxu7U0duo8.cache
332
333
  - test/dummy/tmp/cache/assets/sprockets/v3.0/ff/ffkN8ZBG66BGCq-xL4PHZZAsspgxBQNa9shBPn9Wiqg.cache
333
334
  - test/dummy/tmp/cache/assets/sprockets/v3.0/hy/hyqofDaeg-q9IihEOLw2JbC6hGbwuYdXFRM9oFc1J64.cache
334
335
  - test/dummy/tmp/cache/assets/sprockets/v3.0/n-/n-AVacTIOztKN9mPiB3ZELfidOz1W5urnRN4AsSujqA.cache
@@ -339,8 +340,8 @@ files:
339
340
  - test/dummy/tmp/cache/assets/sprockets/v3.0/qN/qNOz7Rvtjul20-XTH3jifHnv-ypnSVomm2Q1nckbmqQ.cache
340
341
  - test/dummy/tmp/cache/assets/sprockets/v3.0/qQ/qQ8c5p2po-w6U57egs5gQy5iUvn5Y5bQH3HPJslC4XU.cache
341
342
  - test/dummy/tmp/cache/assets/sprockets/v3.0/rI/rIrIe053W7_bEOF2UU8uE2-YdjmGhP_XyEll7fNAGHQ.cache
342
- - test/dummy/tmp/cache/assets/sprockets/v3.0/rT/rTxKejlRARCtp_ixwJchF_SPKAn1Qgqx2I6Of2Vaeow.cache
343
- - test/dummy/tmp/generators/app/models/location.rb
343
+ - test/dummy/tmp/generators/config/initializers/push_type.rb
344
+ - test/dummy/tmp/generators/config/routes.rb
344
345
  - test/fields/push_type/asset_field_test.rb
345
346
  - test/fields/push_type/boolean_field_test.rb
346
347
  - test/fields/push_type/date_field_test.rb
@@ -458,12 +459,12 @@ test_files:
458
459
  - test/dummy/config/secrets.yml
459
460
  - test/dummy/config/spring.rb
460
461
  - test/dummy/config.ru
461
- - test/dummy/db/migrate/20160727140410_create_push_type_users.push_type.rb
462
- - test/dummy/db/migrate/20160727140411_create_push_type_nodes.push_type.rb
463
- - test/dummy/db/migrate/20160727140412_create_push_type_node_hierarchies.push_type.rb
464
- - test/dummy/db/migrate/20160727140413_create_push_type_assets.push_type.rb
465
- - test/dummy/db/migrate/20160727140414_add_field_store_default_values.push_type.rb
466
- - test/dummy/db/migrate/20160727140415_drop_legacy_push_type_taxonomies.push_type.rb
462
+ - test/dummy/db/migrate/20160728152220_create_push_type_users.push_type.rb
463
+ - test/dummy/db/migrate/20160728152221_create_push_type_nodes.push_type.rb
464
+ - test/dummy/db/migrate/20160728152222_create_push_type_node_hierarchies.push_type.rb
465
+ - test/dummy/db/migrate/20160728152223_create_push_type_assets.push_type.rb
466
+ - test/dummy/db/migrate/20160728152224_add_field_store_default_values.push_type.rb
467
+ - test/dummy/db/migrate/20160728152225_drop_legacy_push_type_taxonomies.push_type.rb
467
468
  - test/dummy/db/schema.rb
468
469
  - test/dummy/db/seeds.rb
469
470
  - test/dummy/log/test.log
@@ -477,6 +478,8 @@ test_files:
477
478
  - test/dummy/Rakefile
478
479
  - test/dummy/README.md
479
480
  - test/dummy/tmp/cache/assets/sprockets/v3.0/9v/9vnNjAebssmz7XPUIgssBZbkNcX-l446wdMdLtHbbyQ.cache
481
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/d4/d4iYg1EYgWm-CRN_UXs3eJbP4z0RJlagLUIJcaE7kxk.cache
482
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/fA/fAo9VB2WDD7gb2mtyPz1Iv6xXRCpWw-4myxu7U0duo8.cache
480
483
  - test/dummy/tmp/cache/assets/sprockets/v3.0/ff/ffkN8ZBG66BGCq-xL4PHZZAsspgxBQNa9shBPn9Wiqg.cache
481
484
  - test/dummy/tmp/cache/assets/sprockets/v3.0/hy/hyqofDaeg-q9IihEOLw2JbC6hGbwuYdXFRM9oFc1J64.cache
482
485
  - test/dummy/tmp/cache/assets/sprockets/v3.0/IU/IUrx_cz11W6a7Js_I-zzSgQEpw58K2zYnJsvznf71Pg.cache
@@ -490,13 +493,12 @@ test_files:
490
493
  - test/dummy/tmp/cache/assets/sprockets/v3.0/qN/qNOz7Rvtjul20-XTH3jifHnv-ypnSVomm2Q1nckbmqQ.cache
491
494
  - test/dummy/tmp/cache/assets/sprockets/v3.0/qQ/qQ8c5p2po-w6U57egs5gQy5iUvn5Y5bQH3HPJslC4XU.cache
492
495
  - test/dummy/tmp/cache/assets/sprockets/v3.0/rI/rIrIe053W7_bEOF2UU8uE2-YdjmGhP_XyEll7fNAGHQ.cache
493
- - test/dummy/tmp/cache/assets/sprockets/v3.0/rT/rTxKejlRARCtp_ixwJchF_SPKAn1Qgqx2I6Of2Vaeow.cache
494
496
  - test/dummy/tmp/cache/assets/sprockets/v3.0/SO/SOZa21InoBC05GGCDAcckZrbpHSOC_C1x_8gdUutdjs.cache
495
497
  - test/dummy/tmp/cache/assets/sprockets/v3.0/T4/T4GQ8YD0DmTbkGOBb9_FXxyAS4d4bTyDY2ZNaOFrZYI.cache
496
498
  - test/dummy/tmp/cache/assets/sprockets/v3.0/XK/XKi7NI277oX6OL-scTKJX0mD8ETpeTWUmd0qOhAh48c.cache
497
499
  - test/dummy/tmp/cache/assets/sprockets/v3.0/XM/XM3DBlByPxBkHmk_0YnTMQRksSqlxv1pXVEhlfudgp8.cache
498
- - test/dummy/tmp/cache/assets/sprockets/v3.0/Za/ZakTdF-eAKhuCJCW-D0R5ZsrN0EUT1c8R3zBD_X7Nu8.cache
499
- - test/dummy/tmp/generators/app/models/location.rb
500
+ - test/dummy/tmp/generators/config/initializers/push_type.rb
501
+ - test/dummy/tmp/generators/config/routes.rb
500
502
  - test/fields/push_type/asset_field_test.rb
501
503
  - test/fields/push_type/boolean_field_test.rb
502
504
  - test/fields/push_type/date_field_test.rb
@@ -1,7 +0,0 @@
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