action_policy 0.6.4 → 0.6.5

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: '095ceaf3dffeb28e23d1b89a20108ad23e6ddfb48e3fc317cf481151cdf82d66'
4
- data.tar.gz: a1cac52b3641e0e3e9709a42a409324f348b13a037342cc004a4b51b99bc15ab
3
+ metadata.gz: df1a880286222813e707251f1bc1a71960beba873add57ac2e02ee0bb2ed091b
4
+ data.tar.gz: 812e8ac32298907ff10377d6bfa5622283c4ce7061cc41eb7f08049f2b3c7f41
5
5
  SHA512:
6
- metadata.gz: 3a4b4c4b40036ca59122dfa6c3623b542525b7e663ddfaacec4fe93fdadb0a85fc2c12d73f6a58c89cba8d0e647bf5ff8dbf094f6bc181db93a44a004fd07284
7
- data.tar.gz: 28bbda81d9a149ad339558cc7f6b6d175f8385e3be2f0c8118df5491b8152e271382aed6d60235f3de73d73b92406d6442dcf25b24296e73af74d29054890af4
6
+ metadata.gz: 85b1471722b869ca0a486efd293d28edc5e5852f4c98c0c9ba1413d83d6c088933032c61d4f15562ed3321593e06a8d7251bc4481cc9476cd11c01ccda8c9c64
7
+ data.tar.gz: c8fa5920657c5d7cc1101dd79efd63cc8c80095464de912c768b78b0a2676b247bf715e05f0484d28ac6ee6b8158da1b1cb9423eaca251f2fa17119f79a0088a
data/CHANGELOG.md CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  ## master
4
4
 
5
+ ## 0.6.5 (2023-02-16)
6
+
7
+ - Fix generated policies' outdated Ruby API (to work with Ruby 3.2).
8
+
5
9
  ## 0.6.4 (2022-01-17)
6
10
 
7
11
  - Fix loading of Rails scope matchers. ([@palkan][])
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ActionPolicy
4
- VERSION = "0.6.4"
4
+ VERSION = "0.6.5"
5
5
  end
@@ -1,4 +1,4 @@
1
- require "<%= File.exists?('spec/rails_helper.rb') ? 'rails_helper' : 'spec_helper' %>"
1
+ require "<%= File.exist?('spec/rails_helper.rb') ? 'rails_helper' : 'spec_helper' %>"
2
2
 
3
3
  RSpec.describe <%= class_name %>Policy, type: :policy do
4
4
  # See https://actionpolicy.evilmartians.io/#/testing?id=rspec-dsl
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: action_policy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.4
4
+ version: 0.6.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vladimir Dementyev
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-01-18 00:00:00.000000000 Z
11
+ date: 2023-02-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ruby-next-core
@@ -241,7 +241,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
241
241
  - !ruby/object:Gem::Version
242
242
  version: '0'
243
243
  requirements: []
244
- rubygems_version: 3.3.11
244
+ rubygems_version: 3.4.6
245
245
  signing_key:
246
246
  specification_version: 4
247
247
  summary: Authorization framework for Ruby/Rails application