pundit-matchers 3.1.0 → 3.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/pundit/matchers/base_matcher.rb +2 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 141abfa7ebc01c34b65ed5231dd3b66d7453d49a0797f2d8f8cf3c79058f4e4c
|
4
|
+
data.tar.gz: bd9508d4a9f95d60e4239ab0f96a9f210ca8137c907f846ecefcc35a062fcfae
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7f9c778c08f01c7ffe3060480d55570d18c37358db1c87016bf66608028690764b8a4ac53419ef162fcce71b345dd05c8a617aa1f0598cbeb6d554033b0c1c0a
|
7
|
+
data.tar.gz: f68b63d3155d1fd806c3dd061e5e330fcf656a14bf51ada7d25d856e161b5324822913114328e01d5bd76c99d2198e69a415fdfb21137793bab6ec5815ec741a
|
@@ -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.
|
4
|
+
version: 3.1.1
|
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-
|
11
|
+
date: 2023-06-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec-core
|