Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

bump aws-sdk-sns

ulferts1e1fc9ee7187
diff --git a/Gemfile.lock b/Gemfile.lock
index de15911682b..e69d1809185 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -169,7 +169,7 @@ PATH
remote: modules/two_factor_authentication
specs:
openproject-two_factor_authentication (1.0.0)
- aws-sdk-sns (~> 1.55.0)
+ aws-sdk-sns (~> 1.56.0)
messagebird-rest (~> 1.4.2)
rotp (~> 6.1)
@@ -304,8 +304,8 @@ GEM
aws-sdk-core (~> 3, >= 3.165.0)
aws-sdk-kms (~> 1)
aws-sigv4 (~> 1.4)
- aws-sdk-sns (1.55.0)
- aws-sdk-core (~> 3, >= 3.127.0)
+ aws-sdk-sns (1.56.0)
+ aws-sdk-core (~> 3, >= 3.165.0)
aws-sigv4 (~> 1.1)
aws-sigv4 (1.5.2)
aws-eventstream (~> 1, >= 1.0.2)
diff --git a/modules/two_factor_authentication/openproject-two_factor_authentication.gemspec b/modules/two_factor_authentication/openproject-two_factor_authentication.gemspec
index 63e4bbecc13..7c7e38975fa 100644
--- a/modules/two_factor_authentication/openproject-two_factor_authentication.gemspec
+++ b/modules/two_factor_authentication/openproject-two_factor_authentication.gemspec
@@ -12,6 +12,6 @@ Gem::Specification.new do |s|
s.add_dependency 'messagebird-rest', '~> 1.4.2'
s.add_dependency 'rotp', '~> 6.1'
- s.add_dependency 'aws-sdk-sns', '~> 1.55.0'
+ s.add_dependency 'aws-sdk-sns', '~> 1.56.0'
s.metadata['rubygems_mfa_required'] = 'true'
end
diff --git a/modules/two_factor_authentication/spec/services/token_delivery/sns_spec.rb b/modules/two_factor_authentication/spec/services/token_delivery/sns_spec.rb
index e982700e470..1ee932cba9d 100644
--- a/modules/two_factor_authentication/spec/services/token_delivery/sns_spec.rb
+++ b/modules/two_factor_authentication/spec/services/token_delivery/sns_spec.rb
@@ -83,9 +83,9 @@ describe ::OpenProject::TwoFactorAuthentication::TokenStrategy::Sns do
expect(api).to receive(:set_sms_attributes).and_return(nil)
expect(api)
.to receive(:publish)
- .with(phone_number: phone.gsub(' ', ''),
- message: I18n.t('two_factor_authentication.text_otp_delivery_message_sms', app_title: Setting.app_title,
- token: 1234))
+ .with({ phone_number: phone.gsub(' ', ''),
+ message: I18n.t('two_factor_authentication.text_otp_delivery_message_sms',
+ app_title: Setting.app_title, token: 1234) })
.and_return(api_result)
end