quiet_quality 1.0.0 → 1.0.2
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/dogfood.yml +3 -1
- data/README.md +1 -1
- data/lib/quiet_quality/cli/entrypoint.rb +11 -1
- data/lib/quiet_quality/executors/pipeline.rb +1 -1
- data/lib/quiet_quality/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 637f00e52eae2e4b0cee2cf1e4c76b17595e7ac4a59aa2568ae0eee17b4a7d4c
|
4
|
+
data.tar.gz: a45040a9379e05a86e87d01f274ea044084c0af13e65c6d00b7c664dde33afc6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f0666d43b98ea76f55b8dab0d3d38cc786f8c9a750b14dee1eff2c4a13ee7da94f94a83757fe643efa1d448197583864c02c34c0e49b7adda5d790d51eaad0ef
|
7
|
+
data.tar.gz: 3cd316700e1abda994248dbd5959d242ccec0551d2f516212671fee07df1cfa5d36a9b53137ea299cce03b6bbbab9e328ba38132be6148d8626a7e4b1d71e346
|
@@ -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,14 +1,14 @@
|
|
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.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eric Mueller
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-05-
|
11
|
+
date: 2023-05-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: git
|
@@ -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
|