record_store 6.5.9 → 6.5.11

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 688b2b80959883939da43ce158391713fd49b0db86cc5269af07a79c94f08a4b
4
- data.tar.gz: 98736cd9a6f3f28056e34e5c578573bd77852e93dd99dfeedcd2f34e8ac5c585
3
+ metadata.gz: b22a81cf5c7208fb44dd97efaacf0afa4bd6194ef6a5b42e6152b96d46eadaea
4
+ data.tar.gz: 7f5e475a4eb7cf337c72991ea044dd43dde546641bead8d2a8d9678816325c59
5
5
  SHA512:
6
- metadata.gz: afd16be112534f18e7bad5afc78da85ff28d353ee234241c597b7d5acdd6c193887064e2b909abdee6de95078a15fd5ec2a5245e9258b6c65f997d5007a8397b
7
- data.tar.gz: 653e0f0b8335c495e6862e0a732993e5e5cd203938f671807b703add5ec7cfebb857437661a6361c925e033ebb4e131db25bfcce49ca4a3a1de01c1007f6ab91
6
+ metadata.gz: ecb169cadbf5d438bda7d6b56f398cf9f244d0380760f7755499116ef316c745ce335671ce8a3ce3af6cc88a52ca8e0fa41b9f784b93aa70eb123b01f20b0c05
7
+ data.tar.gz: bd0869b99a115cb53cd81598c837b32bb7af87aeff835d17ac5e262525035519e5a89463ebea1e74c64120b8d9408f0bfde707685085c9e8cd58a63607f21c6b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 6.5.11
4
+ - Fix updates of SRV records in using the NS1 provider
5
+
6
+ ## 6.5.10
7
+ - print the full error for ActiveModel::Error errors
8
+
3
9
  ## 6.5.9
4
10
  - Relax version requirements for the google-cloud-dns gem
5
11
 
@@ -279,9 +279,7 @@ module RecordStore
279
279
  invalid_zones << zone.unrooted_name
280
280
 
281
281
  puts "#{zone.unrooted_name} definition is not valid:"
282
- zone.errors.each do |field, msg|
283
- puts " - #{field}: #{msg}"
284
- end
282
+ puts zone.errors.full_messages.map { |msg| " - #{msg}" }
285
283
 
286
284
  invalid_records = zone.records.reject(&:valid?)
287
285
  puts ' Invalid records' unless invalid_records.empty?
@@ -13,6 +13,9 @@ module RecordStore
13
13
  rrdata_fields = case type
14
14
  when 'SPF', 'TXT'
15
15
  [answer]
16
+ when 'SRV'
17
+ priority, weight, port, host = answer.split
18
+ [priority.to_i, weight.to_i, port.to_i, Record.ensure_ends_with_dot(host)]
16
19
  else
17
20
  answer.split
18
21
  end
@@ -1,3 +1,3 @@
1
1
  module RecordStore
2
- VERSION = '6.5.9'.freeze
2
+ VERSION = '6.5.11'.freeze
3
3
  end
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: 6.5.9
4
+ version: 6.5.11
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: 2022-07-05 00:00:00.000000000 Z
12
+ date: 2022-09-16 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: thor