better_ipaddr 0.1.5 → 0.1.6

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 57f074d339fce3e1ee93c504b522db9a20402ee2
4
- data.tar.gz: a084718ae607fa5b3da95968ca1a955a205bc83b
3
+ metadata.gz: 937c89536c0e07164ed393e8aa71cb5ccc82c68c
4
+ data.tar.gz: de627a545baf2f55ed62a6e2942039cd3651a846
5
5
  SHA512:
6
- metadata.gz: ba46d2de46da79afacd5816a6c57cf8ae1666d51f72344e5a193df75dd8d9ff9844f289ac3139513531937dd5e8c6e85f300396abcb98dd1d5817ada3a6e80c4
7
- data.tar.gz: 738287a22491a5ba439dfc1649857d6039d79bcc4a488ae83fb6e4773d3f43e86c0b9de9c66131689249a3beb68a44b788f4303f840e550614e10499c2025ecc
6
+ metadata.gz: 7fe8d0797c1bee6dbc4380d24ee50e7546d63ca711a4d7e6afbc6306049712e7f264013abb8d215634f0feb3b203555de3e56d2c9f809c43ed1d7815736f58d6
7
+ data.tar.gz: 3d7ba97630e3dcad8ed084041569148ba7d41d4e10563b920403d4b2a812a5de77dea31b48d52fa93debf91049a953e961db8d9dad5b392c69160d496a524473
@@ -104,11 +104,11 @@ module BetterIpaddr
104
104
  end
105
105
 
106
106
  def gaps_after
107
- export([space.last.last, space.last + 1]).gaps
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
@@ -1,3 +1,3 @@
1
1
  module BetterIpaddr
2
- VERSION = "0.1.5"
2
+ VERSION = "0.1.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: better_ipaddr
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Miller