enjoy_cms_catalog 0.4.0.beta3 → 0.4.0

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: b1c6044878fd5465b1096e04747894c1d1554fea
4
- data.tar.gz: 99d7d3cfd1af087061147fcdd9d71ad4ec51bfd3
3
+ metadata.gz: 3164514754ffb7aa08c22494d69dbb521a9cec61
4
+ data.tar.gz: a031dbb35eb87ca22f757a7e554f888c55305ddb
5
5
  SHA512:
6
- metadata.gz: 1e1c13c7266507321c90287b13cf37b2e6aab6dc42fd88e0adb6aaec5f0f4670fb515531d3f890e652f2f93bdecd0a79cc6dd78d3dbebaca6470f90ea5a5db3b
7
- data.tar.gz: 1f8b599684ab89b2b14607ac7128bc52905dd59bd9eed87860718dbbdf26351012043cadf63af06f990dabd8b4b058d00beb8c6dcd7deed1def127076d8286d1
6
+ metadata.gz: 1b11e03cd5f260f7b59a1f527b47090390c81b01454a98df8bcb0c707e488c87cca8df01797ee2f48bdfb8ee43d7f5d7d4c423345b6fb8c9347caeb1864f239b
7
+ data.tar.gz: 49559c18f178a4e1a823a986cf45c8563d2929433fac2998782cdd3ba53be0a9f190875acf0bcd70c63e4c71d5fa8350238a9f493e86d8dcd259d302dda53b30
@@ -31,8 +31,8 @@ Gem::Specification.new do |spec|
31
31
  spec.add_development_dependency "bundler", "~> 1.10"
32
32
  spec.add_development_dependency "rake", "~> 10.0"
33
33
 
34
- spec.add_dependency 'enjoy_cms_gallery', "~> 0.4.0.beta3"
35
-
34
+ spec.add_dependency 'enjoy_cms_gallery', "~> 0.4.0"
35
+
36
36
  spec.add_dependency 'money-rails'
37
37
  spec.add_dependency 'mongoid_money_field', '~> 5.0.0'
38
38
  end
@@ -39,6 +39,7 @@ module Enjoy::Catalog
39
39
  searchable :name
40
40
  end
41
41
  field :price, :string
42
+ # field :price, :money_field
42
43
 
43
44
  group :URL do
44
45
  active false
@@ -14,6 +14,7 @@ module Enjoy::Catalog
14
14
  if Enjoy::Catalog.config.gallery_support
15
15
  include Enjoy::Gallery::Paperclipable
16
16
  end
17
+ # include Mongoid::MoneyField
17
18
 
18
19
  include Enjoy::Catalog.orm_specific('Item')
19
20
 
@@ -23,6 +23,7 @@ module Enjoy::Catalog
23
23
 
24
24
  has_and_belongs_to_many :related_items, :class_name => "Enjoy::Catalog::Item", :inverse_of => :related_items
25
25
 
26
+ # money_field :price, default_currency: nil
26
27
  field :price, type: Money, default: nil, localize: Enjoy::Catalog.configuration.localize
27
28
  end
28
29
  end
@@ -1,5 +1,5 @@
1
1
  module Enjoy
2
2
  module Catalog
3
- VERSION = "0.4.0.beta3"
3
+ VERSION = "0.4.0"
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.beta3
4
+ version: 0.4.0
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-04 00:00:00.000000000 Z
11
+ date: 2016-07-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -44,14 +44,14 @@ dependencies:
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: 0.4.0.beta3
47
+ version: 0.4.0
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: 0.4.0.beta3
54
+ version: 0.4.0
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: money-rails
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -171,9 +171,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
171
171
  version: '0'
172
172
  required_rubygems_version: !ruby/object:Gem::Requirement
173
173
  requirements:
174
- - - ">"
174
+ - - ">="
175
175
  - !ruby/object:Gem::Version
176
- version: 1.3.1
176
+ version: '0'
177
177
  requirements: []
178
178
  rubyforge_project:
179
179
  rubygems_version: 2.5.1