cidrmergerb 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +24 -0
- data/README.md +3 -1
- data/cidrmergerb.gemspec +1 -1
- data/lib/cidrmergerb/version.rb +1 -1
- metadata +4 -13
- data/.gitignore +0 -16
- data/chroute +0 -6002
- data/cidrmergerb-0.1.0.gem +0 -0
- data/merged_route.txt +0 -3905
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 61a72484791fa6a70fabda31cfad10454b80aa03
|
4
|
+
data.tar.gz: 0583b3315b9829f120e562ba10d2d310b4feda92
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eb8e08e2f82f7b83c080fa7ecb126d66d25cb50112ac5a8979d91524dcc068463b5716b28a2b9ad034d1194614cc487246ff8cccb7b8e1a2bc9d674830d4d41e
|
7
|
+
data.tar.gz: 2d1180a36337d7de672bbd3178d600d380b57a892c0b7c1173376c40f2d0066d2874f2dffd96013afc9048297997c040f7414795960ecc296b40b8e632be10b6
|
data/Gemfile.lock
ADDED
@@ -0,0 +1,24 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
cidrmergerb (0.1.1)
|
5
|
+
ffi (~> 1.0)
|
6
|
+
|
7
|
+
GEM
|
8
|
+
remote: https://rubygems.org/
|
9
|
+
specs:
|
10
|
+
ffi (1.9.10)
|
11
|
+
minitest (5.9.0)
|
12
|
+
rake (10.5.0)
|
13
|
+
|
14
|
+
PLATFORMS
|
15
|
+
ruby
|
16
|
+
|
17
|
+
DEPENDENCIES
|
18
|
+
bundler (~> 1.11)
|
19
|
+
cidrmergerb!
|
20
|
+
minitest (~> 5.0)
|
21
|
+
rake (~> 10.0)
|
22
|
+
|
23
|
+
BUNDLED WITH
|
24
|
+
1.11.2
|
data/README.md
CHANGED
@@ -20,4 +20,6 @@ Or install it yourself as:
|
|
20
20
|
|
21
21
|
## Usage
|
22
22
|
|
23
|
-
Cidrmergerb.optimize(
|
23
|
+
Cidrmergerb.optimize(["10.1.1.0/24", "10.1.1.1/32", "192.1.4.5/32", "192.1.4.4/32"]) #=> ['10.1.1.0/24', '192.1.4.4/31']
|
24
|
+
|
25
|
+
more example: [cidrmergerb_test.rb](./test/cidrmergerb_test.rb)
|
data/cidrmergerb.gemspec
CHANGED
@@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
|
|
18
18
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
19
19
|
spec.require_paths = ["lib"]
|
20
20
|
|
21
|
-
spec.add_runtime_dependency "ffi", '~> 1.
|
21
|
+
spec.add_runtime_dependency "ffi", '~> 1.0'
|
22
22
|
|
23
23
|
spec.add_development_dependency "bundler", "~> 1.11"
|
24
24
|
spec.add_development_dependency "rake", "~> 10.0"
|
data/lib/cidrmergerb/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cidrmergerb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Newell Zhu
|
@@ -16,20 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '1.
|
20
|
-
- - ">="
|
21
|
-
- !ruby/object:Gem::Version
|
22
|
-
version: 1.9.10
|
19
|
+
version: '1.0'
|
23
20
|
type: :runtime
|
24
21
|
prerelease: false
|
25
22
|
version_requirements: !ruby/object:Gem::Requirement
|
26
23
|
requirements:
|
27
24
|
- - "~>"
|
28
25
|
- !ruby/object:Gem::Version
|
29
|
-
version: '1.
|
30
|
-
- - ">="
|
31
|
-
- !ruby/object:Gem::Version
|
32
|
-
version: 1.9.10
|
26
|
+
version: '1.0'
|
33
27
|
- !ruby/object:Gem::Dependency
|
34
28
|
name: bundler
|
35
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -79,15 +73,13 @@ executables: []
|
|
79
73
|
extensions: []
|
80
74
|
extra_rdoc_files: []
|
81
75
|
files:
|
82
|
-
- ".gitignore"
|
83
76
|
- ".travis.yml"
|
84
77
|
- Gemfile
|
78
|
+
- Gemfile.lock
|
85
79
|
- README.md
|
86
80
|
- Rakefile
|
87
81
|
- bin/console
|
88
82
|
- bin/setup
|
89
|
-
- chroute
|
90
|
-
- cidrmergerb-0.1.0.gem
|
91
83
|
- cidrmergerb.gemspec
|
92
84
|
- ffi/Makefile
|
93
85
|
- ffi/cidrmerge.h
|
@@ -96,7 +88,6 @@ files:
|
|
96
88
|
- lib/cidrmergerb.rb
|
97
89
|
- lib/cidrmergerb/ext.rb
|
98
90
|
- lib/cidrmergerb/version.rb
|
99
|
-
- merged_route.txt
|
100
91
|
homepage: https://github.com/kingaxis/cidrmergerb
|
101
92
|
licenses: []
|
102
93
|
metadata: {}
|