lefthook 0.7.7 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/bin/lefthook +4 -3
- data/libexec/lefthook_darwin_amd64_v1/lefthook +0 -0
- data/libexec/lefthook_darwin_arm64/lefthook +0 -0
- data/libexec/lefthook_linux_amd64_v1/lefthook +0 -0
- data/libexec/lefthook_linux_arm64/lefthook +0 -0
- data/libexec/lefthook_windows_amd64_v1/lefthook.exe +0 -0
- data/libexec/lefthook_windows_arm64/lefthook.exe +0 -0
- metadata +7 -8
- data/libexec/lefthook_darwin_amd64/lefthook +0 -0
- data/libexec/lefthook_linux_386/lefthook +0 -0
- data/libexec/lefthook_linux_amd64/lefthook +0 -0
- data/libexec/lefthook_windows_386/lefthook.exe +0 -0
- data/libexec/lefthook_windows_amd64/lefthook.exe +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: be8c14e5365b669dd2867c5b20c6e3aa128a652bdbb93888be82dfcf97f7c0e8
|
|
4
|
+
data.tar.gz: faae97d54faefd3a9c57f703c21987ae38255222ae13d2b696721f0570382caf
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 88504433af9ebdb1b86c347669a7873fe5ee6ecfebefe4bfb6fdc62a5e3341cbc981fa8ab1bb411e5f0979cc37b1b7b2ce3b083eb9d0e1b491575efb4c06e8dd
|
|
7
|
+
data.tar.gz: 99bd928cd37b2fe7e3d9fcebfb4ad3a3877d573adad3ea8615b03452bf24359ae8938bacc660728bf529136a5c814cd246fbd1689ccf264eb0a2c515269a1569
|
data/bin/lefthook
CHANGED
|
@@ -8,7 +8,6 @@ arch =
|
|
|
8
8
|
when /\Aarm64/ then "arm64" # Apple reports arm64e on M1 macs
|
|
9
9
|
when "x86_64" then "amd64"
|
|
10
10
|
when "x64" then "amd64" # Windows with MINGW64 reports RUBY_PLATFORM as "x64-mingw32"
|
|
11
|
-
when "x86" then "386"
|
|
12
11
|
else raise "Unknown architecture: #{platform.cpu}"
|
|
13
12
|
end
|
|
14
13
|
|
|
@@ -21,13 +20,15 @@ os =
|
|
|
21
20
|
else raise "Unknown OS: #{platform.os}"
|
|
22
21
|
end
|
|
23
22
|
|
|
24
|
-
|
|
23
|
+
suffix = arch == "amd64" ? "_v1" : "" # GOAMD64
|
|
24
|
+
|
|
25
|
+
binary = "lefthook_#{os}_#{arch}#{suffix}/lefthook"
|
|
25
26
|
binary = "#{binary}.exe" if os == "windows"
|
|
26
27
|
|
|
27
28
|
args = $*.map { |x| x.include?(' ') ? "'" + x + "'" : x }
|
|
28
29
|
cmd = File.expand_path "#{File.dirname(__FILE__)}/../libexec/#{binary}"
|
|
29
30
|
|
|
30
|
-
unless File.
|
|
31
|
+
unless File.exist?(cmd)
|
|
31
32
|
raise "Invalid platform. Lefthook wasn't build for #{RUBY_PLATFORM}"
|
|
32
33
|
end
|
|
33
34
|
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: lefthook
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.8.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- A.A.Abroskin
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2022-06-07 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description:
|
|
14
14
|
email:
|
|
@@ -20,13 +20,12 @@ extra_rdoc_files: []
|
|
|
20
20
|
files:
|
|
21
21
|
- bin/lefthook
|
|
22
22
|
- lib/lefthook.rb
|
|
23
|
-
- libexec/
|
|
23
|
+
- libexec/lefthook_darwin_amd64_v1/lefthook
|
|
24
24
|
- libexec/lefthook_darwin_arm64/lefthook
|
|
25
|
-
- libexec/
|
|
26
|
-
- libexec/lefthook_linux_amd64/lefthook
|
|
25
|
+
- libexec/lefthook_linux_amd64_v1/lefthook
|
|
27
26
|
- libexec/lefthook_linux_arm64/lefthook
|
|
28
|
-
- libexec/
|
|
29
|
-
- libexec/
|
|
27
|
+
- libexec/lefthook_windows_amd64_v1/lefthook.exe
|
|
28
|
+
- libexec/lefthook_windows_arm64/lefthook.exe
|
|
30
29
|
homepage: https://github.com/evilmartians/lefthook
|
|
31
30
|
licenses:
|
|
32
31
|
- MIT
|
|
@@ -47,7 +46,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
47
46
|
- !ruby/object:Gem::Version
|
|
48
47
|
version: '0'
|
|
49
48
|
requirements: []
|
|
50
|
-
rubygems_version: 3.
|
|
49
|
+
rubygems_version: 3.3.7
|
|
51
50
|
signing_key:
|
|
52
51
|
specification_version: 4
|
|
53
52
|
summary: A single dependency-free binary to manage all your git hooks that works with
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|