ii_policy 2.2.0 → 2.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/ci.yml +8 -2
- data/CHANGELOG.md +4 -0
- data/gemfiles/rails50.gemfile +1 -0
- data/gemfiles/rails51.gemfile +1 -0
- data/gemfiles/rails52.gemfile +1 -0
- data/lib/ii_policy/log_subscriber.rb +2 -2
- data/lib/ii_policy/version.rb +1 -1
- 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: b545a1acc946e10062dce7682885dc634f9e5df746a9bdd5c84872d492fa644f
|
4
|
+
data.tar.gz: 9e91758a75f8af1ccc8c92420b881ea3c3a73e7f8c24fe8d37457b8df238442d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4ed442f39e486d0c7b847c3c4b9ac648904a8a35374571f9e6e3be64cc7b8575d654dc1fdbd2e20e67542756c4124d6362a01399a328f3caad260045046c7eb0
|
7
|
+
data.tar.gz: 624bb44796bf1cbcb1ffa74f54827c27fefed6ca44dc246d96a08afd83fa061e3d4d6949b4176002d0ddf1e5554ac45907e6742bb1f1e04f2611a1a4ce1f163b
|
data/.github/workflows/ci.yml
CHANGED
@@ -8,7 +8,7 @@ jobs:
|
|
8
8
|
strategy:
|
9
9
|
fail-fast: false
|
10
10
|
matrix:
|
11
|
-
ruby: [2.3, 2.4, 2.5, 2.6, 2.7, '3.0', 3.1]
|
11
|
+
ruby: [2.3, 2.4, 2.5, 2.6, 2.7, '3.0', 3.1, 3.2]
|
12
12
|
gemfile: ['rails50', 'rails51', 'rails52', 'rails60', 'rails61', 'rails70']
|
13
13
|
exclude:
|
14
14
|
- ruby: 2.3
|
@@ -39,6 +39,12 @@ jobs:
|
|
39
39
|
gemfile: rails51
|
40
40
|
- ruby: 3.1
|
41
41
|
gemfile: rails52
|
42
|
+
- ruby: 3.2
|
43
|
+
gemfile: rails50
|
44
|
+
- ruby: 3.2
|
45
|
+
gemfile: rails51
|
46
|
+
- ruby: 3.2
|
47
|
+
gemfile: rails52
|
42
48
|
|
43
49
|
name: ruby ${{ matrix.ruby }}, ${{ matrix.gemfile }}
|
44
50
|
|
@@ -46,7 +52,7 @@ jobs:
|
|
46
52
|
BUNDLE_GEMFILE: gemfiles/${{ matrix.gemfile }}.gemfile
|
47
53
|
|
48
54
|
steps:
|
49
|
-
- uses: actions/checkout@
|
55
|
+
- uses: actions/checkout@v3
|
50
56
|
- uses: ruby/setup-ruby@v1
|
51
57
|
with:
|
52
58
|
ruby-version: ${{ matrix.ruby }}
|
data/CHANGELOG.md
CHANGED
data/gemfiles/rails50.gemfile
CHANGED
data/gemfiles/rails51.gemfile
CHANGED
data/gemfiles/rails52.gemfile
CHANGED
@@ -6,7 +6,7 @@ module IIPolicy
|
|
6
6
|
debug do
|
7
7
|
policy = event.payload[:policy]
|
8
8
|
action = event.payload[:action]
|
9
|
-
"Calling #{policy.class}##{action} with #{policy.context}"
|
9
|
+
" Calling #{policy.class}##{action} with #{policy.context}"
|
10
10
|
end
|
11
11
|
end
|
12
12
|
|
@@ -14,7 +14,7 @@ module IIPolicy
|
|
14
14
|
debug do
|
15
15
|
policy = event.payload[:policy]
|
16
16
|
action = event.payload[:action]
|
17
|
-
"Called #{policy.class}##{action} and return #{policy._result} (#{additional_log(event)})"
|
17
|
+
" Called #{policy.class}##{action} and return #{policy._result} (#{additional_log(event)})"
|
18
18
|
end
|
19
19
|
end
|
20
20
|
|
data/lib/ii_policy/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ii_policy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.2.
|
4
|
+
version: 2.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yoshikazu Kaneta
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-07-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|