web-push-notification-rails 0.2.0 → 0.2.1
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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 19238861d1f2f9cfebffa5b4bf38a8098cc39b4f
|
4
|
+
data.tar.gz: 3ef3d982dde3357d539890f697427533345bb951
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d7ac31f02e0281b454e393b0c236bc68c3cdfd8824da288ae045222a9691f30555c65d4e8a26ffd2a107ee7a17fcc2e104e05ffd4ec915d4a543dca8043d6353
|
7
|
+
data.tar.gz: f0a2e65483bd26fa4969ec58bbc7bbf63e2e73483ba09d5ed005590b0b24313f4eb9adbf3c23b81c0638bb436a029e6762965641a0d5b3bbe494ad607eea936c
|
data/lib/rails/generators/web_notification/notification_package/notification_package_generator.rb
CHANGED
@@ -16,9 +16,9 @@ module WebNotification
|
|
16
16
|
template 'web_notification_package_initializer.rb', File.join('config', 'initializers', "web_notification_package_initializer.rb")
|
17
17
|
template 'apple_web_notifications_controller.rb', File.join('app', 'controllers', "apple_web_notifications_controller.rb")
|
18
18
|
template 'index.html.erb', File.join('app', 'views', 'apple_web_notifications', 'index.html.erb')
|
19
|
-
route "delete '/v1/devices/:device_token/registrations/:web_push_id', :controller => :apple_web_notifications, :action => :add_device, :constraints => { :web_push_id => /[
|
20
|
-
route "post '/v1/devices/:device_token/registrations/:web_push_id', :controller => :apple_web_notifications, :action => :delete_device, :constraints => { :web_push_id => /[
|
21
|
-
route "post '/v1/pushPackages/:web_push_id', :controller => :apple_web_notifications, :action => :package, :constraints => { :web_push_id => /[
|
19
|
+
route "delete '/v1/devices/:device_token/registrations/:web_push_id', :controller => :apple_web_notifications, :action => :add_device, :constraints => { :web_push_id => /[^\\/]+/ }"
|
20
|
+
route "post '/v1/devices/:device_token/registrations/:web_push_id', :controller => :apple_web_notifications, :action => :delete_device, :constraints => { :web_push_id => /[^\\/]+/ }"
|
21
|
+
route "post '/v1/pushPackages/:web_push_id', :controller => :apple_web_notifications, :action => :package, :constraints => { :web_push_id => /[^\\/]+/ }"
|
22
22
|
route "post '/v1/log', :controller => :apple_web_notifications, :action => :log"
|
23
23
|
route "get '/apple_web_notifications', :controller => :apple_web_notifications, :action => :index"
|
24
24
|
template 'website.json', File.join('notification', 'web_package', "website.json")
|