enjoy_cms_faq 0.4.0 → 0.4.0.1

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: 6a9d7e27e1f4f2738be3b8be5cbcedc42b770a65
4
- data.tar.gz: a2594ec104c7c430968cf9ac91d3f7784d77a2d5
3
+ metadata.gz: 846798f3e46b990b58ad4d51c065a841d6299c13
4
+ data.tar.gz: e4af0c77f20462816096024bc48e8f94ff3a7ed6
5
5
  SHA512:
6
- metadata.gz: f1141c67e257651e3ed7ea07c7a6c00a446c168335ba3abdca6973dae74f82f4683a2e2896cd14f8d6e111bb54cdf13f07be740d923e31d183b7eb92d4dc690b
7
- data.tar.gz: 842c1f5852631830574b4afa0c1d4f76fa4fef6dd92ac38b209a8ab93efac91513e349ce92a1fd43207f784ca061370b7fe00d74272c0a21740470ba21ec5925
6
+ metadata.gz: 5d90a999a75316454e0d8419a4e169023ad14ee437d6132a2d5c2160d15d4058a8ef3c07ec80ebfd6582e1b4b5fe1e69e3746784f3068233ece9e9e7f80f2bb1
7
+ data.tar.gz: e7750cd9d2da10047c8d5d70348621e71abd72bb495286c79c04763782f6d9a634e80da432b5cad543bec98636c39bf98e1d7948630b78e4c4e1fd9cbd37c346
@@ -32,24 +32,10 @@ module Enjoy::Faq
32
32
 
33
33
  group :URL do
34
34
  active false
35
- field :slugs, :enum do
36
- enum_method do
37
- :slugs
38
- end
39
- visible do
40
- bindings[:view].current_user.admin?
41
- end
42
- multiple do
43
- true
44
- end
45
- end
35
+ field :slugs, :enjoy_slugs
46
36
  field :text_slug
47
37
  end
48
- # field :image, :jcrop do
49
- # jcrop_options do
50
- # :image_jcrop_options
51
- # end
52
- # end
38
+ # field :image, :enjoy_image
53
39
 
54
40
  group :content do
55
41
  active false
@@ -103,17 +89,7 @@ module Enjoy::Faq
103
89
  show do
104
90
  field :name
105
91
  # field :sidebar_title
106
- field :slugs, :enum do
107
- enum_method do
108
- :slugs
109
- end
110
- visible do
111
- bindings[:view].current_user.admin?
112
- end
113
- multiple do
114
- true
115
- end
116
- end
92
+ field :slugs, :enjoy_slugs
117
93
  field :text_slug
118
94
  field :enabled
119
95
  # field :image
@@ -19,17 +19,7 @@ module Enjoy::Faq
19
19
 
20
20
  group :URL do
21
21
  active false
22
- field :slugs, :enum do
23
- enum_method do
24
- :slugs
25
- end
26
- visible do
27
- bindings[:view].current_user.admin?
28
- end
29
- multiple do
30
- true
31
- end
32
- end
22
+ field :slugs, :enjoy_slugs
33
23
  field :text_slug
34
24
  end
35
25
 
@@ -1,5 +1,5 @@
1
1
  module Enjoy
2
2
  module Faq
3
- VERSION = "0.4.0"
3
+ VERSION = "0.4.0.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: enjoy_cms_faq
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexander Kiseliev
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-07-14 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