mongoid_money_field 6.0.3 → 7.0.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
- SHA1:
3
- metadata.gz: a2438a32ae93dc10fd730536b8731bd718c444ea
4
- data.tar.gz: 66f6c5d0c748dff8436caee0224d1c5ac5b7e632
2
+ SHA256:
3
+ metadata.gz: 607b3b8e85846bff29d4db0dbc74c25b6f19fec57955949ed009fef97da943d4
4
+ data.tar.gz: 02a5c2caa7a8a4758550aab50cd4dfb20a371b1a5fb7047ffd8f726746a850d6
5
5
  SHA512:
6
- metadata.gz: 041a15dc914f173016d4e404fa659550a00385fa76711eda792631e1efba27b1a43db1e64e0cbf7151ff75cdd91055ea73bf1ecb069699af66c2498f7b022220
7
- data.tar.gz: 3ee9521b275970a61f024a90a743b731abcb26f801091b277d2b3fe8819e8cd6ce8bf983a5ca0b0315cf3a065e0dbceac8efd69f52d2083f4593f0bfd669083d
6
+ metadata.gz: 72a355921a1c9cd6e81096cde2c9240fbf260b0437099dcd17cfb2a9f2d03a5103e2f6729b052102ab00031af9a62876df3c22a6a390dcb30e2daff3d666bdb2
7
+ data.tar.gz: 69c014d84eccc7a7b026524d9d086c4789c4090ed97d1064aa8d0a1f608b86ca6c3a1f609288ebe42955e1cc814b60b8e542fced73d1c6130bad0b8e9dc531df
@@ -1,68 +1,69 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- mongoid_money_field (6.0.3)
4
+ mongoid_money_field (7.0.0)
5
5
  monetize
6
- money (~> 6.9.0)
7
- mongoid (~> 5.2)
6
+ money (~> 6.13.2)
7
+ mongoid (~> 6.0)
8
8
 
9
9
  GEM
10
10
  remote: https://rubygems.org/
11
11
  specs:
12
- activemodel (4.2.8)
13
- activesupport (= 4.2.8)
14
- builder (~> 3.1)
15
- activesupport (4.2.8)
16
- i18n (~> 0.7)
12
+ activemodel (5.2.2)
13
+ activesupport (= 5.2.2)
14
+ activesupport (5.2.2)
15
+ concurrent-ruby (~> 1.0, >= 1.0.2)
16
+ i18n (>= 0.7, < 2)
17
17
  minitest (~> 5.1)
18
- thread_safe (~> 0.3, >= 0.3.4)
19
18
  tzinfo (~> 1.1)
20
- bson (4.2.1)
21
- builder (3.2.3)
22
- database_cleaner (1.6.1)
19
+ bson (4.4.2)
20
+ concurrent-ruby (1.1.4)
21
+ database_cleaner (1.7.0)
23
22
  diff-lcs (1.3)
24
- docile (1.1.5)
25
- i18n (0.8.1)
23
+ docile (1.3.1)
24
+ i18n (1.5.3)
25
+ concurrent-ruby (~> 1.0)
26
26
  json (2.1.0)
27
- minitest (5.10.2)
28
- monetize (1.6.0)
29
- money (~> 6.8)
30
- money (6.9.0)
31
- i18n (>= 0.6.4, < 0.9)
32
- mongo (2.4.1)
33
- bson (>= 4.2.1, < 5.0.0)
34
- mongoid (5.2.1)
35
- activemodel (~> 4.0)
36
- mongo (>= 2.4.1, < 3.0.0)
37
- origin (~> 2.3)
38
- tzinfo (>= 0.3.37)
39
- mongoid-rspec (3.0.0)
40
- mongoid (~> 5.0)
41
- rake
27
+ minitest (5.11.3)
28
+ monetize (1.9.0)
29
+ money (~> 6.12)
30
+ money (6.13.2)
31
+ i18n (>= 0.6.4, <= 2)
32
+ mongo (2.7.0)
33
+ bson (>= 4.4.2, < 5.0.0)
34
+ mongoid (6.4.2)
35
+ activemodel (>= 5.1, < 6.0.0)
36
+ mongo (>= 2.5.1, < 3.0.0)
37
+ mongoid-compatibility (0.5.1)
38
+ activesupport
39
+ mongoid (>= 2.0)
40
+ mongoid-rspec (4.0.1)
41
+ activesupport (>= 3.0.0)
42
+ mongoid (>= 3.1)
43
+ mongoid-compatibility (>= 0.5.1)
42
44
  rspec (~> 3.3)
