pdqtest 2.0.4 → 2.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/pdqtest/pdk.rb +7 -0
- data/lib/pdqtest/skeleton.rb +7 -7
- data/lib/pdqtest/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 91ea474de70e66b184f983da16bf89b56b6a3c5662c74033f208388a27610748
|
4
|
+
data.tar.gz: 9e713c1a7c1e8b372fdde740e170cee7ce251335317abebc6eed7cd8f064c1ee
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7b21e8f78a680345692273cbfc91987225f18fe414906c054dcd6e9925a6a02a9380d66171c623f511b169eafb567070494999d82b8febecaddf794172bafb48
|
7
|
+
data.tar.gz: 57a3ed28066149ee2f3b90a132a404c83414ee6aa6f875a99ba6063ea5d955994596f96cee8891ac38dfeb159948b130037882920b1f0a776183fe177b41e050
|
data/lib/pdqtest/pdk.rb
CHANGED
@@ -59,6 +59,13 @@ module PDQTest
|
|
59
59
|
def self.amend_sync_yml(data)
|
60
60
|
if File.exist? SYNC_YML
|
61
61
|
sync = YAML.load_file(SYNC_YML)
|
62
|
+
|
63
|
+
# PDQTest < 2.0.4 mistakenly dropped an array into
|
64
|
+
# .sync.yml[.gitattributes][include] that will crash PDK on upgrade
|
65
|
+
# nuke this key on sight to fix
|
66
|
+
if sync.dig(".gitattributes", "include").is_a? Array
|
67
|
+
sync[".gitattributes"].delete("include")
|
68
|
+
end
|
62
69
|
else
|
63
70
|
sync = {}
|
64
71
|
end
|
data/lib/pdqtest/skeleton.rb
CHANGED
@@ -52,13 +52,13 @@ module PDQTest
|
|
52
52
|
],
|
53
53
|
},
|
54
54
|
".gitattributes" => {
|
55
|
-
"include" =>
|
56
|
-
"*.epp eol=lf",
|
57
|
-
"*.json eol=lf",
|
58
|
-
"*.yaml eol=lf",
|
59
|
-
"*.yml eol=lf",
|
60
|
-
"*.md eol=lf",
|
61
|
-
|
55
|
+
"include" => {
|
56
|
+
"*.epp" => "eol=lf",
|
57
|
+
"*.json"=> "eol=lf",
|
58
|
+
"*.yaml"=> "eol=lf",
|
59
|
+
"*.yml" => "eol=lf",
|
60
|
+
"*.md" => "eol=lf",
|
61
|
+
}
|
62
62
|
}
|
63
63
|
}.freeze
|
64
64
|
|
data/lib/pdqtest/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pdqtest
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Geoff Williams
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-04-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|