makit 0.0.50 → 0.0.51
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/makit/version.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7c154ea62f7c1bd58c5983e83b2c9000bd308d6ff4643b3b287ab413f9a54027
|
4
|
+
data.tar.gz: b77d4245e2ff096c1abaf284d395cc6f9738a28576009fad0d4a0b9a73ad5406
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: de998d3e2ea32496e3b84c96a318fd9f26a1aafae6106642f12a51a52685effa652dcc62e876a53089fe03826e882a70b3a03a68a91b27c63915931961f089f0
|
7
|
+
data.tar.gz: 3063426a0735c10f86e7e91676d9372a7eef4479b198d5bc5b9301710e09aeaee1770c1a280f8ed2e5b8bf955fd1fd3eeff7f385a6931802f1df7cb9f96cb8ac
|
data/lib/makit/version.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
module Makit
|
4
|
-
VERSION = "0.0.
|
4
|
+
VERSION = "0.0.51"
|
5
5
|
|
6
6
|
class Version
|
7
7
|
# given an array of version strings, return the highest version
|
@@ -32,7 +32,7 @@ module Makit
|
|
32
32
|
when ".wxs"
|
33
33
|
Makit::Version.detect_from_file(path, / Version="([\d\.]+)"/)
|
34
34
|
when ".yml"
|
35
|
-
Makit::Version.detect_from_file(path, /VERSION:\s
|
35
|
+
Makit::Version.detect_from_file(path, /VERSION:\s*["']?([\d\.]+)["']?/)
|
36
36
|
else
|
37
37
|
raise "unrecognized file type"
|
38
38
|
end
|