43
- origin (2.3.0)
44
- rake (12.0.0)
45
- rdoc (5.1.0)
46
- rspec (3.6.0)
47
- rspec-core (~> 3.6.0)
48
- rspec-expectations (~> 3.6.0)
49
- rspec-mocks (~> 3.6.0)
50
- rspec-core (3.6.0)
51
- rspec-support (~> 3.6.0)
52
- rspec-expectations (3.6.0)
45
+ rake (12.3.2)
46
+ rdoc (6.1.1)
47
+ rspec (3.8.0)
48
+ rspec-core (~> 3.8.0)
49
+ rspec-expectations (~> 3.8.0)
50
+ rspec-mocks (~> 3.8.0)
51
+ rspec-core (3.8.0)
52
+ rspec-support (~> 3.8.0)
53
+ rspec-expectations (3.8.2)
53
54
  diff-lcs (>= 1.2.0, < 2.0)
54
- rspec-support (~> 3.6.0)
55
- rspec-mocks (3.6.0)
55
+ rspec-support (~> 3.8.0)
56
+ rspec-mocks (3.8.0)
56
57
  diff-lcs (>= 1.2.0, < 2.0)
57
- rspec-support (~> 3.6.0)
58
- rspec-support (3.6.0)
59
- simplecov (0.14.1)
60
- docile (~> 1.1.0)
58
+ rspec-support (~> 3.8.0)
59
+ rspec-support (3.8.0)
60
+ simplecov (0.16.1)
61
+ docile (~> 1.1)
61
62
  json (>= 1.8, < 3)
62
63
  simplecov-html (~> 0.10.0)
63
- simplecov-html (0.10.0)
64
+ simplecov-html (0.10.2)
64
65
  thread_safe (0.3.6)
65
- tzinfo (1.2.3)
66
+ tzinfo (1.2.5)
66
67
  thread_safe (~> 0.1)
67
68
 
68
69
  PLATFORMS
@@ -79,4 +80,4 @@ DEPENDENCIES
79
80
  simplecov
80
81
 
81
82
  BUNDLED WITH
82
- 1.14.6
83
+ 1.17.2
@@ -28,7 +28,7 @@ class MoneyType
28
28
  else
29
29
  nil
30
30
  end
31
- elsif object.is_a?(Fixnum) || object.is_a?(Float)
31
+ elsif object.is_a?(Numeric)
32
32
  if @options[:fixed_currency]
33
33
  ::Money.new(object, @options[:fixed_currency])
34
34
  else
@@ -1,3 +1,3 @@
1
1
  module MongoidMoneyField
2
- VERSION = "6.0.3"
2
+ VERSION = "7.0.0"
3
3
  end
@@ -18,8 +18,8 @@ Gem::Specification.new do |spec|
18
18
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
19
  spec.require_paths = ["lib"]
20
20
 
21
- spec.add_runtime_dependency "mongoid", "~> 5.2"
22
- spec.add_runtime_dependency "money", "~> 6.9.0"
21
+ spec.add_runtime_dependency "mongoid", "~> 6.0"
22
+ spec.add_runtime_dependency "money", "~> 6.13.2"
23
23
  spec.add_runtime_dependency "monetize"
24
24
 
25
25
  spec.add_development_dependency "rake"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mongoid_money_field
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.0.3
4
+ version: 7.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gleb Tv
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-05-16 00:00:00.000000000 Z
11
+ date: 2019-02-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mongoid
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '5.2'
19
+ version: '6.0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '5.2'
26
+ version: '6.0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: money
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 6.9.0
33
+ version: 6.13.2
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: 6.9.0
40
+ version: 6.13.2
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: monetize
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -210,8 +210,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
210
210
  - !ruby/object:Gem::Version
211
211
  version: '0'
212
212
  requirements: []
213
- rubyforge_project:
214
- rubygems_version: 2.6.11
213
+ rubygems_version: 3.0.2
215
214
  signing_key:
216
215
  specification_version: 4
217
216
  summary: Use RubyMoney with mongoid