Skip to content

Commit

Permalink
cleanup sample-app from testing
Browse files Browse the repository at this point in the history
  • Loading branch information
alextwoods committed Dec 5, 2024
1 parent fd19c95 commit a0bc5aa
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion sample-app/Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ source "https://rubygems.org"

# Our gems
# bundle config set local.aws-sdk-rails ../
gem 'aws-sdk-rails', path: "../"
gem 'aws-sdk-rails', git: 'https://github.com/aws/aws-sdk-rails', branch: 'main'
gem 'aws-actiondispatch-dynamodb', git: 'https://github.com/aws/aws-actiondispatch-dynamodb-ruby', branch: 'main'
gem 'aws-actionmailbox-ses', git: 'https://github.com/aws/aws-actionmailbox-ses-ruby', branch: 'main'
gem 'aws-actionmailer-ses', git: 'https://github.com/aws/aws-actionmailer-ses-ruby', branch: 'main'
Expand Down
3 changes: 0 additions & 3 deletions sample-app/app/jobs/test_job.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,5 @@ class TestJob < ApplicationJob

def perform(*args)
puts "Job performed with args: #{args}"
if args[0].is_a?(Hash) && args[0][:error]
raise StandardError, 'Boom - error in job.'
end
end
end

0 comments on commit a0bc5aa

Please sign in to comment.