better_ipaddr 0.1.5 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/better_ipaddr/space.rb +2 -2
- data/lib/better_ipaddr/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 937c89536c0e07164ed393e8aa71cb5ccc82c68c
|
4
|
+
data.tar.gz: de627a545baf2f55ed62a6e2942039cd3651a846
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7fe8d0797c1bee6dbc4380d24ee50e7546d63ca711a4d7e6afbc6306049712e7f264013abb8d215634f0feb3b203555de3e56d2c9f809c43ed1d7815736f58d6
|
7
|
+
data.tar.gz: 3d7ba97630e3dcad8ed084041569148ba7d41d4e10563b920403d4b2a812a5de77dea31b48d52fa93debf91049a953e961db8d9dad5b392c69160d496a524473
|
data/lib/better_ipaddr/space.rb
CHANGED
@@ -104,11 +104,11 @@ module BetterIpaddr
|
|
104
104
|
end
|
105
105
|
|
106
106
|
def gaps_after
|
107
|
-
export([
|
107
|
+
export([networks.last.last, space.last + 1]).gaps
|
108
108
|
end
|
109
109
|
|
110
110
|
def gaps_before
|
111
|
-
export([space.first - 1, networks.first]).gaps
|
111
|
+
export([space.first - 1, networks.first.first]).gaps
|
112
112
|
end
|
113
113
|
|
114
114
|
def gaps_between
|