fcmpush 1.3.0 → 1.3.5

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: aec3e5ccc93c7aa90c5a47c29c86666f97a4c64b6c4699b2343b954c6167d4f9
4
- data.tar.gz: 30ca2b1ebae21c4d5b1719a74bf7b53c19caaf35c0af8cd9407a8a8fde5d174d
3
+ metadata.gz: 1656675f063d6436b0b1552f9339655c56078ef4cbfaeeed1e2d62dcf63e19aa
4
+ data.tar.gz: 32d4545081469286a7abc3d4a8ee39e2379789fa37c4bc66fb68b2dcd9cae291
5
5
  SHA512:
6
- metadata.gz: 35aa9a63da743fd31d7ef83b24846cd2dbaf69f0a35edccfd27aa5bfddaebe0da2e4e95e7e0600a799ab220f1953ef8c18fcd92765a5bebb8bc0abc58ec684b3
7
- data.tar.gz: f367ae2d0a2807a22d6efc6e5241540c8f05e894ad47dcd58735809f45d07f5c347eb571e86dcd33b992e5aa801f9004f4d440cfd377735b8de6c750a75c9ce5
6
+ metadata.gz: 4cd0c9495a4f737c71835d41cd89284042e52a5afb86cfa267a13db58343bf4636c84ba957205b1c093c88f358ac3b15686f5734459389a400c7248d30d2e005
7
+ data.tar.gz: bb9e4add40035fcfb3dc543b78ee2bd9edb02f5921b0f97ab9631ddf75a697d0d988e43fb76d389a886b8528a681fb120106e2c43f337ea9199817d79d99a64f
data/fcmpush.gemspec CHANGED
@@ -22,9 +22,9 @@ Gem::Specification.new do |spec|
22
22
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
23
23
  spec.require_paths = ['lib']
24
24
 
25
- spec.required_ruby_version = '>= 2.4', '<= 3.0'
25
+ spec.required_ruby_version = '>= 2.4', '< 3.2'
26
26
 
27
- spec.add_dependency 'googleauth', '>= 0.9.0'
27
+ spec.add_dependency 'google-apis-identitytoolkit_v3'
28
28
  spec.add_dependency 'net-http-persistent', '~> 4.0.1'
29
29
 
30
30
  spec.add_development_dependency 'bundler', '~> 2.0'
@@ -34,6 +34,7 @@ module Fcmpush
34
34
  else
35
35
  File.open(configuration.json_key_io)
36
36
  end
37
+ io.rewind if io.respond_to?(:read)
37
38
  Google::Auth::ServiceAccountCredentials.make_creds(
38
39
  json_key_io: io,
39
40
  scope: configuration.scope
@@ -1,3 +1,3 @@
1
1
  module Fcmpush
2
- VERSION = '1.3.0'.freeze
2
+ VERSION = '1.3.5'.freeze
3
3
  end
metadata CHANGED
@@ -1,29 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fcmpush
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.3.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - miyataka
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-01-31 00:00:00.000000000 Z
11
+ date: 2021-12-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: googleauth
14
+ name: google-apis-identitytoolkit_v3
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.9.0
19
+ version: '0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: 0.9.0
26
+ version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: net-http-persistent
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -111,16 +111,16 @@ required_ruby_version: !ruby/object:Gem::Requirement
111
111
  - - ">="
112
112
  - !ruby/object:Gem::Version
113
113
  version: '2.4'
114
- - - "<="
114
+ - - "<"
115
115
  - !ruby/object:Gem::Version
116
- version: '3.0'
116
+ version: '3.2'
117
117
  required_rubygems_version: !ruby/object:Gem::Requirement
118
118
  requirements:
119
119
  - - ">="
120
120
  - !ruby/object:Gem::Version
121
121
  version: '0'
122
122
  requirements: []
123
- rubygems_version: 3.2.3
123
+ rubygems_version: 3.3.3
124
124
  signing_key:
125
125
  specification_version: 4
126
126
  summary: Firebase Cloud Messaging API wrapper for ruby, supports HTTP v1. And including