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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e9160aa242ba1b18fa133fd6f3b65b8fc2b410b320f7cbdf5e7b0eb699505f92
4
- data.tar.gz: 932a9427658a52a78d3e37aa43970e64bf033a73df67c31d78f091d98bec57c1
3
+ metadata.gz: 105f579320fe9389ea56197173a6e9c05bad1a00190f19e1a5e12e3936480484
4
+ data.tar.gz: 8e2574e23b77276c585af3221f9c2ae9aa96ea760155f83b75dc8ee6f0710fa0
5
5
  SHA512:
6
- metadata.gz: eac6f36b080ae062a9257ace039ab794185b51cfeeaada8cc2c86470b8e7a803f9a2e678554c094869b8bdd6b412979da9b19b2a3a0a4770e80a1b42900fbacc
7
- data.tar.gz: bd1f84a51cedcd65edea2f7ed3bd457c21e752736c80670c1f40c4e9c533db45c94031f851a55b233b45e47a0313775200cabf87e0d2406d22cab8b1424263c4
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.0
1
+ 1.6.1
@@ -45,12 +45,12 @@ module AppleID
45
45
  end
46
46
 
47
47
  def handle_success_response(response)
48
- token_hash = JSON.parse(response.body).with_indifferent_access
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 = JSON.parse(response.body).with_indifferent_access
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.0
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-09 00:00:00.000000000 Z
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