ipcat 1.2.0 → 1.2.1

Sign up to get free protection for your applications and to get access to all the features.
Binary file
@@ -1,3 +1,3 @@
1
1
  class IPCat
2
- VERSION = '1.2.0'
2
+ VERSION = '1.2.1'
3
3
  end
@@ -25,7 +25,9 @@ describe 'IPCat.bsearch' do
25
25
  it("should be logarithmic") do
26
26
  assert_performance_logarithmic 0.95 do |n|
27
27
  IPCat.reset_ranges!(@ranges[n])
28
- @ips.each { |ip| IPCat.bsearch(ip) }
28
+ @ips.each { |ip|
29
+ 10.times { IPCat.bsearch(ip) }
30
+ }
29
31
  end
30
32
  end
31
33
 
@@ -2,6 +2,5 @@ require "rubygems"
2
2
  require "bundler/setup"
3
3
 
4
4
  require "minitest/autorun"
5
- require 'debugger'
6
5
 
7
6
  require "ipcat"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ipcat
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,73 +9,31 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-02-26 00:00:00.000000000 Z
12
+ date: 2013-09-04 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: minitest
16
- requirement: !ruby/object:Gem::Requirement
16
+ requirement: &1 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
- - - ! '>='
19
+ - - '>='
20
20
  - !ruby/object:Gem::Version
21
21
  version: 4.4.0
22
22
  type: :development
23
23
  prerelease: false
24
- version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
- requirements:
27
- - - ! '>='
28
- - !ruby/object:Gem::Version
29
- version: 4.4.0
24
+ version_requirements: *1
30
25
  - !ruby/object:Gem::Dependency
31
26
  name: rake
32
- requirement: !ruby/object:Gem::Requirement
33
- none: false
34
- requirements:
35
- - - ! '>='
36
- - !ruby/object:Gem::Version
37
- version: '0'
38
- type: :development
39
- prerelease: false
40
- version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
- requirements:
43
- - - ! '>='
44
- - !ruby/object:Gem::Version
45
- version: '0'
46
- - !ruby/object:Gem::Dependency
47
- name: ruby-prof
48
- requirement: !ruby/object:Gem::Requirement
49
- none: false
50
- requirements:
51
- - - ! '>='
52
- - !ruby/object:Gem::Version
53
- version: '0'
54
- type: :development
55
- prerelease: false
56
- version_requirements: !ruby/object:Gem::Requirement
27
+ requirement: &2 !ruby/object:Gem::Requirement
57
28
  none: false
58
29
  requirements:
59
- - - ! '>='
30
+ - - '>='
60
31
  - !ruby/object:Gem::Version
61
32
  version: '0'
62
- - !ruby/object:Gem::Dependency
63
- name: debugger
64
- requirement: !ruby/object:Gem::Requirement
65
- none: false
66
- requirements:
67
- - - ! '>='
68
- - !ruby/object:Gem::Version
69
- version: 1.1.3
70
33
  type: :development
71
34
  prerelease: false
72
- version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
- requirements:
75
- - - ! '>='
76
- - !ruby/object:Gem::Version
77
- version: 1.1.3
78
- description: ! 'A ruby port of the ipcat library: https://github.com/client9/ipcat/'
35
+ version_requirements: *2
36
+ description: 'A ruby port of the ipcat library: https://github.com/client9/ipcat/'
79
37
  email: aaron@ktheory.com
80
38
  executables: []
81
39
  extensions: []
@@ -101,18 +59,18 @@ require_paths:
101
59
  required_ruby_version: !ruby/object:Gem::Requirement
102
60
  none: false
103
61
  requirements:
104
- - - ! '>='
62
+ - - '>='
105
63
  - !ruby/object:Gem::Version
106
64
  version: 1.9.3
107
65
  required_rubygems_version: !ruby/object:Gem::Requirement
108
66
  none: false
109
67
  requirements:
110
- - - ! '>='
68
+ - - '>='
111
69
  - !ruby/object:Gem::Version
112
70
  version: '0'
113
71
  requirements: []
114
72
  rubyforge_project:
115
- rubygems_version: 1.8.24
73
+ rubygems_version: 1.8.3
116
74
  signing_key:
117
75
  specification_version: 3
118
76
  summary: dataset for categorizing IP addresses in ruby