pundit_assertions 0.2.0 → 0.2.1
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 +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/pundit_assertions/deprecation.rb +1 -1
- data/lib/pundit_assertions/test_helpers.rb +1 -0
- data/lib/pundit_assertions/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6561e3562c58620263a263edcdfb21b4dce057c09644cbdc1c97caaf3e470300
|
|
4
|
+
data.tar.gz: 285d5ce2043f5b758902a80954bfe9a490288a2cdd1bd9d79c3ba31afa7059da
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6c14b880b1d00d26eab0bbd62ea4297bb15f13f706c3801ba696971cd645b784dcc2e880dcf5b995e8e1c417ab4f1294232427029294f7c1e330d2b3db6dd05e
|
|
7
|
+
data.tar.gz: bd65653928dca71280d56e1b42b3fda0d7352fdbf3144b6747c70c016545c327f0d51b749ce42fb5cb4047b712dfe83f6ea5c618e1b69b1dbf85533aec960247
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
## [Unreleased]
|
|
2
2
|
|
|
3
|
+
## [0.2.1] - 2026-09-15
|
|
4
|
+
* Fixed usage of `ActiveSupport::Deprecation`
|
|
5
|
+
* Fixed a missing alias method `assert_scope_not_includes`
|
|
6
|
+
|
|
3
7
|
## [0.2.0] - 2026-09-07
|
|
4
8
|
### Breaking changes
|
|
5
9
|
* `assert_permitted_attributes` has been renamed to `assert_has_permitted_attributes` for clarity. The old method name is deprecated and will be removed in a next MINOR release.
|
|
@@ -10,7 +10,7 @@ module PunditAssertions
|
|
|
10
10
|
|
|
11
11
|
# If we are in rails, we deprecate using rails' builtins, otherwise we use ruby's Warning
|
|
12
12
|
if defined?(ActiveSupport::Deprecation)
|
|
13
|
-
ActiveSupport::Deprecation.warn(message)
|
|
13
|
+
ActiveSupport::Deprecation.new('0.3.0', 'PunditAssertions').warn(message)
|
|
14
14
|
else
|
|
15
15
|
Warning.warn message, category: :deprecated
|
|
16
16
|
end
|