releasecop 0.0.14 → 0.0.15

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
  SHA256:
3
- metadata.gz: 8ae20cd71aa1981895c61d7f9e3890c5eb1281b9b2481eeca4503e54e8fd397e
4
- data.tar.gz: d7ebfe94b23fb0d0a4c6d9aa3deea35939c6340737328759c466a4d90b6a894f
3
+ metadata.gz: af566f86d4d9ba07fffb0d31d5178ae98b71fa236407191062a27e90d5330576
4
+ data.tar.gz: 10f0cf6103e2e17008f0ae0a5f1aa9bef9ba15aba6187ba391e2b6dc13e44f58
5
5
  SHA512:
6
- metadata.gz: a6ea618fe766b8bfcc28ba92d35bba5608c431d3fd7832f160ee9d35d71b4f6a187a32a9060d30804b928ad8b3867af565753896d46e0336a87d1776d2832388
7
- data.tar.gz: e7939962e5d4c288fdbe2ee1de6f113d4e05fdc8783977c9cab5816fdb7f56fc3bf4ca873d7301c80c62383fccecbe26075f374302e81cbd0a516ca62b5d41b5
6
+ metadata.gz: cc1a98899976b864d535b63108ccb33bbe14aa66a13c0d1c1cd18dc58d9623b3196ce635d6afcb8655015c3cf5f9bc43ad35e09404dd12e9fd8e33da136b8303
7
+ data.tar.gz: 77151af1cc35f98a96d43e489015d2fedd10508a010d500a81f5e522d5a15119979b75907f26281b078632616e75ec59c55d4b6b2dde3d035a272a0dc3c63bbd
@@ -2,6 +2,10 @@
2
2
  ------------
3
3
  * Your contribution here...
4
4
 
5
+ 0.0.15 (2019-04-05)
6
+ ---
7
+ * Update for compatibility with hokusai >=0.5.4 (now incompatible with earlier versions) (57ee7ae56)
8
+
5
9
  0.0.14 (2019-01-07)
6
10
  ---
7
11
  * Fix `tag_pattern`-matching to respect annotated tags (c7eda3599)
@@ -24,9 +24,11 @@ module Releasecop
24
24
  private
25
25
 
26
26
  def find_hokusai_sha
27
- images_output = with_aws_env { `hokusai registry images` }
28
- tags = images_output.lines.grep(/\d{4}.* | .* | .*/).map{|l| l.split(' | ').last.split(',').map(&:strip)}
29
- tags.detect{|t| t.include?(@options['hokusai']) }.detect{|t| t[/^[0-9a-f]{40}$/]}
27
+ images_output = with_aws_env { `hokusai registry images --limit 1000` } # list as many items as possible
28
+ tags = images_output.lines.grep(/\d{4}.* \| .*/).map do |l| # lines listing images
29
+ l.split(' | ').last.gsub(/\e\[(\d+)(\;\d+)*m/, '').split(',').map(&:strip) # tags
30
+ end
31
+ tags.detect{|t| t.include?(@options['hokusai']) }.detect{|t| t[/^[0-9a-f]{40}$/]} # first SHA-seeming tag matching environment
30
32
  end
31
33
 
32
34
  def find_tag_pattern_sha
@@ -1,3 +1,3 @@
1
1
  module Releasecop
2
- VERSION = "0.0.14"
2
+ VERSION = "0.0.15"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: releasecop
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.14
4
+ version: 0.0.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joey Aghion
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-01-07 00:00:00.000000000 Z
11
+ date: 2019-04-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor