expo-server-sdk 0.1.5 → 0.1.6

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: '0935c1dadd6d4a8be6e196c2b3dea8cbb76558a8cabe65e30225771101d2b894'
4
- data.tar.gz: 9f739d6f73288893da490177165d08968de65124a0504d45149060e77674dcf2
3
+ metadata.gz: 925465e0c26cba7d42eb9ae21e3e6b406ea364bdabaeec0d9337e650b045a512
4
+ data.tar.gz: 38b0df830bb02bc55b167717bd7fd7122018f6e0df1f036f403f93591c70d59b
5
5
  SHA512:
6
- metadata.gz: 4c3a776c41bff8d2ccf2c839025778ce04d654be4b52c7e5a0dcf9d9b176ae2fd9fcb54e0f9ac722065052b6f5518b1d2abadc5aaefe46b11cb57bf202351e5a
7
- data.tar.gz: 33af04057e1d2d4367df24bb554900e6364eec5201624ec90098fc846b7bac29eb3a1949dc9290678381547a2eac7720a7bfc1be1c881203172141abe1c1dedc
6
+ metadata.gz: 1403beda4c6f998efde04ade431d75fbf85e650217032a016dd1c5ba65a806ad6dfc7051f348271f951b28239552a0078bba961afb08571ee255095a4f201865
7
+ data.tar.gz: 5717904965e62d883ca26a8a23b7fe948092faab9780c345c60d53d617bf5fbe5eca0db2cb949132b02051809c554d3a20a84b45740e87a8497fa38755651503
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.1.6
4
+
5
+ - Fix authentication for authenticated pushes [#6](https://github.com/SleeplessByte/expo-server-sdk-ruby/pull/6) by [@pvign](https://github.com/pvign)
6
+
7
+ ## 0.1.5
8
+
9
+ - Remove unnecessary logging [#4](https://github.com/SleeplessByte/expo-server-sdk-ruby/pull/4) by [@stefanahman](https://github.com/stefanahman)
10
+
3
11
  ## 0.1.4
4
12
 
5
13
  - Change `ruby` version requirement to major only (2.6+)
data/Gemfile.lock CHANGED
@@ -1,17 +1,17 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- expo-server-sdk (0.1.5)
4
+ expo-server-sdk (0.1.6)
5
5
  connection_pool (~> 2.2)
6
6
  http (>= 4.0, < 6.0)
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
- addressable (2.8.2)
11
+ addressable (2.8.4)
12
12
  public_suffix (>= 2.0.2, < 6.0)
13
13
  ast (2.4.2)
14
- connection_pool (2.4.0)
14
+ connection_pool (2.4.1)
15
15
  domain_name (0.5.20190701)
16
16
  unf (>= 0.0.5, < 1.0.0)
17
17
  ffi (1.15.5-x64-mingw32)
@@ -3,7 +3,7 @@
3
3
  module Expo
4
4
  module Server
5
5
  module SDK
6
- VERSION = '0.1.5'
6
+ VERSION = '0.1.6'
7
7
  end
8
8
  end
9
9
 
data/lib/push/client.rb CHANGED
@@ -256,7 +256,7 @@ module Expo
256
256
  'User-Agent': format('expo-server-sdk-ruby/%<version>s', version: VERSION)
257
257
  )
258
258
 
259
- http = http.headers('Authorization', "Bearer #{access_token}") if access_token
259
+ http = http.auth("Bearer #{access_token}") if access_token
260
260
 
261
261
  # All requests are allowed to automatically gzip
262
262
  http = http.use(:auto_inflate)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: expo-server-sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Derk-Jan Karrenbeld
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-04-03 00:00:00.000000000 Z
11
+ date: 2023-07-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: connection_pool