foobar_templates 2.0.1.rc3 → 2.0.1.rc4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c933bd134506713bc01168f73ba617aeb22f7d3dc10a472455da258189136528
|
|
4
|
+
data.tar.gz: 0a5bcd41cff0ef149b6950e5a6868e444eaff671e7eef5043cf89ea5f24f917c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a036cca148228d0cd1b6d7f1f8d0d81249108dd1aa4b029d146838b64b26ea018857a9f4a175f3e8c9bbc229f77035a68c4bc7dadbacae0e0a8b2ffaf38c3143
|
|
7
|
+
data.tar.gz: fa889a9eb2be2514d2b1347458b624491a460e1f7bc7faf25e7577a62da623e85ca29ec31b4ecb6633a4042d5ba75b66e37c72a21b2b3c67a88ef1a9c77ba3b9
|
|
@@ -218,14 +218,11 @@ module FoobarTemplates::CLI
|
|
|
218
218
|
|
|
219
219
|
def scan_template_for_required_domains
|
|
220
220
|
all_placeholders = DOMAIN_PLACEHOLDERS.values.flatten
|
|
221
|
-
pattern = Regexp.union(all_placeholders)
|
|
222
221
|
found_placeholders = Set.new
|
|
223
222
|
|
|
224
|
-
|
|
223
|
+
template_relative_paths.each do |rel|
|
|
224
|
+
f = File.join(@template_src, rel)
|
|
225
225
|
next unless File.file?(f)
|
|
226
|
-
base_path = f[@template_src.length+1..-1]
|
|
227
|
-
next if base_path.nil?
|
|
228
|
-
next if base_path.start_with?(".git" + File::SEPARATOR) || base_path == ".git"
|
|
229
226
|
next if binary_file?(f)
|
|
230
227
|
|
|
231
228
|
content = File.read(f)
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: foobar_templates
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.0.1.
|
|
4
|
+
version: 2.0.1.rc4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- TheNotary
|
|
@@ -130,9 +130,9 @@ licenses:
|
|
|
130
130
|
- MIT
|
|
131
131
|
metadata:
|
|
132
132
|
bug_tracker_uri: https://github.com/TheNotary/foobar_templates/issues
|
|
133
|
-
changelog_uri: https://github.com/TheNotary/foobar_templates/releases/tag/v2.0.1.
|
|
133
|
+
changelog_uri: https://github.com/TheNotary/foobar_templates/releases/tag/v2.0.1.rc4
|
|
134
134
|
documentation_uri: https://github.com/TheNotary/foobar_templates
|
|
135
|
-
source_code_uri: https://github.com/TheNotary/foobar_templates/tree/v2.0.1.
|
|
135
|
+
source_code_uri: https://github.com/TheNotary/foobar_templates/tree/v2.0.1.rc4
|
|
136
136
|
rdoc_options: []
|
|
137
137
|
require_paths:
|
|
138
138
|
- lib
|