taler 0.3.0 → 0.4.0
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 +7 -0
- data/README.md +1 -1
- data/lib/taler/client.rb +1 -6
- data/lib/taler/version.rb +1 -1
- data/sig/taler.rbs +0 -2
- 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: 63839d4e9405e02cc033191c34a2002380bf713ba1c0560d7e105cc319524454
|
|
4
|
+
data.tar.gz: d09a4257c160f2eb625040e86775c0a9e1e6a4c3049a121baddd00457575f1dd
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7fd480e7bff16356a1eca7d2e241c6100b0abd8cb365b6cd1ecab08bf6ced8880390e9127bad54f8e6044cea03eda7ca2d6ed5af61e5eeab690dcea980a27af9
|
|
7
|
+
data.tar.gz: 698795fe841b931ee0a3e790268d9cfdceb72f3f4b55be6bff240ba80dbf23f56f5fa4606ec01a2b1b7fb13cb6632eb59b6fb72c575447d1460d1603d2dea16b
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
## [Unreleased]
|
|
2
2
|
|
|
3
|
+
## [0.4.0] - 2026-08-25
|
|
4
|
+
|
|
5
|
+
- Restore deprecated password auth as access tokens need 2FA in production.
|
|
6
|
+
Instead of obtaining a token on-the-fly, the user would provide a token
|
|
7
|
+
to the app (and this gem) instead of the password. We can add support for
|
|
8
|
+
that another time.
|
|
9
|
+
|
|
3
10
|
## [0.3.0] - 2026-02-24
|
|
4
11
|
|
|
5
12
|
- Update docs and rbs file.
|
data/README.md
CHANGED
data/lib/taler/client.rb
CHANGED
|
@@ -76,16 +76,11 @@ module Taler
|
|
|
76
76
|
"secret-token:#{@password}"
|
|
77
77
|
end
|
|
78
78
|
|
|
79
|
-
# @return [String]
|
|
80
|
-
def access_token
|
|
81
|
-
@access_token ||= request_token
|
|
82
|
-
end
|
|
83
|
-
|
|
84
79
|
# @param url [String]
|
|
85
80
|
# @param token [String]
|
|
86
81
|
# @param payload [Hash]
|
|
87
82
|
# @return [String]
|
|
88
|
-
def request(url, token:
|
|
83
|
+
def request(url, token: auth_token, payload: nil)
|
|
89
84
|
uri = URI(url)
|
|
90
85
|
headers = {
|
|
91
86
|
"Authorization" => "Bearer #{token}",
|
data/lib/taler/version.rb
CHANGED
data/sig/taler.rbs
CHANGED