record_store 6.5.5 → 6.5.8
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a0a988dc5071a5cba7b77105bfbd6a6a3bd85c7049faabccf84be00ceb4ea0cd
|
4
|
+
data.tar.gz: 980159cf5899746871435d7b8674d94c4143bd8c0d1f8fe3b43c5cb61e03a360
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7be5a4503a83bca9e0f8c50fedfe7da0e8ed53cf99e40dd375d2b547df0ef740ca8e8138fd64cea3c4247230d3e7fb874824a908554976f0a3e62045d718a7ee
|
7
|
+
data.tar.gz: 0f10f66dc76a7a86cce97cb05fb50c977db2fa163fe8dc735b5dc108d0825feb5bfc6639c5aaa581f7edc829a8023e9cdb437e75619118e4bf52fde1c59bec3e
|
data/.github/workflows/ci.yml
CHANGED
data/lib/record_store/version.rb
CHANGED
@@ -27,7 +27,7 @@ module RecordStore
|
|
27
27
|
filepath = template_filepath_for(filename: filename)
|
28
28
|
template_file = File.read(filepath)
|
29
29
|
|
30
|
-
template_file_yaml = YAML.
|
30
|
+
template_file_yaml = YAML.safe_load(template_file, permitted_classes: [Regexp]).deep_symbolize_keys
|
31
31
|
filters_for_records_to_template = template_file_yaml[:each_record]
|
32
32
|
filters_for_records_to_exclude = template_file_yaml[:except_record] || []
|
33
33
|
|
@@ -96,8 +96,9 @@ module RecordStore
|
|
96
96
|
def template_record_for(record:, current_records:)
|
97
97
|
context = TemplateContext.build(record: record, current_records: current_records)
|
98
98
|
|
99
|
-
YAML.
|
100
|
-
template.result(context.fetch_binding)
|
99
|
+
YAML.safe_load(
|
100
|
+
template.result(context.fetch_binding),
|
101
|
+
permitted_classes: [Regexp],
|
101
102
|
).deep_symbolize_keys
|
102
103
|
end
|
103
104
|
end
|
data/lib/record_store/zone.rb
CHANGED
@@ -79,7 +79,7 @@ module RecordStore
|
|
79
79
|
|
80
80
|
def initialize(name:, records: [], config: {}, abstract_syntax_trees: {})
|
81
81
|
@name = Record.ensure_ends_with_dot(name)
|
82
|
-
@config = RecordStore::Zone::Config.new(config.deep_symbolize_keys)
|
82
|
+
@config = RecordStore::Zone::Config.new(**config.deep_symbolize_keys)
|
83
83
|
@records = build_records(records)
|
84
84
|
@abstract_syntax_trees = abstract_syntax_trees
|
85
85
|
end
|
data/record_store.gemspec
CHANGED
@@ -39,7 +39,7 @@ Gem::Specification.new do |spec|
|
|
39
39
|
spec.add_runtime_dependency 'google-cloud-dns', '~> 0.31.0'
|
40
40
|
spec.add_runtime_dependency 'ruby-limiter', '~> 1.0', '>= 1.0.1'
|
41
41
|
spec.add_runtime_dependency 'ns1'
|
42
|
-
spec.add_runtime_dependency 'oci', '~> 2.
|
42
|
+
spec.add_runtime_dependency 'oci', '~> 2.14.0'
|
43
43
|
|
44
44
|
spec.add_development_dependency 'byebug'
|
45
45
|
spec.add_development_dependency 'rake'
|
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.
|
4
|
+
version: 6.5.8
|
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:
|
12
|
+
date: 2022-05-04 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: thor
|
@@ -191,14 +191,14 @@ dependencies:
|
|
191
191
|
requirements:
|
192
192
|
- - "~>"
|
193
193
|
- !ruby/object:Gem::Version
|
194
|
-
version: 2.
|
194
|
+
version: 2.14.0
|
195
195
|
type: :runtime
|
196
196
|
prerelease: false
|
197
197
|
version_requirements: !ruby/object:Gem::Requirement
|
198
198
|
requirements:
|
199
199
|
- - "~>"
|
200
200
|
- !ruby/object:Gem::Version
|
201
|
-
version: 2.
|
201
|
+
version: 2.14.0
|
202
202
|
- !ruby/object:Gem::Dependency
|
203
203
|
name: byebug
|
204
204
|
requirement: !ruby/object:Gem::Requirement
|