shaman_cli 2.4.0 → 2.5.0
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 +4 -4
- data/README.md +9 -4
- data/lib/shaman/version.rb +1 -1
- data/lib/shaman.rb +4 -3
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7ae5fbc8990d63d2d83a443e3b26192fc826e84574f5fb658e8c93670939c3c8
|
|
4
|
+
data.tar.gz: abfa53a6dca2f5dace8f9218b843036498b9a3dc16f864961ae868aeb085aeba
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: abd80e56145854fd258a88b6aaf44deaf77771c8729de48768a3a75cd63222fcd516609932c982d50234686ea1eafd1180bcff84c90fc69ddb3dfe10f2396b50
|
|
7
|
+
data.tar.gz: e89695127883868bb8680e022dcc89fecb8be1252ef86069e94794dab70b1fa01562cbea555ab96e9cba736c2c9b60ec3e82fad109c7ff0b398585382e5b1996
|
data/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Shaman
|
|
4
4
|
|
|
5
|
-
Cli for integrating with
|
|
5
|
+
Cli for integrating with Tryoutapps.com
|
|
6
6
|
|
|
7
7
|
## Installation
|
|
8
8
|
|
|
@@ -10,10 +10,15 @@ Install it yourself as:
|
|
|
10
10
|
|
|
11
11
|
$ gem install shaman_cli
|
|
12
12
|
|
|
13
|
-
Get your user token from `https://
|
|
13
|
+
Get your user token from `https://[TENANT].tryoutapps.com/users/me` and export it to environment variable `SHAMAN_TOKEN`.
|
|
14
14
|
|
|
15
15
|
export SHAMAN_TOKEN=infnweoinfwi32r23jr2309j
|
|
16
16
|
|
|
17
|
+
Export your Tryoutapps tenant URL to the environement variable `SERVER_URL`
|
|
18
|
+
|
|
19
|
+
export SERVER_URL=https://[TENANT].tryoutapps.com
|
|
20
|
+
|
|
21
|
+
|
|
17
22
|
## Usage
|
|
18
23
|
|
|
19
24
|
### Init
|
|
@@ -38,7 +43,7 @@ Example of `.shaman.yml`
|
|
|
38
43
|
|
|
39
44
|
Explanation:
|
|
40
45
|
|
|
41
|
-
`release_path` - this is the path to the release file
|
|
46
|
+
`release_path` - this is the path to the release file
|
|
42
47
|
`token` - This is the environment token for communicating with API
|
|
43
48
|
|
|
44
49
|
### Deploy
|
|
@@ -62,4 +67,4 @@ This will deploy your relese file to labs with with configs from .shaman.yml
|
|
|
62
67
|
|
|
63
68
|
## License
|
|
64
69
|
|
|
65
|
-
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
|
70
|
+
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
data/lib/shaman/version.rb
CHANGED
data/lib/shaman.rb
CHANGED
|
@@ -9,11 +9,12 @@ require 'shaman/version'
|
|
|
9
9
|
|
|
10
10
|
module Shaman
|
|
11
11
|
PROJECT_CONFIG_PATH = '.shaman.yml'.freeze
|
|
12
|
-
|
|
12
|
+
DEFAULT_URL =
|
|
13
13
|
case ENV['SHAMAN_ENV']
|
|
14
14
|
when 'development' then 'http://localhost:3000'
|
|
15
|
-
when 'staging' then 'https://
|
|
15
|
+
when 'staging' then 'https://staging-infinum.tryoutapps.com'
|
|
16
16
|
else
|
|
17
|
-
'https://
|
|
17
|
+
'https://infinum.tryoutapps.com'
|
|
18
18
|
end
|
|
19
|
+
LABS_URL = ENV['SERVER_URL'] || DEFAULT_URL
|
|
19
20
|
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.
|
|
4
|
+
version: 2.5.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: 2019-01-28 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.7.
|
|
170
|
+
rubygems_version: 2.7.6
|
|
171
171
|
signing_key:
|
|
172
172
|
specification_version: 4
|
|
173
173
|
summary: Command tool for labs
|