pundit 2.5.1 → 2.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
  SHA256:
3
- metadata.gz: 5c6f7c834aabbea0d1c74b4101d67a936f0c062db2c5a67dcb45c824d0a1f80e
4
- data.tar.gz: 651d652baa3a1f511e794b80f4e514b5e2bb74f75abeaa184dff48dae63e27bf
3
+ metadata.gz: eb37a66715ec9d8c397d11d11429d137673a43317335cd8e255a0b11f92d98ab
4
+ data.tar.gz: 82c44fa243f3dcc18f006dbbb87bb48754dfcae8baf1876a7a8266567dfe8ebe
5
5
  SHA512:
6
- metadata.gz: e4081cc21e4827985808334e5753a6b6f812743308cc251f8e4923b0b3a73c41b64bb6da64da57919ac62672537e3d464b187f0d28811a0aaab9c17ea9354ec5
7
- data.tar.gz: a7868288d12d4f63cc95b5d18f54bfdafbcf586c7f415a713713f1f520140c2f7c353572cdab770baf16f5525ec4fc369679fd5e640233360b743f34d66580d9
6
+ metadata.gz: e650dddbc49cc94209dfdc22b12b5fedec499a07e0266c54c5bf8e93cc6573cdcd7cde045cc10e9e7343cb4de788c1459517b3b89333c2222700e821b624dc54
7
+ data.tar.gz: 443e7fefff8e69fd85aca350f174fa996f4c6fa7d524f17cd60cabec5ec09562bfccc25b25402d811934111b615542d9f470f899cd239cad7508d01471db16b6
data/CHANGELOG.md CHANGED
@@ -2,6 +2,11 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
+ ## 2.5.2 (2025-09-24)
6
+
7
+ ### Fixed
8
+ - Added `config/rubocop-rspec.yml` back from accidentally being excluded [#866](https://github.com/varvet/pundit/issues/866)
9
+
5
10
  ## 2.5.1 (2025-09-12)
6
11
 
7
12
  ### Fixed
data/CONTRIBUTING.md ADDED
@@ -0,0 +1,31 @@
1
+ ## Security issues
2
+
3
+ If you have found a security related issue, please do not file an issue on GitHub or send a PR addressing the issue. Refer to [SECURITY.md](./SECURITY.md) for instructions.
4
+
5
+ ## Reporting issues
6
+
7
+ Please try to answer the following questions in your bug report:
8
+
9
+ - What did you do?
10
+ - What did you expect to happen?
11
+ - What happened instead?
12
+
13
+ Make sure to include as much relevant information as possible. Ruby version,
14
+ Pundit version, OS version and any stack traces you have are very valuable.
15
+
16
+ ## Pull Requests
17
+
18
+ - **Add tests!** Your patch won't be accepted if it doesn't have tests.
19
+
20
+ - **Document any change in behaviour**. Make sure the README and any other
21
+ relevant documentation are kept up-to-date.
22
+
23
+ - **Create topic branches**. Please don't ask us to pull from your main branch.
24
+
25
+ - **One pull request per feature**. If you want to do more than one thing, send
26
+ multiple pull requests.
27
+
28
+ - **Send coherent history**. Make sure each individual commit in your pull
29
+ request is meaningful. If you had to make multiple intermediate commits while
30
+ developing, please squash them before sending them to us.
31
+ - **Update the CHANGELOG.** Don't forget to add your new changes to the CHANGELOG.
@@ -0,0 +1,5 @@
1
+ RSpec:
2
+ Language:
3
+ ExampleGroups:
4
+ Regular:
5
+ - permissions
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Pundit
4
4
  # The current version of Pundit.
5
- VERSION = "2.5.1"
5
+ VERSION = "2.5.2"
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pundit
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.5.1
4
+ version: 2.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonas Nicklas
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2025-09-12 00:00:00.000000000 Z
12
+ date: 2025-09-24 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport
@@ -34,9 +34,11 @@ extensions: []
34
34
  extra_rdoc_files: []
35
35
  files:
36
36
  - CHANGELOG.md
37
+ - CONTRIBUTING.md
37
38
  - LICENSE.txt
38
39
  - README.md
39
40
  - SECURITY.md
41
+ - config/rubocop-rspec.yml
40
42
  - lib/generators/pundit/install/USAGE
41
43
  - lib/generators/pundit/install/install_generator.rb
42
44
  - lib/generators/pundit/install/templates/application_policy.rb.tt