noun-project-api 5.0.0 → 5.0.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/CHANGELOG.md +6 -0
- data/lib/noun_project_api/connection.rb +3 -1
- data/lib/noun_project_api/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: 65f43c12101b7d89093adca01111f01cc464092b94fbddbd28c20fa6d8e6a73f
|
|
4
|
+
data.tar.gz: fa14a3346d4b5d12a37e07d2e87203d6ff9c30518bd4952feb10e903d1f0661f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8517541b1fe9f2c0d787200e8f29bfe8bd3df5cef592982e47a2c76365c46108e38f7c1182fdf1646a5ee7ba938f0d75ae34c9603abae0917c06690e9dca0e17
|
|
7
|
+
data.tar.gz: fca995494200ed116f842422fc9a1babed64dd48f8fc226093fcf0e910acb526d1ef8140f4d3ae489ae439d6073faa7076ca7be26496850b0ff8be1698b4be66
|
data/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
6
6
|
|
|
7
7
|
## [Unreleased]
|
|
8
8
|
|
|
9
|
+
## [5.0.1] - 2026-11-17
|
|
10
|
+
### Fixed
|
|
11
|
+
- Requests fail with `OAuth::Error` (cross-origin URI not permitted) when the bundle resolves oauth 1.1.9,
|
|
12
|
+
which refuses signed requests to an origin other than the consumer's site. The OAuth consumer is now
|
|
13
|
+
configured with `site: API_BASE`; the signed requests sent are byte-identical to before.
|
|
14
|
+
|
|
9
15
|
## [5.0.0] - 2026-11-17
|
|
10
16
|
No change to the public API or runtime behavior; the major bump is for the Ruby floor.
|
|
11
17
|
|
|
@@ -10,7 +10,9 @@ module NounProjectApi
|
|
|
10
10
|
@secret = secret
|
|
11
11
|
raise ArgumentError, "Missing token or secret" unless @token && @secret
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
# The consumer's site must match the API origin: oauth >= 1.1.9 refuses
|
|
14
|
+
# signed requests to an absolute URL on any other origin.
|
|
15
|
+
@access_token = OAuth::AccessToken.new(OAuth::Consumer.new(token, secret, site: API_BASE))
|
|
14
16
|
end
|
|
15
17
|
end
|
|
16
18
|
end
|