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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cf0e539a6bca86d40181c2d20b69ca34f8696fdd
4
- data.tar.gz: c96cf74c57c17745f3c035dc0a38c8719c17c622
3
+ metadata.gz: 39d9b33d782af6a1b17cb008ac9008797b299b28
4
+ data.tar.gz: c04fb52908ce4bfe2ca7ac005a099c09d7e7d3ab
5
5
  SHA512:
6
- metadata.gz: b6179bd9c041410c27fd7550745b4a2fe1cca9ecfe193cfca4526064def95cf1817f4f7748baf1aa772671c444915c1ea3c0d77b508e3e7dda84a7bed33c9bd8
7
- data.tar.gz: 6f1a9ce4b9cd77aa33fbb640e3e1e2613f6c17aeae83098caf53334a514635377850625a9fe4970c1a38beaa74040460aa1de8c9a74be53c519e343b40c19964
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).
@@ -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['DNSIMPLE_API_TOKEN']
62
+ ENV['DNSIMPLE_API_DOMAIN_TOKEN']
63
63
  end
64
64
 
65
- # Default DNSimple Domain API Token for Token Auth from ENV
65
+ # Default DNSimple API Token for Token Auth from ENV
66
66
  # @return [String]
67
67
  def api_token
68
- ENV['DNSIMPLE_API_DOMAIN_TOKEN']
68
+ ENV['DNSIMPLE_API_TOKEN']
69
69
  end
70
70
 
71
71
  # Default User-Agent header string from ENV or {USER_AGENT}
@@ -1,3 +1,3 @@
1
1
  module Dnsimple
2
- VERSION = '2.0.0.alpha5'
2
+ VERSION = '2.0.0'
3
3
  end
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.alpha5
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-01-17 00:00:00.000000000 Z
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: 1.3.1
275
+ version: '0'
276
276
  requirements: []
277
277
  rubyforge_project:
278
- rubygems_version: 2.4.5
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