chefrepo-builder 0.9.15 → 0.9.16
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/chefrepo-builder.gemspec +1 -1
- data/lib/cicd/builder/chefrepo/version.rb +1 -1
- data/lib/cicd/builder/chefrepo.rb +21 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
NDNjYmEwNzJjMjU0ODVkZDE4NTM2NWE1OWUwMzQzOTdlNDdkYWQ3NQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MDAxMjdhNDQ1MDVhZjY2YWRmYjZiZDMwMjUzNTNkN2FkMWM1MmZiZg==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ZTRlYTgyZmVhMGIwNzE1YzgxNGY3ZjliZWZlNDk3YTRhNjEwODJkNTQyOWQ1
|
10
|
+
ZTFlZDBmNTJkNTNlNmE4MGVlNmVjZThkMTVmZWU5YjA0YTA3YzZiODU1OTBj
|
11
|
+
MDBjNGE3MmJiMGJmMzRiZDk1ZTM2NTQ2M2JlY2QwMGQxODdiZjA=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MWVjNzM0NzE5N2U0YmRiYmNhNzRiMjlmMmRkYmJiNWU0M2VkYWI5OWMwMDRk
|
14
|
+
ODViZmFkYjI0MDZlMDk1ZGUxMzNjYmZiZjFhZjcyOTNmMmU1OWY2MmZiZmM0
|
15
|
+
MDQ4ZThhYjJmMDE4OGU3ZTRhZTQ0ZDA5YTk2ZWQzZmE0M2E0NzA=
|
data/chefrepo-builder.gemspec
CHANGED
@@ -17,7 +17,7 @@ Gem::Specification.new do |gem|
|
|
17
17
|
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
18
18
|
gem.require_paths = ['lib']
|
19
19
|
|
20
|
-
gem.add_dependency 'cicd-builder',
|
20
|
+
gem.add_dependency 'cicd-builder', '>= 0.9.13'
|
21
21
|
gem.add_dependency 'json', '= 1.7.7'
|
22
22
|
|
23
23
|
gem.add_development_dependency 'bundler', '~> 1.0'
|
@@ -25,6 +25,24 @@ module CiCd
|
|
25
25
|
patch: PATCH,
|
26
26
|
}
|
27
27
|
end
|
28
|
+
|
29
|
+
# ---------------------------------------------------------------------------------------------------------------
|
30
|
+
def checkEnvironment()
|
31
|
+
# We fake some of the keys that the will need later ...
|
32
|
+
faked = {}
|
33
|
+
%w(VERSION RELEASE).each do |key|
|
34
|
+
unless ENV.has_key?(key)
|
35
|
+
ENV[key]="faked"
|
36
|
+
faked[key] = true
|
37
|
+
end
|
38
|
+
end
|
39
|
+
ret = super
|
40
|
+
faked.each do |k,v|
|
41
|
+
ENV.delete k
|
42
|
+
end
|
43
|
+
ret
|
44
|
+
end
|
45
|
+
|
28
46
|
# ---------------------------------------------------------------------------------------------------------------
|
29
47
|
def run()
|
30
48
|
$stdout.write("ChefRepoBuilder v#{CiCd::Builder::ChefRepo::VERSION}\n")
|
@@ -35,11 +53,12 @@ module CiCd
|
|
35
53
|
WORKSPACE
|
36
54
|
|
37
55
|
PROJECT_NAME
|
38
|
-
VERSION
|
39
|
-
RELEASE
|
40
56
|
REPO_DIR
|
41
57
|
REPO_PARTS
|
42
58
|
|
59
|
+
VERSION
|
60
|
+
RELEASE
|
61
|
+
|
43
62
|
AWS_S3_BUCKET
|
44
63
|
)
|
45
64
|
@default_options[:gen] = '1.0.0'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: chefrepo-builder
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.16
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Christo De Lange
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ! '>='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.9.13
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - ! '>='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0.
|
26
|
+
version: 0.9.13
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: json
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|