agilix 0.8.1 → 0.8.2
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/.travis.yml +1 -1
- data/lib/agilix/buzz/api.rb +4 -3
- data/lib/agilix/version.rb +1 -1
- 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: 5c9513b8be4200dc21040c5a7f7ff57525aa23576a3896576e13a8b5f7766024
|
|
4
|
+
data.tar.gz: d3238e4aa7852e08da67ae7c12848e5f518b0b16ea4c61d31dd6e4683dbf6965
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4f1ff5456126981872f37049e540471bff75980a2582aa5620c77badb1d93767d47d2f95f34b5d9969479c406d1ed7cec807291ab92719e709c414151a81b377
|
|
7
|
+
data.tar.gz: cef84abf1ec6d1079027f96fb23347c6a85fcb00f0bce3d9758f9f64bddb658a62c6182e4c1f8c1df316dd64de9f19f8ba3010ace73a7414e3867b32f1d017b8
|
data/.travis.yml
CHANGED
data/lib/agilix/buzz/api.rb
CHANGED
|
@@ -14,7 +14,7 @@ module Agilix
|
|
|
14
14
|
include Agilix::Buzz::Commands::Right
|
|
15
15
|
include Agilix::Buzz::Commands::User
|
|
16
16
|
|
|
17
|
-
attr_accessor :username, :password, :domain, :token, :token_expiration
|
|
17
|
+
attr_accessor :username, :password, :domain, :token, :token_expiration, :agilix_url_endpoint
|
|
18
18
|
|
|
19
19
|
def initialize(options = {})
|
|
20
20
|
@username = options.fetch(:username, default_username)
|
|
@@ -22,6 +22,7 @@ module Agilix
|
|
|
22
22
|
@domain = options.fetch(:domain, default_domain)
|
|
23
23
|
@token = options.dig(:token)
|
|
24
24
|
@token_expiration = options.dig(:token_expiration)
|
|
25
|
+
@agilix_url_endpoint = options.fetch(:agilix_url_endpoint, default_agilix_url_endpoint)
|
|
25
26
|
end
|
|
26
27
|
|
|
27
28
|
def authenticated_get(query = {})
|
|
@@ -161,8 +162,8 @@ module Agilix
|
|
|
161
162
|
ENV["AGILIX_BUZZ_DEFAULT_DOMAIN"]
|
|
162
163
|
end
|
|
163
164
|
|
|
164
|
-
def
|
|
165
|
-
|
|
165
|
+
def default_agilix_url_endpoint
|
|
166
|
+
ENV.fetch("AGILIX_BUZZ_URL", "https://api.agilixbuzz.com")
|
|
166
167
|
end
|
|
167
168
|
|
|
168
169
|
def agilix_url_base
|
data/lib/agilix/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: agilix
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.8.
|
|
4
|
+
version: 0.8.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ben Eggett
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2022-11-15 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -217,7 +217,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
217
217
|
- !ruby/object:Gem::Version
|
|
218
218
|
version: '0'
|
|
219
219
|
requirements: []
|
|
220
|
-
rubygems_version: 3.
|
|
220
|
+
rubygems_version: 3.1.6
|
|
221
221
|
signing_key:
|
|
222
222
|
specification_version: 4
|
|
223
223
|
summary: Agilix Buzz API wrapper
|