enjoy_cms_catalog 0.4.0.4 → 0.4.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/enjoy/catalog/admin/category.rb +2 -16
- data/lib/enjoy/catalog/admin/item.rb +2 -17
- data/lib/enjoy/catalog/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 382f3f25dff5c8728a76b0ea445cc37f1255b510
|
4
|
+
data.tar.gz: b059b140107ff7d9abc3f4c21df6c02f42f3a291
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ccb80ae4af4750ebc881c2c7a9df2c1c1cbc52ed9115d218a1ab0172b91bac09e2e95aa9d966d4cba34c3cf08963087721564dac7bcdf65a6af0c3e4821f127c
|
7
|
+
data.tar.gz: 488ca326dfc252ec6b2e51d06cdc7e189ca211828d0f728ae75cdb09d6390a78cee5bb18cb12caefbfeae365877ec31fd45663f3d6736547a9352096f992dcaa
|
@@ -34,28 +34,14 @@ module Enjoy::Catalog
|
|
34
34
|
end
|
35
35
|
group :URL do
|
36
36
|
active false
|
37
|
-
field :slugs, :
|
38
|
-
enum_method do
|
39
|
-
:slugs
|
40
|
-
end
|
41
|
-
visible do
|
42
|
-
bindings[:view].current_user.admin?
|
43
|
-
end
|
44
|
-
multiple do
|
45
|
-
true
|
46
|
-
end
|
47
|
-
end
|
37
|
+
field :slugs, :enjoy_slugs
|
48
38
|
field :text_slug
|
49
39
|
end
|
50
40
|
|
51
41
|
|
52
42
|
group :image do
|
53
43
|
active false
|
54
|
-
field :image, :
|
55
|
-
jcrop_options do
|
56
|
-
:image_jcrop_options
|
57
|
-
end
|
58
|
-
end
|
44
|
+
field :image, :enjoy_image
|
59
45
|
field :category_images
|
60
46
|
end
|
61
47
|
|
@@ -43,28 +43,13 @@ module Enjoy::Catalog
|
|
43
43
|
|
44
44
|
group :URL do
|
45
45
|
active false
|
46
|
-
field :slugs, :
|
47
|
-
enum_method do
|
48
|
-
:slugs
|
49
|
-
end
|
50
|
-
visible do
|
51
|
-
bindings[:view].current_user.admin?
|
52
|
-
end
|
53
|
-
multiple do
|
54
|
-
true
|
55
|
-
end
|
56
|
-
end
|
46
|
+
field :slugs, :enjoy_slugs
|
57
47
|
field :text_slug
|
58
48
|
end
|
59
49
|
|
60
50
|
group :image do
|
61
51
|
active false
|
62
|
-
field :image, :
|
63
|
-
jcrop_options do
|
64
|
-
:image_jcrop_options
|
65
|
-
end
|
66
|
-
end
|
67
|
-
|
52
|
+
field :image, :enjoy_image
|
68
53
|
field :item_images
|
69
54
|
end
|
70
55
|
|
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.4.0.
|
4
|
+
version: 0.4.0.5
|
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-07-
|
11
|
+
date: 2016-07-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|