fcmpush 0.9.0 → 0.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.travis.yml +1 -0
- data/fcmpush.gemspec +3 -3
- data/lib/fcmpush/client.rb +1 -1
- data/lib/fcmpush/version.rb +1 -1
- metadata +6 -7
- data/Gemfile.lock +0 -85
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ca7fcf74ed6f65f87af9ac77aabdda313a8593d1954d6250be94e7f4d819307c
|
|
4
|
+
data.tar.gz: fd3fa1913cef61ff15b36791a7fc9b35032aaaa1f0e3d5e98faa46c0b3903f24
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4bc377cb3eacfd52f28ef7e4d882c20314b0461d1cd12db8ecaf508cb0b2568514760cae969d296c099290704a5169aa08309dbf5eb38b21aaf8910a013ce3e2
|
|
7
|
+
data.tar.gz: 0a7b0625078de8fa54e300d088fdc6bf4228cfda70033c7489514e4943738faa0c88259e955da3ba4b8002e389f59b5315748233576871decb9c1c75c3636f60
|
data/.travis.yml
CHANGED
data/fcmpush.gemspec
CHANGED
|
@@ -5,10 +5,10 @@ require 'fcmpush/version'
|
|
|
5
5
|
Gem::Specification.new do |spec|
|
|
6
6
|
spec.name = 'fcmpush'
|
|
7
7
|
spec.version = Fcmpush::VERSION
|
|
8
|
-
spec.authors = ['
|
|
8
|
+
spec.authors = ['miyataka']
|
|
9
9
|
spec.email = ['voyager.3taka28@gmail.com']
|
|
10
10
|
|
|
11
|
-
spec.summary = 'Firebase Cloud Messaging API wrapper for ruby, supports HTTP v1
|
|
11
|
+
spec.summary = 'Firebase Cloud Messaging API wrapper for ruby, supports HTTP v1.'
|
|
12
12
|
spec.homepage = 'https://github.com/miyataka/fcmpush'
|
|
13
13
|
spec.license = 'MIT'
|
|
14
14
|
|
|
@@ -22,7 +22,7 @@ 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.add_dependency 'googleauth', '>= 0.
|
|
25
|
+
spec.add_dependency 'googleauth', '>= 0.9.0'
|
|
26
26
|
spec.add_dependency 'net-http-persistent', '>= 3.1.0'
|
|
27
27
|
|
|
28
28
|
spec.add_development_dependency 'bundler', '~> 2.0'
|
data/lib/fcmpush/client.rb
CHANGED
|
@@ -115,7 +115,7 @@ module Fcmpush
|
|
|
115
115
|
end
|
|
116
116
|
|
|
117
117
|
def make_subscription_body(topic, *instance_ids)
|
|
118
|
-
topic = topic.match
|
|
118
|
+
topic = topic.match(%r{^/topics/}) ? topic : '/topics/' + topic
|
|
119
119
|
{
|
|
120
120
|
to: topic,
|
|
121
121
|
registration_tokens: instance_ids
|
data/lib/fcmpush/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: fcmpush
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.9.
|
|
4
|
+
version: 0.9.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
|
-
-
|
|
7
|
+
- miyataka
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-10-
|
|
11
|
+
date: 2019-10-21 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: googleauth
|
|
@@ -16,14 +16,14 @@ dependencies:
|
|
|
16
16
|
requirements:
|
|
17
17
|
- - ">="
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
|
-
version: 0.
|
|
19
|
+
version: 0.9.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.
|
|
26
|
+
version: 0.9.0
|
|
27
27
|
- !ruby/object:Gem::Dependency
|
|
28
28
|
name: net-http-persistent
|
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -92,7 +92,6 @@ files:
|
|
|
92
92
|
- ".rubocop.yml"
|
|
93
93
|
- ".travis.yml"
|
|
94
94
|
- Gemfile
|
|
95
|
-
- Gemfile.lock
|
|
96
95
|
- LICENSE.txt
|
|
97
96
|
- README.md
|
|
98
97
|
- Rakefile
|
|
@@ -129,5 +128,5 @@ requirements: []
|
|
|
129
128
|
rubygems_version: 3.0.3
|
|
130
129
|
signing_key:
|
|
131
130
|
specification_version: 4
|
|
132
|
-
summary: Firebase Cloud Messaging API wrapper for ruby, supports HTTP v1
|
|
131
|
+
summary: Firebase Cloud Messaging API wrapper for ruby, supports HTTP v1.
|
|
133
132
|
test_files: []
|
data/Gemfile.lock
DELETED
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
PATH
|
|
2
|
-
remote: .
|
|
3
|
-
specs:
|
|
4
|
-
fcmpush (0.9.0)
|
|
5
|
-
googleauth (>= 0.10.0)
|
|
6
|
-
net-http-persistent (>= 3.1.0)
|
|
7
|
-
|
|
8
|
-
GEM
|
|
9
|
-
remote: https://rubygems.org/
|
|
10
|
-
specs:
|
|
11
|
-
activesupport (5.2.3)
|
|
12
|
-
concurrent-ruby (~> 1.0, >= 1.0.2)
|
|
13
|
-
i18n (>= 0.7, < 2)
|
|
14
|
-
minitest (~> 5.1)
|
|
15
|
-
tzinfo (~> 1.1)
|
|
16
|
-
addressable (2.7.0)
|
|
17
|
-
public_suffix (>= 2.0.2, < 5.0)
|
|
18
|
-
byebug (11.0.1)
|
|
19
|
-
coderay (1.1.2)
|
|
20
|
-
concurrent-ruby (1.1.5)
|
|
21
|
-
connection_pool (2.2.2)
|
|
22
|
-
diff-lcs (1.3)
|
|
23
|
-
faraday (0.17.0)
|
|
24
|
-
multipart-post (>= 1.2, < 3)
|
|
25
|
-
googleauth (0.10.0)
|
|
26
|
-
faraday (~> 0.12)
|
|
27
|
-
jwt (>= 1.4, < 3.0)
|
|
28
|
-
memoist (~> 0.16)
|
|
29
|
-
multi_json (~> 1.11)
|
|
30
|
-
os (>= 0.9, < 2.0)
|
|
31
|
-
signet (~> 0.12)
|
|
32
|
-
i18n (1.7.0)
|
|
33
|
-
concurrent-ruby (~> 1.0)
|
|
34
|
-
jwt (2.2.1)
|
|
35
|
-
memoist (0.16.0)
|
|
36
|
-
method_source (0.9.2)
|
|
37
|
-
minitest (5.12.2)
|
|
38
|
-
multi_json (1.13.1)
|
|
39
|
-
multipart-post (2.1.1)
|
|
40
|
-
net-http-persistent (3.1.0)
|
|
41
|
-
connection_pool (~> 2.2)
|
|
42
|
-
os (1.0.1)
|
|
43
|
-
pry (0.12.2)
|
|
44
|
-
coderay (~> 1.1.0)
|
|
45
|
-
method_source (~> 0.9.0)
|
|
46
|
-
pry-byebug (3.7.0)
|
|
47
|
-
byebug (~> 11.0)
|
|
48
|
-
pry (~> 0.10)
|
|
49
|
-
public_suffix (4.0.1)
|
|
50
|
-
rake (10.5.0)
|
|
51
|
-
rspec (3.9.0)
|
|
52
|
-
rspec-core (~> 3.9.0)
|
|
53
|
-
rspec-expectations (~> 3.9.0)
|
|
54
|
-
rspec-mocks (~> 3.9.0)
|
|
55
|
-
rspec-core (3.9.0)
|
|
56
|
-
rspec-support (~> 3.9.0)
|
|
57
|
-
rspec-expectations (3.9.0)
|
|
58
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
|
59
|
-
rspec-support (~> 3.9.0)
|
|
60
|
-
rspec-mocks (3.9.0)
|
|
61
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
|
62
|
-
rspec-support (~> 3.9.0)
|
|
63
|
-
rspec-support (3.9.0)
|
|
64
|
-
signet (0.12.0)
|
|
65
|
-
addressable (~> 2.3)
|
|
66
|
-
faraday (~> 0.9)
|
|
67
|
-
jwt (>= 1.5, < 3.0)
|
|
68
|
-
multi_json (~> 1.10)
|
|
69
|
-
thread_safe (0.3.6)
|
|
70
|
-
tzinfo (1.2.5)
|
|
71
|
-
thread_safe (~> 0.1)
|
|
72
|
-
|
|
73
|
-
PLATFORMS
|
|
74
|
-
ruby
|
|
75
|
-
|
|
76
|
-
DEPENDENCIES
|
|
77
|
-
activesupport (< 6.0)
|
|
78
|
-
bundler (~> 2.0)
|
|
79
|
-
fcmpush!
|
|
80
|
-
pry-byebug
|
|
81
|
-
rake (~> 10.0)
|
|
82
|
-
rspec (~> 3.0)
|
|
83
|
-
|
|
84
|
-
BUNDLED WITH
|
|
85
|
-
2.0.2
|