big_decimal_helper 2.0.4 → 2.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -13
- data/lib/big_decimal_helper/conversion_protocol.rb +1 -1
- data/lib/big_decimal_helper/version.rb +1 -1
- metadata +12 -12
checksums.yaml
CHANGED
|
@@ -1,15 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
|
|
5
|
-
data.tar.gz: !binary |-
|
|
6
|
-
ZTUyZmU2Y2FhMzNjOGYwZTZlYmNkZjBkYTk5ZjUxMTAzNmFlNGY2YQ==
|
|
2
|
+
SHA1:
|
|
3
|
+
metadata.gz: be78ac420a90935a9952743f015f7df974a78b2d
|
|
4
|
+
data.tar.gz: b85f23947f9175fd50395becd3ba4d8d5877106d
|
|
7
5
|
SHA512:
|
|
8
|
-
metadata.gz:
|
|
9
|
-
|
|
10
|
-
MWJhYmE5YWRjOWEyMDBiMjVlYThiZWRkNTQ0NzRmMmQ2YWMzOTU5NzczYjcw
|
|
11
|
-
YzUzNTFiNDFhNTY5MDVmYjIwMjliOTFiNDY2NDEwYWFiMmQyM2Y=
|
|
12
|
-
data.tar.gz: !binary |-
|
|
13
|
-
OTkwOGU0NTc5NDQ0N2MwNDcyZDA0MmNiMTU3ZDExMDU4ZGU1NTAxMjYyMjVj
|
|
14
|
-
MTQwOGE0N2M5ZGZlMzlkNWI2MzhkYmQyOTZmZDZjMzUzMjhhZWVhYTNlY2Q2
|
|
15
|
-
NGFlNWFiMDk1MzRiNzRhYTFlMTRkZmU1YjczYjJiOGJiZGViOGU=
|
|
6
|
+
metadata.gz: 740bcd887c6b9927362abfc02b04645a86b2a6b63aa1b3bb40c5b16054716eedf6de4710a3549b45e9902db471ef9c60006fa889b9ae05a5752189a8730b3a03
|
|
7
|
+
data.tar.gz: 1e56f6ae7e3e9333d58cdea4ad298f2fb7f6612c9a0553b8bfd2a9e6cdf6d589bc2b60fdad9c66f2dec1dec2b9e6d5e46394b02d19be7ec3c624cacc140fd635
|
|
@@ -20,7 +20,7 @@ module BigDecimalHelper
|
|
|
20
20
|
end
|
|
21
21
|
|
|
22
22
|
BigDecimal.send :include, BigDecimalHelper::ConversionProtocol::Self
|
|
23
|
-
|
|
23
|
+
Integer .send :include, BigDecimalHelper::ConversionProtocol::ViaStringRepresentation
|
|
24
24
|
Float .send :include, BigDecimalHelper::ConversionProtocol::ViaStringRepresentation
|
|
25
25
|
String .send :include, BigDecimalHelper::ConversionProtocol::ViaStringRepresentation
|
|
26
26
|
NilClass .send :include, BigDecimalHelper::ConversionProtocol::ViaStringRepresentation
|
metadata
CHANGED
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: big_decimal_helper
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.0.
|
|
4
|
+
version: 2.0.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Sam Livingston-Gray
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2018-04-23 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rake
|
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
|
16
16
|
requirements:
|
|
17
|
-
- - ~>
|
|
17
|
+
- - "~>"
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
19
|
version: 0.9.2.2
|
|
20
20
|
type: :development
|
|
21
21
|
prerelease: false
|
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
23
|
requirements:
|
|
24
|
-
- - ~>
|
|
24
|
+
- - "~>"
|
|
25
25
|
- !ruby/object:Gem::Version
|
|
26
26
|
version: 0.9.2.2
|
|
27
27
|
- !ruby/object:Gem::Dependency
|
|
28
28
|
name: rspec
|
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
|
30
30
|
requirements:
|
|
31
|
-
- - ~>
|
|
31
|
+
- - "~>"
|
|
32
32
|
- !ruby/object:Gem::Version
|
|
33
33
|
version: 2.14.1
|
|
34
34
|
type: :development
|
|
35
35
|
prerelease: false
|
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
|
37
37
|
requirements:
|
|
38
|
-
- - ~>
|
|
38
|
+
- - "~>"
|
|
39
39
|
- !ruby/object:Gem::Version
|
|
40
40
|
version: 2.14.1
|
|
41
41
|
description: Helpers for working with BigDecimals in Rails apps
|
|
@@ -45,8 +45,8 @@ executables: []
|
|
|
45
45
|
extensions: []
|
|
46
46
|
extra_rdoc_files: []
|
|
47
47
|
files:
|
|
48
|
-
- .gitignore
|
|
49
|
-
- .rspec
|
|
48
|
+
- ".gitignore"
|
|
49
|
+
- ".rspec"
|
|
50
50
|
- Gemfile
|
|
51
51
|
- LICENSE
|
|
52
52
|
- README.md
|
|
@@ -72,20 +72,20 @@ require_paths:
|
|
|
72
72
|
- lib
|
|
73
73
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
74
74
|
requirements:
|
|
75
|
-
- -
|
|
75
|
+
- - ">="
|
|
76
76
|
- !ruby/object:Gem::Version
|
|
77
77
|
version: '0'
|
|
78
78
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
79
79
|
requirements:
|
|
80
|
-
- -
|
|
80
|
+
- - ">="
|
|
81
81
|
- !ruby/object:Gem::Version
|
|
82
82
|
version: '0'
|
|
83
83
|
requirements: []
|
|
84
84
|
rubyforge_project:
|
|
85
|
-
rubygems_version: 2.
|
|
85
|
+
rubygems_version: 2.6.13
|
|
86
86
|
signing_key:
|
|
87
87
|
specification_version: 4
|
|
88
|
-
summary:
|
|
88
|
+
summary: 'Defines a #to_bd conversion protocol to ease typing, and provides an ActiveRecord
|
|
89
89
|
macro to facilitate presentation of float fields as BigDecimal.'
|
|
90
90
|
test_files:
|
|
91
91
|
- spec/active_record_macro_spec.rb
|