netaddr 1.1.0 → 1.2.0

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.

Potentially problematic release.


This version of netaddr might be problematic. Click here for more details.

data/tests/tree_test.rb CHANGED
@@ -177,7 +177,7 @@ class TestTree < Test::Unit::TestCase
177
177
 
178
178
  assert_equal('192.168.1.64/26', tree.longest_match('192.168.1.65').desc)
179
179
  assert_equal('10.1.0.44/30', tree.longest_match('10.1.0.46').desc)
180
- assert_equal(nil, tree.longest_match('192.168.2.0') )
180
+ assert_equal('0.0.0.0/0', tree.longest_match('192.168.2.0').desc )
181
181
 
182
182
  end
183
183
 
metadata CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.9.0
3
3
  specification_version: 1
4
4
  name: netaddr
5
5
  version: !ruby/object:Gem::Version
6
- version: 1.1.0
7
- date: 2007-01-05 00:00:00 -06:00
6
+ version: 1.2.0
7
+ date: 2007-03-19 00:00:00 -05:00
8
8
  summary: A package for manipulating network addresses.
9
9
  require_paths:
10
10
  - lib
@@ -34,8 +34,12 @@ files:
34
34
  - lib/eui.rb
35
35
  - lib/net_addr.rb
36
36
  - lib/tree.rb
37
+ - lib/validation_shortcuts.rb
38
+ - lib/cidr_shortcuts.rb
39
+ - lib/ip_math.rb
37
40
  - README
38
41
  - Errors
42
+ - changelog
39
43
  test_files:
40
44
  - tests/cidr_test.rb
41
45
  - tests/methods_test.rb
@@ -46,6 +50,7 @@ rdoc_options: []
46
50
  extra_rdoc_files:
47
51
  - README
48
52
  - Errors
53
+ - changelog
49
54
  executables: []
50
55
 
51
56
  extensions: []