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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: edde50b4433ff6776e6b8d22901ba0e41b334e40
4
- data.tar.gz: fdbce49d7fa7f0fadc43c452ef7ec1dc8b1a2ef6
3
+ metadata.gz: 382f3f25dff5c8728a76b0ea445cc37f1255b510
4
+ data.tar.gz: b059b140107ff7d9abc3f4c21df6c02f42f3a291
5
5
  SHA512:
6
- metadata.gz: 4e3bbd171f9cb45ddbc6c138eae458a81a9de3884cd7a31473651aad07d00c28bc54816dc0ca4103aa6d00ca8a426e47f9a480955f4716297e6927d29ca50fde
7
- data.tar.gz: 8fe619a6ca6703fcb3313f3453fa939091f0dfb6330ba77e98b9943a11ad191fdddf93fb738e86d036e2bef7298bd49826c95e7933fbf1454e3cf839bff48bf9
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, :enum do
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, :jcrop do
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, :enum do
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, :jcrop do
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
 
@@ -1,5 +1,5 @@
1
1
  module Enjoy
2
2
  module Catalog
3
- VERSION = "0.4.0.4"
3
+ VERSION = "0.4.0.5"
4
4
  end
5
5
  end
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
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-15 00:00:00.000000000 Z
11
+ date: 2016-07-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler