pezza_action_push_web 0.1.0
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 +7 -0
- data/MIT-LICENSE +20 -0
- data/README.md +299 -0
- data/Rakefile +8 -0
- data/app/assets/javascripts/action_push_web.js +424 -0
- data/app/assets/javascripts/components/action_push_web.js +7 -0
- data/app/assets/javascripts/components/denied.js +24 -0
- data/app/assets/javascripts/components/granted.js +86 -0
- data/app/assets/javascripts/components/request.js +55 -0
- data/app/assets/stylesheets/action_push_web/application.css +15 -0
- data/app/controllers/action_push_web/subscriptions_controller.rb +19 -0
- data/app/helpers/action_push_web/application_helper.rb +22 -0
- data/app/jobs/action_push_web/notification_job.rb +48 -0
- data/app/models/action_push_web/subscription.rb +13 -0
- data/db/migrate/20250907213606_create_action_push_web_subscriptions.rb +13 -0
- data/lib/action_push_web/engine.rb +36 -0
- data/lib/action_push_web/errors.rb +8 -0
- data/lib/action_push_web/notification.rb +63 -0
- data/lib/action_push_web/payload_encryption.rb +86 -0
- data/lib/action_push_web/pool.rb +46 -0
- data/lib/action_push_web/pusher.rb +85 -0
- data/lib/action_push_web/subscription_notification.rb +13 -0
- data/lib/action_push_web/vapid_key.rb +38 -0
- data/lib/action_push_web/vapid_key_generator.rb +19 -0
- data/lib/action_push_web/version.rb +3 -0
- data/lib/action_push_web.rb +37 -0
- data/lib/generators/action_push_web/install/install_generator.rb +51 -0
- data/lib/generators/action_push_web/install/templates/app/jobs/application_push_web_notification_job.rb.tt +7 -0
- data/lib/generators/action_push_web/install/templates/app/models/application_push_subscription.rb.tt +4 -0
- data/lib/generators/action_push_web/install/templates/app/models/application_push_web_notification.rb.tt +12 -0
- data/lib/generators/action_push_web/install/templates/app/views/pwa/service-worker.js +30 -0
- data/lib/generators/action_push_web/install/templates/config/push.yml.tt +22 -0
- data/lib/pezza_action_push_web.rb +4 -0
- data/lib/tasks/action_push_web_tasks.rake +4 -0
- metadata +160 -0
metadata
ADDED
@@ -0,0 +1,160 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: pezza_action_push_web
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Nick Pezza
|
8
|
+
bindir: bin
|
9
|
+
cert_chain: []
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
11
|
+
dependencies:
|
12
|
+
- !ruby/object:Gem::Dependency
|
13
|
+
name: activerecord
|
14
|
+
requirement: !ruby/object:Gem::Requirement
|
15
|
+
requirements:
|
16
|
+
- - ">="
|
17
|
+
- !ruby/object:Gem::Version
|
18
|
+
version: '8.0'
|
19
|
+
type: :runtime
|
20
|
+
prerelease: false
|
21
|
+
version_requirements: !ruby/object:Gem::Requirement
|
22
|
+
requirements:
|
23
|
+
- - ">="
|
24
|
+
- !ruby/object:Gem::Version
|
25
|
+
version: '8.0'
|
26
|
+
- !ruby/object:Gem::Dependency
|
27
|
+
name: activejob
|
28
|
+
requirement: !ruby/object:Gem::Requirement
|
29
|
+
requirements:
|
30
|
+
- - ">="
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '8.0'
|
33
|
+
type: :runtime
|
34
|
+
prerelease: false
|
35
|
+
version_requirements: !ruby/object:Gem::Requirement
|
36
|
+
requirements:
|
37
|
+
- - ">="
|
38
|
+
- !ruby/object:Gem::Version
|
39
|
+
version: '8.0'
|
40
|
+
- !ruby/object:Gem::Dependency
|
41
|
+
name: railties
|
42
|
+
requirement: !ruby/object:Gem::Requirement
|
43
|
+
requirements:
|
44
|
+
- - ">="
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: '8.0'
|
47
|
+
type: :runtime
|
48
|
+
prerelease: false
|
49
|
+
version_requirements: !ruby/object:Gem::Requirement
|
50
|
+
requirements:
|
51
|
+
- - ">="
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '8.0'
|
54
|
+
- !ruby/object:Gem::Dependency
|
55
|
+
name: net-http
|
56
|
+
requirement: !ruby/object:Gem::Requirement
|
57
|
+
requirements:
|
58
|
+
- - ">="
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
version: '0'
|
61
|
+
type: :runtime
|
62
|
+
prerelease: false
|
63
|
+
version_requirements: !ruby/object:Gem::Requirement
|
64
|
+
requirements:
|
65
|
+
- - ">="
|
66
|
+
- !ruby/object:Gem::Version
|
67
|
+
version: '0'
|
68
|
+
- !ruby/object:Gem::Dependency
|
69
|
+
name: net-http-persistent
|
70
|
+
requirement: !ruby/object:Gem::Requirement
|
71
|
+
requirements:
|
72
|
+
- - ">="
|
73
|
+
- !ruby/object:Gem::Version
|
74
|
+
version: '0'
|
75
|
+
type: :runtime
|
76
|
+
prerelease: false
|
77
|
+
version_requirements: !ruby/object:Gem::Requirement
|
78
|
+
requirements:
|
79
|
+
- - ">="
|
80
|
+
- !ruby/object:Gem::Version
|
81
|
+
version: '0'
|
82
|
+
- !ruby/object:Gem::Dependency
|
83
|
+
name: jwt
|
84
|
+
requirement: !ruby/object:Gem::Requirement
|
85
|
+
requirements:
|
86
|
+
- - ">="
|
87
|
+
- !ruby/object:Gem::Version
|
88
|
+
version: '0'
|
89
|
+
type: :runtime
|
90
|
+
prerelease: false
|
91
|
+
version_requirements: !ruby/object:Gem::Requirement
|
92
|
+
requirements:
|
93
|
+
- - ">="
|
94
|
+
- !ruby/object:Gem::Version
|
95
|
+
version: '0'
|
96
|
+
description: Send push notifications to web apps
|
97
|
+
email:
|
98
|
+
- pezza@hey.com
|
99
|
+
executables: []
|
100
|
+
extensions: []
|
101
|
+
extra_rdoc_files: []
|
102
|
+
files:
|
103
|
+
- MIT-LICENSE
|
104
|
+
- README.md
|
105
|
+
- Rakefile
|
106
|
+
- app/assets/javascripts/action_push_web.js
|
107
|
+
- app/assets/javascripts/components/action_push_web.js
|
108
|
+
- app/assets/javascripts/components/denied.js
|
109
|
+
- app/assets/javascripts/components/granted.js
|
110
|
+
- app/assets/javascripts/components/request.js
|
111
|
+
- app/assets/stylesheets/action_push_web/application.css
|
112
|
+
- app/controllers/action_push_web/subscriptions_controller.rb
|
113
|
+
- app/helpers/action_push_web/application_helper.rb
|
114
|
+
- app/jobs/action_push_web/notification_job.rb
|
115
|
+
- app/models/action_push_web/subscription.rb
|
116
|
+
- db/migrate/20250907213606_create_action_push_web_subscriptions.rb
|
117
|
+
- lib/action_push_web.rb
|
118
|
+
- lib/action_push_web/engine.rb
|
119
|
+
- lib/action_push_web/errors.rb
|
120
|
+
- lib/action_push_web/notification.rb
|
121
|
+
- lib/action_push_web/payload_encryption.rb
|
122
|
+
- lib/action_push_web/pool.rb
|
123
|
+
- lib/action_push_web/pusher.rb
|
124
|
+
- lib/action_push_web/subscription_notification.rb
|
125
|
+
- lib/action_push_web/vapid_key.rb
|
126
|
+
- lib/action_push_web/vapid_key_generator.rb
|
127
|
+
- lib/action_push_web/version.rb
|
128
|
+
- lib/generators/action_push_web/install/install_generator.rb
|
129
|
+
- lib/generators/action_push_web/install/templates/app/jobs/application_push_web_notification_job.rb.tt
|
130
|
+
- lib/generators/action_push_web/install/templates/app/models/application_push_subscription.rb.tt
|
131
|
+
- lib/generators/action_push_web/install/templates/app/models/application_push_web_notification.rb.tt
|
132
|
+
- lib/generators/action_push_web/install/templates/app/views/pwa/service-worker.js
|
133
|
+
- lib/generators/action_push_web/install/templates/config/push.yml.tt
|
134
|
+
- lib/pezza_action_push_web.rb
|
135
|
+
- lib/tasks/action_push_web_tasks.rake
|
136
|
+
homepage: https://github.com/npezza93/action_push_web
|
137
|
+
licenses:
|
138
|
+
- MIT
|
139
|
+
metadata:
|
140
|
+
homepage_uri: https://github.com/npezza93/action_push_web
|
141
|
+
source_code_uri: https://github.com/npezza93/action_push_web
|
142
|
+
rubygems_mfa_required: 'true'
|
143
|
+
rdoc_options: []
|
144
|
+
require_paths:
|
145
|
+
- lib
|
146
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
147
|
+
requirements:
|
148
|
+
- - ">="
|
149
|
+
- !ruby/object:Gem::Version
|
150
|
+
version: '0'
|
151
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
152
|
+
requirements:
|
153
|
+
- - ">="
|
154
|
+
- !ruby/object:Gem::Version
|
155
|
+
version: '0'
|
156
|
+
requirements: []
|
157
|
+
rubygems_version: 3.7.1
|
158
|
+
specification_version: 4
|
159
|
+
summary: Send push notifications to web apps
|
160
|
+
test_files: []
|