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 CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MDJjMzhkMmE3ZTdkMzZjMDZhYWY2MDRhMWUwNzM5MTliNGEwMGUyOQ==
4
+ NDNjYmEwNzJjMjU0ODVkZDE4NTM2NWE1OWUwMzQzOTdlNDdkYWQ3NQ==
5
5
  data.tar.gz: !binary |-
6
- Y2UyNmQwMDA1NjM0ZGIxMGJlM2E5MTA5N2FmNTFlOWJkYmI3ZmU2Mw==
6
+ MDAxMjdhNDQ1MDVhZjY2YWRmYjZiZDMwMjUzNTNkN2FkMWM1MmZiZg==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- NjVkZjJkMTI4ZjQ0OGY1YzY4MmNiZDM1M2I1YjU0MWU3ZmMyMmFkYjQ0YmRk
10
- MmI1MDI1M2I2NjU2NTIzOTMwYzQwMzVlZjY2N2UwYzM0ZTg5OTc0ZmVjNTJl
11
- MDE2NDNjOWFkN2JkZDM2ODljYTUxODA2MmU3MWJjMGYwY2FiZjQ=
9
+ ZTRlYTgyZmVhMGIwNzE1YzgxNGY3ZjliZWZlNDk3YTRhNjEwODJkNTQyOWQ1
10
+ ZTFlZDBmNTJkNTNlNmE4MGVlNmVjZThkMTVmZWU5YjA0YTA3YzZiODU1OTBj
11
+ MDBjNGE3MmJiMGJmMzRiZDk1ZTM2NTQ2M2JlY2QwMGQxODdiZjA=
12
12
  data.tar.gz: !binary |-
13
- N2FiODQ0MDIwZmRiMzc2MDk4YThkNWNkMGQxMTE5ZDMyMTNlMjI2NzhjNGFk
14
- NjkxM2VkYjUwOWM5YmRhMjQwYzZkN2ZjMTgyZGYyODg2MjljYzU4NDBmM2Q5
15
- ZjU5ZmJmNmRhNjRjZmY2ZWUyN2I1MDFkM2FlZDcwNTk4N2VhYzM=
13
+ MWVjNzM0NzE5N2U0YmRiYmNhNzRiMjlmMmRkYmJiNWU0M2VkYWI5OWMwMDRk
14
+ ODViZmFkYjI0MDZlMDk1ZGUxMzNjYmZiZjFhZjcyOTNmMmU1OWY2MmZiZmM0
15
+ MDQ4ZThhYjJmMDE4OGU3ZTRhZTQ0ZDA5YTk2ZWQzZmE0M2E0NzA=
@@ -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', ">= 0.1.0"
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'
@@ -6,7 +6,7 @@ module CiCd
6
6
  # remove_const c if const_defined?(c)
7
7
  # end
8
8
 
9
- VERSION = '0.9.15'
9
+ VERSION = '0.9.16'
10
10
  MAJOR, MINOR, TINY = VERSION.split('.')
11
11
  PATCH = TINY
12
12
  end
@@ -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.15
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.1.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.1.0
26
+ version: 0.9.13
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: json
29
29
  requirement: !ruby/object:Gem::Requirement