traylinx_auth_client 0.1.0 → 0.1.1
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/lib/traylinx_auth_client/configuration.rb +10 -3
- data/lib/traylinx_auth_client/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8249835db619fe8c56e501f38aea888c1072a21c994d8f08bf457876ebcb0737
|
|
4
|
+
data.tar.gz: da600b171373d6144fc8d7c4ec4253a5d27e1c66d1f5265bd60ee04d9f2fccd4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1af9b5dada971df2b3f8bdf2fac298af98b80709d1a92c2cd69c8d249cb3112b385ebd699a35486df3bb8c5166089293aed9b3393fde85a3a1c17863e7f4493e
|
|
7
|
+
data.tar.gz: 9a06070ca69f8656a3120a2b200c1a5b9c1d9f0aa5ac13c792110f8713df5bb16754412fcc20639a4247aa1028e7dafb35c33012e29497f83024c5e61ca648d9
|
|
@@ -3,10 +3,17 @@
|
|
|
3
3
|
require_relative "errors"
|
|
4
4
|
|
|
5
5
|
module TraylinxAuthClient
|
|
6
|
-
#
|
|
6
|
+
# Manages configuration for the Traylinx Sentinel Client.
|
|
7
|
+
# Handles loading from environment variables or options hash.
|
|
7
8
|
class Configuration
|
|
8
|
-
|
|
9
|
-
|
|
9
|
+
# Core Credentials
|
|
10
|
+
attr_accessor :client_id, :client_secret, :api_base_url, :agent_user_id
|
|
11
|
+
|
|
12
|
+
# HTTP & Reliability Settings
|
|
13
|
+
attr_accessor :timeout, :max_retries, :retry_delay
|
|
14
|
+
|
|
15
|
+
# Feature Flags
|
|
16
|
+
attr_accessor :cache_tokens, :log_level
|
|
10
17
|
|
|
11
18
|
# Defaults matching Python/JS SDKs
|
|
12
19
|
DEFAULT_TIMEOUT = 30
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: traylinx_auth_client
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Traylinx Team
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-
|
|
11
|
+
date: 2026-02-04 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|
|
@@ -84,14 +84,14 @@ dependencies:
|
|
|
84
84
|
name: bundler
|
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
|
86
86
|
requirements:
|
|
87
|
-
- - "
|
|
87
|
+
- - ">="
|
|
88
88
|
- !ruby/object:Gem::Version
|
|
89
89
|
version: '2.0'
|
|
90
90
|
type: :development
|
|
91
91
|
prerelease: false
|
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
|
93
93
|
requirements:
|
|
94
|
-
- - "
|
|
94
|
+
- - ">="
|
|
95
95
|
- !ruby/object:Gem::Version
|
|
96
96
|
version: '2.0'
|
|
97
97
|
- !ruby/object:Gem::Dependency
|