From 5890542f0165b2f472100e7f95a16c0453905849 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" Date: Wed, 1 May 2019 17:22:19 -0400 Subject: [PATCH] Bump pusher-push-notifications from 1.0.0 to 1.1.0 (#1880) [ci skip] --- Gemfile | 2 +- Gemfile.lock | 12 ++++++------ config/initializers/pusher.rb | 1 + 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/Gemfile b/Gemfile index f2384339f..52d9bb58c 100644 --- a/Gemfile +++ b/Gemfile @@ -67,7 +67,7 @@ gem "pg", "~> 1.1" # Pg is the Ruby interface to the PostgreSQL RDBMS gem "puma", "~> 3.12" # Puma is a simple, fast, threaded, and highly concurrent HTTP 1.1 server gem "pundit", "~> 2.0" # Object oriented authorization for Rails applications gem "pusher", "~> 1.3" # Ruby library for Pusher Channels HTTP API -gem "pusher-push-notifications", "~> 1.0" # Pusher Push Notifications Ruby server SDK +gem "pusher-push-notifications", "~> 1.1" # Pusher Push Notifications Ruby server SDK gem "rack-host-redirect", "~> 1.3" # Lean and simple host redirection via Rack middleware gem "rack-timeout", "~> 0.5" # Rack middleware which aborts requests that have been running for longer than a specified timeout gem "rails", "~> 5.2", ">= 5.2.3" # Ruby on Rails diff --git a/Gemfile.lock b/Gemfile.lock index 7dc6ef693..bbf60931c 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -545,9 +545,10 @@ GEM httpclient (~> 2.7) multi_json (~> 1.0) pusher-signature (~> 0.1.8) - pusher-push-notifications (1.0.0) - caze - rest-client + pusher-push-notifications (1.1.0) + caze (~> 0) + jwt (~> 2.1, >= 2.1.0) + rest-client (~> 2.0, >= 2.0.2) pusher-signature (0.1.8) raabro (1.1.6) rack (2.0.7) @@ -749,7 +750,6 @@ GEM timber (2.6.2) msgpack (~> 1.0) timecop (0.9.1) - trollop (2.1.2) twilio-ruby (5.22.2) faraday (~> 0.9) jwt (>= 1.5, <= 2.5) @@ -772,7 +772,7 @@ GEM execjs (>= 0.3.0, < 3) unf (0.1.4) unf_ext - unf_ext (0.0.7.5) + unf_ext (0.0.7.6) unicode-display_width (1.5.0) uniform_notifier (1.12.1) validate_url (1.0.8) @@ -897,7 +897,7 @@ DEPENDENCIES pundit (~> 2.0) pundit-matchers (~> 1.6) pusher (~> 1.3) - pusher-push-notifications (~> 1.0) + pusher-push-notifications (~> 1.1) rack-host-redirect (~> 1.3) rack-timeout (~> 0.5) rails (~> 5.2, >= 5.2.3) diff --git a/config/initializers/pusher.rb b/config/initializers/pusher.rb index 8339fe75d..ae31e847c 100644 --- a/config/initializers/pusher.rb +++ b/config/initializers/pusher.rb @@ -1,4 +1,5 @@ require "pusher" +require "pusher/push_notifications" Pusher.app_id = ApplicationConfig["PUSHER_APP_ID"] Pusher.key = ApplicationConfig["PUSHER_KEY"]