oktakit 0.3.0 → 0.3.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 +3 -0
- data/Gemfile.lock +1 -1
- data/lib/oktakit/response/raise_error.rb +2 -0
- data/lib/oktakit/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: 0e99dc499e67c72260945f77776e84ab7cf53e4ddaaf56ef1ad685662b62d247
|
|
4
|
+
data.tar.gz: 23130dfd22a8002feb6d690bdfba1e28d8868b4ac0aee29815c3aeb6434d1b22
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1f26a6f891b6f1ae2c860c448e979a6cf4d9168ac1453d383ae1954696955b50ec095ad165d539d170da2950479bc03be90c1c646e454eb5bf024011d7c414c2
|
|
7
|
+
data.tar.gz: d1bb7b7030ba4d8d2d5fda311a3fe69af692b7b7add303660da277f47783e742e461b3b04ad03d31e6c439e168752162cc9122a2bb7f226d0442518d35b31196
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [v0.3.1] - 2022-01-20
|
|
4
|
+
- [Reverts a breaking change that caused errors to be raised for non-2xx responses](https://github.com/Shopify/oktakit/pull/54)
|
|
5
|
+
|
|
3
6
|
## [v0.3.0] - 2022-01-20
|
|
4
7
|
- [Adds support for Ruby 3](https://github.com/Shopify/oktakit/pull/42)
|
|
5
8
|
- [Adds support for user reactivation endpoint](https://github.com/Shopify/oktakit/pull/47)
|
data/Gemfile.lock
CHANGED
|
@@ -7,6 +7,8 @@ module Oktakit
|
|
|
7
7
|
# This class raises an Oktakit-flavored exception based
|
|
8
8
|
# HTTP status codes returned by the API
|
|
9
9
|
class RaiseError < Faraday::Response::Middleware
|
|
10
|
+
private
|
|
11
|
+
|
|
10
12
|
def on_complete(response)
|
|
11
13
|
if (error = Oktakit::Error.from_response(response))
|
|
12
14
|
raise error
|
data/lib/oktakit/version.rb
CHANGED