active_data 1.1.5 → 1.1.6

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
  SHA256:
3
- metadata.gz: 1c1d3b2c3318d731085fd9a76ef956e1d9fe4b52877b21384acb02e146c2408d
4
- data.tar.gz: d95da2f65fd5a789369359e3787afd4f380f29e4a5e87afb599bcaff80fe57bf
3
+ metadata.gz: 8fb124e56b71b295485dcfb70315f109b89b4e48793343bd241ef6c70e0d6247
4
+ data.tar.gz: 15adc0c5b026993a18a04a6cdc94dba0d76adafcac5aaffc1ec0e22f9a435975
5
5
  SHA512:
6
- metadata.gz: 9d31b3015091e0d535d80e835d6f05e10526c5f4173b57c0d7c5b771d1b823109abb7e33fbb081d2fc1940c15916a6904221c2c9ec96c0014532af664d2b2ce3
7
- data.tar.gz: 7c825f0e284920b89ee85faa0a2e56dd11199ae3a3cc55b6aff902695e2214326ee273fb1005395c9181522a019cfe7e12fdd32d7d83b80cb5a0c651734a2f0c
6
+ metadata.gz: 28aaf1fa3d6c7fb6604ae5b6e3bb380f78983aba6626e2b7981c4127f5b92ce991611d20f41f4901183d6e3f6a9b2a2891197f94d7aecef6685befc7afbe56fa
7
+ data.tar.gz: 7547903a22f346ca54d5a3cc8227b1bb3bb19256f5966e6610f3a1ca8ea06952beeb16cb687ddfa00bd1f54d6b6b20f1d314eca72b47b213318d6a323aae011d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # master
2
2
 
3
+ # Version 1.1.6
4
+
5
+ * Fix Ruby 2.6 deprecations (#72)
6
+
3
7
  # Version 1.1.5
4
8
 
5
9
  * Rails 6 support (#70, #71)
data/lib/active_data.rb CHANGED
@@ -100,7 +100,7 @@ module ActiveData
100
100
  typecaster('BigDecimal') do |value|
101
101
  next unless value
102
102
  begin
103
- ::BigDecimal.new Float(value).to_s
103
+ BigDecimal(Float(value).to_s)
104
104
  rescue ArgumentError, TypeError
105
105
  nil
106
106
  end
@@ -1,3 +1,3 @@
1
1
  module ActiveData
2
- VERSION = '1.1.5'.freeze
2
+ VERSION = '1.1.6'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_data
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.5
4
+ version: 1.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - pyromaniac
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-09-10 00:00:00.000000000 Z
11
+ date: 2019-11-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord