shaman_cli 2.3.0 → 2.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/shaman/deploy.rb +2 -2
- data/lib/shaman/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: c602a7b90c41da9f106a1ea4f8083236ed7fb6a98f53a151b2437afb37cc5dc2
|
4
|
+
data.tar.gz: 7496e37426f00e126174a048469a54c73f067659b45acc56d22c888c140e7094
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c9523681d506ccb6455feb3984e919fc277f9f448e55c470d8d052c56cfe2e9ece79ea4869b947800f24575d53c95fc0906b5bf4a3cdc2256aa9b43a0dfeed51
|
7
|
+
data.tar.gz: 8bb088fa399800d96ec60b3392f654156ca92c069b501e29d2324554fecd7d0271033092ed69b8a75632583324270bda3c230e753cbd8ead356363f83a3c11a7
|
data/lib/shaman/deploy.rb
CHANGED
@@ -3,7 +3,7 @@ module Shaman
|
|
3
3
|
include Helpers
|
4
4
|
|
5
5
|
def initialize(args, options)
|
6
|
-
error!('Must specify environment') if args.count
|
6
|
+
error!('Must specify environment') if args.count < 1
|
7
7
|
@environment = args.first
|
8
8
|
@options = options
|
9
9
|
verify_options
|
@@ -12,7 +12,7 @@ module Shaman
|
|
12
12
|
def deploy
|
13
13
|
prompt.ok "Connecting to #{LABS_URL}/api/v1/releases"
|
14
14
|
response = HTTP.post("#{LABS_URL}/api/v1/releases", form: deploy_options)
|
15
|
-
response.code == 200 ? prompt.ok(response.body.to_s) :
|
15
|
+
response.code == 200 ? prompt.ok(response.body.to_s) : error!(response.body.to_s)
|
16
16
|
end
|
17
17
|
|
18
18
|
private
|
data/lib/shaman/version.rb
CHANGED
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.
|
4
|
+
version: 2.4.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:
|
11
|
+
date: 2018-01-30 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.
|
170
|
+
rubygems_version: 2.7.3
|
171
171
|
signing_key:
|
172
172
|
specification_version: 4
|
173
173
|
summary: Command tool for labs
|