quiet_quality 1.0.0 → 1.0.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/dogfood.yml +3 -1
- data/README.md +1 -1
- data/lib/quiet_quality/cli/entrypoint.rb +11 -1
- data/lib/quiet_quality/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: d010c46c43c33aaa187197305d66ff34335393d169274e22b49a4483629c06bc
|
4
|
+
data.tar.gz: 11e9c2d0c8a19f56593e6ad3a425b1c3822f3e74b273788adaa129ed3be15b42
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '069d6cf7d33e32a9d894aa6dd6cc8489fcac39496b5767e2df0321fae59dabbf29dd651cb417042f391ab1756eafdd36dff81119270db8443b08c0d3db3882b7'
|
7
|
+
data.tar.gz: 3210b7d57f659c51ec0683f10af141757df26a0aed1b885de8a53bf7ca5335b95860ffc9527cd28f06b4294bd406b448d33193ec6067c5419e0b91c874273514
|
@@ -7,6 +7,8 @@ jobs:
|
|
7
7
|
runs-on: ubuntu-latest
|
8
8
|
steps:
|
9
9
|
- uses: actions/checkout@v3
|
10
|
+
with:
|
11
|
+
fetch-depth: 0
|
10
12
|
|
11
13
|
- name: Set up ruby
|
12
14
|
uses: ruby/setup-ruby@v1
|
@@ -25,4 +27,4 @@ jobs:
|
|
25
27
|
run: bundle install --jobs 4 --retry 3
|
26
28
|
|
27
29
|
- name: Run QuietQuality
|
28
|
-
run: bundle exec bin/qq standardrb rubocop rspec --all-files --unfiltered --annotate github_stdout
|
30
|
+
run: bundle exec bin/qq standardrb rubocop rspec --all-files --unfiltered --annotate github_stdout --comparison-branch origin/main
|
data/README.md
CHANGED
@@ -22,7 +22,7 @@ qq rubocop
|
|
22
22
|
# of them) against the commit using github's inline output-based annotation approach. Which
|
23
23
|
# will of course only produce actual annotations if this happens to have been run in a
|
24
24
|
# github action.
|
25
|
-
qq rspec --annotate=
|
25
|
+
qq rspec --annotate=github_stdout
|
26
26
|
|
27
27
|
# run standardrb against all of the files (not just the changed ones). Still only print out
|
28
28
|
# problems to lines that have changed, so not particularly useful :-)
|
@@ -50,8 +50,18 @@ module QuietQuality
|
|
50
50
|
@_options = builder.options
|
51
51
|
end
|
52
52
|
|
53
|
+
def changed_files
|
54
|
+
return @_changed_files if defined?(@_changed_files)
|
55
|
+
@_changed_files = VersionControlSystems::Git.new.changed_files(
|
56
|
+
base: options.comparison_branch,
|
57
|
+
sha: "HEAD",
|
58
|
+
include_uncommitted: true,
|
59
|
+
include_untracked: true
|
60
|
+
)
|
61
|
+
end
|
62
|
+
|
53
63
|
def executor
|
54
|
-
@_executor ||= options.executor.new(tools: options.tools)
|
64
|
+
@_executor ||= options.executor.new(tools: options.tools, changed_files: changed_files)
|
55
65
|
end
|
56
66
|
|
57
67
|
def executed
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: quiet_quality
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eric Mueller
|
@@ -224,7 +224,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
224
224
|
- !ruby/object:Gem::Version
|
225
225
|
version: '0'
|
226
226
|
requirements: []
|
227
|
-
rubygems_version: 3.
|
227
|
+
rubygems_version: 3.1.6
|
228
228
|
signing_key:
|
229
229
|
specification_version: 4
|
230
230
|
summary: A system for comparing quality tool outputs against the forward diffs
|