domr 0.1.2 → 0.1.3
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.
- data/index +9 -0
- data/lib/domr.rb +1 -11
- metadata +4 -2
data/index
ADDED
data/lib/domr.rb
CHANGED
|
@@ -1,19 +1,9 @@
|
|
|
1
|
-
# Domr
|
|
2
|
-
# By Nick Shvelidze
|
|
3
|
-
# Simple search for domain names
|
|
4
|
-
# Command-Line usage:
|
|
5
|
-
# domr example.com
|
|
6
|
-
# => example.com is taken
|
|
7
|
-
|
|
8
1
|
require 'rainbow'
|
|
9
2
|
require 'uri'
|
|
10
3
|
require 'net/http'
|
|
11
4
|
require 'json'
|
|
12
|
-
|
|
13
|
-
# Simple search for domain names
|
|
5
|
+
|
|
14
6
|
# The main class
|
|
15
|
-
# Usage:
|
|
16
|
-
# Domr.search(query)
|
|
17
7
|
class Domr
|
|
18
8
|
|
|
19
9
|
# Perform a query on domainr API
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: domr
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.3
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -50,11 +50,13 @@ executables:
|
|
|
50
50
|
- domr
|
|
51
51
|
extensions:
|
|
52
52
|
- ext/mkrf_conf.rb
|
|
53
|
-
extra_rdoc_files:
|
|
53
|
+
extra_rdoc_files:
|
|
54
|
+
- index
|
|
54
55
|
files:
|
|
55
56
|
- lib/domr.rb
|
|
56
57
|
- bin/domr
|
|
57
58
|
- ext/mkrf_conf.rb
|
|
59
|
+
- index
|
|
58
60
|
homepage: http://shvelo.github.com/domr
|
|
59
61
|
licenses: []
|
|
60
62
|
post_install_message:
|