fcmpush 1.2.1 → 1.3.4

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: 9c7f11759745db6416a5b7b896e3ba7f1e69234cebd81ebb553b50fba9d01623
4
- data.tar.gz: a8690c9c01c8f57975abf2fea467245cb2f8da5477bb26906b768ee6cd1f3c82
3
+ metadata.gz: 7936d87c2e29db5357bcb65bdd5af8bd2b05b79d374a9a6e3c0503af0598bf0c
4
+ data.tar.gz: e49f7550540d35de402a7305c708f92195fc323116015f21bf8fa6f80ea31eb2
5
5
  SHA512:
6
- metadata.gz: 40db8fe5c68788635395923d8cb710b88e20b8d229cab81c540ce73bf807ac214ce31c1da43ada246e17dd8af33d4284ee4c0c129ec01fc2292c39b25ecf8dc5
7
- data.tar.gz: 6603ea073fb892b5c16593b484c85cf53de1e0ccf02b6e2b1989466f8047b00bc1b3e33b0f8f13e17961aa84cc3f3282a9ffc60a6dd2d76daf44c53d610f178e
6
+ metadata.gz: 1d1a1e06438ecb0876991e9a8b6189d19222d115da4d5e3f7d667b94e2f8bcf342987191cf651d999791bb1b085deee92e519ef282fb8d0956feb2632c600e43
7
+ data.tar.gz: 77e289fff9a35b1b32dd4c59541eec9ed2d3d712d5227a1fbb9fc2ac1a36d47de027de8916998e86dee8bd3636a14c6e91b6c1fd0d9be7e6853914535a4ef098
data/fcmpush.gemspec CHANGED
@@ -22,10 +22,10 @@ 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.3', '< 2.8'
25
+ spec.required_ruby_version = '>= 2.4', '< 3.1'
26
26
 
27
- spec.add_dependency 'googleauth', '>= 0.9.0'
28
- spec.add_dependency 'net-http-persistent', '>= 3.1.0'
27
+ spec.add_dependency 'google-apis-identitytoolkit_v3'
28
+ spec.add_dependency 'net-http-persistent', '~> 4.0.1'
29
29
 
30
30
  spec.add_development_dependency 'bundler', '~> 2.0'
31
31
  spec.add_development_dependency 'rake', '~> 13'
@@ -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.2.1'.freeze
2
+ VERSION = '1.3.4'.freeze
3
3
  end
metadata CHANGED
@@ -1,43 +1,43 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fcmpush
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.1
4
+ version: 1.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - miyataka
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-08-19 00:00:00.000000000 Z
11
+ date: 2021-08-06 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
30
30
  requirements:
31
- - - ">="
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 3.1.0
33
+ version: 4.0.1
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ">="
38
+ - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: 3.1.0
40
+ version: 4.0.1
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: bundler
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -110,17 +110,17 @@ required_ruby_version: !ruby/object:Gem::Requirement
110
110
  requirements:
111
111
  - - ">="
112
112
  - !ruby/object:Gem::Version
113
- version: '2.3'
113
+ version: '2.4'
114
114
  - - "<"
115
115
  - !ruby/object:Gem::Version
116
- version: '2.8'
116
+ version: '3.1'
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.0.3
123
+ rubygems_version: 3.2.15
124
124
  signing_key:
125
125
  specification_version: 4
126
126
  summary: Firebase Cloud Messaging API wrapper for ruby, supports HTTP v1. And including