pronto 0.11.4 → 0.11.5
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/pronto.yml +1 -1
- data/.github/workflows/push_gem.yml +3 -3
- data/.github/workflows/specs.yml +3 -8
- data/CHANGELOG.md +7 -0
- data/README.md +6 -2
- data/lib/pronto/version.rb +1 -1
- data/pronto.gemspec +1 -0
- metadata +16 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c3bbbe22cb922619189ce37661c76be91e362d75bbbffb913cb494d6c3140903
|
|
4
|
+
data.tar.gz: 49fc04be6c7af5d7912b32304204b441c434101f91da691019d288330dc2be14
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 02dd78392d6285a7eb16789d1e6ec0e1724a6646ea11ea8514f4fade5720ad041f45db1ab7a79eb298a98ada17ce25b9d8e2b620a01ad4523872ffa346936cba
|
|
7
|
+
data.tar.gz: 335eea939fc59917c3abc7a8aa76aee864a8869e5da3cf28035bf8226ce0b67e1e02f1b8ae4e0323fdd3915877985c8276899ce69a52d84ced7c92cf06c0c858
|
|
@@ -18,15 +18,15 @@ jobs:
|
|
|
18
18
|
id-token: write
|
|
19
19
|
|
|
20
20
|
steps:
|
|
21
|
-
- uses: step-security/harden-runner@
|
|
21
|
+
- uses: step-security/harden-runner@95d9a5deda9de15063e7595e9719c11c38c90ae2 # v2.13.2
|
|
22
22
|
with:
|
|
23
23
|
egress-policy: audit
|
|
24
24
|
|
|
25
|
-
- uses: actions/checkout@
|
|
25
|
+
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
|
26
26
|
|
|
27
27
|
- uses: ruby/setup-ruby@4a9ddd6f338a97768b8006bf671dfbad383215f4 # v1.207.0
|
|
28
28
|
with:
|
|
29
29
|
bundler-cache: true
|
|
30
30
|
ruby-version: '3.4'
|
|
31
31
|
|
|
32
|
-
- uses: rubygems/release-gem@
|
|
32
|
+
- uses: rubygems/release-gem@1c162a739e8b4cb21a676e97b087e8268d8fc40b # v1.1.2
|
data/.github/workflows/specs.yml
CHANGED
|
@@ -15,7 +15,7 @@ jobs:
|
|
|
15
15
|
exclude:
|
|
16
16
|
- ruby: "2.3" # Rugged uses the wrong openssl version on CI and segfaults (similar to https://github.com/libgit2/rugged/issues/718)
|
|
17
17
|
steps:
|
|
18
|
-
- uses: actions/checkout@
|
|
18
|
+
- uses: actions/checkout@v6
|
|
19
19
|
- name: Use specific gitlab gem version (if required)
|
|
20
20
|
if: matrix.ruby == '2.4'
|
|
21
21
|
run: echo "gem 'gitlab', '< 4.14.1'" >> Gemfile.local
|
|
@@ -24,10 +24,5 @@ jobs:
|
|
|
24
24
|
with:
|
|
25
25
|
ruby-version: ${{ matrix.ruby }}
|
|
26
26
|
bundler-cache: true
|
|
27
|
-
- name: Test
|
|
28
|
-
|
|
29
|
-
env:
|
|
30
|
-
CC_TEST_REPORTER_ID: 3d676246ffa66d3fdef6253a9870431b1a2da04e9ecb25486c08a38823c37b6a
|
|
31
|
-
COVERAGE: true
|
|
32
|
-
with:
|
|
33
|
-
coverageCommand: bundle exec rspec
|
|
27
|
+
- name: Test
|
|
28
|
+
run: bundle exec rspec
|
data/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
## Unreleased
|
|
4
4
|
|
|
5
|
+
## 0.11.5
|
|
6
|
+
|
|
7
|
+
### Changes
|
|
8
|
+
|
|
9
|
+
* [#481](https://github.com/prontolabs/pronto/pull/481) add "ostruct" as dependency for Ruby 4.0 compatibility
|
|
10
|
+
* [#493](https://github.com/prontolabs/pronto/pull/493) docs: document setting an alternate default branch
|
|
11
|
+
|
|
5
12
|
## 0.11.4
|
|
6
13
|
|
|
7
14
|
### Changes
|
data/README.md
CHANGED
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
[](http://badge.fury.io/rb/pronto)
|
|
4
4
|
[](https://github.com/prontolabs/pronto/actions/workflows/specs.yml)
|
|
5
|
-
[](https://codeclimate.com/github/prontolabs/pronto)
|
|
6
5
|
|
|
7
6
|
**Pronto** runs analysis quickly by checking only the relevant changes. Created to
|
|
8
7
|
be used on [GitHub pull requests](#github-integration), but also works [locally](#local-changes) and integrates with [GitLab](#gitlab-integration) and [Bitbucket](#bitbucket-integration).
|
|
@@ -11,7 +10,7 @@ to your [styleguide](https://github.com/prontolabs/pronto-rubocop), [are DRY](ht
|
|
|
11
10
|
|
|
12
11
|

|
|
13
12
|
|
|
14
|
-
_This README might be ahead of the latest release. Find the README for v0.11.
|
|
13
|
+
_This README might be ahead of the latest release. Find the README for v0.11.5 [here](https://github.com/prontolabs/pronto/blob/v0.11.5/README.md)._
|
|
15
14
|
|
|
16
15
|
* [Installation](#installation)
|
|
17
16
|
* [Usage](#usage)
|
|
@@ -53,6 +52,9 @@ gem 'pronto-flay', require: false
|
|
|
53
52
|
|
|
54
53
|
Pronto runs the checks on a diff between the current HEAD and the provided commit-ish (default is master).
|
|
55
54
|
|
|
55
|
+
> [!NOTE]
|
|
56
|
+
> If the default branch is NOT `master`, invoke `pronto run -c=<branch>` OR set the `default_commit` config value.
|
|
57
|
+
|
|
56
58
|
### Local Changes
|
|
57
59
|
|
|
58
60
|
Navigate to the repository you want to run Pronto on, and:
|
|
@@ -287,6 +289,7 @@ all:
|
|
|
287
289
|
eslint:
|
|
288
290
|
exclude:
|
|
289
291
|
- 'app/assets/**/*'
|
|
292
|
+
default_commit: 'main' # set this if your repo differs from master
|
|
290
293
|
github:
|
|
291
294
|
slug: prontolabs/pronto
|
|
292
295
|
access_token: B26354
|
|
@@ -320,6 +323,7 @@ will always take precedence over values in configuration file.
|
|
|
320
323
|
| `skip_runners` | All, except listed runners will be executed. Runs everything if option is skipped. |
|
|
321
324
|
| `verbose` | Outputs more information when set to `true`. |
|
|
322
325
|
| `warnings_per_review` | Limits the amount of warnings per review. Returns all warnings if option is skipped. |
|
|
326
|
+
| `default_commit` | Commit-ish `pronto run` will execute runners against. |
|
|
323
327
|
|
|
324
328
|
### Message format
|
|
325
329
|
|
data/lib/pronto/version.rb
CHANGED
data/pronto.gemspec
CHANGED
|
@@ -42,6 +42,7 @@ Gem::Specification.new do |s|
|
|
|
42
42
|
s.add_runtime_dependency('gitlab', '>= 4.4.0', '< 5.0')
|
|
43
43
|
s.add_runtime_dependency('httparty', '>= 0.13.7', '< 1.0')
|
|
44
44
|
s.add_runtime_dependency('octokit', '>= 4.7.0', '< 11.0')
|
|
45
|
+
s.add_runtime_dependency('ostruct')
|
|
45
46
|
s.add_runtime_dependency('rainbow', '>= 2.2', '< 4.0')
|
|
46
47
|
s.add_runtime_dependency('rexml', '>= 3.2.5', '< 4.0')
|
|
47
48
|
s.add_runtime_dependency('rugged', '>= 0.23.0', '< 2.0')
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: pronto
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.11.
|
|
4
|
+
version: 0.11.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Mindaugas Mozūras
|
|
8
8
|
bindir: bin
|
|
9
9
|
cert_chain: []
|
|
10
|
-
date: 2025-05
|
|
10
|
+
date: 2025-12-05 00:00:00.000000000 Z
|
|
11
11
|
dependencies:
|
|
12
12
|
- !ruby/object:Gem::Dependency
|
|
13
13
|
name: gitlab
|
|
@@ -69,6 +69,20 @@ dependencies:
|
|
|
69
69
|
- - "<"
|
|
70
70
|
- !ruby/object:Gem::Version
|
|
71
71
|
version: '11.0'
|
|
72
|
+
- !ruby/object:Gem::Dependency
|
|
73
|
+
name: ostruct
|
|
74
|
+
requirement: !ruby/object:Gem::Requirement
|
|
75
|
+
requirements:
|
|
76
|
+
- - ">="
|
|
77
|
+
- !ruby/object:Gem::Version
|
|
78
|
+
version: '0'
|
|
79
|
+
type: :runtime
|
|
80
|
+
prerelease: false
|
|
81
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
82
|
+
requirements:
|
|
83
|
+
- - ">="
|
|
84
|
+
- !ruby/object:Gem::Version
|
|
85
|
+
version: '0'
|
|
72
86
|
- !ruby/object:Gem::Dependency
|
|
73
87
|
name: rainbow
|
|
74
88
|
requirement: !ruby/object:Gem::Requirement
|