push_type_core 0.7.0.beta.1 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/fields/push_type/matrix_field.rb +1 -1
- data/app/fields/push_type/repeater_field.rb +2 -2
- data/app/models/push_type/structure.rb +4 -0
- data/lib/generators/push_type/install/templates/push_type.rb +0 -5
- data/lib/generators/push_type/taxonomy/taxonomy_generator.rb +1 -1
- data/lib/push_type/version.rb +1 -1
- data/test/dummy/config/initializers/push_type.rb +1 -6
- data/test/dummy/config/secrets.yml +2 -2
- data/test/dummy/db/migrate/{20160108132348_create_push_type_users.push_type.rb → 20160122151524_create_push_type_users.push_type.rb} +0 -0
- data/test/dummy/db/migrate/{20160108132349_create_push_type_nodes.push_type.rb → 20160122151525_create_push_type_nodes.push_type.rb} +0 -0
- data/test/dummy/db/migrate/{20160108132350_create_push_type_node_hierarchies.push_type.rb → 20160122151526_create_push_type_node_hierarchies.push_type.rb} +0 -0
- data/test/dummy/db/migrate/{20160108132351_create_push_type_assets.push_type.rb → 20160122151527_create_push_type_assets.push_type.rb} +0 -0
- data/test/dummy/db/migrate/{20160108132352_create_push_type_taxonomies.push_type.rb → 20160122151528_create_push_type_taxonomies.push_type.rb} +0 -0
- data/test/dummy/db/migrate/{20160108132353_create_push_type_taxonomy_hierarchies.push_type.rb → 20160122151529_create_push_type_taxonomy_hierarchies.push_type.rb} +0 -0
- data/test/dummy/db/migrate/{20160108132354_add_field_store_default_values.push_type.rb → 20160122151530_add_field_store_default_values.push_type.rb} +0 -0
- data/test/dummy/db/schema.rb +1 -1
- data/test/dummy/log/test.log +8903 -8903
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/0ANSDcZJu9gPyqtYPIW729qm1kriQ29Vn9LU8T2SGQU.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/{8FGH_ku24FOYEa6ACm3vyk_rZwODpSzv3MjZU4irm7M.cache → A0UfNVcNn48aSCOiAvcHrJ1BASyXJCELidVIQ6drqQM.cache} +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/{o8jETQIOAUNl34ED3ZTGdlVAlYRSl8zt6mfx4Wr1_Hs.cache → RLSLZQ8zubBDFwRzJo2WPXEPjX3gpp-T1h5FK-UnAYo.cache} +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/_d65qW7wxRtKVSYpmfSenECz5QUWVI9pppUgV7TA1Rk.cache +0 -0
- data/test/dummy/tmp/generators/config/initializers/push_type.rb +50 -0
- data/test/dummy/tmp/generators/config/routes.rb +59 -0
- data/test/fields/push_type/matrix_field_test.rb +7 -3
- metadata +26 -26
- data/test/dummy/tmp/generators/app/models/category.rb +0 -7
- data/test/dummy/tmp/generators/app/views/taxonomies/category.html.erb +0 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9157c07fb81b39a6edec686caa23945b733d9676
|
4
|
+
data.tar.gz: 6eaba2fdcccd35b7f2c2c270205cc395c98a263d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 320537d485fcc3523b1283ef0a376c0c7f5eee7a0f1667595490b1be25705374dc84bb65edbc98e38e5f760c030dfbbd7c045c14a9f38f93c664c7e4f38e83e4
|
7
|
+
data.tar.gz: cb7dc8dc5f7e9d7c12910f8b7f51f217f81c0ceeccc2539a9c2c0d597c3c937f5d3d1b04de9b7639c94cadb9898870bf59aa60d097ff4a427f6c36eebb44491c
|
@@ -16,7 +16,7 @@ module PushType
|
|
16
16
|
|
17
17
|
def value
|
18
18
|
return if json_value.blank?
|
19
|
-
rows.map(&:_f)
|
19
|
+
rows.reject(&:blank?).map(&:_f)
|
20
20
|
end
|
21
21
|
|
22
22
|
def template
|
@@ -45,7 +45,7 @@ module PushType
|
|
45
45
|
|
46
46
|
def structure_json_key
|
47
47
|
case @opts[:repeats]
|
48
|
-
when :relation, :
|
48
|
+
when :relation, :asset then :_f_id
|
49
49
|
else :_f
|
50
50
|
end
|
51
51
|
end
|
@@ -15,11 +15,6 @@ PushType.setup do |config|
|
|
15
15
|
# through their permalink.
|
16
16
|
config.unexposed_nodes = []
|
17
17
|
|
18
|
-
# Set an array of taxonomy type symbols which will not be exposed
|
19
|
-
# to the `TaxonomiesFrontEndController`. These taxonomies will not
|
20
|
-
# be accessible through their permalink.
|
21
|
-
config.unexposed_taxonomies = []
|
22
|
-
|
23
18
|
# Media styles allow you to predefine a collection of geometry
|
24
19
|
# strings for resizing images on the fly with the `Asset#media`
|
25
20
|
# method. Example: `image.media(:large)`
|
data/lib/push_type/version.rb
CHANGED
@@ -15,11 +15,6 @@ PushType.setup do |config|
|
|
15
15
|
# through their permalink.
|
16
16
|
config.unexposed_nodes = []
|
17
17
|
|
18
|
-
# Set an array of taxonomy type symbols which will not be exposed
|
19
|
-
# to the `TaxonomiesFrontEndController`. These taxonomies will not
|
20
|
-
# be accessible through their permalink.
|
21
|
-
config.unexposed_taxonomies = []
|
22
|
-
|
23
18
|
# Media styles allow you to predefine a collection of geometry
|
24
19
|
# strings for resizing images on the fly with the `Asset#media`
|
25
20
|
# method. Example: `image.media(:large)`
|
@@ -50,6 +45,6 @@ PushType.setup do |config|
|
|
50
45
|
# secret_access_key: ENV['SECRET_ACCESS_KEY_ID']
|
51
46
|
# }
|
52
47
|
|
53
|
-
# config.dragonfly_secret = '
|
48
|
+
# config.dragonfly_secret = '271df62782ac8231fd83d982acbbaf45552ecd92777925f7f664a6cee3ba9738'
|
54
49
|
|
55
50
|
end
|
@@ -11,10 +11,10 @@
|
|
11
11
|
# if you're sharing your code publicly.
|
12
12
|
|
13
13
|
development:
|
14
|
-
secret_key_base:
|
14
|
+
secret_key_base: 8f3024409a00bb714abf072147d19aeac045966e9c5df452fb6f4d2fb637338131a8558bd629e3b585db96a43d285663ed2c81e220e16c89d33c441971037b9d
|
15
15
|
|
16
16
|
test:
|
17
|
-
secret_key_base:
|
17
|
+
secret_key_base: 5531a988ccefaee0fd9df7e0203712ad461e87af88e408d27ebe39e6c33569cda48b9d57676d8070dafb69d090060fffc16f8d470081dd64d3c80293cad6738d
|
18
18
|
|
19
19
|
# Do not keep production secrets in the repository,
|
20
20
|
# instead read values from the environment.
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/test/dummy/db/schema.rb
CHANGED
@@ -11,7 +11,7 @@
|
|
11
11
|
#
|
12
12
|
# It's strongly recommended that you check this file into your version control system.
|
13
13
|
|
14
|
-
ActiveRecord::Schema.define(version:
|
14
|
+
ActiveRecord::Schema.define(version: 20160122151530) do
|
15
15
|
|
16
16
|
# These are extensions that must be enabled in order to support this database
|
17
17
|
enable_extension "plpgsql"
|