overcommit 0.60.0 → 0.61.0
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6ecfff59af8eed6358b9f6b03d50d6378ac9cd9ae5bd48b7cd5a2e8110223562
|
4
|
+
data.tar.gz: 340214649a288a6728a37fdf827bbf4ff35d1940201a009dcfe3feae005839aa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1210bc1c11220a462ed4e2f4f75e6becb3e97472d74787be10321f08a233238c8f3071a0dc6bfcf848060c351906d69f9122d670bf8ad91f6b9ea6110c5dffc2
|
7
|
+
data.tar.gz: 3963037483e0a132b9b6ce6da860f23e33f7b309c4b67fced3497f034544b98966469232a6f1195db737ef6ff5d4ce5d2436ae72b6a323d80fc91624b8d449af
|
@@ -70,11 +70,9 @@ module Overcommit
|
|
70
70
|
# Loads a configuration, ensuring it extends the default configuration.
|
71
71
|
def load_file(file, local_file = nil)
|
72
72
|
overcommit_config = self.class.load_from_file(file, default: false, logger: @log)
|
73
|
-
if local_file
|
74
|
-
local_config = self.class.load_from_file(local_file, default: false, logger: @log)
|
75
|
-
end
|
73
|
+
l_config = self.class.load_from_file(local_file, default: false, logger: @log) if local_file
|
76
74
|
config = self.class.default_configuration.merge(overcommit_config)
|
77
|
-
config =
|
75
|
+
config = config.merge(l_config) if l_config
|
78
76
|
|
79
77
|
if @options.fetch(:verify) { config.verify_signatures? }
|
80
78
|
verify_signatures(config)
|
data/lib/overcommit/version.rb
CHANGED
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.
|
4
|
+
version: 0.61.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Shane da Silva
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-12-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: childprocess
|
@@ -318,8 +318,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
318
318
|
- !ruby/object:Gem::Version
|
319
319
|
version: '0'
|
320
320
|
requirements: []
|
321
|
-
rubygems_version: 3.
|
322
|
-
signing_key:
|
321
|
+
rubygems_version: 3.4.10
|
322
|
+
signing_key:
|
323
323
|
specification_version: 4
|
324
324
|
summary: Git hook manager
|
325
325
|
test_files: []
|