basquiat 1.3.5 → 1.3.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f16cc1c83efa287205ad05ab5425b83f73a4faa92e9f7223b274540b260c947b
4
- data.tar.gz: fd3c6b4dba52db986c9012dcb114ce21d83a553b51145d51d02f0fbc5eee98fe
3
+ metadata.gz: 8ed5c7487ac314bdec3f560a81a8b4e4097e814540c92ce0fd0f19d218a79e8e
4
+ data.tar.gz: 2eb0ecfca39ad4967f454b286df5e0025ca704c598287e044792bb8d55e8af91
5
5
  SHA512:
6
- metadata.gz: 423e592a73da713d12c5097643a8503f19d42b7d9907c6517adb42ff996cdb505f518ade375cc9c31b78fd22441828532f249e0d4c7020b60cd21a309aeb3786
7
- data.tar.gz: 4a0c39ae11cacc5e1564fa87bdce1ea849472a5a43e8263c315673f8172898d7845208fe053cbea7c876aed7e4aee4a8fd0af3f533212b6ffcb574c6bed89571
6
+ metadata.gz: 55b03873df8ff51be38faf9629812c31039d1c2d974a93e5656f99d3f53c65a8620bb9507d681d48fb98b34bca2ee2f9ce88053d3dbb9797cab1100a5ed7d6b8
7
+ data.tar.gz: 6d568ed0f4fdbc4687076804bd6c2d41e21f0d48c19b218905b8f1544c6e4d26757eb08b3a5e20104eb4b082aa52acc99ad9b2e02f42860b5cfe1d98dc06397d
data/Gemfile CHANGED
@@ -1,5 +1,4 @@
1
1
  # frozen_string_literal: true
2
-
3
2
  source 'https://rubygems.org'
4
3
 
5
4
  # Specify your gem's dependencies in basquiat.gemspec
data/basquiat.gemspec CHANGED
@@ -7,8 +7,8 @@ require 'basquiat/version'
7
7
  Gem::Specification.new do |spec|
8
8
  spec.name = 'basquiat'
9
9
  spec.version = Basquiat::VERSION
10
- spec.authors = ['Marcello "mereghost" Rocha']
11
- spec.email = %w(marcello.rocha@gmail.com.br)
10
+ spec.authors = ['Marcello "mereghost" Rocha', 'Adriano Dadario']
11
+ spec.email = %w(marcello.rocha@gmail.com.br dadario@gmail.com)
12
12
  spec.description = <<EOD
13
13
  Basquiat is a library that intends to abstract all the complexity of working with message queues
14
14
  EOD
@@ -82,7 +82,7 @@ module Basquiat
82
82
  end
83
83
 
84
84
  def load_yaml(path)
85
- @yaml = YAML.safe_load(ERB.new(IO.readlines(path).join).result).symbolize_keys
85
+ @yaml = YAML.safe_load(ERB.new(IO.readlines(path).join).result, [Symbol]).symbolize_keys
86
86
  end
87
87
 
88
88
  def setup_basic_options
@@ -2,5 +2,5 @@
2
2
 
3
3
  # Version file
4
4
  module Basquiat
5
- VERSION = '1.3.5'
5
+ VERSION = '1.3.6'
6
6
  end
@@ -53,7 +53,7 @@ RSpec.describe Basquiat::Configuration do
53
53
  expect(config.queue_name).to eq('my.nice_queue')
54
54
  expect(config.exchange_name).to eq('my.test_exchange')
55
55
  expect(config.default_adapter).to eq('Basquiat::Adapters::Test')
56
- expect(config.adapter_options).to have_key(:servers)
56
+ expect(config.adapter_options).to have_key(:connection)
57
57
  end
58
58
 
59
59
  it 'settings provided on the config file have lower precedence' do
@@ -3,7 +3,16 @@ test:
3
3
  queue_name: 'my.nice_queue'
4
4
  default_adapter: Basquiat::Adapters::Test
5
5
  adapter_options:
6
- servers:
7
- -
8
- host: <%= ENV.fetch('BASQUIAT_RABBITMQ_1_PORT_5672_TCP_ADDR') { 'localhost' } %>
9
- port: <%= ENV.fetch('BASQUIAT_RABBITMQ_1_PORT_5672_TCP_PORT') { 5672 } %>
6
+ connection:
7
+ hosts:
8
+ - <%= ENV.fetch('BASQUIAT_RABBITMQ_1_PORT_5672_TCP_ADDR') { 'localhost' } %>
9
+ port: <%= ENV.fetch('BASQUIAT_RABBITMQ_1_PORT_5672_TCP_PORT') { 5672 } %>
10
+ auth:
11
+ user: 'guest'
12
+ password: 'guest'
13
+ consumer:
14
+ prefetch: 1
15
+ manual_ack: true
16
+ requeue:
17
+ enabled: true
18
+ strategy: basic_ack
metadata CHANGED
@@ -1,14 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: basquiat
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.5
4
+ version: 1.3.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marcello "mereghost" Rocha
8
+ - Adriano Dadario
8
9
  autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
- date: 2018-05-15 00:00:00.000000000 Z
12
+ date: 2018-06-11 00:00:00.000000000 Z
12
13
  dependencies:
13
14
  - !ruby/object:Gem::Dependency
14
15
  name: bundler
@@ -254,6 +255,7 @@ description: 'Basquiat is a library that intends to abstract all the complexity
254
255
  '
255
256
  email:
256
257
  - marcello.rocha@gmail.com.br
258
+ - dadario@gmail.com
257
259
  executables: []
258
260
  extensions: []
259
261
  extra_rdoc_files: []