conjur-debify 0.9.1 → 0.9.2

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
  SHA1:
3
- metadata.gz: c176e6d6fc819b1e3538c3665895973336ac7a06
4
- data.tar.gz: 18cee3a95327236d164830d2d199ecb8975a286d
3
+ metadata.gz: 9490793d189cb32d4ddf3d97f257653a2bbfda75
4
+ data.tar.gz: cf247c96de749df2b6f9284217185611b95a8817
5
5
  SHA512:
6
- metadata.gz: 692fb7aa91c3f0e7e130db3e80579fbf717dacab8020f6c7c9e5d93376b280b98af7fab36101696397300f71b211ae7cbf00445974a16747afb45a437934fddb
7
- data.tar.gz: f636e30f3946548eaa5289c60baea589955569f1f4abd5c73f59eb247dabc761d6df80697b0cb2a8f91b2037a759c7ac990c624cc3b581608b711728f85cafbf
6
+ metadata.gz: 340df04883cd6216536d98d1531e3c75ede04639c8f8ff183ad0a2e119e7f7c9abf14353ecbef2a33d61cdb01f1846baabf3068f79e87a2de07ceabd9a75ac34
7
+ data.tar.gz: 7e7472d0db4f21305ca9d75a6cedc28bef5a6938d4b2b3246d88efd161e1d84e6e068fe96d6073a92ffd855e41aeb8ebe0eeddc93dd125f83640b52ac0254d6c
@@ -1,3 +1,8 @@
1
+ # 0.9.2
2
+
3
+ * Print messages to stderr instead of stdout during packaging
4
+ * Only consider tags matching v*.*.* when determining package version string
5
+
1
6
  # 0.9.1
2
7
 
3
8
  * Provide the package to purge before installing the new version
@@ -7,8 +7,7 @@ include GLI::App
7
7
 
8
8
  Docker.options[:read_timeout] = 300
9
9
 
10
- # This is used to turn on DEBUG notices for the test case operation. For instance,
11
- # messages from "evoke configure"
10
+ # This is used to turn on DEBUG notices.
12
11
  module DebugMixin
13
12
  DEBUG = ENV['DEBUG'].nil? ? true : ENV['DEBUG'].downcase == 'true'
14
13
 
@@ -53,7 +52,7 @@ subcommand_option_handling :normal
53
52
  arguments :strict
54
53
 
55
54
  def detect_version
56
- `git describe --long --tags --abbrev=7 | sed -e 's/^v//'`.strip.tap do |version|
55
+ `git describe --long --tags --abbrev=7 --match 'v*.*.*' | sed -e 's/^v//'`.strip.tap do |version|
57
56
  raise "No Git version (tag) for project" if version.empty?
58
57
  end
59
58
  end
@@ -229,7 +228,7 @@ command "package" do |c|
229
228
  container = Docker::Container.create options
230
229
  begin
231
230
  DebugMixin.debug_write "Packaging #{project_name} in container #{container.id}\n"
232
- container.tap(&:start).attach { |stream, chunk| $stderr.puts chunk }
231
+ container.tap(&:start).streaming_logs(follow: true, stdout: true, stderr: true) { |stream, chunk| $stderr.puts "#{chunk}" }
233
232
  status = container.wait
234
233
  raise "Failed to package #{project_name}" unless status['StatusCode'] == 0
235
234
 
@@ -1,5 +1,5 @@
1
1
  module Conjur
2
2
  module Debify
3
- VERSION = "0.9.1"
3
+ VERSION = "0.9.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: conjur-debify
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.1
4
+ version: 0.9.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kevin Gilpin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-01-20 00:00:00.000000000 Z
11
+ date: 2016-03-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gli