action_policy-graphql 0.5.4 → 0.6.0

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: cbcbb5943f46f12ea7f7941986a35c6bccb7cdbb4dabc412bad172cad69fc2fa
4
- data.tar.gz: 3080d536b2fd332526ef247097374eac0254a1a7ff15c9fea1ae90d622a2e2d4
3
+ metadata.gz: a7642906ab346f7d8dbc1df8a74fb9c3357fc385920fc02cc2c0fcbf49b1ba94
4
+ data.tar.gz: 899162aa41e240bf9f5e09203faa4a53f4103a45a38cceba164b95e28cfb8f87
5
5
  SHA512:
6
- metadata.gz: 1cbb934cd6b7cd5699149281484b3642af7be899a362712614018a146bc951db298a8c8d5ea278d3312d92f614ca4c10d1b376d0d351ea24f654a9b465d59a03
7
- data.tar.gz: eafccbc78d510fe23397fb7f166bdbf5b51275b22ff75b40f0c70d9f5910d050b16b0382ebab0ec3f16db22ebc4ce4d171defc336e38710101856ed736a33e88
6
+ metadata.gz: 167d81b9844a337b023df20ccdad4a26272f04438449ada1b881e2bf162f3060fff04c80d512c75302b5fcc16a1ebbb8644eccac79d8e2119dde34b01a40dd64
7
+ data.tar.gz: b6c3ec027f5b686454a8d3fd7a20c546381c20b2d8ef59bc8a01f484ad0a42c481baf6db565b87c5596730c730f2cb8541547bf381a70584c9003c1a43a2d476
data/CHANGELOG.md CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  ## master (unreleased)
4
4
 
5
+ ## 0.6.0 (2024-07-08)
6
+
7
+ - Fix compatibility with Action Policy 0.7.0. ([@palkan][])
8
+
5
9
  ## 0.5.4 (2023-12-22)
6
10
 
7
11
  - Do not mutate passed field options. ([@palkan][])
@@ -113,7 +113,7 @@ module ActionPolicy
113
113
  private
114
114
 
115
115
  def underscored_field_name
116
- "#{field.instance_variable_get(:@underscored_name)}?".to_sym
116
+ :"#{field.instance_variable_get(:@underscored_name)}?"
117
117
  end
118
118
  end
119
119
 
@@ -17,7 +17,7 @@ module ActionPolicy
17
17
  base.extend ActionPolicy::Behaviours::Namespaced
18
18
 
19
19
  # Authorization context could't be defined for the class
20
- def base.authorization_context
20
+ def base.build_authorization_context
21
21
  {}
22
22
  end
23
23
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  module ActionPolicy
4
4
  module GraphQL
5
- VERSION = "0.5.4"
5
+ VERSION = "0.6.0"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,43 +1,43 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: action_policy-graphql
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.4
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vladimir Dementyev
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-12-22 00:00:00.000000000 Z
11
+ date: 2024-07-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: action_policy
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ">="
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 0.5.0
19
+ version: '0.7'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ">="
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 0.5.0
26
+ version: '0.7'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: ruby-next-core
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ">="
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 0.10.0
33
+ version: '1.0'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ">="
38
+ - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: 0.10.0
40
+ version: '1.0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: graphql
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -135,7 +135,7 @@ metadata:
135
135
  documentation_uri: https://actionpolicy.evilmartians.io/#/graphql
136
136
  homepage_uri: https://github.com/palkan/action_policy-graphql
137
137
  source_code_uri: https://github.com/palkan/action_policy-graphql
138
- post_install_message:
138
+ post_install_message:
139
139
  rdoc_options: []
140
140
  require_paths:
141
141
  - lib
@@ -150,8 +150,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
150
150
  - !ruby/object:Gem::Version
151
151
  version: '0'
152
152
  requirements: []
153
- rubygems_version: 3.4.20
154
- signing_key:
153
+ rubygems_version: 3.4.19
154
+ signing_key:
155
155
  specification_version: 4
156
156
  summary: Action Policy integration for GraphQL-Ruby
157
157
  test_files: []