apple_id 1.6.2 → 1.6.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9b64229c6d17a7ef222f371a3eb20fb3fdc15e88a77eab8abb6485b9cee83374
4
- data.tar.gz: 40bbcfceeba12dfa0df4fc3162f2d13eefc82decb0ed2dde741126db3f1ffdfc
3
+ metadata.gz: b4d36a45a0411d643df4039d586cdee886596f7d2424be0b6d26be9be2b84880
4
+ data.tar.gz: d48fbf6ce3c19c9670877c948f578edf6848e4eb922e08ddfff680e9e7273a86
5
5
  SHA512:
6
- metadata.gz: 3912abdddca757987edd2a63069b8df1d3de238cff495a2f011f231429a3e36a347daf9e63451f56fd01138473d313257c5d07e8609c416e5ec438382add9e2e
7
- data.tar.gz: 53ef403c092471ee0764bc6278001dd213e4c983a9bdeb7bbf03175791f934c2ac5d35cc212b6a1bfaa6bd65c048b5f78b3da41acf147cb68bb3abb62aae7361
6
+ metadata.gz: d60174a681eb45c3f8d28b68f8412eeb44162cb78d39e469074d331f56bf77df83f99f42fc1cb90ec0a1bdd96288c979cfd9262a2594bcc746634e5e6013c9ed
7
+ data.tar.gz: aaaa914bbe0752ac7ba735df24781891e0809efd0ce786346829fedd0ea0cdcd7b76a7f45f06c1456e121a49f1d94f3b104f52d22988b5ff1aa887c404695cb2
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  ## [Unreleased]
2
2
 
3
+ ## [1.6.2] - 2022-10-14
4
+
5
+ ### Fixed
6
+
7
+ - stringify jwt secret, faraday does not do so automatically https://github.com/nov/apple_id/commit/660ba5f8036279b111abc75a2708b945d4ab0be9
8
+
3
9
  ## [1.6.1] - 2022-10-14
4
10
 
5
11
  ### Fixed
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.6.2
1
+ 1.6.3
@@ -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.2
4
+ version: 1.6.3
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-14 00:00:00.000000000 Z
11
+ date: 2022-10-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json-jwt