push_type_core 0.8.0.beta.3 → 0.8.0
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.
- checksums.yaml +4 -4
- data/app/fields/push_type/relation_field.rb +1 -1
- data/app/fields/push_type/wysiwyg_field.rb +2 -0
- data/lib/push_type/version.rb +1 -1
- data/test/dummy/config/initializers/push_type.rb +1 -1
- data/test/dummy/config/secrets.yml +2 -2
- data/test/dummy/db/schema.rb +1 -1
- data/test/dummy/log/test.log +8179 -8179
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/0ANSDcZJu9gPyqtYPIW729qm1kriQ29Vn9LU8T2SGQU.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
- metadata +24 -22
- data/test/dummy/tmp/generators/app/models/location.rb +0 -7
- /data/test/dummy/db/migrate/{20160219133942_create_push_type_users.push_type.rb → 20160303195052_create_push_type_users.push_type.rb} +0 -0
- /data/test/dummy/db/migrate/{20160219133943_create_push_type_nodes.push_type.rb → 20160303195053_create_push_type_nodes.push_type.rb} +0 -0
- /data/test/dummy/db/migrate/{20160219133944_create_push_type_node_hierarchies.push_type.rb → 20160303195054_create_push_type_node_hierarchies.push_type.rb} +0 -0
- /data/test/dummy/db/migrate/{20160219133945_create_push_type_assets.push_type.rb → 20160303195055_create_push_type_assets.push_type.rb} +0 -0
- /data/test/dummy/db/migrate/{20160219133946_add_field_store_default_values.push_type.rb → 20160303195056_add_field_store_default_values.push_type.rb} +0 -0
- /data/test/dummy/db/migrate/{20160219133947_drop_legacy_push_type_taxonomies.push_type.rb → 20160303195057_drop_legacy_push_type_taxonomies.push_type.rb} +0 -0
- /data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/{2FQF7uxsHizgSoGRwbNmDmFTPoWfdOsi-4mptjRhClE.cache → 9apOMCENKcWOe64INpzeNYVYRWCaV9OvvGuGrnGKLlo.cache} +0 -0
- /data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/{oQZIWFGqjXT0crXajNxkE6c5otWSMfx0ji4kIN6v3XM.cache → kipobtdIHNgPWuiZAzBdouoMeIF3zGFRjU8M8yuzI48.cache} +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a55c72882e5101467b73c100a105750da5351bb2
|
4
|
+
data.tar.gz: 855209d9ae49f901a7b4cc34fdbc8cef7005da50
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5ec7b0e010e1c5902fe83daaf475c1a9e912482f6bed8b0ffd8e2855948c4d65a1dc84587ff6db9fd7ea1b81882af6ee945b2818250689ee82de5af4cb2dc0fd
|
7
|
+
data.tar.gz: 7c55f7ddefcecf0a8f47ace1de8c1fbaf1d9b92f499870b977699ffa754ab347c2e8d0a8da161f18d685914eab0fbddcce47a92e007b7fadeaf043d44238346e
|
@@ -75,7 +75,7 @@ module PushType
|
|
75
75
|
on_instance do |object, field|
|
76
76
|
object.class_eval do
|
77
77
|
define_method(field.relation_name.to_sym) do
|
78
|
-
return
|
78
|
+
return if field.json_value.blank?
|
79
79
|
if field.multiple?
|
80
80
|
field.relation_class.where id: field.json_value
|
81
81
|
else
|
data/lib/push_type/version.rb
CHANGED
@@ -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 = '
|
48
|
+
# config.dragonfly_secret = 'f3566149b280a83bd00dab4743d494a8b640046f9a80ebd16ac131178e58ad27'
|
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:
|
14
|
+
secret_key_base: 794281dd1780d373d51842687a87796c667a16f8d78331c7de30fb4f2b14b2c17aafdcc0be02e4e417cf015e59ac64b2057e4ab6d1fb4fd465230257ca5cccb5
|
15
15
|
|
16
16
|
test:
|
17
|
-
secret_key_base:
|
17
|
+
secret_key_base: 37a1be8e3bd88b7853a73e13926cf7b6206adb2da09091bbbce7e23932cbada6792fd1620311f7d8d88baa319cf0d6d4fbd6ee1790b712b90e70bbb4790cf99a
|
18
18
|
|
19
19
|
# Do not keep production secrets in the repository,
|
20
20
|
# instead read values from the environment.
|
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: 20160303195057) do
|
15
15
|
|
16
16
|
# These are extensions that must be enabled in order to support this database
|
17
17
|
enable_extension "plpgsql"
|