record_store 3.1.3 → 3.1.4

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
  SHA1:
3
- metadata.gz: 018df2d25b2395d0231937cc99f694bd53fd9e82
4
- data.tar.gz: b9a42133108fadc3d16fe2ce9a55482acaf96089
3
+ metadata.gz: c7212344267f94b88a62e49f4c402cef86db472c
4
+ data.tar.gz: 45515331baf4c773fb6b52fdae8b850099933eac
5
5
  SHA512:
6
- metadata.gz: 7cd6a4cae2e1a8b1db0019cb656b00f2e0eb56007e3ba3107c428e96ea865a1ad391d5d24808d066eb1490cad261a3a02e2c2f20b466284a2a19673326b3bd7d
7
- data.tar.gz: 2605aa2f439c4c97012138830033c35d9e5dc274d8f9161b3ff6bb999d99b69f9382fcb595a194597e502e4de27353a9831e77065bc9783c8d9b49b040de6643
6
+ metadata.gz: afd5cc1e752d3778168105e198a4cea4cc6128ffeb400782fe9b169c37fe889ebc4cb7029cca943e449796e7409cf1cc619145ab74695400e4c6b5487d660caf
7
+ data.tar.gz: acfa8d70c8bf468c99003afb79e283a51b12abeece0344a7b988867e75e514f9f6371586e47bb019470f0618ef5d0aec96ffecb72c5a23c19b36efb415cdf2fc
@@ -95,7 +95,7 @@ module RecordStore
95
95
  when 'NS'
96
96
  record.merge!(nsdname: api_record.fetch('content'))
97
97
  when 'SPF', 'TXT'
98
- record.merge!(txtdata: api_record.fetch('content'))
98
+ record.merge!(txtdata: api_record.fetch('content').gsub(';', '\;'))
99
99
  when 'SRV'
100
100
  weight, port, host = api_record.fetch('content').split(' ')
101
101
 
@@ -134,7 +134,7 @@ module RecordStore
134
134
  when 'NS'
135
135
  record_hash[:content] = record.nsdname.chomp('.')
136
136
  when 'SPF', 'TXT'
137
- record_hash[:content] = record.txtdata
137
+ record_hash[:content] = record.txtdata.gsub('\;', ';')
138
138
  when 'SRV'
139
139
  record_hash[:content] = "#{record.weight} #{record.port} #{record.target.chomp('.')}"
140
140
  record_hash[:prio] = record.priority
@@ -1,3 +1,3 @@
1
1
  module RecordStore
2
- VERSION = '3.1.3'
2
+ VERSION = '3.1.4'
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: 3.1.3
4
+ version: 3.1.4
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: 2016-10-31 00:00:00.000000000 Z
12
+ date: 2016-11-01 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: thor