Skip to content
This repository has been archived by the owner on Apr 5, 2023. It is now read-only.

Commit

Permalink
fix: version of acctive support
Browse files Browse the repository at this point in the history
  • Loading branch information
eHattori committed May 19, 2022
1 parent 1634708 commit ae0ff9c
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ source "https://rubygems.org"
# Specify your gem's dependencies in pipefy_message.gemspec
gemspec

gem "activesupport", "~> 4.2.11.3"
gem "activesupport", "~> 5.0", ">= 5.0.0.1"
gem "aws-sdk-sns", "~> 1.50.0"
gem "aws-sdk-sqs", "~> 1.49.0"
gem "logger"
Expand Down
10 changes: 5 additions & 5 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ PATH
GEM
remote: https://rubygems.org/
specs:
activesupport (4.2.11.3)
i18n (~> 0.7)
activesupport (5.0.7.2)
concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (>= 0.7, < 2)
minitest (~> 5.1)
thread_safe (~> 0.3, >= 0.3.4)
tzinfo (~> 1.1)
ast (2.4.2)
aws-eventstream (1.2.0)
Expand All @@ -36,7 +36,7 @@ GEM
concurrent-ruby (1.1.9)
diff-lcs (1.5.0)
e2mmap (0.1.0)
i18n (0.9.5)
i18n (1.10.0)
concurrent-ruby (~> 1.0)
jaro_winkler (1.5.4)
jmespath (1.6.1)
Expand Down Expand Up @@ -119,7 +119,7 @@ PLATFORMS
x86_64-linux

DEPENDENCIES
activesupport (~> 4.2.11.3)
activesupport (~> 5.0, >= 5.0.0.1)
aws-sdk-sns (~> 1.50.0)
aws-sdk-sqs (~> 1.49.0)
logger
Expand Down
15 changes: 15 additions & 0 deletions main.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# typed: true
# frozen_string_literal: true

require "pipefy_message"
class PipefyMessagesWorker
include PipefyMessage::Consumer
options queue_name: "pipefy-local-queue"

def perform(message)
## service qualquer
puts "Received message #{message} from broker"
end
end

PipefyMessagesWorker.process_message

0 comments on commit ae0ff9c

Please sign in to comment.