From 7962aa83f1f4aa0e5453f9913bb98ea5cb6fc0dc Mon Sep 17 00:00:00 2001 From: Jens Ulferts Date: Thu, 3 May 2018 10:58:08 +0200 Subject: [PATCH] explicitly model dependency on aws-sdk-sns --- .../two_factor_authentication/token_strategy/sns.rb | 2 +- openproject-two_factor_authentication.gemspec | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/open_project/two_factor_authentication/token_strategy/sns.rb b/lib/open_project/two_factor_authentication/token_strategy/sns.rb index 0962c161f6..52604fd8c6 100644 --- a/lib/open_project/two_factor_authentication/token_strategy/sns.rb +++ b/lib/open_project/two_factor_authentication/token_strategy/sns.rb @@ -1,5 +1,5 @@ require 'net/http' -require 'aws-sdk' +require 'aws-sdk-sns' module OpenProject::TwoFactorAuthentication module TokenStrategy diff --git a/openproject-two_factor_authentication.gemspec b/openproject-two_factor_authentication.gemspec index 9011536e1f..d5768590e0 100644 --- a/openproject-two_factor_authentication.gemspec +++ b/openproject-two_factor_authentication.gemspec @@ -21,4 +21,6 @@ Gem::Specification.new do |s| s.add_dependency 'rotp', '~> 3.3' s.add_dependency 'messagebird-rest', '~> 1.3.2' s.add_dependency 'rails', '~> 5' + + s.add_dependency 'aws-sdk-sns', '~> 1.1.0' end