record_store 5.7.3 → 5.7.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
  SHA256:
3
- metadata.gz: fa37529228b99a18d081a95da067ae65b4a135977fc99ef4ac4890e3d98a473c
4
- data.tar.gz: a8949f16daa53b7ab6ae0c95469fd88f80b8e60c0374781c30ca2d84528172ea
3
+ metadata.gz: ba7d20a3308ebfcb99eefaf97e4dbc840c7e6f2f2621037b9381758b7b536d7d
4
+ data.tar.gz: 04cedd42ea0b38deaceac0a6a0c68bc02b724c7bd406e0fa3bae394a9224cce5
5
5
  SHA512:
6
- metadata.gz: bf01b09e5f9a412bdfbc0799984daab556bfc27b5b0c6a229f199a8f3eaeb375d12c901d2c15a0b534d8adb40a8d480eb51ea203552d5599429c24321fa69614
7
- data.tar.gz: c9679b7766bd48b795e61cee67812ae19f8bd66e88e7e7bf9248306c3f4d464295296253dba9d6ff3d9ecfa7bfae6d31d73acf037e1e74111ea54749bdd7b8fe
6
+ metadata.gz: dc50605f622949ca4907c4bed824379b8fbe192e0b0794c34878e7c6717b4071f218c15e78a276edb2b74d840228f40ef5360317a01c6b948f24db1b9c8471b9
7
+ data.tar.gz: de9e9437dea4b1bc50b3aa7cca818942d807b264616990e24483ceebfa7613de437e01dabe9d064c4ddb7f71b30c2782845968399b2b635daa2eec2a43863c48
@@ -76,13 +76,6 @@ Style/BlockDelimiters:
76
76
  - proc
77
77
  - it
78
78
 
79
- Style/BracesAroundHashParameters:
80
- EnforcedStyle: no_braces
81
- SupportedStyles:
82
- - braces
83
- - no_braces
84
- - context_dependent
85
-
86
79
  Layout/CaseIndentation:
87
80
  EnforcedStyle: end
88
81
  SupportedStyles:
@@ -478,7 +471,7 @@ Style/TrivialAccessors:
478
471
  AllowPredicates: true
479
472
  AllowDSLWriters: false
480
473
  IgnoreClassMethods: false
481
- AllowedMethod:
474
+ AllowedMethods:
482
475
  - to_ary
483
476
  - to_a
484
477
  - to_c
@@ -509,7 +502,7 @@ Style/WhileUntilModifier:
509
502
  Metrics/BlockNesting:
510
503
  Max: 3
511
504
 
512
- Metrics/LineLength:
505
+ Layout/LineLength:
513
506
  Max: 120
514
507
  AllowHeredoc: true
515
508
  AllowURI: true
@@ -1,4 +1,7 @@
1
1
  # CHANGELOG
2
+ ## 5.7.4
3
+ - NS1: changing the way long TXT records are processed (no more splitting to do on our side)
4
+
2
5
  ## 5.7.1
3
6
  - add API rate limit for NS1 provider [FEATURE]
4
7
 
@@ -226,7 +226,7 @@ module RecordStore
226
226
  when 'NS'
227
227
  record.merge!(nsdname: answer.rrdata_string)
228
228
  when 'SPF', 'TXT'
229
- record.merge!(txtdata: Record.unlong_quote(Record.unescape(answer.rrdata_string).gsub(';', '\;')))
229
+ record.merge!(txtdata: answer.rrdata_string.gsub(';', '\;'))
230
230
  when 'SRV'
231
231
  priority, weight, port, host = answer.rrdata
232
232
 
@@ -245,7 +245,7 @@ module RecordStore
245
245
  if record.is_a?(Record::MX)
246
246
  [record.preference, record.exchange]
247
247
  elsif record.is_a?(Record::TXT) || record.is_a?(Record::SPF)
248
- [Record.long_quote(record.txtdata).gsub('\;', ';')]
248
+ [record.txtdata.gsub('\;', ';')]
249
249
  elsif record.is_a?(Record::CAA)
250
250
  [record.flags, record.tag, record.value]
251
251
  elsif record.is_a?(Record::SRV)
@@ -1,3 +1,3 @@
1
1
  module RecordStore
2
- VERSION = '5.7.3'.freeze
2
+ VERSION = '5.7.4'.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: 5.7.3
4
+ version: 5.7.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: 2019-12-09 00:00:00.000000000 Z
12
+ date: 2020-03-02 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: thor