enjoy_cms_catalog 0.3.0 → 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: 38d3f0bc0de2667ad75dfc5647106c3a83e6843c
4
- data.tar.gz: 55f3ecc1ede6616068a73837e5289fbda08ab315
3
+ metadata.gz: 28620ee7579acd9fcfccba7584f547b58b276495
4
+ data.tar.gz: 3331455fcd5f936522af4c1cdaad678ec4f181a2
5
5
  SHA512:
6
- metadata.gz: 889ecc3bcb16e643ebc714c0234a919bfd974c576d1b580fbc7c8495dd93c8ae39ff84dad51818531627f902036f4cfd656aa83a4b161fda140017f884e69b8d
7
- data.tar.gz: 22592e5f748586af88081a69d6b511f645f6b4fb77105d77a2427cd13fa158f9504c99783682143c8ecffeaa62f68e88a3b1ceed9434b3d14146b2b894741687
6
+ metadata.gz: 139c6519cec3e2f2c5ce1c61a00d6f637f6d30266998672f98d637524ea6a1a5a965b698587c418ee5ce11eada032d3c9a7654394ab158cf23280dd73b8e2777
7
+ data.tar.gz: 540141975cc92a5a036e897c5a5b5e5b6076385a9bc5defe8560d8188d1a1f695df26f758849ffda26ef33e82304415b1341226ba326cf79063c851ce5dc3fd8
@@ -34,5 +34,5 @@ Gem::Specification.new do |spec|
34
34
  spec.add_dependency 'money-rails'
35
35
  spec.add_dependency 'mongoid_money_field'
36
36
 
37
- spec.add_dependency 'enjoy_cms', "~> 0.3.0"
37
+ spec.add_dependency 'enjoy_cms', "~> 0.3.1"
38
38
  end
@@ -8,6 +8,10 @@ module Enjoy::Catalog
8
8
  include Enjoy::HtmlField
9
9
 
10
10
  included do
11
+ if defined?(RailsAdminComments)
12
+ include RailsAdminComments::Commentable
13
+ end
14
+
11
15
  field :name, type: String, localize: Enjoy.configuration.localize, default: ""
12
16
 
13
17
  enjoy_cms_mongoid_attached_file(:image,
@@ -8,6 +8,10 @@ module Enjoy::Catalog
8
8
  include Enjoy::HtmlField
9
9
 
10
10
  included do
11
+ if defined?(RailsAdminComments)
12
+ include RailsAdminComments::Commentable
13
+ end
14
+
11
15
  field :name, type: String, localize: Enjoy.configuration.localize, default: ""
12
16
 
13
17
  enjoy_cms_mongoid_attached_file(:image,
@@ -1,5 +1,5 @@
1
1
  module Enjoy
2
2
  module Catalog
3
- VERSION = "0.3.0"
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_catalog
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
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-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
@@ -72,14 +72,14 @@ dependencies:
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: 0.3.0
75
+ version: 0.3.1
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.0
82
+ version: 0.3.1
83
83
  description: Items catalog with EnjoyCMS support.
84
84
  email:
85
85
  - dev@enjoycreate.ru