better_ipaddr 0.7.0 → 0.7.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
  SHA256:
3
- metadata.gz: c932b6f935ba9e71a4bb4471ecb0bfcfebbf77f316799e75a4617d3a39cdf7b0
4
- data.tar.gz: 677d6e46f7129f07dbcb5a57f78845eba60ace671400c477609e6fd7fbe43e7d
3
+ metadata.gz: 0dbc4e50fb590aeadbaa5aa7ff6e5cfd0b51eaf4fcef8cc4b1868d85330514ed
4
+ data.tar.gz: a3f13d8c0cc004bc47d49df46420f3a46a07700f6dd94c66aa70b593e9d349ff
5
5
  SHA512:
6
- metadata.gz: f98ca91e742c0081664a2126fea68d69c194e37a1ab30ceee3d5774cfd99d7d8891cd79300bce192ce9efecc0277406c2a4a1bafbb65fe49ee78cade918cdb94
7
- data.tar.gz: c7eade85d3969499eb0c0a50b5240b3b94a1828947de936082e88fb8269e1b3e820ffa93bda60769c7212188b5c08cd2e33d46aca4fe4e6c5a82b43a51f6e656
6
+ metadata.gz: 212b310996d7f7b80c0aae8329bcea0ce760e72b61248d461fe37cec4dcb867ef015f04d4300c701fb735dc2bbb43664e2f66db4c333fb6184b96cce74ea81d7
7
+ data.tar.gz: 3337c075339f2808f8079cfb7d6a8b8813e8dc962ee5df2aae91eaea0d9f482548f18584bf22f1a65787b0b36b2a32d3151abb3a2d4e8093a2ceca7e76355629
@@ -3,10 +3,11 @@ rvm:
3
3
  - 2.0.0
4
4
  - 2.1.10
5
5
  - 2.2.10
6
- - 2.3.7
7
- - 2.4.4
8
- - 2.5.1
6
+ - 2.3.8
7
+ - 2.4.5
8
+ - 2.5.3
9
9
  - jruby-9.1.16.0
10
+ - jruby-9.2.0.0
10
11
  matrix:
11
12
  include:
12
13
  - rvm: jruby
@@ -172,6 +172,12 @@ module BetterIpaddr
172
172
  # The first host address in the network.
173
173
  # @return [IPAddr]
174
174
 
175
+ def hash
176
+ # see https://github.com/jruby/jruby/issues/4460
177
+ # remove this override when specs still pass without it
178
+ [self.class, @addr, @mask_addr, @family].hash
179
+ end
180
+
175
181
  def first
176
182
  self[0]
177
183
  end
@@ -1,3 +1,3 @@
1
1
  module BetterIpaddr
2
- VERSION = "0.7.0".freeze
2
+ VERSION = "0.7.1".freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: better_ipaddr
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Miller
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-10-02 00:00:00.000000000 Z
11
+ date: 2018-11-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler