record_store 5.0.5 → 5.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +11 -0
- data/CHANGELOG.md +3 -1
- data/lib/record_store/provider/dynect.rb +1 -1
- data/lib/record_store/version.rb +1 -1
- data/lib/record_store/zone.rb +1 -7
- metadata +3 -3
- data/circle.yml +0 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6dcb75706a66459aa8636dc5257c15a169f26be4
|
4
|
+
data.tar.gz: 0320d901362a8038e4cf9c669c141f93164a5295
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f25419a2bedeff0d057ab9abc23cfb4a0dbb846335712ae14a01fe7191b82033d34fa59f33e8a9e4ef210368ce38af9c2ec08e65c8f7f2e6e84c6ab7e9a374c6
|
7
|
+
data.tar.gz: 0d10b2ecc4b5246428a6ae53074301f6bcab0eda11586f312bce803572ee73551247eb12a28e693f18bf52739644730c096a6988c14deb1aa59fe3402c574526
|
data/.travis.yml
ADDED
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,8 @@
|
|
1
1
|
# CHANGELOG
|
2
2
|
|
3
|
+
## 5.1.0
|
4
|
+
- use concurrent sessions when multi-threaded to avoid "This session already has a job running" errors. [BUGFIX]
|
5
|
+
|
3
6
|
## 5.0.5
|
4
7
|
- Output progress messages for GoogleCloudDNS provider too. [BUGFIX]
|
5
8
|
- Fix quoting/escaping for TXT records. [BUGFIX]
|
@@ -13,5 +16,4 @@
|
|
13
16
|
- Use DNSimple API v2 (via fog-dnsimple gem update).
|
14
17
|
|
15
18
|
## 4.0.7
|
16
|
-
|
17
19
|
- Fix issue updating records with same FQDN. [BUGFIX]
|
data/lib/record_store/version.rb
CHANGED
data/lib/record_store/zone.rb
CHANGED
@@ -50,13 +50,7 @@ module RecordStore
|
|
50
50
|
current_zone = nil
|
51
51
|
while not zones.empty?
|
52
52
|
mutex.synchronize { current_zone = zones.shift }
|
53
|
-
|
54
|
-
mutex.synchronize { modified_zones << current_zone } unless current_zone.unchanged?
|
55
|
-
rescue Excon::Error::BadRequest => e
|
56
|
-
raise e unless e.response.body.include?('session already has a job')
|
57
|
-
puts "DynECT session collision for #{current_zone.name}" if verbose
|
58
|
-
mutex.synchronize { zones.push(current_zone) }
|
59
|
-
end
|
53
|
+
mutex.synchronize { modified_zones << current_zone } unless current_zone.unchanged?
|
60
54
|
end
|
61
55
|
end
|
62
56
|
end.each(&:join)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: record_store
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.0
|
4
|
+
version: 5.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Willem van Bergen
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2018-
|
12
|
+
date: 2018-06-21 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: thor
|
@@ -246,6 +246,7 @@ extensions: []
|
|
246
246
|
extra_rdoc_files: []
|
247
247
|
files:
|
248
248
|
- ".gitignore"
|
249
|
+
- ".travis.yml"
|
249
250
|
- CHANGELOG.md
|
250
251
|
- Gemfile
|
251
252
|
- LICENSE
|
@@ -255,7 +256,6 @@ files:
|
|
255
256
|
- bin/record-store
|
256
257
|
- bin/setup
|
257
258
|
- bin/test
|
258
|
-
- circle.yml
|
259
259
|
- dev.yml
|
260
260
|
- lib/record_store.rb
|
261
261
|
- lib/record_store/changeset.rb
|