From a51f4f03b1eafb2f50422dc9cf93bc43860d104c Mon Sep 17 00:00:00 2001 From: Matt Kulka Date: Thu, 5 Nov 2020 19:14:47 -0700 Subject: [PATCH] =?UTF-8?q?nope,=20precommit=20bundles=20rbenv=20?= =?UTF-8?q?=F0=9F=A4=A6=F0=9F=8F=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit youre beholden to whatever version is bundled with your pre-commit apparently, so back off language_version to 2.6.6 --- .pre-commit-config.yaml | 4 ++-- .pre-commit-hooks.yaml | 2 +- README.md | 2 +- pre-commit-sign.gemspec | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b0b456c..945753d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -22,8 +22,8 @@ repos: - id: fasterer - id: rubocop - repo: https://github.com/mattlqx/pre-commit-sign - rev: 0840dfbc1e11e2a9d159c2a9a30bb7f2e541b278 + rev: v1.1.2 hooks: - id: sign-commit - language_version: 2.7.2 + language_version: 2.6.6 verbose: true diff --git a/.pre-commit-hooks.yaml b/.pre-commit-hooks.yaml index 13e6ad5..9f689ae 100644 --- a/.pre-commit-hooks.yaml +++ b/.pre-commit-hooks.yaml @@ -3,7 +3,7 @@ description: "Hashes some fields of the commit and adds a signature for verification by other systems" entry: sign-commit language: ruby - language_version: 2.7.2 + language_version: 2.6.6 pass_filenames: true minimum_pre_commit_version: 0.15.4 stages: diff --git a/README.md b/README.md index df8f939..a517912 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ This is a plugin for [pre-commit](https://pre-commit.com) that will sign your co To sign commits as part of your pre-commit flow, just run the sign-commit hook of this repo. Note that you **must** have pre-commit installed as a commit-msg hook in order for this to run. - repo: https://github.com/mattlqx/pre-commit-sign - rev: v1.1.2 + rev: v1.1.3 hooks: - id: sign-commit diff --git a/pre-commit-sign.gemspec b/pre-commit-sign.gemspec index d264d65..b0a0a37 100644 --- a/pre-commit-sign.gemspec +++ b/pre-commit-sign.gemspec @@ -2,7 +2,7 @@ Gem::Specification.new do |s| s.name = 'pre-commit-sign' - s.version = '1.1.2' + s.version = '1.1.3' s.licenses = ['MIT'] s.summary = 'Pre-commit plugin for signing commits' s.description = 'This pre-commit plugin will hash certain fields of the commit message and sign it.'