enjoy_cms_faq 0.3.0.2 → 0.3.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: ca9208c855af41955936c55fa9a857d2c938591f
4
- data.tar.gz: 5f20fe1ce0890f397065b791402c73579679d7d1
3
+ metadata.gz: 37ed8091abc44567d63df88cde15e7f76a2b2dd1
4
+ data.tar.gz: 659f30fd41419339d0b72257a1bc593520964b81
5
5
  SHA512:
6
- metadata.gz: 8961fb74dd49a8a6c284b295d0c79f52cfe90908d2fceafbf071bd6d5056e14c51c52d809d2337db86190242fa9d059b546dc7454f018df58ee413e944c4e0a8
7
- data.tar.gz: 1e1426a6891263ac91b20b94dd41b704cfbfc228a760cacd4390542ae5d8b7a9c690d5ec819635337c9d49ae86bc2e8ceade4f598debfce766a884cdb1fe7906
6
+ metadata.gz: 55e42e99d2b32cfa4bb3917ad9fb35b3b963bee3e490544878760c48a7bb384afebcb64a541e130a56caab9f4272043cd51d513188ca13a4fdfd4014a542c767
7
+ data.tar.gz: 9463dd508539f2265da0e81c31edc4d2e7564bc9bb5929e3f9d6920d91741128dacef3efac23defd36d09b63e8015668894d9a1e071e8c710e8997d0471e1f67
@@ -7,6 +7,9 @@ module Enjoy::Faq
7
7
  include Enjoy::HtmlField
8
8
 
9
9
  included do
10
+ if defined?(RailsAdminComments)
11
+ include RailsAdminComments::Commentable
12
+ end
10
13
 
11
14
  field :question_text
12
15
  enjoy_cms_html_field :question_text_after_editing, localize: Enjoy.configuration.localize
@@ -7,6 +7,10 @@ module Enjoy::Faq
7
7
  include Enjoy::HtmlField
8
8
 
9
9
  included do
10
+ if defined?(RailsAdminComments)
11
+ include RailsAdminComments::Commentable
12
+ end
13
+
10
14
  field :name, type: String, localize: Enjoy.configuration.localize
11
15
 
12
16
  acts_as_nested_set
@@ -1,5 +1,5 @@
1
1
  module Enjoy
2
2
  module Faq
3
- VERSION = "0.3.0.2"
3
+ VERSION = "0.3.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.3.0.2
4
+ version: 0.3.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-02-17 00:00:00.000000000 Z
11
+ date: 2016-02-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler