overcommit 0.63.0 → 0.64.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5e9a2e23f1b830d2d9e8e500024cd01a1d368678b1f24039367ae88c90dc154a
4
- data.tar.gz: 9c3fada758490c58d2341125315a988fe73fb9d4dc31c5167a400eddbff28846
3
+ metadata.gz: 26058c7ae7704edd31a23f9d530eb1eb986697e0e9e5099ff1f8caf5e3b2896f
4
+ data.tar.gz: f9752aeb307c5217a01a590768f004a5dc4fedf10307ef90ee19d77a7314e94a
5
5
  SHA512:
6
- metadata.gz: 2773a91d43bf69aa97c9f65fab59934502c2b948ad5264a7dd0def628d6d9bb21b78ebfd868b3a5e0c9457f609ede41fa11fdd1e92708dc27bb87fc433361b91
7
- data.tar.gz: 79e8e222951cbaea5875fbd2bab3268d47ead4dde32fad029e76b46bd4823546d8beee1473b42df1575879c64a7ae7bdc7e8da2e970f4ec6766b5b85163409dc
6
+ metadata.gz: fb01d3e7f1ceea12e123611f15ea5f7f74d30e5fd1c0808ae7df8f8fbd36358099368e0e8628b8a19d03f07d80802b387f26642a3833342c783ceda8b475bc51
7
+ data.tar.gz: 9e867e86098ee8ec2d6405f34b119ec8e89c566b11ebc9a8f55f1023e54c670e86f07bd21d043c22b2ccd9f1264dffbaa135ba58fbebc481b434e6e7b9fde44e
@@ -17,7 +17,7 @@ module Overcommit
17
17
  path = `git config --get core.hooksPath`.chomp
18
18
  return File.join(Overcommit::Utils.git_dir, 'hooks') if path.empty?
19
19
 
20
- File.absolute_path(path, Dir.pwd)
20
+ File.expand_path(path, Dir.pwd)
21
21
  end
22
22
  end
23
23
  end
@@ -12,7 +12,7 @@ module Overcommit::Hook::PreCommit
12
12
 
13
13
  def run
14
14
  result = execute(command, args: applicable_files)
15
- output = result.stdout.chomp
15
+ output = result.stdout + result.stderr.chomp
16
16
  return :pass if result.success? && output.empty?
17
17
 
18
18
  extract_messages(
@@ -2,5 +2,5 @@
2
2
 
3
3
  # Defines the gem version.
4
4
  module Overcommit
5
- VERSION = '0.63.0'
5
+ VERSION = '0.64.1'
6
6
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: overcommit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.63.0
4
+ version: 0.64.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shane da Silva
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-02-25 00:00:00.000000000 Z
11
+ date: 2024-10-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: childprocess
@@ -48,16 +48,16 @@ dependencies:
48
48
  name: rexml
49
49
  requirement: !ruby/object:Gem::Requirement
50
50
  requirements:
51
- - - "~>"
51
+ - - ">="
52
52
  - !ruby/object:Gem::Version
53
- version: '3.2'
53
+ version: 3.3.9
54
54
  type: :runtime
55
55
  prerelease: false
56
56
  version_requirements: !ruby/object:Gem::Requirement
57
57
  requirements:
58
- - - "~>"
58
+ - - ">="
59
59
  - !ruby/object:Gem::Version
60
- version: '3.2'
60
+ version: 3.3.9
61
61
  description: Utility to install, configure, and extend Git hooks
62
62
  email:
63
63
  - shane@dasilva.io
@@ -304,7 +304,8 @@ files:
304
304
  homepage: https://github.com/sds/overcommit
305
305
  licenses:
306
306
  - MIT
307
- metadata: {}
307
+ metadata:
308
+ changelog_uri: https://github.com/sds/overcommit/blob/main/CHANGELOG.md
308
309
  post_install_message: Install hooks by running `overcommit --install` in your Git
309
310
  repository
310
311
  rdoc_options: []
@@ -321,7 +322,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
321
322
  - !ruby/object:Gem::Version
322
323
  version: '0'
323
324
  requirements: []
324
- rubygems_version: 3.4.10
325
+ rubygems_version: 3.5.9
325
326
  signing_key:
326
327
  specification_version: 4
327
328
  summary: Git hook manager