lithic 0.1.0.pre.alpha.12 → 0.1.0.pre.alpha.13
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/CHANGELOG.md +8 -0
- data/README.md +1 -1
- data/lib/lithic/client.rb +3 -2
- data/lib/lithic/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b791605f4f0f717ff4b00e27ac187d87cf8aaacdc1314643e81e87edc5cfec65
|
4
|
+
data.tar.gz: c9a7e7f406f35266f71de9a64786fa8a6f2ad9ba66fb60c445c610b1db16763a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 02606a94b6ce7165669be4518c6bfa15e7b3f42a558661fcf9a1d29dc454b1dddb2e94a8dcca80492c5cdcd0065137f2c9a09f4c9aa07ceea1fdb95833ef9a1a
|
7
|
+
data.tar.gz: 6681fff8b1a773c1acb65ed387f0070de61b5183a23ba7345fcf56fbf47c0644d2aaf1761dae3ac9e95b2f16fbcfd7a3894daada597657073f36baaffb0273f7
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## 0.1.0-alpha.13 (2025-04-17)
|
4
|
+
|
5
|
+
Full Changelog: [v0.1.0-alpha.12...v0.1.0-alpha.13](https://github.com/lithic-com/lithic-ruby/compare/v0.1.0-alpha.12...v0.1.0-alpha.13)
|
6
|
+
|
7
|
+
### Bug Fixes
|
8
|
+
|
9
|
+
* restore ability to configure server environment as string during client construction ([aec1e1f](https://github.com/lithic-com/lithic-ruby/commit/aec1e1fe50b86dfeac96adb6e2f7afd56c1e44e9))
|
10
|
+
|
3
11
|
## 0.1.0-alpha.12 (2025-04-17)
|
4
12
|
|
5
13
|
Full Changelog: [v0.1.0-alpha.11...v0.1.0-alpha.12](https://github.com/lithic-com/lithic-ruby/compare/v0.1.0-alpha.11...v0.1.0-alpha.12)
|
data/README.md
CHANGED
@@ -15,7 +15,7 @@ To use this gem, install via Bundler by adding the following to your application
|
|
15
15
|
<!-- x-release-please-start-version -->
|
16
16
|
|
17
17
|
```ruby
|
18
|
-
gem "lithic", "~> 0.1.0.pre.alpha.
|
18
|
+
gem "lithic", "~> 0.1.0.pre.alpha.13"
|
19
19
|
```
|
20
20
|
|
21
21
|
<!-- x-release-please-end -->
|
data/lib/lithic/client.rb
CHANGED
@@ -153,8 +153,9 @@ module Lithic
|
|
153
153
|
initial_retry_delay: DEFAULT_INITIAL_RETRY_DELAY,
|
154
154
|
max_retry_delay: DEFAULT_MAX_RETRY_DELAY
|
155
155
|
)
|
156
|
-
base_url ||= ENVIRONMENTS.fetch(environment || :production) do
|
157
|
-
|
156
|
+
base_url ||= Lithic::Client::ENVIRONMENTS.fetch(environment&.to_sym || :production) do
|
157
|
+
message = "environment must be one of #{Lithic::Client::ENVIRONMENTS.keys}, got #{environment}"
|
158
|
+
raise ArgumentError.new(message)
|
158
159
|
end
|
159
160
|
|
160
161
|
if api_key.nil?
|
data/lib/lithic/version.rb
CHANGED