-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat:added rabbitmq support #142
base: main
Are you sure you want to change the base?
Conversation
Hey @Siddharth9890 nice work, can you add some specs to the publisher and to the subscriber? |
Gemfile
Outdated
gem "bunny" | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
gem "bunny" | |
# Ruby client for RabbitMQ [https://github.com/ruby-amqp/bunny] | |
gem "bunny" |
Gemfile
Outdated
gem "bunny-mock" | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Duplicated
gem "bunny-mock" |
spec/rabbitmq/publisher_spec.rb
Outdated
@@ -0,0 +1,28 @@ | |||
# spec/services/rabbitmq_publisher_spec.rb |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you move this file for this path spec/services/*
?
spec/rabbitmq/publisher_spec.rb
Outdated
let(:rabbitmq_url) { 'amqp://test:test@rabbitmq:5672/' } | ||
|
||
|
||
it 'should publish messages to queues' do |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you fix the indentation of this file? 🙏🏻
389aa12
to
325fd2f
Compare
Hey i tried fixing the linting but i am not sure how to check linting locally in ruby so if there are linting errors please guide me on how to check locally |
You can run locally: |
@leonardobrito done |
Hey @Siddharth9890 looks like we still having some issues with linters 😔, can you take a look again?
|
hey @leonardobrito i have skip check for linting for the test it is false positive so it will give a warning on internet i was unable to find a solution hence a workaround |
The issue with the lint is because you have more than 1 expectation inside the test case. To solve this you will need to have a separated |
Yes sure, @Siddharth9890 please update the rubocop config to allow it |
Issue #110
The rabbitmq instance is working as well using docker compose
@edimossilva