docker-rake-flow 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/utils.rb +3 -7
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 35e21a05ba758dcd4d32f06b2d34154e1471b23e
4
- data.tar.gz: 3a81c86037f9e696f3142f3edaff36a890577a24
3
+ metadata.gz: 19fd4a2e6230ddcf7594dd6f42c2fd7e1f384258
4
+ data.tar.gz: ba090869668784b53254a53847439b5299356eef
5
5
  SHA512:
6
- metadata.gz: 61c736def61c1da5749fb27ba52631d4306202a9e26d44661783eb17e5da8034da8ce360bcddc4e04d07db33a71dce413de44754a0fee3ce64263ea9dfd4b300
7
- data.tar.gz: ea1f4c1f6396419792015809ee58aefe0264ae2985b72da165dcac1967b383294d2a0777c48cbafb4e283f160ba8577269985098505934bdbb80ef57c7d27b88
6
+ metadata.gz: b1819c6e9338e2a75cad9245be1734986b0d22a6a3c651b80b35d662cb9e6193e2fdcc86872b326e72cff7cedabc2bf4800e112f5603b19d9079f4ddea18c762
7
+ data.tar.gz: d7e9e99aadb36533c488a9cef5a86740f0e7cd1848d4d09ed67de263d2b8f907400bb256de5c040f77414558dbf9f07a238f5483a6a1270886713747c9198b10
data/lib/utils.rb CHANGED
@@ -28,11 +28,7 @@ class DockerFlow::Utils
28
28
  end
29
29
 
30
30
  def self.is_ci
31
- if ENV.include? 'CI' and ENV['CI'] == 'true'
32
- true
33
- end
34
-
35
- false
31
+ return (ENV.include? 'CI' and ENV['CI'] == 'true')
36
32
  end
37
33
 
38
34
  def self.get_system_info
@@ -54,7 +50,7 @@ class DockerFlow::Utils
54
50
 
55
51
  def self.put_build_information(info)
56
52
  puts ' # Build information'
57
- puts " Host type: #{info[:host_type]}"
53
+ puts " Environment: #{info[:host_type]}"
58
54
  puts " Git branch: #{info[:branch]} @ #{info[:commit_version]}"
59
55
  puts " Container repository: #{info[:repository]}"
60
56
  puts " Build container tag: #{info[:build_container_tag]}"
@@ -113,4 +109,4 @@ class DockerFlow::Utils
113
109
  container.stop
114
110
  container.delete
115
111
  end
116
- end
112
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: docker-rake-flow
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - VJ Patel
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-03-18 00:00:00.000000000 Z
11
+ date: 2016-03-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: docker-api