dnsync 1.0.2 → 1.0.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/dnsync.gemspec CHANGED
@@ -13,8 +13,8 @@ Gem::Specification.new do |s|
13
13
  ## If your rubyforge_project name is different, then edit it and comment out
14
14
  ## the sub! line in the Rakefile
15
15
  s.name = 'dnsync'
16
- s.version = '1.0.2'
17
- s.date = '2015-01-04'
16
+ s.version = '1.0.3'
17
+ s.date = '2015-03-19'
18
18
 
19
19
  ## Make sure your summary is short. The description may be as long
20
20
  ## as you like.
data/lib/dnsync.rb CHANGED
@@ -1,4 +1,4 @@
1
1
 
2
2
  module Dnsync
3
- VERSION = '1.0.2'
3
+ VERSION = '1.0.3'
4
4
  end
data/lib/dnsync/nsone.rb CHANGED
@@ -58,7 +58,7 @@ module Dnsync
58
58
 
59
59
  Record.new(record['domain'], record['type'], record['ttl'], answers)
60
60
  rescue Faraday::ClientError => ex
61
- if ex.response[:status].to_i == 429
61
+ if ex.response && ex.response[:status].to_i == 429
62
62
  sleep 0.4 + rand
63
63
  retry
64
64
  else
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dnsync
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-01-04 00:00:00.000000000 Z
12
+ date: 2015-03-19 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: faraday