danger-ktlint 0.0.8 → 0.0.9
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 +4 -4
- data/.github/workflows/test.yml +4 -1
- data/CHANGELOG.md +4 -0
- data/lib/ktlint/gem_version.rb +1 -1
- data/lib/ktlint/plugin.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: cfc32999a67bcd5237b8a60e6ccb01bcaf200f0b390ca7b6905c16da1a3a02ef
|
|
4
|
+
data.tar.gz: 34d4bfc24e8792edc0f7e242384502688f4828ef8d40dc362b2589c0c5ed8996
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 76370cac3a76f4d05a70f682db0c6eda85f02732ba15f6777dd5fbe0a20e02f105bec0d12d47e438b06aba9ddda69c5c054dfba8bbde1965ac20049c3a844bdc
|
|
7
|
+
data.tar.gz: c756a585fe088c13d16a35e80e6528d611c0baf98383f85586d620a11dd63f6aed0e3e59675edacdc5367ca5af9ff124e66e2d7f69ba30af2fe77ff7bc7e26d1
|
data/.github/workflows/test.yml
CHANGED
|
@@ -6,12 +6,15 @@ jobs:
|
|
|
6
6
|
test:
|
|
7
7
|
name: Run spec
|
|
8
8
|
runs-on: ubuntu-latest
|
|
9
|
+
strategy:
|
|
10
|
+
matrix:
|
|
11
|
+
ruby-version: ['2.7', '3.0', '3.1', '3.2']
|
|
9
12
|
|
|
10
13
|
steps:
|
|
11
14
|
- uses: actions/checkout@v2
|
|
12
15
|
- uses: ruby/setup-ruby@v1
|
|
13
16
|
with:
|
|
14
|
-
ruby-version:
|
|
17
|
+
ruby-version: ${{ matrix.ruby-version }}
|
|
15
18
|
bundler-cache: true
|
|
16
19
|
- name: Run spec
|
|
17
20
|
run: |
|
data/CHANGELOG.md
CHANGED
data/lib/ktlint/gem_version.rb
CHANGED
data/lib/ktlint/plugin.rb
CHANGED
|
@@ -177,7 +177,7 @@ module Danger
|
|
|
177
177
|
end
|
|
178
178
|
|
|
179
179
|
def ktlint_result_files
|
|
180
|
-
if !report_file.nil? && !report_file.empty? && File.
|
|
180
|
+
if !report_file.nil? && !report_file.empty? && File.exist?(report_file)
|
|
181
181
|
[report_file]
|
|
182
182
|
elsif !report_files_pattern.nil? && !report_files_pattern.empty?
|
|
183
183
|
Dir.glob(report_files_pattern)
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: danger-ktlint
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.9
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- mataku
|
|
8
|
-
autorequire:
|
|
8
|
+
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2023-
|
|
11
|
+
date: 2023-10-16 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: danger-plugin-api
|
|
@@ -151,7 +151,7 @@ homepage: https://github.com/mataku/danger-ktlint
|
|
|
151
151
|
licenses:
|
|
152
152
|
- MIT
|
|
153
153
|
metadata: {}
|
|
154
|
-
post_install_message:
|
|
154
|
+
post_install_message:
|
|
155
155
|
rdoc_options: []
|
|
156
156
|
require_paths:
|
|
157
157
|
- lib
|
|
@@ -166,8 +166,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
166
166
|
- !ruby/object:Gem::Version
|
|
167
167
|
version: '0'
|
|
168
168
|
requirements: []
|
|
169
|
-
rubygems_version: 3.
|
|
170
|
-
signing_key:
|
|
169
|
+
rubygems_version: 3.4.13
|
|
170
|
+
signing_key:
|
|
171
171
|
specification_version: 4
|
|
172
172
|
summary: Lint kotlin files using ktlint command line interface.
|
|
173
173
|
test_files:
|