apple_id 1.6.2 → 1.6.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/spec.yml +5 -6
- data/CHANGELOG.md +12 -0
- data/README.md +1 -1
- data/VERSION +1 -1
- data/apple_id.gemspec +1 -1
- data/lib/apple_id/client.rb +2 -0
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c046d068616210402adb14f58276b0aa984c6b7d308457bae068ba78d4b06795
|
4
|
+
data.tar.gz: 91d102d2c9bca0c22f328887f69baa0ced4d14c2f425ac1c52114735dba6d144
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b58d74bb0f479d09e7ab807c826467852ed70a101859a64b5063a7bbefcca5067928eed699c2120e146aa089a1907c8a345d696836545566219f69b671d7c849
|
7
|
+
data.tar.gz: 1fbb9fe991a92cfa7838492831a76c6378a292c83b2ae6566053e578477095d054bd3ef1d2758f534507d3d7e50b892ca7c3a07ba204426b58093216ff59a655
|
data/.github/workflows/spec.yml
CHANGED
@@ -3,7 +3,7 @@ name: Spec
|
|
3
3
|
on:
|
4
4
|
push:
|
5
5
|
branches:
|
6
|
-
-
|
6
|
+
- main
|
7
7
|
pull_request:
|
8
8
|
|
9
9
|
permissions:
|
@@ -13,12 +13,11 @@ jobs:
|
|
13
13
|
spec:
|
14
14
|
strategy:
|
15
15
|
matrix:
|
16
|
-
os: ['ubuntu-20.04']
|
17
|
-
ruby-version: ['
|
18
|
-
# ubuntu 22.04 only supports ssl 3 and thus only ruby 3.1
|
16
|
+
os: ['ubuntu-20.04', 'ubuntu-22.04']
|
17
|
+
ruby-version: ['3.1', '3.2', '3.3']
|
19
18
|
include:
|
20
|
-
- os: 'ubuntu-
|
21
|
-
ruby-version: '3.
|
19
|
+
- os: 'ubuntu-20.04'
|
20
|
+
ruby-version: '3.0'
|
22
21
|
runs-on: ${{ matrix.os }}
|
23
22
|
|
24
23
|
steps:
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,17 @@
|
|
1
1
|
## [Unreleased]
|
2
2
|
|
3
|
+
## [1.6.2] - 2022-10-20
|
4
|
+
|
5
|
+
### Fixed
|
6
|
+
|
7
|
+
- rescue un-parsable / non-hash error response https://github.com/nov/apple_id/commit/75a35e9d15fa2af299237ceb3b71def819e9cc03
|
8
|
+
|
9
|
+
## [1.6.2] - 2022-10-14
|
10
|
+
|
11
|
+
### Fixed
|
12
|
+
|
13
|
+
- stringify jwt secret, faraday does not do so automatically https://github.com/nov/apple_id/commit/660ba5f8036279b111abc75a2708b945d4ab0be9
|
14
|
+
|
3
15
|
## [1.6.1] - 2022-10-14
|
4
16
|
|
5
17
|
### Fixed
|
data/README.md
CHANGED
@@ -44,4 +44,4 @@ The gem is available as open source under the terms of the [MIT License](https:/
|
|
44
44
|
|
45
45
|
## Code of Conduct
|
46
46
|
|
47
|
-
Everyone interacting in the AppleID project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/nov/apple_id/blob/
|
47
|
+
Everyone interacting in the AppleID project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/nov/apple_id/blob/main/CODE_OF_CONDUCT.md).
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.6.
|
1
|
+
1.6.4
|
data/apple_id.gemspec
CHANGED
@@ -20,7 +20,7 @@ Gem::Specification.new do |spec|
|
|
20
20
|
|
21
21
|
spec.add_runtime_dependency 'json-jwt', '~> 1.16'
|
22
22
|
spec.add_runtime_dependency 'rack-oauth2', '~> 2.0'
|
23
|
-
spec.add_runtime_dependency 'openid_connect', '~> 2.
|
23
|
+
spec.add_runtime_dependency 'openid_connect', '~> 2.2'
|
24
24
|
spec.add_development_dependency 'bundler'
|
25
25
|
spec.add_development_dependency 'rake'
|
26
26
|
spec.add_development_dependency 'rspec'
|
data/lib/apple_id/client.rb
CHANGED
@@ -52,6 +52,8 @@ module AppleID
|
|
52
52
|
def handle_error_response(response)
|
53
53
|
error = response.body.with_indifferent_access
|
54
54
|
raise Error.new(response.status, error)
|
55
|
+
rescue Faraday::ParsingError, NoMethodError
|
56
|
+
raise Error.new(response.status, error: 'Unknown', error_description: response.body)
|
55
57
|
end
|
56
58
|
end
|
57
59
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: apple_id
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.6.
|
4
|
+
version: 1.6.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- nov
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-12-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json-jwt
|
@@ -44,14 +44,14 @@ dependencies:
|
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '2.
|
47
|
+
version: '2.2'
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '2.
|
54
|
+
version: '2.2'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: bundler
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -185,7 +185,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
185
185
|
- !ruby/object:Gem::Version
|
186
186
|
version: '0'
|
187
187
|
requirements: []
|
188
|
-
rubygems_version: 3.
|
188
|
+
rubygems_version: 3.4.10
|
189
189
|
signing_key:
|
190
190
|
specification_version: 4
|
191
191
|
summary: Sign-in with Apple Backend
|