puppet_module_packaging 0.1.0 → 0.1.1
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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d6dec8ec8f4760db5449a19c12c970c2fdcc1597
|
4
|
+
data.tar.gz: b6faeb96ae78ad45de6745118b7a90ca2f5e4db5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3b6af7a8e1960a0d060d3adec5d1974b7de4552b8521f86debe09b8d71c497c030ade1c7f0be84ee3f998b5865e5016909df6baa77bfa12b7cbb29bac00faf72
|
7
|
+
data.tar.gz: d804b951fcb7304b9f9a3453645518e76d77a8d40f7bd4bdb937ce04fce13f890e278dc292f6a5cf52d1c14f8d326d98df604302a71ac1d7ef61f8e58f41d594
|
data/Changelog.md
CHANGED
@@ -1,5 +1,11 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## 0.1.1
|
4
|
+
|
5
|
+
* Fix a bug in the Modulefile parser that prevented correct dependency
|
6
|
+
detection when no space between constraint qualifier and actual version was
|
7
|
+
provided.
|
8
|
+
|
3
9
|
## 0.1.0
|
4
10
|
|
5
11
|
* Fix a shadowed variable bug in the test suite that prevented it to work
|
@@ -68,7 +68,7 @@ module PuppetModule
|
|
68
68
|
|
69
69
|
def dependency_versions_for(versions_str)
|
70
70
|
versions = []
|
71
|
-
versions_str.split(/(>=|<=|==|=|<|>)\s
|
71
|
+
versions_str.split(/(>=|<=|==|=|<|>)\s*/)\
|
72
72
|
.select { |s| !s.empty? }\
|
73
73
|
.each_slice(2) { |v|
|
74
74
|
versions << v.map { |s| s.strip }.join(" ")
|
@@ -8,6 +8,6 @@ description 'A long description of this silly module'
|
|
8
8
|
project_page 'https://example.com/testmod/home'
|
9
9
|
|
10
10
|
dependency 'user_1/mod_1', '= 1.2.3'
|
11
|
-
dependency 'user_2/mod_2', '>= 1.0.0 <
|
11
|
+
dependency 'user_2/mod_2', '>= 1.0.0 <3.2'
|
12
12
|
|
13
13
|
unsupported_field 'I don`t know what I am for'
|