robowhois 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +5 -0
- data/Gemfile.lock +1 -1
- data/README.md +5 -5
- data/lib/robo_whois/version.rb +1 -1
- data/robowhois.gemspec +1 -1
- metadata +7 -7
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -34,7 +34,7 @@ Please refer to the RoboWhois [API Documentation](http://docs.robowhois.com/api/
|
|
34
34
|
|
35
35
|
### Account information
|
36
36
|
|
37
|
-
client = RoboWhois.new('YOUR_API_KEY')
|
37
|
+
client = RoboWhois.new(:api_key => 'YOUR_API_KEY')
|
38
38
|
account = client.account
|
39
39
|
|
40
40
|
puts account['email']
|
@@ -44,7 +44,7 @@ Please refer to the RoboWhois [API Documentation](http://docs.robowhois.com/api/
|
|
44
44
|
|
45
45
|
### Original WHOIS record
|
46
46
|
|
47
|
-
client = RoboWhois.new('YOUR_API_KEY')
|
47
|
+
client = RoboWhois.new(:api_key => 'YOUR_API_KEY')
|
48
48
|
response = client.whois('example.com')
|
49
49
|
|
50
50
|
puts response
|
@@ -52,7 +52,7 @@ Please refer to the RoboWhois [API Documentation](http://docs.robowhois.com/api/
|
|
52
52
|
|
53
53
|
### Parsed WHOIS record
|
54
54
|
|
55
|
-
client = RoboWhois.new('YOUR_API_KEY')
|
55
|
+
client = RoboWhois.new(:api_key => 'YOUR_API_KEY')
|
56
56
|
response = client.whois_properties('example.com')
|
57
57
|
|
58
58
|
# The record date
|
@@ -78,7 +78,7 @@ Please refer to the RoboWhois [API Documentation](http://docs.robowhois.com/api/
|
|
78
78
|
|
79
79
|
You can access the last response object using the `last_response` method.
|
80
80
|
|
81
|
-
client = RoboWhois.new('YOUR_API_KEY')
|
81
|
+
client = RoboWhois.new(:api_key => 'YOUR_API_KEY')
|
82
82
|
account = client.account
|
83
83
|
|
84
84
|
response = client.last_response
|
@@ -91,7 +91,7 @@ You can access the last response object using the `last_response` method.
|
|
91
91
|
|
92
92
|
In case of failure, the API call raises a `RoboWhois::APIError` exception.
|
93
93
|
|
94
|
-
client = RoboWhois.new('YOUR_API_KEY')
|
94
|
+
client = RoboWhois.new(:api_key => 'YOUR_API_KEY')
|
95
95
|
|
96
96
|
begin
|
97
97
|
response = client.whois_properties('example.es')
|
data/lib/robo_whois/version.rb
CHANGED
data/robowhois.gemspec
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: robowhois
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -13,7 +13,7 @@ date: 2012-03-05 00:00:00.000000000Z
|
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: httparty
|
16
|
-
requirement: &
|
16
|
+
requirement: &70154354022200 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: 0.8.0
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70154354022200
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: rake
|
27
|
-
requirement: &
|
27
|
+
requirement: &70154354021740 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ~>
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: '0.9'
|
33
33
|
type: :development
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *70154354021740
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: yard
|
38
|
-
requirement: &
|
38
|
+
requirement: &70154354029540 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ! '>='
|
@@ -43,7 +43,7 @@ dependencies:
|
|
43
43
|
version: '0'
|
44
44
|
type: :development
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *70154354029540
|
47
47
|
description: Ruby client for the RoboWhois API.
|
48
48
|
email:
|
49
49
|
- weppos@weppos.net
|