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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 981e67af84bbc4801922a9c5eddf06bded868d0d
4
- data.tar.gz: 73e5d034754df98e6ab631ebc9ad5830fcb03f8d
2
+ SHA256:
3
+ metadata.gz: 1337b90514d41c7c6706f472dd0d4d809a9b9d2c87398718b5648d5e11cc0cca
4
+ data.tar.gz: 00c838ad1a5785b711c6253a69ecdf407c92b5aecd76b41cdce0618d48709bfc
5
5
  SHA512:
6
- metadata.gz: 2f150c9874ad62634afc049c51e5aa9ca1243af6acf9c15397c7666b53e711f581e28a716e615f9e80bca8be19602ac680691cd1cf56367b4b257daf556c6452
7
- data.tar.gz: bd4edb36b4c9bf14b40586baf26ae469ec0945266463aba9302a925a1d45de0c3a8e511c2bcac3c39de2d82151acce19ba7b4cea8a615423cb99845841b67381
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:1.7.0
20
- - ADAPTER=bunny:2.5.1
21
- - ADAPTER=bunny:2.6.1
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', platform: mri_2plus
15
- gem 'guard-bundler', platform: mri_2plus
16
- gem 'guard-rspec', platform: mri_2plus
17
- gem 'guard-cucumber', platform: mri_2plus
18
- gem 'guard-rubocop', platform: mri_2plus
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', platform: mri_2plus
21
- gem 'pry-stack_explorer', platform: ruby_2plus
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', platform: mri_2plus
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('>= 1.7.0')
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'
@@ -1,4 +1,4 @@
1
1
  module MessageDriver
2
2
  # @return [String] version of the library
3
- VERSION = '0.7.2'.freeze
3
+ VERSION = '1.0.0'.freeze
4
4
  end
@@ -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 = '>= 1.9.3'
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(1.7.0 1.7.1 2.0.1 2.1.0).each do |v|
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.7.2
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: 2017-10-06 00:00:00.000000000 Z
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: 1.9.3
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.12
211
+ rubygems_version: 2.7.6
212
212
  signing_key:
213
213
  specification_version: 4
214
214
  summary: Easy message queues for ruby