From 3256298dedded0c3d8d21ec32c4496c031f524da Mon Sep 17 00:00:00 2001 From: Ashish Kulkarni Date: Sat, 11 Jan 2025 19:01:15 +0530 Subject: [PATCH 1/3] update README and gemspec --- README.md | 10 ++++------ pronto.gemspec | 1 - 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 98ecd00..0ade2d0 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,8 @@ # Pronto -[![Build Status](https://secure.travis-ci.org/prontolabs/pronto.svg)](http://travis-ci.org/prontolabs/pronto) -[![Coverage Status](https://img.shields.io/codeclimate/coverage/prontolabs/pronto.svg)](https://codeclimate.com/github/prontolabs/pronto) -[![Code Climate](https://codeclimate.com/github/prontolabs/pronto.svg)](https://codeclimate.com/github/prontolabs/pronto) [![Gem Version](https://badge.fury.io/rb/pronto.svg)](http://badge.fury.io/rb/pronto) -[![Inline docs](http://inch-ci.org/github/prontolabs/pronto.svg)](http://inch-ci.org/github/prontolabs/pronto) +[![Build Status](https://github.com/prontolabs/pronto/actions/workflows/specs.yml/badge.svg)](https://github.com/prontolabs/pronto/actions/workflows/specs.yml) +[![Code Climate](https://codeclimate.com/github/prontolabs/pronto.svg)](https://codeclimate.com/github/prontolabs/pronto) **Pronto** runs analysis quickly by checking only the relevant changes. Created to be used on [GitHub pull requests](#github-integration), but also works [locally](#local-changes) and integrates with [GitLab](#gitlab-integration) and [Bitbucket](#bitbucket-integration). @@ -13,7 +11,7 @@ to your [styleguide](https://github.com/prontolabs/pronto-rubocop), [are DRY](ht ![Pronto demo](pronto.gif "") -_This README might be ahead of the latest release. Find the README for v0.9.2 [here](https://github.com/prontolabs/pronto/blob/v0.9.2/README.md)._ +_This README might be ahead of the latest release. Find the README for v0.11.2 [here](https://github.com/prontolabs/pronto/blob/v0.11.2/README.md)._ * [Installation](#installation) * [Usage](#usage) @@ -452,4 +450,4 @@ Make a Pull Request to add something you wrote or found useful. ## Copyright -Copyright (c) 2013-2018 Mindaugas Mozūras. See [LICENSE](LICENSE) for further details. +Copyright (c) 2013-2025 Mindaugas Mozūras. See [LICENSE](LICENSE) for further details. diff --git a/pronto.gemspec b/pronto.gemspec index 3bd6bf6..0d27c9a 100644 --- a/pronto.gemspec +++ b/pronto.gemspec @@ -21,7 +21,6 @@ Gem::Specification.new do |s| s.licenses = ['MIT'] s.required_ruby_version = '>= 2.3.0' - s.rubygems_version = '1.8.23' s.files = `git ls-files`.split($RS).reject do |file| file =~ %r{^(?: From fa73c1dd7e7f9580b5ef7cdad1a3f3536d8b93d5 Mon Sep 17 00:00:00 2001 From: Ashish Kulkarni Date: Sat, 11 Jan 2025 19:01:15 +0530 Subject: [PATCH 2/3] update CHANGELOG --- CHANGELOG.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8124d7b..2abf5a5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,14 @@ # Changelog +## Unreleased + +### Changes + +* [#455](https://github.com/prontolabs/pronto/pull/455) compatibility fixes for supporting octokit 8.x +* [#460](https://github.com/prontolabs/pronto/pull/460) improve documentation for Gitlab CI integration +* [#462](https://github.com/prontolabs/pronto/pull/462) more doc improvements for Gitlab CI integration +* [#466](https://github.com/prontolabs/pronto/pull/466) relax octokit dependency to allow 9.x releases + ## 0.11.2 ### Changes From da775d1b34bdfa12ab210307ed9cd4494f1a8bcd Mon Sep 17 00:00:00 2001 From: Ashish Kulkarni Date: Sat, 11 Jan 2025 19:01:15 +0530 Subject: [PATCH 3/3] add Ruby 3.3 and 3.4 to the CI matrix --- .github/workflows/specs.yml | 18 +++++------------- pronto.gemspec | 1 + 2 files changed, 6 insertions(+), 13 deletions(-) diff --git a/.github/workflows/specs.yml b/.github/workflows/specs.yml index e2ca732..06f38d1 100644 --- a/.github/workflows/specs.yml +++ b/.github/workflows/specs.yml @@ -11,26 +11,18 @@ jobs: runs-on: ubuntu-20.04 strategy: matrix: - ruby-version: - - "2.3" - - "2.4" - - "2.5" - - "2.6" - - "2.7" - - "3.0" - - "3.1" - - "3.2" + ruby: ['2.3', '2.4', '2.5', '2.6', '2.7', '3.0', '3.1', '3.2', '3.3', '3.4'] exclude: - - ruby-version: "2.3" # Rugged uses the wrong openssl version on CI and segfaults (similar to https://github.com/libgit2/rugged/issues/718) + - ruby: "2.3" # Rugged uses the wrong openssl version on CI and segfaults (similar to https://github.com/libgit2/rugged/issues/718) steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Use specific gitlab gem version (if required) - if: matrix.ruby-version == '2.4' + if: matrix.ruby == '2.4' run: echo "gem 'gitlab', '< 4.14.1'" >> Gemfile.local - name: Set up Ruby uses: ruby/setup-ruby@v1 with: - ruby-version: ${{ matrix.ruby-version }} + ruby-version: ${{ matrix.ruby }} bundler-cache: true - name: Test & publish code coverage uses: paambaati/codeclimate-action@7bcf9e73c0ee77d178e72c0ec69f1a99c1afc1f3 # v2.7.5 diff --git a/pronto.gemspec b/pronto.gemspec index 0d27c9a..b1a2dbb 100644 --- a/pronto.gemspec +++ b/pronto.gemspec @@ -46,6 +46,7 @@ Gem::Specification.new do |s| s.add_runtime_dependency('rexml', '>= 3.2.5', '< 4.0') s.add_runtime_dependency('rugged', '>= 0.23.0', '< 2.0') s.add_runtime_dependency('thor', '>= 0.20.3', '< 2.0') + s.add_development_dependency('base64', '~> 0.1.2') s.add_development_dependency('bundler', '>= 1.15') s.add_development_dependency('pronto-rubocop', '~> 0.10.0') s.add_development_dependency('rake', '~> 12.0')