freddy 2.3.0 → 2.4.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 55182881b38a721d174a649943e973134d3ebac9c0502b34cce14ddc503f33db
4
- data.tar.gz: 2e0c118f4a4af53745b070d512a74bdc87245e8c8489ea6985d788b71ddd9eab
3
+ metadata.gz: f2dcf734ec94fc66e09be25bed73991a329b9dc3bb112664cd762c45dc9e0e7c
4
+ data.tar.gz: 5d929520fbf9c43857b3e8f1d97559402b0028169b657ec9a967eba36a395551
5
5
  SHA512:
6
- metadata.gz: b72b0edde6c555492c90a722d19e99ccc32cd49a8066e7a7fcde71625541c90b1a893980b98f002beadc0644132512954e6f4d7850f55b536ef3f4771e71c1b0
7
- data.tar.gz: 79a42a9ea43f43a472066129ea8fe5a00c793c458fe36d482d51286dc45e44d7de3cfc2f0fd23828e05cb4d2fe95471b9304d59a1e09c27cbcbbdb53c33fc1c8
6
+ metadata.gz: 33b5603b0775342f4271034dc083b654c5031cee2bf61e6a1d068afd1abe9e12e86579c85497016cb6f17085a2dbeb7efaa49a3957aafb391189e6d596795cd7
7
+ data.tar.gz: 0ea71e0dd8abdc975477f89b9e1ca1d650ff50ab0f9f9d2e4bf65b49af94e35ee545359eb8779a6e4723fbab3dede9676baa646fb3c6b95b06649fb9653fc482
@@ -11,7 +11,7 @@ jobs:
11
11
  runs-on: ubuntu-latest
12
12
  strategy:
13
13
  matrix:
14
- ruby-version: ['2.6']
14
+ ruby-version: ['2.7']
15
15
  services:
16
16
  rabbitmq:
17
17
  image: rabbitmq
@@ -27,6 +27,6 @@ jobs:
27
27
  with:
28
28
  ruby-version: ${{ matrix.ruby-version }}
29
29
  bundler-cache: true
30
- cache-version: 1
30
+ cache-version: 2
31
31
  - name: Run lint & tests
32
32
  run: bundle exec rake
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 2.6
1
+ 2.7
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- freddy (2.3.0)
4
+ freddy (2.4.0)
5
5
  bunny (~> 2.11)
6
6
  oj (~> 3.6)
7
7
  opentelemetry-api (~> 1.0.0.rc3)
@@ -23,7 +23,7 @@ GEM
23
23
  hamster (3.0.0)
24
24
  concurrent-ruby (~> 1.0)
25
25
  method_source (1.0.0)
26
- oj (3.13.2)
26
+ oj (3.13.11)
27
27
  opentelemetry-api (1.0.0.rc3)
28
28
  opentelemetry-common (0.19.1)
29
29
  opentelemetry-api (~> 1.0.0.rc3)
@@ -44,7 +44,7 @@ GEM
44
44
  method_source (~> 1.0)
45
45
  rainbow (3.0.0)
46
46
  rake (13.0.6)
47
- rbtree (0.4.4)
47
+ rbtree (0.4.5)
48
48
  regexp_parser (2.1.1)
49
49
  rexml (3.2.5)
50
50
  rspec (3.10.0)
@@ -75,7 +75,7 @@ GEM
75
75
  rubocop (~> 1.0)
76
76
  rubocop-ast (>= 1.1.0)
77
77
  ruby-progressbar (1.11.0)
78
- set (1.0.1)
78
+ set (1.0.2)
79
79
  sorted_set (1.0.3)
80
80
  rbtree
81
81
  set (~> 1.0)
@@ -99,4 +99,4 @@ DEPENDENCIES
99
99
  rubocop-rspec (~> 2.4)
100
100
 
101
101
  BUNDLED WITH
102
- 2.2.27
102
+ 2.3.9
data/freddy.gemspec CHANGED
@@ -11,7 +11,7 @@ Gem::Specification.new do |spec|
11
11
  spec.summary = 'API for inter-application messaging supporting acknowledgements and request-response'
12
12
  spec.license = 'MIT'
13
13
  spec.homepage = 'https://github.com/salemove/freddy'
14
- spec.required_ruby_version = '>= 2.6'
14
+ spec.required_ruby_version = '>= 2.7'
15
15
 
16
16
  spec.files = `git ls-files`.split($INPUT_RECORD_SEPARATOR)
17
17
  spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
@@ -6,8 +6,14 @@ require 'forwardable'
6
6
  class Freddy
7
7
  module Adapters
8
8
  class BunnyAdapter
9
+ DEFAULT_OPTIONS = {
10
+ connection_timeout: 5,
11
+ read_timeout: 5,
12
+ write_timeout: 5
13
+ }.freeze
14
+
9
15
  def self.connect(config)
10
- bunny = Bunny.new(config)
16
+ bunny = Bunny.new(DEFAULT_OPTIONS.merge(config))
11
17
  bunny.start
12
18
  new(bunny)
13
19
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  class Freddy
4
- VERSION = '2.3.0'
4
+ VERSION = '2.4.0'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: freddy
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.0
4
+ version: 2.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Glia TechMovers
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-12-20 00:00:00.000000000 Z
11
+ date: 2022-04-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -191,7 +191,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
191
191
  requirements:
192
192
  - - ">="
193
193
  - !ruby/object:Gem::Version
194
- version: '2.6'
194
+ version: '2.7'
195
195
  required_rubygems_version: !ruby/object:Gem::Requirement
196
196
  requirements:
197
197
  - - ">="