npa_lookup 1.1.0 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.markdown +16 -0
- data/README.rdoc +16 -4
- data/Rakefile +2 -2
- data/VERSION +1 -1
- data/npa_lookup.gemspec +7 -7
- metadata +10 -12
data/README.markdown
CHANGED
@@ -2,6 +2,22 @@
|
|
2
2
|
|
3
3
|
This tool queries CloudVox's NPA lookup API via the command line, that is all, please carry on :)
|
4
4
|
|
5
|
+
|
6
|
+
## Installation
|
7
|
+
sudo gem install npa_lookup
|
8
|
+
|
9
|
+
## Install location
|
10
|
+
/bin
|
11
|
+
|
12
|
+
## Usage
|
13
|
+
lookup [number]
|
14
|
+
|
15
|
+
## Accepts space delimited list of NPA's & NXX's
|
16
|
+
*lookup 407
|
17
|
+
*lookup 407 321
|
18
|
+
*lookup 407474
|
19
|
+
*lookup 4074740200 3214740200
|
20
|
+
|
5
21
|
## Examples
|
6
22
|
|
7
23
|
dyer:~/dev/number_lookup git:master
|
data/README.rdoc
CHANGED
@@ -2,6 +2,22 @@
|
|
2
2
|
|
3
3
|
This tool queries CloudVox's NPA lookup API via the command line, that is all, please carry on :)
|
4
4
|
|
5
|
+
|
6
|
+
## Installation
|
7
|
+
sudo gem install npa_lookup
|
8
|
+
|
9
|
+
## Install location
|
10
|
+
/bin
|
11
|
+
|
12
|
+
## Usage
|
13
|
+
lookup [number]
|
14
|
+
|
15
|
+
## Accepts space delimited list of NPA's & NXX's
|
16
|
+
*lookup 407
|
17
|
+
*lookup 407 321
|
18
|
+
*lookup 407474
|
19
|
+
*lookup 4074740200 3214740200
|
20
|
+
|
5
21
|
## Examples
|
6
22
|
|
7
23
|
dyer:~/dev/number_lookup git:master
|
@@ -42,7 +58,3 @@
|
|
42
58
|
| Status | Allocated |
|
43
59
|
+--------------------------+-----------------------------+
|
44
60
|
|
45
|
-
|
46
|
-
== Copyright
|
47
|
-
|
48
|
-
Copyright (c) 2010 John Dyer. See LICENSE for details.
|
data/Rakefile
CHANGED
@@ -10,8 +10,8 @@ begin
|
|
10
10
|
gem.email = "john@krumpt.com"
|
11
11
|
gem.homepage = "http://github.com/krumpt/npa_lookup"
|
12
12
|
gem.authors = ["John Dyer"]
|
13
|
-
gem.add_dependency "json", ">= 1.
|
14
|
-
gem.add_dependency "
|
13
|
+
gem.add_dependency "json", ">= 1.4"
|
14
|
+
gem.add_dependency "json_pure", ">= 1.4"
|
15
15
|
gem.add_dependency "terminal-table", ">= 1.4"
|
16
16
|
gem.requirements << 'terminal-table, v1.4.2 or greater'
|
17
17
|
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.2.0
|
data/npa_lookup.gemspec
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{npa_lookup}
|
8
|
-
s.version = "1.
|
8
|
+
s.version = "1.2.0"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["John Dyer"]
|
@@ -50,17 +50,17 @@ Gem::Specification.new do |s|
|
|
50
50
|
s.specification_version = 3
|
51
51
|
|
52
52
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
53
|
-
s.add_runtime_dependency(%q<json>, [">= 1.
|
54
|
-
s.add_runtime_dependency(%q<
|
53
|
+
s.add_runtime_dependency(%q<json>, [">= 1.4"])
|
54
|
+
s.add_runtime_dependency(%q<json_pure>, [">= 1.4"])
|
55
55
|
s.add_runtime_dependency(%q<terminal-table>, [">= 1.4"])
|
56
56
|
else
|
57
|
-
s.add_dependency(%q<json>, [">= 1.
|
58
|
-
s.add_dependency(%q<
|
57
|
+
s.add_dependency(%q<json>, [">= 1.4"])
|
58
|
+
s.add_dependency(%q<json_pure>, [">= 1.4"])
|
59
59
|
s.add_dependency(%q<terminal-table>, [">= 1.4"])
|
60
60
|
end
|
61
61
|
else
|
62
|
-
s.add_dependency(%q<json>, [">= 1.
|
63
|
-
s.add_dependency(%q<
|
62
|
+
s.add_dependency(%q<json>, [">= 1.4"])
|
63
|
+
s.add_dependency(%q<json_pure>, [">= 1.4"])
|
64
64
|
s.add_dependency(%q<terminal-table>, [">= 1.4"])
|
65
65
|
end
|
66
66
|
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: npa_lookup
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 31
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 1
|
8
|
-
-
|
8
|
+
- 2
|
9
9
|
- 0
|
10
|
-
version: 1.
|
10
|
+
version: 1.2.0
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- John Dyer
|
@@ -26,28 +26,26 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
hash:
|
29
|
+
hash: 7
|
30
30
|
segments:
|
31
31
|
- 1
|
32
|
-
-
|
33
|
-
|
34
|
-
version: 1.2.9
|
32
|
+
- 4
|
33
|
+
version: "1.4"
|
35
34
|
type: :runtime
|
36
35
|
version_requirements: *id001
|
37
36
|
- !ruby/object:Gem::Dependency
|
38
|
-
name:
|
37
|
+
name: json_pure
|
39
38
|
prerelease: false
|
40
39
|
requirement: &id002 !ruby/object:Gem::Requirement
|
41
40
|
none: false
|
42
41
|
requirements:
|
43
42
|
- - ">="
|
44
43
|
- !ruby/object:Gem::Version
|
45
|
-
hash:
|
44
|
+
hash: 7
|
46
45
|
segments:
|
47
46
|
- 1
|
48
|
-
-
|
49
|
-
|
50
|
-
version: 1.2.9
|
47
|
+
- 4
|
48
|
+
version: "1.4"
|
51
49
|
type: :runtime
|
52
50
|
version_requirements: *id002
|
53
51
|
- !ruby/object:Gem::Dependency
|