pundit-matchers 3.1.0 → 3.1.2

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: 379030415885d5cd2557f7540639e6c835f53cfa5a88895fd3e5f7cbbdf1b88f
4
- data.tar.gz: 5a5e5f7586d31f4328e3e0b5bf722d3465a681ef77340a90d44b6517f04eb700
3
+ metadata.gz: 0ce1e0e0fa90468774d5a482fd4d715af3e40b6e4a4fc6360f19c009d21d04a8
4
+ data.tar.gz: 463cb245dfd0a68f5c106e92248ff320fb7ef95d826cdf1a0111b3bddd0ba8bd
5
5
  SHA512:
6
- metadata.gz: 5c513efb4f063cd3bd15d43c0a68d001bb4ca4ef806861b27cc0de39f7102d6aab8be0ee2b64213b83f8991d38d9e3f62ae6f7b0c03f0ae87f2f1f71fba87b0c
7
- data.tar.gz: a32970e872d608219955154cdd43812b36a4d0d37363e09d0e17e341f297c23afb0e947756711b1df3d1c0aad3bcc48a43935663072b87656f196bfdb049afab
6
+ metadata.gz: 7ebb5b5df0c13cb1bc0fa8a150c0f6a34cae3719bebd9ff11bdec03f30304678e1101e393c7e7b3a47a3efa83b0169732e96efe929c8c23d79682dd537f72c8d
7
+ data.tar.gz: 25026769eeb8f12294babbbecd5efcff201d7a648b843d4b71b8a49d8da19b88c18f7cc0298e10e95f9dd0e36fc1209824a650aa338904704dcd4bcb121b24a7
@@ -6,6 +6,8 @@ module Pundit
6
6
  module Matchers
7
7
  # This is the base class for all matchers in the Pundit Matchers library.
8
8
  class BaseMatcher
9
+ include ::RSpec::Matchers::Composable
10
+
9
11
  # Error message when an ambiguous negated matcher is used.
10
12
  AMBIGUOUS_NEGATED_MATCHER_ERROR = <<~MSG
11
13
  `expect().not_to %<name>s` is not supported since it creates ambiguity.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pundit-matchers
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.0
4
+ version: 3.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Alley
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-06-19 00:00:00.000000000 Z
11
+ date: 2023-06-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec-core