poli_page-rails 0.15.0 → 0.17.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 19e494a0a761fd0c982506d2b1f82beb8f411439dc79b38f77b0e1413826e05c
4
- data.tar.gz: abf6a6f8c2f89bf2a6e6b189b2ae6cf56691e0d801626982c55c41637c543b50
3
+ metadata.gz: f08d805e4c97c56dcd4e45468dee9db33929fd0f5690a0368d6a14c0671f3ed7
4
+ data.tar.gz: fcbbc83067b5e581926e8bbc4917a7f42ee16d9c44841b2c01b34df80f436076
5
5
  SHA512:
6
- metadata.gz: 1e9944dbb28eaa3e32a506cdb29469bacfa78a79e7598e13a9d5ef45e5f2d049041f61fc70cb3789a0c149d895f597ffe37a965eed0bdddac56c6c74ca8c3361
7
- data.tar.gz: 2cd39dfa4f9c7433815586409e7fbb1154c88994218cc859cd08088c7a47e359a82773e5383772f3ee3104489c68535f2c3a73fadaef916f06241fd5e64d311e
6
+ metadata.gz: '0228cdc5a76313d30f9a94623c24404dbe37055a08b089c8f6d8bc58c8fe4fb0d7b20065ad3185bbebd54af3337b0ef64b62296abb484731c8818db545e6ac1a'
7
+ data.tar.gz: 90163a8845cca44dcfb750f5cb137ab28b0ff4064865f4217ccc5f286928c4fe30cafd1ad9ab8053f6f049697a97575ddbab1185c7c42710f6af5199b880e63d
data/CHANGELOG.md CHANGED
@@ -6,6 +6,23 @@ project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [0.17.0] - 2026-12-01
10
+
11
+ Requires the `poli-page` SDK 0.17 (`~> 0.17.0`, that is `>= 0.17.0, < 0.18`)
12
+ and passes the Poli Page API contract v0.17.0. There is no 0.16 release of the
13
+ gem.
14
+
15
+ ### Changed
16
+
17
+ - Requires the `poli-page` SDK 0.17 (`~> 0.17.0`; was `~> 0.15.0`).
18
+ - The API contract cases run against contract v0.17.0.
19
+ - The API now answers `API_KEY_EXPIRED` (401, not retried: create a new key in
20
+ the dashboard and update `POLI_PAGE_API_KEY`) and `PROJECT_OUT_OF_SCOPE`
21
+ (403, not retried: use a key that includes the project). `INVALID_API_KEY`
22
+ now also covers a revoked key, a deleted environment and a disabled or
23
+ deleted service account. The gem maps no API error codes itself, so these
24
+ surface through the SDK's errors unchanged.
25
+
9
26
  ## [0.15.0] - 2026-11-17
10
27
 
11
28
  Requires the `poli-page` SDK 0.15 (`~> 0.15.0`, that is `>= 0.15.0, < 0.16`)
@@ -165,7 +182,8 @@ changes made during those lines.
165
182
  - Example app: the demo page's status row no longer shows the first 8
166
183
  characters of `POLI_PAGE_API_KEY`; no part of the key is shown.
167
184
 
168
- [Unreleased]: https://github.com/poli-page/rubyonrails/compare/v0.15.0...HEAD
185
+ [Unreleased]: https://github.com/poli-page/rubyonrails/compare/v0.17.0...HEAD
186
+ [0.17.0]: https://github.com/poli-page/rubyonrails/compare/v0.15.0...v0.17.0
169
187
  [0.15.0]: https://github.com/poli-page/rubyonrails/compare/v0.13.1...v0.15.0
170
188
  [0.13.1]: https://github.com/poli-page/rubyonrails/compare/v0.13.0...v0.13.1
171
189
  [0.13.0]: https://github.com/poli-page/rubyonrails/releases/tag/v0.13.0
data/README.md CHANGED
@@ -36,7 +36,7 @@ This gem wires the official [`poli-page`](https://rubygems.org/gems/poli-page) R
36
36
 
37
37
  - Ruby 3.2 or newer
38
38
  - Rails 7.0, 7.1, 7.2, or 8.0
39
- - `poli-page` SDK 0.15.x (`~> 0.15.0`); Bundler installs it with the gem
39
+ - `poli-page` SDK 0.17.x (`~> 0.17.0`); Bundler installs it with the gem
40
40
 
41
41
  ## Install
42
42
 
@@ -44,7 +44,7 @@ Add the gem to your `Gemfile`:
44
44
 
45
45
  ```ruby
46
46
  # Gemfile
47
- gem "poli_page-rails", "~> 0.15.0"
47
+ gem "poli_page-rails", "~> 0.17.0"
48
48
  ```
49
49
 
50
50
  Then run:
@@ -230,6 +230,7 @@ bin/rails server
230
230
 
231
231
  | Gem | `poli-page` SDK | Rails | Ruby |
232
232
  |---|---|---|---|
233
+ | 0.17.x | 0.17.x | 7.0 / 7.1 / 7.2 / 8.0 | 3.2 – 3.4 |
233
234
  | 0.15.x | 0.15.x | 7.0 / 7.1 / 7.2 / 8.0 | 3.2 – 3.4 |
234
235
  | 0.13.x | 0.13.x | 7.0 / 7.1 / 7.2 / 8.0 | 3.2 – 3.4 |
235
236
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  module PoliPage
4
4
  module Rails
5
- VERSION = "0.15.0"
5
+ VERSION = "0.17.0"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: poli_page-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.15.0
4
+ version: 0.17.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Poli Page
@@ -15,14 +15,14 @@ dependencies:
15
15
  requirements:
16
16
  - - "~>"
17
17
  - !ruby/object:Gem::Version
18
- version: 0.15.0
18
+ version: 0.17.0
19
19
  type: :runtime
20
20
  prerelease: false
21
21
  version_requirements: !ruby/object:Gem::Requirement
22
22
  requirements:
23
23
  - - "~>"
24
24
  - !ruby/object:Gem::Version
25
- version: 0.15.0
25
+ version: 0.17.0
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: railties
28
28
  requirement: !ruby/object:Gem::Requirement