enjoy_cms_catalog 0.3.3 → 0.3.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/enjoy_cms_catalog.gemspec +1 -1
- data/lib/enjoy/catalog/admin/item.rb +2 -0
- data/lib/enjoy/catalog/admin/item_category.rb +2 -0
- data/lib/enjoy/catalog/models/item.rb +3 -0
- data/lib/enjoy/catalog/models/item_category.rb +3 -0
- data/lib/enjoy/catalog/version.rb +1 -1
- data/lib/generators/enjoy/catalog/models/templates/item.erb +5 -0
- data/lib/generators/enjoy/catalog/models/templates/item_category.erb +3 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b1e8327ef229c0b25ddea63ef933783c1d10648c
|
4
|
+
data.tar.gz: 47d6cb35664902671b67c71efe2350a85de68766
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b9d8811cb17691cf9fdf50c1833e17eab32439ee4cb4812aa8999cc71df9053ab6685a449b70d301f9f3d3677d882453ac595c537cf1a8dd18649db9e646342d
|
7
|
+
data.tar.gz: b07fec3e354c84e7e29671c14cf0d875a390ca82cf25aa0a6c8a7fdb6771605d6bdfc577dc60709e402305f24a61d2e830e04120cc06891e1f05ccd15e67fbba
|
data/enjoy_cms_catalog.gemspec
CHANGED
@@ -10,12 +10,14 @@ module Enjoy::Catalog
|
|
10
10
|
field :name
|
11
11
|
field :price
|
12
12
|
field :item_categories
|
13
|
+
field :connected_pages, :enjoy_connectable
|
13
14
|
field :image
|
14
15
|
end
|
15
16
|
|
16
17
|
edit do
|
17
18
|
field :enabled, :toggle
|
18
19
|
field :name
|
20
|
+
field :connected_pages, :enjoy_connectable
|
19
21
|
field :item_categories
|
20
22
|
|
21
23
|
group :URL do
|
@@ -10,6 +10,7 @@ module Enjoy::Catalog
|
|
10
10
|
field :enabled, :toggle
|
11
11
|
field :name
|
12
12
|
field :image
|
13
|
+
field :connected_pages, :enjoy_connectable
|
13
14
|
|
14
15
|
field :items do
|
15
16
|
read_only true
|
@@ -27,6 +28,7 @@ module Enjoy::Catalog
|
|
27
28
|
edit do
|
28
29
|
field :enabled, :toggle
|
29
30
|
field :name
|
31
|
+
field :connected_pages, :enjoy_connectable
|
30
32
|
group :URL do
|
31
33
|
active false
|
32
34
|
field :slugs, :enum do
|
@@ -6,6 +6,7 @@ module Enjoy::Catalog
|
|
6
6
|
include Enjoy::Enableable
|
7
7
|
include Enjoy::Seoable
|
8
8
|
include Enjoy::SitemapDataField
|
9
|
+
include Enjoy::Connectable
|
9
10
|
|
10
11
|
include Enjoy::Catalog.orm_specific('Item')
|
11
12
|
|
@@ -13,6 +14,8 @@ module Enjoy::Catalog
|
|
13
14
|
|
14
15
|
included do
|
15
16
|
manual_slug :name
|
17
|
+
|
18
|
+
enjoy_connectable_field :connected_pages, routes_namespace: :enjoy_cms_catalog
|
16
19
|
end
|
17
20
|
end
|
18
21
|
end
|
@@ -6,6 +6,7 @@ module Enjoy::Catalog
|
|
6
6
|
include Enjoy::Enableable
|
7
7
|
include Enjoy::Seoable
|
8
8
|
include Enjoy::SitemapDataField
|
9
|
+
include Enjoy::Connectable
|
9
10
|
|
10
11
|
include Enjoy::Catalog.orm_specific('ItemCategory')
|
11
12
|
|
@@ -13,6 +14,8 @@ module Enjoy::Catalog
|
|
13
14
|
|
14
15
|
included do
|
15
16
|
manual_slug :name
|
17
|
+
|
18
|
+
enjoy_connectable_field :connected_pages, routes_namespace: :enjoy_cms_catalog
|
16
19
|
end
|
17
20
|
|
18
21
|
def item_class
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: enjoy_cms_catalog
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alexander Kiseliev
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-03-
|
11
|
+
date: 2016-03-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -72,14 +72,14 @@ dependencies:
|
|
72
72
|
requirements:
|
73
73
|
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: 0.3.
|
75
|
+
version: 0.3.4
|
76
76
|
type: :runtime
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: 0.3.
|
82
|
+
version: 0.3.4
|
83
83
|
description: Items catalog with EnjoyCMS support.
|
84
84
|
email:
|
85
85
|
- dev@enjoycreate.ru
|