push_type_api 0.10.4 → 0.11.0.beta.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 985927db1ed509fae9cb0da72fed8e52a2d9e9fd
4
- data.tar.gz: bc1e412d50af00ca5d7ccf7e8472a469db861b39
3
+ metadata.gz: 39ca475312e4554823f8e3fd0b2d0dba137e5009
4
+ data.tar.gz: 7c67187d8d15f1d5017312dccc0d33a3d1371d6a
5
5
  SHA512:
6
- metadata.gz: 7b304800da28ee7625619bd64be04ec9ce3716c12f3c8830f5b031088829ef71aa834ccf88d3852242dc874271e730f40a618859d397d7ce60688f4059527b8a
7
- data.tar.gz: 77bf93de269ea352b4ba819ff19f687d84d5d20986ec85a89805cedcdd55eb4c47e1dae8c027b99ee46238aae40491e08c19fee46a18de36b79c21d528a6f74b
6
+ metadata.gz: df7b89459f925d30279cf065c1a1837b295c1e18effb11ab573e96905416dab0723b07a292326435fb8c7d98c19df8a261ca7664d3e2026486431cfe8b55fb2d
7
+ data.tar.gz: 57887ffa2964edb81a613658b29552ff005265880f067cd8b6534ffc01b4120e70feb2f62c6b22f5ccbe84333d640b75721cbb82869896503f66c201e756267b
@@ -0,0 +1,12 @@
1
+ class PagePresenter < PushType::Presenter
2
+
3
+ # This class delegates to the model, Page
4
+ # Override any methods to add custom presentation logic
5
+ # View helpers are accessible from the `h` method
6
+
7
+ # Example:
8
+ # def title
9
+ # h.content_tag :strong, super()
10
+ # end
11
+
12
+ end
@@ -2,7 +2,7 @@
2
2
  #
3
3
  # This file contains migration options to ease your Rails 5.0 upgrade.
4
4
  #
5
- # Read the Rails 5.0 release notes for more info on each option.
5
+ # Read the Guide for Upgrading Ruby on Rails for more info on each option.
6
6
 
7
7
  # Enable per-form CSRF tokens. Previous versions had false.
8
8
  Rails.application.config.action_controller.per_form_csrf_tokens = true
@@ -45,6 +45,6 @@ PushType.setup do |config|
45
45
  # secret_access_key: ENV['SECRET_ACCESS_KEY_ID']
46
46
  # }
47
47
 
48
- # config.dragonfly_secret = 'e5a9516ee5302dada6b0938d6a80e3dc65aebdc4177e8e1386d73c1cc9b9ce73'
48
+ # config.dragonfly_secret = '7082abd20e352765a807851f3c24f55184c7ddc648fb7db8b860c99792712669'
49
49
 
50
50
  end
@@ -11,10 +11,10 @@
11
11
  # if you're sharing your code publicly.
12
12
 
13
13
  development:
14
- secret_key_base: 1355de6bd63f120508e573b40d55793a8bf0b5d2a592e0c2afb6c71bb5b8366332a79593cf80fc830332a2f26af5b91e0ade28b2628c9b058610275134cfea45
14
+ secret_key_base: 9a40e649d2bb89d65ad237943170562ae1dd98a11415dd80776df3d32b546e0fc88067f378ee32d18be9203d7af13dea2eababee88af09c1c04583134668d78d
15
15
 
16
16
  test:
17
- secret_key_base: 7c8995f833cafa2601c96e5bbad7fbd9457288270b13944e7b72483f1a8c1261c7aa5ad00d7a30a1424c4c4d4978eaa466e4e5624123378a68bcc6330d4eabea
17
+ secret_key_base: 2fe5864dc1ee039d67c9545bb2187fd392effe4037cf7e378484a5c8889e0c4c1c0fe39ecd38a8feffb48a6bf30b448c91a0e68a1079bf352fe36cb3b03a31d9
18
18
 
19
19
  # Do not keep production secrets in the repository,
20
20
  # instead read values from the environment.
@@ -1,5 +1,5 @@
1
1
  # This migration comes from push_type (originally 20141117170533)
2
- class CreatePushTypeUsers < ActiveRecord::Migration
2
+ class CreatePushTypeUsers < ActiveRecord::Migration[4.2]
3
3
  def change
4
4
  enable_extension 'uuid-ossp' unless extension_enabled?('uuid-ossp')
5
5
  create_table :push_type_users, id: :uuid, default: 'uuid_generate_v4()' do |t|
@@ -1,5 +1,5 @@
1
1
  # This migration comes from push_type (originally 20141117204630)
2
- class CreatePushTypeNodes < ActiveRecord::Migration
2
+ class CreatePushTypeNodes < ActiveRecord::Migration[4.2]
3
3
  def change
4
4
  enable_extension 'uuid-ossp' unless extension_enabled?('uuid-ossp')
5
5
  create_table :push_type_nodes, id: :uuid, default: 'uuid_generate_v4()' do |t|
@@ -1,5 +1,5 @@
1
1
  # This migration comes from push_type (originally 20141117210644)
2
- class CreatePushTypeNodeHierarchies < ActiveRecord::Migration
2
+ class CreatePushTypeNodeHierarchies < ActiveRecord::Migration[4.2]
3
3
  def change
4
4
  create_table :push_type_node_hierarchies, id: false do |t|
5
5
  t.uuid :ancestor_id, null: false
@@ -1,5 +1,5 @@
1
1
  # This migration comes from push_type (originally 20141127151930)
2
- class CreatePushTypeAssets < ActiveRecord::Migration
2
+ class CreatePushTypeAssets < ActiveRecord::Migration[4.2]
3
3
  def change
4
4
  enable_extension 'uuid-ossp' unless extension_enabled?('uuid-ossp')
5
5
  create_table :push_type_assets, id: :uuid, default: 'uuid_generate_v4()' do |t|
@@ -1,5 +1,5 @@
1
1
  # This migration comes from push_type (originally 20150531183944)
2
- class AddFieldStoreDefaultValues < ActiveRecord::Migration
2
+ class AddFieldStoreDefaultValues < ActiveRecord::Migration[4.2]
3
3
  def change
4
4
  change_column :push_type_nodes, :field_store, :jsonb, default: {}, null: false
5
5
  change_column :push_type_users, :field_store, :jsonb, default: {}, null: false
@@ -1,5 +1,5 @@
1
1
  # This migration comes from push_type (originally 20160201150228)
2
- class DropLegacyPushTypeTaxonomies < ActiveRecord::Migration
2
+ class DropLegacyPushTypeTaxonomies < ActiveRecord::Migration[4.2]
3
3
  def up
4
4
  if ActiveRecord::Base.connection.table_exists? :push_type_taxonomies
5
5
  drop_table :push_type_taxonomies
@@ -10,7 +10,7 @@
10
10
  #
11
11
  # It's strongly recommended that you check this file into your version control system.
12
12
 
13
- ActiveRecord::Schema.define(version: 20170130110735) do
13
+ ActiveRecord::Schema.define(version: 20170407125012) do
14
14
 
15
15
  # These are extensions that must be enabled in order to support this database
16
16
  enable_extension "plpgsql"