Skip to content

Commit a0bc5aa

Browse files
committed
cleanup sample-app from testing
1 parent fd19c95 commit a0bc5aa

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

sample-app/Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ source "https://rubygems.org"
22

33
# Our gems
44
# bundle config set local.aws-sdk-rails ../
5-
gem 'aws-sdk-rails', path: "../"
5+
gem 'aws-sdk-rails', git: 'https://github.com/aws/aws-sdk-rails', branch: 'main'
66
gem 'aws-actiondispatch-dynamodb', git: 'https://github.com/aws/aws-actiondispatch-dynamodb-ruby', branch: 'main'
77
gem 'aws-actionmailbox-ses', git: 'https://github.com/aws/aws-actionmailbox-ses-ruby', branch: 'main'
88
gem 'aws-actionmailer-ses', git: 'https://github.com/aws/aws-actionmailer-ses-ruby', branch: 'main'

sample-app/app/jobs/test_job.rb

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,5 @@ class TestJob < ApplicationJob
44

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

0 commit comments

Comments
 (0)