shaman_cli 2.2.0 → 2.3.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: 6ef7121c2b965f22f4501c044545f414e0527eb8
4
- data.tar.gz: 3dfeeff832d10e05b713b88e8feca4fc748da39b
3
+ metadata.gz: baa915ecd05a3c6dc139a0a12cc80866d21e84e2
4
+ data.tar.gz: 3c9505f8d2ca92721e4e1ae7e75dd07d2ba0208c
5
5
  SHA512:
6
- metadata.gz: 3c08a313f868a70b00c15d4d1c68dff3534af36281c249b78ddee320fe5747a2c6c12417c878c894bc85244fdb9acdb57d86b77e6e8f5af0d1edc003c03d93ee
7
- data.tar.gz: 46423196b2f3d7a3f1206bbc8f655b8350766a2f86aa211654faa5575c26b759e40443237f0df9ff70cacbc97ed2ab3c3f12aafaa0333bbd8b43dd60b47302d7
6
+ metadata.gz: 322796711947e5a8475914abe401f53d97c63c20a61bdd49e6df6221a875ca5de7fe279b148158275d76cc6a0cb8fe4c1a18b4edf47f71f18d1eeec6d266d420
7
+ data.tar.gz: 02cb4ec327e2c55b77a01bab71745363d3471d691f1ae7d6283c789774f08e65595a6ab100252d2a9409400c7533a85a7fd4fd3ff63a705c9313eddc864982df
data/exe/shaman CHANGED
@@ -32,6 +32,7 @@ command :deploy do |c|
32
32
  c.option '-c', '--config FILE', String, 'Use different config file'
33
33
  c.option '-g', '--git', 'Use git for message (overrides any manual settings!)'
34
34
  c.option '-C', '--commit COMMIT', String, 'which commit to use instead of HEAD'
35
+ c.option '-M', '--minimum_version', 'Set release as minimum version'
35
36
  c.action do |args, options|
36
37
  begin
37
38
  Shaman::Deploy.new(args, options).deploy
data/lib/shaman/deploy.rb CHANGED
@@ -25,7 +25,8 @@ module Shaman
25
25
  environment_token: config[:token],
26
26
  release: HTTP::FormData::File.new(options.file || config[:release_path]),
27
27
  message: message || '',
28
- token: options.token || ENV['SHAMAN_TOKEN']
28
+ token: options.token || ENV['SHAMAN_TOKEN'],
29
+ minimum_version: options.minimum_version || false
29
30
  }
30
31
  end
31
32
 
@@ -1,3 +1,3 @@
1
1
  module Shaman
2
- VERSION = '2.2.0'.freeze
2
+ VERSION = '2.3.0'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shaman_cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.0
4
+ version: 2.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stjepan Hadjic
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-03-23 00:00:00.000000000 Z
11
+ date: 2017-09-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -167,7 +167,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
167
167
  version: '0'
168
168
  requirements: []
169
169
  rubyforge_project:
170
- rubygems_version: 2.5.1
170
+ rubygems_version: 2.6.11
171
171
  signing_key:
172
172
  specification_version: 4
173
173
  summary: Command tool for labs