resque-bus 0.6.1 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +15 -0
- data/Gemfile +1 -2
- data/lib/resque-bus.rb +6 -1
- data/lib/resque_bus/version.rb +1 -1
- data/resque-bus.gemspec +1 -3
- metadata +6 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f444188991d0e7df69c75518289218aac1a5b52a5950b2c57d787d49b5c22ecb
|
4
|
+
data.tar.gz: f197587a78a906b9d455dfbde2913951659c5e05744d9e73dd727498d0b918cd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: da68385fdad356c878d442efd62a9d8a5cca6a7111882cd93bbe065858817b2be5ddeb619340e7a62eaa28dbbbd27df0708a942e6ff40dba037044f88d8418f8
|
7
|
+
data.tar.gz: 11f7f194c9c9fe68001cde4ceedbf1d19c3f7c6fc07316b5b738ba9e86448899835b972e5040c5905b7c2487623873050c243fb01b6c5f196234037bf3c862eb
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
# Changelog
|
2
|
+
All notable changes to this project will be documented in this file.
|
3
|
+
|
4
|
+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
5
|
+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
6
|
+
|
7
|
+
## [Unreleased]
|
8
|
+
|
9
|
+
## [0.7.0] 2019-07-29
|
10
|
+
|
11
|
+
### Added
|
12
|
+
- Adds `QueueBus.has_adapter?` to check whether the adapter is set before setting it to resque. This will allow multiple adapters to be loaded without error.
|
13
|
+
|
14
|
+
### Changed
|
15
|
+
- Bump version dependency of queue-bus to at least 0.7
|
data/Gemfile
CHANGED
data/lib/resque-bus.rb
CHANGED
@@ -16,4 +16,9 @@ module ResqueBus
|
|
16
16
|
extend ::ResqueBus::Deprecated
|
17
17
|
end
|
18
18
|
|
19
|
-
|
19
|
+
if QueueBus.has_adapter?
|
20
|
+
warn '[ResqueBus] Not setting adapter on queue-bus because ' \
|
21
|
+
"#{QueueBus.adapter.class.name} is already the adapter"
|
22
|
+
else
|
23
|
+
QueueBus.adapter = QueueBus::Adapters::Resque.new
|
24
|
+
end
|
data/lib/resque_bus/version.rb
CHANGED
data/resque-bus.gemspec
CHANGED
@@ -11,14 +11,12 @@ Gem::Specification.new do |s|
|
|
11
11
|
s.summary = %q{A simple event bus on top of Resque}
|
12
12
|
s.description = %q{A simple event bus on top of Resque. Publish and subscribe to events as they occur through a queue.}
|
13
13
|
|
14
|
-
s.rubyforge_project = "resque-bus"
|
15
|
-
|
16
14
|
s.files = `git ls-files`.split("\n")
|
17
15
|
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
18
16
|
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
19
17
|
s.require_paths = ["lib"]
|
20
18
|
|
21
|
-
s.add_dependency('queue-bus', ['>= 0.
|
19
|
+
s.add_dependency('queue-bus', ['>= 0.7', '< 1'])
|
22
20
|
s.add_dependency('resque', ['>= 1.10.0', '< 2.0'])
|
23
21
|
s.add_dependency('resque-scheduler', '>= 2.0.1')
|
24
22
|
s.add_dependency('resque-retry')
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: resque-bus
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brian Leonard
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-07-
|
11
|
+
date: 2019-07-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: queue-bus
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: '0.7'
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: '1'
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
29
|
+
version: '0.7'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: '1'
|
@@ -132,6 +132,7 @@ files:
|
|
132
132
|
- ".rbenv-version"
|
133
133
|
- ".rspec"
|
134
134
|
- ".rvmrc"
|
135
|
+
- CHANGELOG.md
|
135
136
|
- Gemfile
|
136
137
|
- MIT-LICENSE
|
137
138
|
- README.mdown
|
@@ -189,7 +190,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
189
190
|
- !ruby/object:Gem::Version
|
190
191
|
version: '0'
|
191
192
|
requirements: []
|
192
|
-
rubyforge_project:
|
193
|
+
rubyforge_project:
|
193
194
|
rubygems_version: 2.7.6
|
194
195
|
signing_key:
|
195
196
|
specification_version: 4
|