push_type_wysiwyg 0.3.3 → 0.4.0.beta.3
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/test/dummy/app/models/category.rb +6 -0
- data/test/dummy/app/views/taxonomies/category.html.erb +3 -0
- data/test/dummy/config/initializers/push_type.rb +3 -1
- data/test/dummy/config/secrets.yml +2 -2
- data/test/dummy/db/migrate/{20150310192221_create_push_type_users.push_type.rb → 20150406131611_create_push_type_users.push_type.rb} +1 -1
- data/test/dummy/db/migrate/{20150310192222_create_push_type_nodes.push_type.rb → 20150406131612_create_push_type_nodes.push_type.rb} +1 -1
- data/test/dummy/db/migrate/{20150310192223_create_push_type_node_hierarchies.push_type.rb → 20150406131613_create_push_type_node_hierarchies.push_type.rb} +2 -2
- data/test/dummy/db/migrate/{20150310192224_create_push_type_assets.push_type.rb → 20150406131614_create_push_type_assets.push_type.rb} +1 -1
- data/test/dummy/db/migrate/20150406131615_create_push_type_taxonomies.push_type.rb +19 -0
- data/test/dummy/db/migrate/20150406131616_create_push_type_taxonomy_hierarchies.push_type.rb +17 -0
- data/test/dummy/db/schema.rb +29 -9
- data/test/dummy/log/test.log +680 -643
- data/test/dummy/tmp/cache/assets/test/sprockets/{33d35be24dc460ab551a05001b7a6d0c → a68b91e15fdc16974ff7b8ae47449026} +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/{4643214930041faccaf22bf42bce1a04 → cdccdf2ac861273d2df93520f5601e1b} +0 -0
- metadata +28 -20
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: db96e25452e480128cf7025668f1cef22a109622
|
4
|
+
data.tar.gz: 3bd03496575a25546a1b947c64bd639d37b59823
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8835c71223ac8379dc55c5d38d50fd84849c7ef5b30058a2e4b9f1730a7da70dd220576c93e51aab83fe2f37eb51011f8c45a3a9e27eb9ebdd5ba2502003cf38
|
7
|
+
data.tar.gz: 1b93634df5594250b5600ef4d644ebd992502433eedada12bfefc3255c99e7fc8af2cb43aef12e3d35aa235abffaf50fff4f2fba85b7a68d050d531ba59c60ec
|
@@ -6,6 +6,8 @@ PushType.setup do |config|
|
|
6
6
|
|
7
7
|
config.home_slug = 'home'
|
8
8
|
|
9
|
+
config.unexposed_taxonomies = []
|
10
|
+
|
9
11
|
config.media_styles = {
|
10
12
|
large: '1024x1024>',
|
11
13
|
medium: '512x512>',
|
@@ -31,6 +33,6 @@ PushType.setup do |config|
|
|
31
33
|
# secret_access_key: ENV['SECRET_ACCESS_KEY_ID']
|
32
34
|
# }
|
33
35
|
|
34
|
-
# config.dragonfly_secret = '
|
36
|
+
# config.dragonfly_secret = 'd0cdb507464ddb5a4f3b0388b25093f1db67917a9f64429f8c1d3a7b61f8ff75'
|
35
37
|
|
36
38
|
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: a0d640e7660a8ab18d2b1eb2ae9f92dc24ad8b63495270fc1dc8634008ea76897eb513f2de8c40684ed9c9e40d860af4c95ee4a0caf0498f930e2ca1abf633d5
|
15
15
|
|
16
16
|
test:
|
17
|
-
secret_key_base:
|
17
|
+
secret_key_base: dc41fc51a540c00ca6f041be02a1888cd4c4e36cd642783cf098c7ac1e5baf9d8acb6d7320ebabd163aaa3aa07f47e61e35727525b7ee2b73de8e68018762e9d
|
18
18
|
|
19
19
|
# Do not keep production secrets in the repository,
|
20
20
|
# instead read values from the environment.
|
@@ -9,9 +9,9 @@ class CreatePushTypeNodeHierarchies < ActiveRecord::Migration
|
|
9
9
|
|
10
10
|
add_index :push_type_node_hierarchies, [:ancestor_id, :descendant_id, :generations],
|
11
11
|
unique: true,
|
12
|
-
name: "
|
12
|
+
name: "node_anc_desc_idx"
|
13
13
|
|
14
14
|
add_index :push_type_node_hierarchies, [:descendant_id],
|
15
|
-
name: "
|
15
|
+
name: "node_desc_idx"
|
16
16
|
end
|
17
17
|
end
|
@@ -0,0 +1,19 @@
|
|
1
|
+
# This migration comes from push_type (originally 20150310115933)
|
2
|
+
class CreatePushTypeTaxonomies < ActiveRecord::Migration
|
3
|
+
def change
|
4
|
+
enable_extension 'uuid-ossp' unless extension_enabled?('uuid-ossp')
|
5
|
+
create_table :push_type_taxonomies, id: :uuid, default: 'uuid_generate_v4()' do |t|
|
6
|
+
t.string :type
|
7
|
+
t.string :title
|
8
|
+
t.string :slug
|
9
|
+
|
10
|
+
t.uuid :parent_id
|
11
|
+
t.integer :sort_order
|
12
|
+
|
13
|
+
t.timestamps null: false
|
14
|
+
end
|
15
|
+
|
16
|
+
# Also add a tags array to Assets
|
17
|
+
add_column :push_type_assets, :tags, :string, array: true
|
18
|
+
end
|
19
|
+
end
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# This migration comes from push_type (originally 20150310123230)
|
2
|
+
class CreatePushTypeTaxonomyHierarchies < ActiveRecord::Migration
|
3
|
+
def change
|
4
|
+
create_table :push_type_taxonomy_hierarchies, id: false do |t|
|
5
|
+
t.uuid :ancestor_id, null: false
|
6
|
+
t.uuid :descendant_id, null: false
|
7
|
+
t.integer :generations, null: false
|
8
|
+
end
|
9
|
+
|
10
|
+
add_index :push_type_taxonomy_hierarchies, [:ancestor_id, :descendant_id, :generations],
|
11
|
+
unique: true,
|
12
|
+
name: "taxonomy_anc_desc_idx"
|
13
|
+
|
14
|
+
add_index :push_type_taxonomy_hierarchies, [:descendant_id],
|
15
|
+
name: "taxonomy_desc_idx"
|
16
|
+
end
|
17
|
+
end
|
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: 20150406131616) do
|
15
15
|
|
16
16
|
# These are extensions that must be enabled in order to support this database
|
17
17
|
enable_extension "plpgsql"
|
@@ -25,9 +25,10 @@ ActiveRecord::Schema.define(version: 20150310192224) do
|
|
25
25
|
t.string "mime_type"
|
26
26
|
t.string "description"
|
27
27
|
t.uuid "uploader_id"
|
28
|
-
t.datetime "created_at"
|
29
|
-
t.datetime "updated_at"
|
28
|
+
t.datetime "created_at", null: false
|
29
|
+
t.datetime "updated_at", null: false
|
30
30
|
t.datetime "deleted_at"
|
31
|
+
t.string "tags", array: true
|
31
32
|
end
|
32
33
|
|
33
34
|
create_table "push_type_node_hierarchies", id: false, force: :cascade do |t|
|
@@ -36,8 +37,8 @@ ActiveRecord::Schema.define(version: 20150310192224) do
|
|
36
37
|
t.integer "generations", null: false
|
37
38
|
end
|
38
39
|
|
39
|
-
add_index "push_type_node_hierarchies", ["ancestor_id", "descendant_id", "generations"], name: "
|
40
|
-
add_index "push_type_node_hierarchies", ["descendant_id"], name: "
|
40
|
+
add_index "push_type_node_hierarchies", ["ancestor_id", "descendant_id", "generations"], name: "node_anc_desc_idx", unique: true, using: :btree
|
41
|
+
add_index "push_type_node_hierarchies", ["descendant_id"], name: "node_desc_idx", using: :btree
|
41
42
|
|
42
43
|
create_table "push_type_nodes", id: :uuid, default: "uuid_generate_v4()", force: :cascade do |t|
|
43
44
|
t.string "type"
|
@@ -51,17 +52,36 @@ ActiveRecord::Schema.define(version: 20150310192224) do
|
|
51
52
|
t.datetime "published_to"
|
52
53
|
t.uuid "creator_id"
|
53
54
|
t.uuid "updater_id"
|
54
|
-
t.datetime "created_at"
|
55
|
-
t.datetime "updated_at"
|
55
|
+
t.datetime "created_at", null: false
|
56
|
+
t.datetime "updated_at", null: false
|
56
57
|
t.datetime "deleted_at"
|
57
58
|
end
|
58
59
|
|
60
|
+
create_table "push_type_taxonomies", id: :uuid, default: "uuid_generate_v4()", force: :cascade do |t|
|
61
|
+
t.string "type"
|
62
|
+
t.string "title"
|
63
|
+
t.string "slug"
|
64
|
+
t.uuid "parent_id"
|
65
|
+
t.integer "sort_order"
|
66
|
+
t.datetime "created_at", null: false
|
67
|
+
t.datetime "updated_at", null: false
|
68
|
+
end
|
69
|
+
|
70
|
+
create_table "push_type_taxonomy_hierarchies", id: false, force: :cascade do |t|
|
71
|
+
t.uuid "ancestor_id", null: false
|
72
|
+
t.uuid "descendant_id", null: false
|
73
|
+
t.integer "generations", null: false
|
74
|
+
end
|
75
|
+
|
76
|
+
add_index "push_type_taxonomy_hierarchies", ["ancestor_id", "descendant_id", "generations"], name: "taxonomy_anc_desc_idx", unique: true, using: :btree
|
77
|
+
add_index "push_type_taxonomy_hierarchies", ["descendant_id"], name: "taxonomy_desc_idx", using: :btree
|
78
|
+
|
59
79
|
create_table "push_type_users", id: :uuid, default: "uuid_generate_v4()", force: :cascade do |t|
|
60
80
|
t.string "name"
|
61
81
|
t.string "email"
|
62
82
|
t.jsonb "field_store"
|
63
|
-
t.datetime "created_at"
|
64
|
-
t.datetime "updated_at"
|
83
|
+
t.datetime "created_at", null: false
|
84
|
+
t.datetime "updated_at", null: false
|
65
85
|
end
|
66
86
|
|
67
87
|
end
|