blubber 0.1.5 → 0.1.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f18b831cd68d0715f2a08e5e837d70fc1357fae9db196addc147829f54004a43
4
- data.tar.gz: 0e69c4b38cf67397c81079801249c92e6e9bfb880f66c55615915defaf6e577e
3
+ metadata.gz: 457810ff6394abec0c13d9f0116d72a567cc0bf2d71e0f05aca667b4e2e35c09
4
+ data.tar.gz: 04b89a2313b751e77cd9c5378aa3d67d1793c4be1099c0a5b35b0355b9846750
5
5
  SHA512:
6
- metadata.gz: 37769f1c27983b8b734bcbdb391094ed933c415073e976c902d83c0120025a4342a02c8218bc9f74600ed95e79b8387194ff22bfa3e094aa25260813dddb797f
7
- data.tar.gz: 172d95ddd82f4c70c4a3c1406ef1255c84696af155878faa51e766c5f5132bceb7f6673154049745f91eccbb80093df0c27219024bfe5d8d21e06e8287a5501d
6
+ metadata.gz: 934b188004e2822626a83f393cd035188c4d2fb22c5f5b06f441ea4b004fe2a1806bff6d987423fb6c79298622f0274faf872c83557578c544dac8bb7e2cb019
7
+ data.tar.gz: e8b817c7d36fd1eddc2d97c9c60106784021d9b060f88ed1e24f94839c99d8cc896400aa5cc19d71b98b86e56b30250b33580bf7698c9bffad0c01c14d0dbb0a
@@ -23,7 +23,8 @@ module Blubber
23
23
  end
24
24
 
25
25
  def tags
26
- @tags ||= [].tap do |tags|
26
+ @tags ||= begin
27
+ tags = []
27
28
  tags << "#{commit}#{dirty? ? '-dirty' : ''}"
28
29
 
29
30
  unless dirty?
@@ -31,7 +32,9 @@ module Blubber
31
32
  tags << 'latest' if branch_name == 'master'
32
33
  end
33
34
 
34
- tags += File.read("#{layer}/Dockerfile").scan(/LABEL version=([\w][\w.-]*)/).flatten
35
+ tags << File.read("#{layer}/Dockerfile").scan(/LABEL version=([\w][\w.-]*)/)
36
+
37
+ tags.flatten
35
38
  end
36
39
  end
37
40
 
@@ -1,3 +1,3 @@
1
1
  module Blubber
2
- VERSION = '0.1.5'.freeze
2
+ VERSION = '0.1.6'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: blubber
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mikko Kokkonen