dnsimple 2.0.0.alpha5 → 2.0.0
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.
- checksums.yaml +4 -4
- data/CHANGELOG.markdown +7 -0
- data/lib/dnsimple/default.rb +4 -4
- data/lib/dnsimple/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 39d9b33d782af6a1b17cb008ac9008797b299b28
|
|
4
|
+
data.tar.gz: c04fb52908ce4bfe2ca7ac005a099c09d7e7d3ab
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a3e28ab4eadcffc6f883e2d3b9661e6ae82dabcf46fc6863fe0b0ce5c6f64bc38f01e3b57042691b6c6c59584518bb025bc019c7620d178d59948ff7cb965cd3
|
|
7
|
+
data.tar.gz: 95482c599561709d19941656fec554c4a76d4172d65d3578b40c0773141a33885f066161c65f6cef687fd900d624ee609d50d27c2d7c3bf1d66ab9c063af4253
|
data/CHANGELOG.markdown
CHANGED
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
#### 2.0.0.alpha
|
|
4
4
|
|
|
5
|
+
**2.0.0.alpha**
|
|
6
|
+
|
|
5
7
|
2.0 is a complete client redesign.
|
|
6
8
|
|
|
7
9
|
- NEW: Add support changing name servers (GH-52). Thanks @rosscooperman
|
|
@@ -18,6 +20,11 @@
|
|
|
18
20
|
|
|
19
21
|
- REMOVED: The library no longer provides built-in support for loading the credentials from a config file.
|
|
20
22
|
|
|
23
|
+
**2.0**
|
|
24
|
+
|
|
25
|
+
- FIXED: Fixed a bug where API token environment variables were not properly detected (GH-59, GH-62). Thanks @oguzbilgic and @rupurt.
|
|
26
|
+
|
|
27
|
+
|
|
21
28
|
#### Release 1.7.1
|
|
22
29
|
|
|
23
30
|
- FIXED: Updated Certificate to match the serialized attributes (GH-53).
|
data/lib/dnsimple/default.rb
CHANGED
|
@@ -56,16 +56,16 @@ module Dnsimple
|
|
|
56
56
|
ENV['DNSIMPLE_API_EXCHANGE_TOKEN']
|
|
57
57
|
end
|
|
58
58
|
|
|
59
|
-
# Default DNSimple API Token for Token Auth from ENV
|
|
59
|
+
# Default DNSimple Domain API Token for Token Auth from ENV
|
|
60
60
|
# @return [String]
|
|
61
61
|
def domain_api_token
|
|
62
|
-
ENV['
|
|
62
|
+
ENV['DNSIMPLE_API_DOMAIN_TOKEN']
|
|
63
63
|
end
|
|
64
64
|
|
|
65
|
-
# Default DNSimple
|
|
65
|
+
# Default DNSimple API Token for Token Auth from ENV
|
|
66
66
|
# @return [String]
|
|
67
67
|
def api_token
|
|
68
|
-
ENV['
|
|
68
|
+
ENV['DNSIMPLE_API_TOKEN']
|
|
69
69
|
end
|
|
70
70
|
|
|
71
71
|
# Default User-Agent header string from ENV or {USER_AGENT}
|
data/lib/dnsimple/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: dnsimple
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.0.0
|
|
4
|
+
version: 2.0.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Anthony Eden
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2015-
|
|
12
|
+
date: 2015-06-25 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: httparty
|
|
@@ -270,12 +270,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
270
270
|
version: 1.9.3
|
|
271
271
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
272
272
|
requirements:
|
|
273
|
-
- - "
|
|
273
|
+
- - ">="
|
|
274
274
|
- !ruby/object:Gem::Version
|
|
275
|
-
version:
|
|
275
|
+
version: '0'
|
|
276
276
|
requirements: []
|
|
277
277
|
rubyforge_project:
|
|
278
|
-
rubygems_version: 2.4.
|
|
278
|
+
rubygems_version: 2.4.7
|
|
279
279
|
signing_key:
|
|
280
280
|
specification_version: 4
|
|
281
281
|
summary: A Ruby client for the DNSimple API
|