ii_policy 2.2.0 → 2.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c7b1c0f55a4109c53a364e8350cfd853609f69b4748779b5eecf15ea79d63e98
4
- data.tar.gz: dd71c867fba51c0b26aff0cf4746eda351e74437117475951ce6c0cacc81da8d
3
+ metadata.gz: b545a1acc946e10062dce7682885dc634f9e5df746a9bdd5c84872d492fa644f
4
+ data.tar.gz: 9e91758a75f8af1ccc8c92420b881ea3c3a73e7f8c24fe8d37457b8df238442d
5
5
  SHA512:
6
- metadata.gz: 7e8cb50a214fdbc7a130c526ebdd4f24839d2539ab8be1a6a38cbc1b6d855ffcfd70aa058ddfd758af3d48d4e8a932eb494249e2ba975f5fe1beb7f6a7bf9423
7
- data.tar.gz: 1f267e1d1ecd857bfd440934a047afad89667cc221cf5d89afba1d65971011e0f946fc9754b53c1c372f8e7e9afb3bf18f355946863ec5fe118c8959f3b2dada
6
+ metadata.gz: 4ed442f39e486d0c7b847c3c4b9ac648904a8a35374571f9e6e3be64cc7b8575d654dc1fdbd2e20e67542756c4124d6362a01399a328f3caad260045046c7eb0
7
+ data.tar.gz: 624bb44796bf1cbcb1ffa74f54827c27fefed6ca44dc246d96a08afd83fa061e3d4d6949b4176002d0ddf1e5554ac45907e6742bb1f1e04f2611a1a4ce1f163b
@@ -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@v2
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
@@ -1,5 +1,9 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 2.2.1
4
+
5
+ * Indent log messages.
6
+
3
7
  ## 2.2.0
4
8
 
5
9
  * Use coactive 0.3.
@@ -2,5 +2,6 @@ source 'https://rubygems.org'
2
2
 
3
3
  gem "rails", "~> 5.0.0"
4
4
  gem "sqlite3", "~> 1.3.6"
5
+ gem "loofah", "~> 2.19.1"
5
6
 
6
7
  gemspec path: "../"
@@ -2,5 +2,6 @@ source 'https://rubygems.org'
2
2
 
3
3
  gem "rails", "~> 5.1.0"
4
4
  gem "sqlite3", "~> 1.3.6"
5
+ gem "loofah", "~> 2.19.1"
5
6
 
6
7
  gemspec path: "../"
@@ -2,5 +2,6 @@ source 'https://rubygems.org'
2
2
 
3
3
  gem "rails", "~> 5.2.0"
4
4
  gem "sqlite3", "~> 1.3.6"
5
+ gem "loofah", "~> 2.19.1"
5
6
 
6
7
  gemspec path: "../"
@@ -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
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module IIPolicy
4
- VERSION = '2.2.0'
4
+ VERSION = '2.2.1'
5
5
  end
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.0
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: 2022-05-09 00:00:00.000000000 Z
11
+ date: 2023-07-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport