ipcat 1.2.1 → 1.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/data/datacenters +0 -0
- data/lib/ipcat/version.rb +1 -1
- data/spec/benchmark_spec.rb +2 -2
- metadata +17 -13
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 3e7013b044000ae1d642d1abbd5dfc4c5efcebde
|
4
|
+
data.tar.gz: c6be24f04c10186fa6ccd8cb47fa302afba3f220
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 3a4a644cbb352ab232b149c140bacc7cb49fcaaba49b7e4a74fbfc45208af67f967bdc4426dd3aa5a5098cff20565597ac14208b4e7d30e2fc8d0326b136d45d
|
7
|
+
data.tar.gz: 04c7fd63d6978afec254a972c3462f9f77464b6ad3d9755538a7b63d0d215fa37c75e281d5240a5a32f92e37f623766554f8d3e594b94c45c7bd70fa6d81f99e
|
data/data/datacenters
CHANGED
Binary file
|
data/lib/ipcat/version.rb
CHANGED
data/spec/benchmark_spec.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
require_relative 'spec_helper'
|
2
2
|
require 'minitest/benchmark'
|
3
3
|
|
4
|
-
describe 'IPCat.bsearch' do
|
4
|
+
describe 'IPCat.bsearch Benchmark' do
|
5
5
|
|
6
6
|
# Makes +n+ IPRanges
|
7
7
|
def make_ranges(n)
|
@@ -16,7 +16,7 @@ describe 'IPCat.bsearch' do
|
|
16
16
|
|
17
17
|
before do
|
18
18
|
@ips = 1000.times.map{ rand(2**32) }
|
19
|
-
@ranges =
|
19
|
+
@ranges = bench_range.inject({}) {|h, n|
|
20
20
|
h[n] = make_ranges(n)
|
21
21
|
h
|
22
22
|
}
|
metadata
CHANGED
@@ -1,38 +1,43 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ipcat
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
5
|
-
prerelease:
|
4
|
+
version: 1.2.2
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Aaron Suggs
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date: 2013-
|
11
|
+
date: 2013-12-21 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: minitest
|
16
|
-
requirement:
|
17
|
-
none: false
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
18
16
|
requirements:
|
19
17
|
- - '>='
|
20
18
|
- !ruby/object:Gem::Version
|
21
19
|
version: 4.4.0
|
22
20
|
type: :development
|
23
21
|
prerelease: false
|
24
|
-
version_requirements:
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - '>='
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 4.4.0
|
25
27
|
- !ruby/object:Gem::Dependency
|
26
28
|
name: rake
|
27
|
-
requirement:
|
28
|
-
none: false
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
29
30
|
requirements:
|
30
31
|
- - '>='
|
31
32
|
- !ruby/object:Gem::Version
|
32
33
|
version: '0'
|
33
34
|
type: :development
|
34
35
|
prerelease: false
|
35
|
-
version_requirements:
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - '>='
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
36
41
|
description: 'A ruby port of the ipcat library: https://github.com/client9/ipcat/'
|
37
42
|
email: aaron@ktheory.com
|
38
43
|
executables: []
|
@@ -51,28 +56,27 @@ files:
|
|
51
56
|
- spec/spec_helper.rb
|
52
57
|
homepage: https://github.com/kickstarter/ipcat-ruby
|
53
58
|
licenses: []
|
59
|
+
metadata: {}
|
54
60
|
post_install_message:
|
55
61
|
rdoc_options:
|
56
62
|
- --charset=UTF-8
|
57
63
|
require_paths:
|
58
64
|
- lib
|
59
65
|
required_ruby_version: !ruby/object:Gem::Requirement
|
60
|
-
none: false
|
61
66
|
requirements:
|
62
67
|
- - '>='
|
63
68
|
- !ruby/object:Gem::Version
|
64
69
|
version: 1.9.3
|
65
70
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
66
|
-
none: false
|
67
71
|
requirements:
|
68
72
|
- - '>='
|
69
73
|
- !ruby/object:Gem::Version
|
70
74
|
version: '0'
|
71
75
|
requirements: []
|
72
76
|
rubyforge_project:
|
73
|
-
rubygems_version:
|
77
|
+
rubygems_version: 2.0.14
|
74
78
|
signing_key:
|
75
|
-
specification_version:
|
79
|
+
specification_version: 4
|
76
80
|
summary: dataset for categorizing IP addresses in ruby
|
77
81
|
test_files:
|
78
82
|
- spec/benchmark_spec.rb
|