apple_id 1.6.0 → 1.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +11 -0
- data/VERSION +1 -1
- data/lib/apple_id/client.rb +2 -2
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 105f579320fe9389ea56197173a6e9c05bad1a00190f19e1a5e12e3936480484
|
4
|
+
data.tar.gz: 8e2574e23b77276c585af3221f9c2ae9aa96ea760155f83b75dc8ee6f0710fa0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7a46eb77c3def8587a1f23594e6c3d23de8cce19c763525d55c65c21e629983a0b507c95d24f7ca66f0dc092843b3ac8a592e0cce73cf9b98f67578481a956a7
|
7
|
+
data.tar.gz: 90c8814396990451e89ff3ebf2eef05035e48e77c719a7a0c06a38adc5ea66d7a01fe6a80bef293c4a65ad4133c90849ab2130536d6c272685149703b968fb69
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,11 @@
|
|
1
|
+
## [Unreleased]
|
2
|
+
|
3
|
+
## [1.6.0] - 2022-10-09
|
4
|
+
|
5
|
+
### Added
|
6
|
+
|
7
|
+
- start recording CHANGELOG
|
8
|
+
|
9
|
+
### Changed
|
10
|
+
|
11
|
+
- updated underlying gems and use faraday instead of httpclient through them https://github.com/nov/apple_id/commit/055de30ce6f7beb2e034ab99f6f46a1de7004111
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.6.
|
1
|
+
1.6.1
|
data/lib/apple_id/client.rb
CHANGED
@@ -45,12 +45,12 @@ module AppleID
|
|
45
45
|
end
|
46
46
|
|
47
47
|
def handle_success_response(response)
|
48
|
-
token_hash =
|
48
|
+
token_hash = response.body.with_indifferent_access
|
49
49
|
AccessToken.new token_hash.delete(:access_token), token_hash.merge(client: self)
|
50
50
|
end
|
51
51
|
|
52
52
|
def handle_error_response(response)
|
53
|
-
error =
|
53
|
+
error = response.body.with_indifferent_access
|
54
54
|
raise Error.new(response.status, error)
|
55
55
|
end
|
56
56
|
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.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- nov
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-10-
|
11
|
+
date: 2022-10-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json-jwt
|
@@ -147,6 +147,7 @@ files:
|
|
147
147
|
- ".github/workflows/spec.yml"
|
148
148
|
- ".gitignore"
|
149
149
|
- ".rspec"
|
150
|
+
- CHANGELOG.md
|
150
151
|
- CODE_OF_CONDUCT.md
|
151
152
|
- Gemfile
|
152
153
|
- LICENSE.txt
|