beaker-hostgenerator 1.0.0 → 1.0.1
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 +8 -8
- data/CHANGELOG.md +4 -0
- data/lib/beaker-hostgenerator/data.rb +4 -2
- data/lib/beaker-hostgenerator/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ZDljMWQzMTBmOTk2MWMwM2MxOTU1MGU2NzI5OWI5NTEwMWM2NzI4Nw==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ZjBmM2NiN2YxYmI1MTMwYmE4YmUzZjY0ZTIwZjVkOWIxODdkZTJhYw==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MTgyNzZhMDFjZmNhMWJlNWIwNDdiYmFlNDk3MDBhNWNhYTU2YmM0NzNiMzEz
|
10
|
+
NDE4YmZiNTIyYjZlYjk4ZWU4ODgzZjVkNDU4OGNiY2M5MmI5MDQzYzE4OGY5
|
11
|
+
NmRhNDAwMGE0OTIwY2EzNjA4ZTEwNTY5NWMwMzgxMzMyNWEwYzA=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ODU2ZDk2OTI0MDBmYTFkMjQ0ZTAxZTZhOGY3YmY4NjhmNDBkMDc3YTlkMzU2
|
14
|
+
NjA1MDk2NzE4Mjc3YzU4NTIxYTYyMTFkMmM0NDNkZDgyY2U0MWQzNzlkZjdl
|
15
|
+
NTM3ODc5MzAzZTA0NDU2YTNhY2M4ZTBlNGRiNTgwNDM3ZDcxZDk=
|
data/CHANGELOG.md
CHANGED
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
|
|
4
4
|
This project makes a strong effort to adhere to [Semantic
|
5
5
|
Versioning](http://semver.org).
|
6
6
|
|
7
|
+
## [1.0.1] - 2017-8-14
|
8
|
+
- Support empty string as the value of version by returning nil from pe_dir()
|
9
|
+
- Support unparseable/unknown versions by returning empty string from pe_dir()
|
10
|
+
|
7
11
|
## [1.0.0] - 2017-8-14
|
8
12
|
- Rewrite pe_dir() to provide RC builds and to determine build source just from
|
9
13
|
the pe_version format.
|
@@ -25,7 +25,7 @@ module BeakerHostGenerator
|
|
25
25
|
end
|
26
26
|
|
27
27
|
def pe_dir(version)
|
28
|
-
return if version.nil?
|
28
|
+
return if version.nil? || version.empty?
|
29
29
|
|
30
30
|
base_regex = '(\A\d+\.\d+)\.\d+'
|
31
31
|
source = case version
|
@@ -37,8 +37,10 @@ module BeakerHostGenerator
|
|
37
37
|
then "#{PE_TARBALL_SERVER}/%s/feature/ci-ready"
|
38
38
|
when /#{base_regex}-.*/
|
39
39
|
then "#{PE_TARBALL_SERVER}/%s/ci-ready"
|
40
|
+
else
|
41
|
+
''
|
40
42
|
end
|
41
|
-
return sprintf(source, $1)
|
43
|
+
return sprintf(source, ($1 || ''))
|
42
44
|
end
|
43
45
|
|
44
46
|
PE_USE_WIN32 = ENV['pe_use_win32']
|