bug_bunny 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/bug_bunny/adapter.rb +4 -4
- data/lib/bug_bunny/version.rb +1 -1
- metadata +6 -7
- data/bug_bunny.gemspec +0 -41
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5f24c30a1e78bdb83a3f2a10eeafd1c4a4fa5f194b9edd773046ae1501c5230a
|
4
|
+
data.tar.gz: 9db7b2c82bca85a20c928c749c665ed5fc6ce9db4e0d53193bb106de2f61ccb1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8e2d31f049a5fcf696ca297e2e1b27071d3574c20093ec5b04ce8cbcbb2637817032bca33c31fd5c391bc842ac109e0f75adaf5a1ac9594e8069b9f6e0e94451
|
7
|
+
data.tar.gz: c471e33bd09d218aa9cbcf0b371211630aa6b1877285f8b6a275e69c4ffb47e4372e0fd4c91ef3caf2f34181e2a058c3ebba4fc378b39e4061d255f927b96673
|
data/lib/bug_bunny/adapter.rb
CHANGED
@@ -89,10 +89,10 @@ module BugBunny
|
|
89
89
|
# Session.correlation_id = metadata.correlation_id
|
90
90
|
# Session.queue_name = queue.name
|
91
91
|
|
92
|
-
unless defined?(ActiveRecord) && ActiveRecord::Base.connection_pool.with_connection(&:active?)
|
93
|
-
|
94
|
-
|
95
|
-
end
|
92
|
+
# unless defined?(ActiveRecord) && ActiveRecord::Base.connection_pool.with_connection(&:active?)
|
93
|
+
# logger.error('[PG] PG connection down')
|
94
|
+
# exit 7
|
95
|
+
# end
|
96
96
|
|
97
97
|
begin
|
98
98
|
message = ::BugBunny::Message.new(correlation_id: metadata.correlation_id, reply_to: metadata.reply_to, **payload)
|
data/lib/bug_bunny/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bug_bunny
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- gabix
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-07-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bunny
|
@@ -49,7 +49,6 @@ files:
|
|
49
49
|
- Gemfile
|
50
50
|
- README.md
|
51
51
|
- Rakefile
|
52
|
-
- bug_bunny.gemspec
|
53
52
|
- lib/bug_bunny.rb
|
54
53
|
- lib/bug_bunny/adapter.rb
|
55
54
|
- lib/bug_bunny/controller.rb
|
@@ -69,7 +68,7 @@ metadata:
|
|
69
68
|
homepage_uri: https://github.com/gedera/bug_bunny
|
70
69
|
source_code_uri: https://github.com/gedera/bug_bunny
|
71
70
|
changelog_uri: https://github.com/gedera/bug_bunny/blob/main/CHANGELOG.md
|
72
|
-
post_install_message:
|
71
|
+
post_install_message:
|
73
72
|
rdoc_options: []
|
74
73
|
require_paths:
|
75
74
|
- lib
|
@@ -84,8 +83,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
84
83
|
- !ruby/object:Gem::Version
|
85
84
|
version: '0'
|
86
85
|
requirements: []
|
87
|
-
rubygems_version: 3.
|
88
|
-
signing_key:
|
86
|
+
rubygems_version: 3.5.11
|
87
|
+
signing_key:
|
89
88
|
specification_version: 4
|
90
89
|
summary: Gem for sync and async comunication via rabbit bunny.
|
91
90
|
test_files: []
|
data/bug_bunny.gemspec
DELETED
@@ -1,41 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require_relative "lib/bug_bunny/version"
|
4
|
-
|
5
|
-
Gem::Specification.new do |spec|
|
6
|
-
spec.name = "bug_bunny"
|
7
|
-
spec.version = BugBunny::VERSION
|
8
|
-
spec.authors = ["gabix"]
|
9
|
-
spec.email = ["gab.edera@gmail.com"]
|
10
|
-
|
11
|
-
spec.summary = "Gem for sync and async comunication via rabbit bunny."
|
12
|
-
spec.description = "Gem for sync and async comunication via rabbit bunny."
|
13
|
-
spec.homepage = "https://github.com/gedera/bug_bunny"
|
14
|
-
spec.required_ruby_version = ">= 2.6.0"
|
15
|
-
|
16
|
-
# spec.metadata["allowed_push_host"] = "TODO: Set to your gem server 'https://example.com'"
|
17
|
-
|
18
|
-
spec.metadata["homepage_uri"] = spec.homepage
|
19
|
-
spec.metadata["source_code_uri"] = "https://github.com/gedera/bug_bunny"
|
20
|
-
spec.metadata["changelog_uri"] = "https://github.com/gedera/bug_bunny/blob/main/CHANGELOG.md"
|
21
|
-
|
22
|
-
# Specify which files should be added to the gem when it is released.
|
23
|
-
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
24
|
-
spec.files = Dir.chdir(__dir__) do
|
25
|
-
`git ls-files -z`.split("\x0").reject do |f|
|
26
|
-
(f == __FILE__) || f.match(%r{\A(?:(?:bin|test|spec|features)/|\.(?:git|circleci)|appveyor)})
|
27
|
-
end
|
28
|
-
end
|
29
|
-
spec.bindir = "exe"
|
30
|
-
spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
|
31
|
-
spec.require_paths = ["lib"]
|
32
|
-
|
33
|
-
# Uncomment to register a new dependency of your gem
|
34
|
-
# spec.add_dependency "example-gem", "~> 1.0"
|
35
|
-
|
36
|
-
spec.add_dependency "bunny", "~> 2.20"
|
37
|
-
spec.add_development_dependency "rubocop"
|
38
|
-
|
39
|
-
# For more information and examples about making a new gem, check out our
|
40
|
-
# guide at: https://bundler.io/guides/creating_gem.html
|
41
|
-
end
|