rspec-rails 3.5.1 → 3.5.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 08d247c833e03f16093fc7df4a54d3b90dc24a83
4
- data.tar.gz: 97ab0f3ab495551da17ee1e702ffd07340edb3c4
3
+ metadata.gz: 7e1127f5db4a0e05afa4c4fa39980e1404e4df26
4
+ data.tar.gz: 1238a4e7c4f35d4faa085f4a25289fec7a01c4ca
5
5
  SHA512:
6
- metadata.gz: 94ca450e83a50b7424f143ce832c8a9468602e2595d1e6ba77739585b544a0c5695fa289f10d057eacbefc768c6dd6ca3d2bccc9bf96b74ffd1855d323301a43
7
- data.tar.gz: 9cfb87962a6a639b8d4fd20b849d65420975548e8475cea10b12a51c263d3022808ce9d0330dd28ab4ee2a90f7954ad8d5c2cfea5af51ab87075ff07cefa8669
6
+ metadata.gz: 3eae1414a10448323e7152181f782ae51994c1050ddc85c74b3a43d5354d576acfd36062f8c6279afc55bfb038dd1000fa2a8aa535912ae69e3c87ba53141d76
7
+ data.tar.gz: eea37f6f178da5f22c322bc74cb907d84088be22bd54d3beb9a091907e89d144de653d7afef0eaecb0d2b6fb87a69f7c140b338802251792bfc3eecadc1d8686
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -1,7 +1,17 @@
1
+ ### Development
2
+ [Full Changelog](http://github.com/rspec/rspec-rails/compare/v3.5.1...v3.5.2)
3
+
4
+ Bug Fixes:
5
+
6
+ * Stop unnecessarily loading `rspec/core` from `rspec/rails` to avoid
7
+ IRB context warning. (Myron Marston, #1678)
8
+ * Deserialize arguments within ActiveJob matchers correctly.
9
+ (Wojciech Wnętrzak, #1684)
10
+
1
11
  ### 3.5.1 / 2016-07-08
2
12
  [Full Changelog](http://github.com/rspec/rspec-rails/compare/v3.5.0...v3.5.1)
3
13
 
4
- Bugfixes:
14
+ Bug Fixes:
5
15
 
6
16
  * Only attempt to load `ActionDispatch::IntegrationTest::Behavior` on Rails 5,
7
17
  and above; Prevents possible `TypeError` when an existing `Behaviour` class
@@ -1,5 +1,3 @@
1
- # Explicitly require rspec-core for weird spring issue, see #1558
2
- require 'rspec/core'
3
1
  require 'rspec/rails/feature_check'
4
2
 
5
3
  # Namespace for all core RSpec projects.
@@ -91,7 +91,8 @@ module RSpec
91
91
  def check(jobs)
92
92
  @matching_jobs_count = jobs.count do |job|
93
93
  if serialized_attributes.all? { |key, value| value == job[key] }
94
- @block.call(*job[:args])
94
+ args = ::ActiveJob::Arguments.deserialize(job[:args])
95
+ @block.call(*args)
95
96
  true
96
97
  else
97
98
  false
@@ -3,7 +3,7 @@ module RSpec
3
3
  # Version information for RSpec Rails.
4
4
  module Version
5
5
  # Current version of RSpec Rails, in semantic versioning format.
6
- STRING = '3.5.1'
6
+ STRING = '3.5.2'
7
7
  end
8
8
  end
9
9
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspec-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.5.1
4
+ version: 3.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Chelimsky
@@ -44,7 +44,7 @@ cert_chain:
44
44
  ZsVDj6a7lH3cNqtWXZxrb2wO38qV5AkYj8SQK7Hj3/Yui9myUX3crr+PdetazSqQ
45
45
  F3MdtaDehhjC
46
46
  -----END CERTIFICATE-----
47
- date: 2016-07-07 00:00:00.000000000 Z
47
+ date: 2016-08-25 00:00:00.000000000 Z
48
48
  dependencies:
49
49
  - !ruby/object:Gem::Dependency
50
50
  name: activesupport
metadata.gz.sig CHANGED
Binary file