agilix 0.8.1 → 0.8.2

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: c780a7ee6ea9e6347931863ed50cd6cd41045b619790ee07d98cd980b2cbc9d4
4
- data.tar.gz: cbdc20ff9c2505db874ac9b547a3fe4d813029a9297d548827001ad3d162230f
3
+ metadata.gz: 5c9513b8be4200dc21040c5a7f7ff57525aa23576a3896576e13a8b5f7766024
4
+ data.tar.gz: d3238e4aa7852e08da67ae7c12848e5f518b0b16ea4c61d31dd6e4683dbf6965
5
5
  SHA512:
6
- metadata.gz: eb0e36a88d0aa7969753a05b238a8637e6ecc333af043f2ef53aec555a0313fb57d1f67bc3a1c08d5505f712754e41362bb2b14ce39f49c1807c09c80a669d7c
7
- data.tar.gz: a9086c3a03011ee295dc2351737bed412f9dda72542da53af96f3050e1e86c78a50e3ac1def7f32eb38db10e709715cc3235bdac48b1684601cbf871c1d52992
6
+ metadata.gz: 4f1ff5456126981872f37049e540471bff75980a2582aa5620c77badb1d93767d47d2f95f34b5d9969479c406d1ed7cec807291ab92719e709c414151a81b377
7
+ data.tar.gz: cef84abf1ec6d1079027f96fb23347c6a85fcb00f0bce3d9758f9f64bddb658a62c6182e4c1f8c1df316dd64de9f19f8ba3010ace73a7414e3867b32f1d017b8
data/.travis.yml CHANGED
@@ -3,5 +3,5 @@ sudo: false
3
3
  language: ruby
4
4
  cache: bundler
5
5
  rvm:
6
- - 2.5.3
6
+ - 2.7.5
7
7
  before_install: gem install bundler -v 1.16.4
@@ -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 agilix_url_endpoint
165
- @agilix_url_endpoint ||= ENV.fetch("AGILIX_BUZZ_URL", "https://api.agilixbuzz.com")
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
@@ -1,3 +1,3 @@
1
1
  module Agilix
2
- VERSION = "0.8.1"
2
+ VERSION = "0.8.2"
3
3
  end
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.1
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: 2020-03-11 00:00:00.000000000 Z
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.0.6
220
+ rubygems_version: 3.1.6
221
221
  signing_key:
222
222
  specification_version: 4
223
223
  summary: Agilix Buzz API wrapper