From 936b8e6031b63834c795cf08e6db5072132d3f2b Mon Sep 17 00:00:00 2001 From: Matt Muller Date: Mon, 22 Jul 2024 17:51:51 -0400 Subject: [PATCH] Fix some errors and warnings --- Rakefile | 1 + aws-sdk-rails.gemspec | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Rakefile b/Rakefile index c05e52be..ed931147 100644 --- a/Rakefile +++ b/Rakefile @@ -15,6 +15,7 @@ RuboCop::RakeTask.new RSpec::Core::RakeTask.new(:spec) task :db_migrate do + ENV['RAILS_ENV'] = 'test' Dir.chdir('spec/dummy') do `rake db:migrate` end diff --git a/aws-sdk-rails.gemspec b/aws-sdk-rails.gemspec index dd226e94..19226963 100644 --- a/aws-sdk-rails.gemspec +++ b/aws-sdk-rails.gemspec @@ -19,6 +19,7 @@ Gem::Specification.new do |spec| spec.executables = ['aws_sqs_active_job'] spec.add_dependency('aws-record', '~> 2') # for Aws::Record integration + spec.add_dependency('aws-sessionstore-dynamodb', '~> 2') # includes DynamoDB # Require these versions for user_agent_framework configs spec.add_dependency('aws-sdk-s3', '~> 1', '>= 1.123.0') @@ -27,10 +28,9 @@ Gem::Specification.new do |spec| spec.add_dependency('aws-sdk-sns', '~> 1', '>= 1.61.0') # for ActionMailbox spec.add_dependency('aws-sdk-sqs', '~> 1', '>= 1.56.0') # for ActiveJob - spec.add_dependency('actionmailbox', '>= 7.0.0') # for SES ActionMailbox - spec.add_dependency('aws-sessionstore-dynamodb', '~> 2') # includes DynamoDB - spec.add_dependency('concurrent-ruby', '>= 1.3.1') # Utilities for concurrent processing - spec.add_dependency('railties', '>= 7.0.0') # Minimum supported Rails version + spec.add_dependency('actionmailbox', '~> 7.0', '>= 7.0.0') # for SES ActionMailbox + spec.add_dependency('concurrent-ruby', '~> 1.3', '>= 1.3.1') # Utilities for concurrent processing + spec.add_dependency('railties', '~> 7.0', '>= 7.0.0') # Minimum supported Rails version spec.required_ruby_version = '>= 2.7' end