shaman_cli 2.4.0 → 2.5.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
  SHA256:
3
- metadata.gz: c602a7b90c41da9f106a1ea4f8083236ed7fb6a98f53a151b2437afb37cc5dc2
4
- data.tar.gz: 7496e37426f00e126174a048469a54c73f067659b45acc56d22c888c140e7094
3
+ metadata.gz: 7ae5fbc8990d63d2d83a443e3b26192fc826e84574f5fb658e8c93670939c3c8
4
+ data.tar.gz: abfa53a6dca2f5dace8f9218b843036498b9a3dc16f864961ae868aeb085aeba
5
5
  SHA512:
6
- metadata.gz: c9523681d506ccb6455feb3984e919fc277f9f448e55c470d8d052c56cfe2e9ece79ea4869b947800f24575d53c95fc0906b5bf4a3cdc2256aa9b43a0dfeed51
7
- data.tar.gz: 8bb088fa399800d96ec60b3392f654156ca92c069b501e29d2324554fecd7d0271033092ed69b8a75632583324270bda3c230e753cbd8ead356363f83a3c11a7
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 labs.infinum.co
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://labs.infinum.co/users/me` and export it to environment variable `SHAMAN_TOKEN`
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).
@@ -1,3 +1,3 @@
1
1
  module Shaman
2
- VERSION = '2.4.0'.freeze
2
+ VERSION = '2.5.0'.freeze
3
3
  end
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
- LABS_URL =
12
+ DEFAULT_URL =
13
13
  case ENV['SHAMAN_ENV']
14
14
  when 'development' then 'http://localhost:3000'
15
- when 'staging' then 'https://labs-staging.infinum.co'
15
+ when 'staging' then 'https://staging-infinum.tryoutapps.com'
16
16
  else
17
- 'https://labs.infinum.co'
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.0
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: 2018-01-30 00:00:00.000000000 Z
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.3
170
+ rubygems_version: 2.7.6
171
171
  signing_key:
172
172
  specification_version: 4
173
173
  summary: Command tool for labs