rspec-sidekiq 3.0.2 → 3.0.3

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
  SHA1:
3
- metadata.gz: e6649639a5e74b4ef9f3693f45a01fb739e335c9
4
- data.tar.gz: 2dc425b4dff7f7426a8273827f99649c02dffc5d
3
+ metadata.gz: dd244416f99c35639675efb4b3473dd9741d512c
4
+ data.tar.gz: 6fa5eb3e029086fe4d316a6a9896b7acddb834de
5
5
  SHA512:
6
- metadata.gz: 8d5049aa45f152d9a0800db686c9a5a40cc01aec66a9e60c97d2ce9cde572aa62b45270f767b4e7a5834067f01890ae428149b1ae4e66c13e456842d2c9c9b53
7
- data.tar.gz: 4128b29a64d24c20532f35f9944c4c873f681e94b84c2a0b958a2ece53adf0ce28e7164a63f6738c7ac0a6bf3c52898ef0fffaaeb4d5106e566d2b87a4c8b9fa
6
+ metadata.gz: fe360471b5c79f74e4af320881d97d0d26ec0cf837a8309e8b898221d71c63bce2d2a750d32b9427dfb931dc4a83837e4c2e3e6b1ddd6a5ed17050205f7e4aa3
7
+ data.tar.gz: 1d0913303fbdd4c72aea0248e815d4842a5c8fe9d0a338c6cad7cf0dbd59fc7145899718d51185444c72023772605e30099326c8481345927f083c9db91df7e6
data/CHANGES.md CHANGED
@@ -1,3 +1,13 @@
1
+ 3.0.3
2
+ ---
3
+ * Re-splat arguments for the have_enqueued_job alias (aprescott #136)
4
+
5
+ 3.0.2
6
+ ---
7
+ * README updates (nilsding #110, packrat386 #122)
8
+ * Ruby 2.4 support (packrat386 #119)
9
+ * Fixes for Sidekiq 5 deprecations (packrat #130 with help from trev)
10
+
1
11
  3.0.1
2
12
  ---
3
13
  * Remove implicit runtime dependency on ActiveSupport [aprescott#109]
@@ -7,7 +7,7 @@ module RSpec
7
7
 
8
8
  def have_enqueued_job(*expected_arguments)
9
9
  warn "[DEPRECATION] `have_enqueued_job` is deprecated. Please use `have_enqueued_sidekiq_job` instead."
10
- have_enqueued_sidekiq_job(expected_arguments)
10
+ have_enqueued_sidekiq_job(*expected_arguments)
11
11
  end
12
12
 
13
13
  class JobOptionParser
@@ -1,5 +1,5 @@
1
1
  module RSpec
2
2
  module Sidekiq
3
- VERSION = '3.0.2'
3
+ VERSION = '3.0.3'
4
4
  end
5
5
  end
@@ -97,6 +97,10 @@ RSpec.describe RSpec::Sidekiq::Matchers::HaveEnqueuedJob do
97
97
  it 'provides deprecation warning' do
98
98
  expect { have_enqueued_job }.to output(/[DEPRECATION]/).to_stderr
99
99
  end
100
+
101
+ it 'matches the same way have_enqueued_sidekiq_job does' do
102
+ expect(worker).to have_enqueued_job *worker_args
103
+ end
100
104
  end
101
105
 
102
106
  describe '#description' do
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspec-sidekiq
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.2
4
+ version: 3.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Phil Ostler
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-06-22 00:00:00.000000000 Z
11
+ date: 2017-06-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec-core