overcommit 0.64.1 → 0.65.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/overcommit/version.rb +1 -1
- data/template-dir/hooks/commit-msg +2 -8
- data/template-dir/hooks/overcommit-hook +2 -8
- data/template-dir/hooks/post-checkout +2 -8
- data/template-dir/hooks/post-commit +2 -8
- data/template-dir/hooks/post-merge +2 -8
- data/template-dir/hooks/post-rewrite +2 -8
- data/template-dir/hooks/pre-commit +2 -8
- data/template-dir/hooks/pre-push +2 -8
- data/template-dir/hooks/pre-rebase +2 -8
- data/template-dir/hooks/prepare-commit-msg +2 -8
- metadata +3 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 41a718c287aaf78ecc46c67640e13a782af0264bc5054b2c94b027ed50d224a0
|
4
|
+
data.tar.gz: 5ef6333527352239ff20acc433cd38c7078d8a9fce3f35bb8705091a967adb0f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9194831e0305eca46d86b60dcaacd1ac1c1e743b13115feec2a94ec8120bb5fbc79338a1b3144480b80ef9cf90e7278da9665b2a6accc54429c07099a1f13db8
|
7
|
+
data.tar.gz: 7f6163d8a6d612af25422e6c98384657331ab1960c9753d46bbbe302d2e88205d8983f0094593c3f37d4fab0d293cb2a4471710c06e840b046c98baf0e7ce3e0
|
data/lib/overcommit/version.rb
CHANGED
@@ -27,14 +27,8 @@ if hook_type == 'overcommit-hook'
|
|
27
27
|
end
|
28
28
|
|
29
29
|
# Check if Overcommit should invoke a Bundler context for loading gems
|
30
|
-
|
31
|
-
|
32
|
-
gemfile =
|
33
|
-
begin
|
34
|
-
YAML.load_file('.overcommit.yml', aliases: true)['gemfile']
|
35
|
-
rescue ArgumentError
|
36
|
-
YAML.load_file('.overcommit.yml')['gemfile']
|
37
|
-
end rescue nil
|
30
|
+
config = File.read('.overcommit.yml') =~ /gemfile: ['"]?(.*)['"]?/
|
31
|
+
gemfile = Regexp.last_match(1)
|
38
32
|
|
39
33
|
if gemfile
|
40
34
|
ENV['BUNDLE_GEMFILE'] = gemfile
|
@@ -27,14 +27,8 @@ if hook_type == 'overcommit-hook'
|
|
27
27
|
end
|
28
28
|
|
29
29
|
# Check if Overcommit should invoke a Bundler context for loading gems
|
30
|
-
|
31
|
-
|
32
|
-
gemfile =
|
33
|
-
begin
|
34
|
-
YAML.load_file('.overcommit.yml', aliases: true)['gemfile']
|
35
|
-
rescue ArgumentError
|
36
|
-
YAML.load_file('.overcommit.yml')['gemfile']
|
37
|
-
end rescue nil
|
30
|
+
config = File.read('.overcommit.yml') =~ /gemfile: ['"]?(.*)['"]?/
|
31
|
+
gemfile = Regexp.last_match(1)
|
38
32
|
|
39
33
|
if gemfile
|
40
34
|
ENV['BUNDLE_GEMFILE'] = gemfile
|
@@ -27,14 +27,8 @@ if hook_type == 'overcommit-hook'
|
|
27
27
|
end
|
28
28
|
|
29
29
|
# Check if Overcommit should invoke a Bundler context for loading gems
|
30
|
-
|
31
|
-
|
32
|
-
gemfile =
|
33
|
-
begin
|
34
|
-
YAML.load_file('.overcommit.yml', aliases: true)['gemfile']
|
35
|
-
rescue ArgumentError
|
36
|
-
YAML.load_file('.overcommit.yml')['gemfile']
|
37
|
-
end rescue nil
|
30
|
+
config = File.read('.overcommit.yml') =~ /gemfile: ['"]?(.*)['"]?/
|
31
|
+
gemfile = Regexp.last_match(1)
|
38
32
|
|
39
33
|
if gemfile
|
40
34
|
ENV['BUNDLE_GEMFILE'] = gemfile
|
@@ -27,14 +27,8 @@ if hook_type == 'overcommit-hook'
|
|
27
27
|
end
|
28
28
|
|
29
29
|
# Check if Overcommit should invoke a Bundler context for loading gems
|
30
|
-
|
31
|
-
|
32
|
-
gemfile =
|
33
|
-
begin
|
34
|
-
YAML.load_file('.overcommit.yml', aliases: true)['gemfile']
|
35
|
-
rescue ArgumentError
|
36
|
-
YAML.load_file('.overcommit.yml')['gemfile']
|
37
|
-
end rescue nil
|
30
|
+
config = File.read('.overcommit.yml') =~ /gemfile: ['"]?(.*)['"]?/
|
31
|
+
gemfile = Regexp.last_match(1)
|
38
32
|
|
39
33
|
if gemfile
|
40
34
|
ENV['BUNDLE_GEMFILE'] = gemfile
|
@@ -27,14 +27,8 @@ if hook_type == 'overcommit-hook'
|
|
27
27
|
end
|
28
28
|
|
29
29
|
# Check if Overcommit should invoke a Bundler context for loading gems
|
30
|
-
|
31
|
-
|
32
|
-
gemfile =
|
33
|
-
begin
|
34
|
-
YAML.load_file('.overcommit.yml', aliases: true)['gemfile']
|
35
|
-
rescue ArgumentError
|
36
|
-
YAML.load_file('.overcommit.yml')['gemfile']
|
37
|
-
end rescue nil
|
30
|
+
config = File.read('.overcommit.yml') =~ /gemfile: ['"]?(.*)['"]?/
|
31
|
+
gemfile = Regexp.last_match(1)
|
38
32
|
|
39
33
|
if gemfile
|
40
34
|
ENV['BUNDLE_GEMFILE'] = gemfile
|
@@ -27,14 +27,8 @@ if hook_type == 'overcommit-hook'
|
|
27
27
|
end
|
28
28
|
|
29
29
|
# Check if Overcommit should invoke a Bundler context for loading gems
|
30
|
-
|
31
|
-
|
32
|
-
gemfile =
|
33
|
-
begin
|
34
|
-
YAML.load_file('.overcommit.yml', aliases: true)['gemfile']
|
35
|
-
rescue ArgumentError
|
36
|
-
YAML.load_file('.overcommit.yml')['gemfile']
|
37
|
-
end rescue nil
|
30
|
+
config = File.read('.overcommit.yml') =~ /gemfile: ['"]?(.*)['"]?/
|
31
|
+
gemfile = Regexp.last_match(1)
|
38
32
|
|
39
33
|
if gemfile
|
40
34
|
ENV['BUNDLE_GEMFILE'] = gemfile
|
@@ -27,14 +27,8 @@ if hook_type == 'overcommit-hook'
|
|
27
27
|
end
|
28
28
|
|
29
29
|
# Check if Overcommit should invoke a Bundler context for loading gems
|
30
|
-
|
31
|
-
|
32
|
-
gemfile =
|
33
|
-
begin
|
34
|
-
YAML.load_file('.overcommit.yml', aliases: true)['gemfile']
|
35
|
-
rescue ArgumentError
|
36
|
-
YAML.load_file('.overcommit.yml')['gemfile']
|
37
|
-
end rescue nil
|
30
|
+
config = File.read('.overcommit.yml') =~ /gemfile: ['"]?(.*)['"]?/
|
31
|
+
gemfile = Regexp.last_match(1)
|
38
32
|
|
39
33
|
if gemfile
|
40
34
|
ENV['BUNDLE_GEMFILE'] = gemfile
|
data/template-dir/hooks/pre-push
CHANGED
@@ -27,14 +27,8 @@ if hook_type == 'overcommit-hook'
|
|
27
27
|
end
|
28
28
|
|
29
29
|
# Check if Overcommit should invoke a Bundler context for loading gems
|
30
|
-
|
31
|
-
|
32
|
-
gemfile =
|
33
|
-
begin
|
34
|
-
YAML.load_file('.overcommit.yml', aliases: true)['gemfile']
|
35
|
-
rescue ArgumentError
|
36
|
-
YAML.load_file('.overcommit.yml')['gemfile']
|
37
|
-
end rescue nil
|
30
|
+
config = File.read('.overcommit.yml') =~ /gemfile: ['"]?(.*)['"]?/
|
31
|
+
gemfile = Regexp.last_match(1)
|
38
32
|
|
39
33
|
if gemfile
|
40
34
|
ENV['BUNDLE_GEMFILE'] = gemfile
|
@@ -27,14 +27,8 @@ if hook_type == 'overcommit-hook'
|
|
27
27
|
end
|
28
28
|
|
29
29
|
# Check if Overcommit should invoke a Bundler context for loading gems
|
30
|
-
|
31
|
-
|
32
|
-
gemfile =
|
33
|
-
begin
|
34
|
-
YAML.load_file('.overcommit.yml', aliases: true)['gemfile']
|
35
|
-
rescue ArgumentError
|
36
|
-
YAML.load_file('.overcommit.yml')['gemfile']
|
37
|
-
end rescue nil
|
30
|
+
config = File.read('.overcommit.yml') =~ /gemfile: ['"]?(.*)['"]?/
|
31
|
+
gemfile = Regexp.last_match(1)
|
38
32
|
|
39
33
|
if gemfile
|
40
34
|
ENV['BUNDLE_GEMFILE'] = gemfile
|
@@ -27,14 +27,8 @@ if hook_type == 'overcommit-hook'
|
|
27
27
|
end
|
28
28
|
|
29
29
|
# Check if Overcommit should invoke a Bundler context for loading gems
|
30
|
-
|
31
|
-
|
32
|
-
gemfile =
|
33
|
-
begin
|
34
|
-
YAML.load_file('.overcommit.yml', aliases: true)['gemfile']
|
35
|
-
rescue ArgumentError
|
36
|
-
YAML.load_file('.overcommit.yml')['gemfile']
|
37
|
-
end rescue nil
|
30
|
+
config = File.read('.overcommit.yml') =~ /gemfile: ['"]?(.*)['"]?/
|
31
|
+
gemfile = Regexp.last_match(1)
|
38
32
|
|
39
33
|
if gemfile
|
40
34
|
ENV['BUNDLE_GEMFILE'] = gemfile
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: overcommit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.65.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Shane da Silva
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 2025-01-27 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: childprocess
|
@@ -322,8 +321,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
322
321
|
- !ruby/object:Gem::Version
|
323
322
|
version: '0'
|
324
323
|
requirements: []
|
325
|
-
rubygems_version: 3.
|
326
|
-
signing_key:
|
324
|
+
rubygems_version: 3.6.2
|
327
325
|
specification_version: 4
|
328
326
|
summary: Git hook manager
|
329
327
|
test_files: []
|