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 +4 -4
- data/.travis.yml +4 -3
- data/lib/better_ipaddr/methods.rb +6 -0
- data/lib/better_ipaddr/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0dbc4e50fb590aeadbaa5aa7ff6e5cfd0b51eaf4fcef8cc4b1868d85330514ed
|
4
|
+
data.tar.gz: a3f13d8c0cc004bc47d49df46420f3a46a07700f6dd94c66aa70b593e9d349ff
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 212b310996d7f7b80c0aae8329bcea0ce760e72b61248d461fe37cec4dcb867ef015f04d4300c701fb735dc2bbb43664e2f66db4c333fb6184b96cce74ea81d7
|
7
|
+
data.tar.gz: 3337c075339f2808f8079cfb7d6a8b8813e8dc962ee5df2aae91eaea0d9f482548f18584bf22f1a65787b0b36b2a32d3151abb3a2d4e8093a2ceca7e76355629
|
data/.travis.yml
CHANGED
@@ -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
|
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.
|
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
|
11
|
+
date: 2018-11-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|