conjur-debify 1.5.4 → 1.6.0

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: 862455ae84807ccc3cf1335557e2df5649a84382
4
- data.tar.gz: 39a34fec2c9bef304fa33f28f5ed7a04c0102345
3
+ metadata.gz: 62779275043b6c8ea024b9daacc6676e3360ea9c
4
+ data.tar.gz: bf3df3918cd8b4d50677d9d2656ee019cd8d7e33
5
5
  SHA512:
6
- metadata.gz: 6323cb3635571b8426cbdac72e4a2a8d2b6da988b8ac7572b3760f1ce372d0df0d02d4c234d8221d3b58b2f98221701aff309fe6562c3365c9de979bca53f696
7
- data.tar.gz: 004efe037fb96a93eb2670ecac8085fca8cc84f1e4ff6f5852447992aff1162dee8ab5d1ed1cd921bee070732f412afddde80c605b95e951e758d9f6bc9e38b0
6
+ metadata.gz: 39daa1114f7198fa8502e42abd3a6724eb0f13371fc15347ccb0e38fa1309e1d09010a7cc4276d43a05c534d143ad366889c9e7af0ac910b4a5a37016e4b7d92
7
+ data.tar.gz: 144d95e054af19588aa17fc3d9a4c36d2db305e1843a3ad7171bb160fc57377a9d6a1d00bbf0db875c471937547e60132a9145804d6f6588975c7e0a30a281fc
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ # 1.6.0
2
+
3
+ * When not on the master branch, `debify publish` uses the branch name as the component name, rather than always using
4
+ `'testing'`.
5
+
1
6
  # 1.5.4
2
7
 
3
8
  * `debify publish` now checks env var `BRANCH_NAME` as well as `GIT_BRANCH`.
@@ -4,7 +4,7 @@ ENV['PATH'] = "#{File.expand_path(File.dirname(__FILE__) + '/../../bin')}#{File:
4
4
  LIB_DIR = File.join(File.expand_path(File.dirname(__FILE__)),'..','..','lib')
5
5
 
6
6
  Aruba.configure do |config|
7
- config.exit_timeout = 120
7
+ config.exit_timeout = 1200
8
8
  end
9
9
 
10
10
  Before do
data/lib/conjur/debify.rb CHANGED
@@ -637,7 +637,7 @@ command "publish" do |c|
637
637
  c.desc "Specify the deb package version; by default, it's computed automatically"
638
638
  c.flag [ :v, :version ]
639
639
 
640
- c.desc "Maturity stage of the package, 'testing' or 'stable'"
640
+ c.desc "Component to publish to, either 'stable' or the name of the git branch"
641
641
  c.flag [ :c, :component ]
642
642
 
643
643
  c.action do |global_options,cmd_options,args|
@@ -650,7 +650,7 @@ command "publish" do |c|
650
650
  if %w(master origin/master).include?(branch)
651
651
  'stable'
652
652
  else
653
- 'testing'
653
+ branch.gsub('/', '.')
654
654
  end
655
655
  end
656
656
 
@@ -1,5 +1,5 @@
1
1
  module Conjur
2
2
  module Debify
3
- VERSION = "1.5.4"
3
+ VERSION = "1.6.0"
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: 1.5.4
4
+ version: 1.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kevin Gilpin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-06-14 00:00:00.000000000 Z
11
+ date: 2017-07-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gli