cicd-builder 0.9.29 → 0.9.30

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 415377fd7d8dfce4e54220f50ba5d65099c746d0
4
- data.tar.gz: 9e51456f4685596fd9362cf81832bfecd95d84a7
3
+ metadata.gz: 43b046d8964915ca088ec9c390dd871de1f7a1d0
4
+ data.tar.gz: a9b241bf89301f531bde18126ff8fd0920d4870c
5
5
  SHA512:
6
- metadata.gz: 1b9e02aa90451bbcb104cfc0524de52298848d21977a14ef0cbc3fd1a72c9e29f7bd4feea07abd1da9145fd5a85c5d3fc836c7ccd5aa03a6f6dea0dce905962d
7
- data.tar.gz: b4d532f9cbf491fd790130c166595a33dee3ebc7b1464a41962d2ed109711eb1716251f8a0a936dd9f1168c7debf4bd6ace23ff791d28cf6131c72ebe8d6e952
6
+ metadata.gz: 25df5d46329a2697d45f61bd84a54daaf4177a7c5ad841fc4c029f542fcb36b62a32c768e48f327da4159d43acb3b338e460dd9293fba5a6246dab4819088df4
7
+ data.tar.gz: 862aebbb48e63c7c7e13b90ccfc486862e25e55a709162f7908039a096a465ccb8387372704f9332f83f4ec8b38c02ec852dd3d0995d1c3485535cf01aad3080
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- cicd-builder (0.9.29)
4
+ cicd-builder (0.9.30)
5
5
  artifactory (>= 2.2.1, < 2.3)
6
6
  awesome_print (>= 1.6, < 2.0)
7
7
  aws-sdk (>= 2.0, < 2.1)
@@ -36,7 +36,7 @@ module CiCd
36
36
 
37
37
  unless @options[:inifile]
38
38
  if ENV.has_key?('INIFILE')
39
- @vars[:inifile] = ENV['INIFILE']
39
+ @options[:inifile] = ENV['INIFILE']
40
40
  end
41
41
  end
42
42
 
@@ -6,12 +6,13 @@ module CiCd
6
6
  require 'cicd/builder/mixlib/repo/base'
7
7
  require 'cicd/builder/mixlib/repo/S3'
8
8
  # noinspection RubyResolve
9
- if ENV.has_key?('REPO_TYPE') and (not ENV['REPO_TYPE'].capitalize.equal?('S3'))
9
+ if ENV.has_key?('REPO_TYPE') and (not ENV['REPO_TYPE'].capitalize.eql?('S3'))
10
10
  require "cicd/builder/mixlib/repo/#{ENV['REPO_TYPE'].downcase}"
11
11
  end
12
12
 
13
13
  # ---------------------------------------------------------------------------------------------------------------
14
14
  def getRepoClass(type = nil)
15
+ @logger.info __method__.to_s
15
16
  if type.nil?
16
17
  type ||= 'S3'
17
18
  if ENV.has_key?('REPO_TYPE')
@@ -19,6 +20,7 @@ module CiCd
19
20
  end
20
21
  end
21
22
 
23
+ @logger.info "#{type} repo interface"
22
24
  clazz = Object.const_get("CiCd::Builder::Repo::#{type}")
23
25
  if block_given?
24
26
  if clazz.is_a?(Class) and not clazz.nil?
@@ -106,7 +106,7 @@ module CiCd
106
106
  unless file_name.empty? or file_name.match(%r'^-')
107
107
  file_name = "-#{file_name}"
108
108
  end
109
- artifact_name = "#{data[:name]}-#{data[:version]}#{file_name}-#{@vars[:variant]}.#{file_ext}" # -#{data[:build]}
109
+ artifact_name = "#{data[:name]}-#{data[:version]}#{file_name}-#{data[:build]}.#{file_ext}" # -#{@vars[:variant]}
110
110
  artifact_path = "#{artifactory_org_path()}/#{data[:name]}/#{data[:version]}-#{@vars[:variant]}/#{artifact_name}"
111
111
  manifest[data[:name]] = artifact_path
112
112
  if objects.nil? or objects.size == 0
@@ -4,7 +4,7 @@ module CiCd
4
4
  # file = File.expand_path("#{File.dirname(__FILE__)}/../../../VERSION")
5
5
  # lines = File.readlines(file)
6
6
  # version = lines[0]
7
- version = '0.9.29'
7
+ version = '0.9.30'
8
8
  VERSION = version unless const_defined?('VERSION')
9
9
  major, minor, tiny = VERSION.split('.')
10
10
  MAJOR = major unless const_defined?('MAJOR')
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cicd-builder
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.29
4
+ version: 0.9.30
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christo De Lange
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-02-27 00:00:00.000000000 Z
11
+ date: 2015-03-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: awesome_print