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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 400616c76c27659e8ce5f5d431bcae993719a79319038d8a767905246925615d
4
- data.tar.gz: 0b77aa2e3dabef7d9e1a2e4be48c2942ef6691d22c03e53c4bd86e3c013582b6
3
+ metadata.gz: f444188991d0e7df69c75518289218aac1a5b52a5950b2c57d787d49b5c22ecb
4
+ data.tar.gz: f197587a78a906b9d455dfbde2913951659c5e05744d9e73dd727498d0b918cd
5
5
  SHA512:
6
- metadata.gz: ca6ba9fd7c2307b952f0377672fd5d94b2de546531c349fc1e16c168e04a0724e3c57e0655703d4f1ad8a16a759363f0136028f759412bb95351074a4ec67437
7
- data.tar.gz: 305bc3af28ae2f177ea684cd4808beb258d726f5508b2328dc9e1a96b7ab562db14f647c86edee1f4f0933763ee186c97233cac2351b28542787a4668294fdb3
6
+ metadata.gz: da68385fdad356c878d442efd62a9d8a5cca6a7111882cd93bbe065858817b2be5ddeb619340e7a62eaa28dbbbd27df0708a942e6ff40dba037044f88d8418f8
7
+ data.tar.gz: 11f7f194c9c9fe68001cde4ceedbf1d19c3f7c6fc07316b5b738ba9e86448899835b972e5040c5905b7c2487623873050c243fb01b6c5f196234037bf3c862eb
@@ -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
@@ -1,6 +1,5 @@
1
- source "http://rubygems.org"
1
+ source "https://rubygems.org"
2
2
 
3
3
  gemspec
4
4
 
5
5
  gem "rake"
6
- # gem "queue-bus", path: "../queue-bus"
@@ -16,4 +16,9 @@ module ResqueBus
16
16
  extend ::ResqueBus::Deprecated
17
17
  end
18
18
 
19
- QueueBus.adapter = QueueBus::Adapters::Resque.new
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
@@ -1,3 +1,3 @@
1
1
  module ResqueBus
2
- VERSION = "0.6.1"
2
+ VERSION = "0.7.0"
3
3
  end
@@ -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.5.9', '< 1'])
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.6.1
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-10 00:00:00.000000000 Z
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.5.9
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.5.9
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: resque-bus
193
+ rubyforge_project:
193
194
  rubygems_version: 2.7.6
194
195
  signing_key:
195
196
  specification_version: 4