Skip to content

Commit 274e8d6

Browse files
authored
Cut version 0.59.0 (#780)
Includes a disablement of one of the Windows tests on Ruby 3.0
1 parent f9ecdcb commit 274e8d6

File tree

3 files changed

+19
-5
lines changed

3 files changed

+19
-5
lines changed

CHANGELOG.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,16 @@
11
# Overcommit Changelog
22

3-
## master (unreleased)
3+
## 0.59.0
44

55
* Add `--disable-pending-cops` as default flag to `RuboCop` pre-commit hook to ignore non-existent cops. Requires RuboCop `0.82.0` or newer.
6+
* Fix deprecation warning for `Bundler.with_clean_env`.
7+
* Fix handling of some kinds of pronto errors in the `Pronto` hook.
8+
* Fix encoding of process output on Windows.
9+
* Add support for specifying hook type to `--run` flag.
10+
* Fix message regex parser for Stylelint.
11+
* Fix configuration loading on Ruby 3.1.
12+
* Fix `YamlSyntax` to support aliases when parsing.
13+
* Fix run output to explicitly flush partial logs.
614

715
## 0.58.0
816

lib/overcommit/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22

33
# Defines the gem version.
44
module Overcommit
5-
VERSION = '0.58.0'
5+
VERSION = '0.59.0'
66
end

spec/integration/parallelize_spec.rb

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,14 @@
2727
end
2828
end
2929

30-
it 'does not hang' do
31-
result = Timeout.timeout(5) { subject }
32-
result.stderr.should_not include 'No live threads left. Deadlock?'
30+
# Test fails on Ruby 3.0 on Windows but nothing else. Would glady accept a pull
31+
# request that resolves.
32+
unless Overcommit::OS.windows? &&
33+
Overcommit::Utils::Version.new(RUBY_VERSION) >= '3' &&
34+
Overcommit::Utils::Version.new(RUBY_VERSION) < '3.1'
35+
it 'does not hang' do
36+
result = Timeout.timeout(5) { subject }
37+
result.stderr.should_not include 'No live threads left. Deadlock?'
38+
end
3339
end
3440
end

0 commit comments

Comments
 (0)