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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: abb76e3c819b291cea5d99748c2dc5f8f1ae460f766970b803461bbc1a5b37bd
4
- data.tar.gz: 5e78389663f0e6be3e2646252abb964482573e54c2640f867b9750867ef9dc64
3
+ metadata.gz: 65f43c12101b7d89093adca01111f01cc464092b94fbddbd28c20fa6d8e6a73f
4
+ data.tar.gz: fa14a3346d4b5d12a37e07d2e87203d6ff9c30518bd4952feb10e903d1f0661f
5
5
  SHA512:
6
- metadata.gz: d116e2ebbb05af6c7fd2cdd472ca0b1099c2923d82e07a5315b0eebc0ac756097ffb78e0118a01fca35d502a5fb1b8e107ee02604bf3450206497e781235fead
7
- data.tar.gz: 026b2ac9467cd20373e9372d383857466f0a2a72bbb3273edf038f42c555439a680ffabc742a5bb7987a7563c5cdadba6d4895574b3d0f1bdc09ca1f5db461ae
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
- @access_token = OAuth::AccessToken.new(OAuth::Consumer.new(token, secret))
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module NounProjectApi
4
- VERSION = "5.0.0"
4
+ VERSION = "5.0.1"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: noun-project-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.0.0
4
+ version: 5.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tailor Engineering