message-driver 0.7.2 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.travis.yml +5 -19
- data/CHANGELOG.md +7 -0
- data/Gemfile +8 -23
- data/lib/message_driver/adapters/bunny_adapter.rb +1 -1
- data/lib/message_driver/version.rb +1 -1
- data/message-driver.gemspec +1 -1
- data/spec/integration/bunny/bunny_adapter_spec.rb +2 -2
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 1337b90514d41c7c6706f472dd0d4d809a9b9d2c87398718b5648d5e11cc0cca
|
4
|
+
data.tar.gz: 00c838ad1a5785b711c6253a69ecdf407c92b5aecd76b41cdce0618d48709bfc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0a022e82819601477f85a4fe69cfae307da7a276aac011a865c245a8a35d76947bf5822be2436185920db810ee65e36f38635b4a7c5e1738d55d2cda470f91f7
|
7
|
+
data.tar.gz: 8c26175b1b69e2e7e1fbfb5380105dc2c83ef07957517eb6ba344f49efe379c1615d4d5f2b2e1dc37750a799913a042e02a8c4d87f4af19b182c5985bb533420
|
data/.travis.yml
CHANGED
@@ -8,29 +8,15 @@ before_script:
|
|
8
8
|
- sudo rabbitmq-plugins enable rabbitmq_stomp
|
9
9
|
script: bundle exec rake ci
|
10
10
|
rvm:
|
11
|
+
- 2.5
|
12
|
+
- 2.4
|
11
13
|
- 2.3
|
12
14
|
- 2.2
|
13
|
-
- 2.0.0
|
14
|
-
- 1.9.3
|
15
|
-
- jruby-19mode
|
16
|
-
- rbx-2
|
17
15
|
env:
|
18
16
|
- ADAPTER=in_memory
|
19
|
-
- ADAPTER=bunny:
|
20
|
-
- ADAPTER=bunny:2.
|
21
|
-
- ADAPTER=bunny:2.
|
17
|
+
- ADAPTER=bunny:2.7.4
|
18
|
+
- ADAPTER=bunny:2.8.1
|
19
|
+
- ADAPTER=bunny:2.9.2
|
22
20
|
- ADAPTER=stomp:1.3.1
|
23
21
|
matrix:
|
24
22
|
fast_finish: true
|
25
|
-
allow_failures:
|
26
|
-
- rvm: rbx-2
|
27
|
-
- rvm: jruby-19mode
|
28
|
-
exclude:
|
29
|
-
- rvm: 1.9.3
|
30
|
-
env: ADAPTER=bunny:2.5.1
|
31
|
-
- rvm: jruby-19mode
|
32
|
-
env: ADAPTER=bunny:2.5.1
|
33
|
-
- rvm: 1.9.3
|
34
|
-
env: ADAPTER=bunny:2.6.1
|
35
|
-
- rvm: jruby-19mode
|
36
|
-
env: ADAPTER=bunny:2.6.1
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,12 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## 1.0.0 - 2018-05-07
|
4
|
+
|
5
|
+
We decided to go 1.0 just because it was time to be done with the 0.x since we have been using this in production since 2013.
|
6
|
+
|
7
|
+
* drop support for rubinius, old jruby and MRI < 2.2
|
8
|
+
* drop support for bunny < 2.7
|
9
|
+
|
3
10
|
## 0.7.2 - 2017-10-06
|
4
11
|
|
5
12
|
* Fix some additional edge cases related to #35, where an error could cause a message to be nil
|
data/Gemfile
CHANGED
@@ -3,26 +3,19 @@ source 'https://rubygems.org'
|
|
3
3
|
# Specify your gem's dependencies in message-driver.gemspec
|
4
4
|
gemspec
|
5
5
|
|
6
|
-
platform :rbx do
|
7
|
-
gem 'rubysl'
|
8
|
-
end
|
9
|
-
|
10
|
-
mri_2plus = [:mri_20, :mri_21, :mri_22, :mri_23]
|
11
|
-
ruby_2plus = [:ruby_20, :ruby_21, :ruby_22, :ruby_23]
|
12
|
-
|
13
6
|
group :tools do
|
14
|
-
gem 'guard'
|
15
|
-
gem 'guard-bundler'
|
16
|
-
gem 'guard-rspec'
|
17
|
-
gem 'guard-cucumber'
|
18
|
-
gem 'guard-rubocop'
|
7
|
+
gem 'guard'
|
8
|
+
gem 'guard-bundler'
|
9
|
+
gem 'guard-rspec'
|
10
|
+
gem 'guard-cucumber'
|
11
|
+
gem 'guard-rubocop'
|
19
12
|
gem 'pry'
|
20
|
-
gem 'pry-byebug'
|
21
|
-
gem 'pry-stack_explorer'
|
13
|
+
gem 'pry-byebug'
|
14
|
+
gem 'pry-stack_explorer'
|
22
15
|
group :darwin do
|
23
16
|
gem 'ruby_gntp'
|
24
17
|
gem 'rb-fsevent'
|
25
|
-
gem 'relish'
|
18
|
+
gem 'relish'
|
26
19
|
gem 'lunchy'
|
27
20
|
end
|
28
21
|
gem 'yard'
|
@@ -32,15 +25,7 @@ end
|
|
32
25
|
|
33
26
|
group :development do
|
34
27
|
gem 'thread_safe' # for the in_memory_adapter
|
35
|
-
|
36
|
-
# coveralls and it's dependencies need some management under ruby 1.9.3
|
37
28
|
gem 'coveralls', require: false
|
38
|
-
gem 'term-ansicolor', '~> 1.3.0' if RUBY_VERSION == '1.9.3'
|
39
|
-
platform :ruby_19 do
|
40
|
-
gem 'json', '< 2'
|
41
|
-
gem 'addressable', '< 2.5'
|
42
|
-
gem 'tins', '~> 1.6.0'
|
43
|
-
end
|
44
29
|
end
|
45
30
|
|
46
31
|
require File.expand_path('../test_lib/broker_config', __FILE__)
|
@@ -547,7 +547,7 @@ module MessageDriver
|
|
547
547
|
end
|
548
548
|
|
549
549
|
def validate_bunny_version
|
550
|
-
required = Gem::Requirement.create('>=
|
550
|
+
required = Gem::Requirement.create('>= 2.7.0')
|
551
551
|
current = Gem::Version.create(Bunny::VERSION)
|
552
552
|
unless required.satisfied_by? current
|
553
553
|
raise MessageDriver::Error, 'bunny 1.7.0 or later is required for the bunny adapter'
|
data/message-driver.gemspec
CHANGED
@@ -18,7 +18,7 @@ Gem::Specification.new do |gem|
|
|
18
18
|
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
19
19
|
gem.require_paths = %w(lib)
|
20
20
|
|
21
|
-
gem.required_ruby_version = '>=
|
21
|
+
gem.required_ruby_version = '>= 2.2'
|
22
22
|
|
23
23
|
gem.add_development_dependency 'rake'
|
24
24
|
gem.add_development_dependency 'rspec', '~> 3.5.0'
|
@@ -27,13 +27,13 @@ module MessageDriver
|
|
27
27
|
end.to_not raise_error
|
28
28
|
end
|
29
29
|
end
|
30
|
-
%w(0.8.0 0.9.0 0.9.8 0.10.7 1.0.3 1.1.2 1.2.1 1.2.2 1.3.0 1.4.1 1.6.2).each do |v|
|
30
|
+
%w(0.8.0 0.9.0 0.9.8 0.10.7 1.0.3 1.1.2 1.2.1 1.2.2 1.3.0 1.4.1 1.6.2 1.7.1 2.0.0 2.5.1 2.6.7).each do |v|
|
31
31
|
context "bunny version #{v}" do
|
32
32
|
let(:version) { v }
|
33
33
|
include_examples 'raises an error'
|
34
34
|
end
|
35
35
|
end
|
36
|
-
%w(
|
36
|
+
%w(2.7.4 2.8.1 2.9.2).each do |v|
|
37
37
|
context "bunny version #{v}" do
|
38
38
|
let(:version) { v }
|
39
39
|
include_examples "doesn't raise an error"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: message-driver
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matt Campbell
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-05-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -200,7 +200,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
200
200
|
requirements:
|
201
201
|
- - ">="
|
202
202
|
- !ruby/object:Gem::Version
|
203
|
-
version:
|
203
|
+
version: '2.2'
|
204
204
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
205
205
|
requirements:
|
206
206
|
- - ">="
|
@@ -208,7 +208,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
208
208
|
version: '0'
|
209
209
|
requirements: []
|
210
210
|
rubyforge_project:
|
211
|
-
rubygems_version: 2.6
|
211
|
+
rubygems_version: 2.7.6
|
212
212
|
signing_key:
|
213
213
|
specification_version: 4
|
214
214
|
summary: Easy message queues for ruby
|