lefthook 1.6.18 → 1.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/lefthook +4 -6
- data/libexec/{lefthook_darwin_arm64 → lefthook-darwin-arm64}/lefthook +0 -0
- data/libexec/{lefthook_darwin_amd64_v1 → lefthook-darwin-x64}/lefthook +0 -0
- data/libexec/{lefthook_freebsd_arm64 → lefthook-freebsd-arm64}/lefthook +0 -0
- data/libexec/{lefthook_freebsd_amd64_v1 → lefthook-freebsd-x64}/lefthook +0 -0
- data/libexec/{lefthook_linux_arm64 → lefthook-linux-arm64}/lefthook +0 -0
- data/libexec/{lefthook_linux_amd64_v1 → lefthook-linux-x64}/lefthook +0 -0
- data/libexec/{lefthook_windows_arm64 → lefthook-windows-arm64}/lefthook.exe +0 -0
- data/libexec/{lefthook_windows_amd64_v1 → lefthook-windows-x64}/lefthook.exe +0 -0
- metadata +10 -11
- data/libexec/lefthook_windows_386/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: 7aa62fdce1f53263229774d32710bec1a034b34d5b60dbab85c4bfb8a90a8dda
|
4
|
+
data.tar.gz: c95ffddc18b50f1adb053df97aec81c4fa7837a0f3117633a1b08422b74a7536
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ad33ef5c9b5cfc3982b713b71f926555efd92988bb31cd6bed16843cf7799f98e4bb7d16e98572c5fa973f6eb258f83db2cec867dbf3e98c394c6b7595473f17
|
7
|
+
data.tar.gz: e179fab0932eebd6e0b45915979dd97124a8af88de876017497e1043d1c773014f5d920e6b72640e7d6ce96888e89365ad1570a4d780c1120ad12d841e15fdf5
|
data/bin/lefthook
CHANGED
@@ -7,8 +7,8 @@ arch =
|
|
7
7
|
case platform.cpu.sub(/\Auniversal\./, '')
|
8
8
|
when /\Aarm64/ then "arm64" # Apple reports arm64e on M1 macs
|
9
9
|
when /aarch64/ then "arm64"
|
10
|
-
when "x86_64" then "
|
11
|
-
when "x64" then "
|
10
|
+
when "x86_64" then "x64"
|
11
|
+
when "x64" then "x64" # Windows with MINGW64 reports RUBY_PLATFORM as "x64-mingw32"
|
12
12
|
else raise "Unknown architecture: #{platform.cpu}"
|
13
13
|
end
|
14
14
|
|
@@ -18,14 +18,12 @@ os =
|
|
18
18
|
when "darwin" then "darwin" # MacOS
|
19
19
|
when "windows" then "windows"
|
20
20
|
when "mingw32" then "windows" # Windows with MINGW64 reports RUBY_PLATFORM as "x64-mingw32"
|
21
|
-
when "mingw"
|
21
|
+
when "mingw" then "windows"
|
22
22
|
when "freebsd" then "freebsd"
|
23
23
|
else raise "Unknown OS: #{platform.os}"
|
24
24
|
end
|
25
25
|
|
26
|
-
|
27
|
-
|
28
|
-
binary = "lefthook_#{os}_#{arch}#{suffix}/lefthook"
|
26
|
+
binary = "lefthook-#{os}-#{arch}/lefthook"
|
29
27
|
binary = "#{binary}.exe" if os == "windows"
|
30
28
|
|
31
29
|
args = $*.map { |x| x.include?(' ') ? "'" + x + "'" : x }
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lefthook
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- A.A.Abroskin
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2024-
|
12
|
+
date: 2024-07-08 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description:
|
15
15
|
email:
|
@@ -21,15 +21,14 @@ extra_rdoc_files: []
|
|
21
21
|
files:
|
22
22
|
- bin/lefthook
|
23
23
|
- lib/lefthook.rb
|
24
|
-
- libexec/
|
25
|
-
- libexec/
|
26
|
-
- libexec/
|
27
|
-
- libexec/
|
28
|
-
- libexec/
|
29
|
-
- libexec/
|
30
|
-
- libexec/
|
31
|
-
- libexec/
|
32
|
-
- libexec/lefthook_windows_arm64/lefthook.exe
|
24
|
+
- libexec/lefthook-darwin-arm64/lefthook
|
25
|
+
- libexec/lefthook-darwin-x64/lefthook
|
26
|
+
- libexec/lefthook-freebsd-arm64/lefthook
|
27
|
+
- libexec/lefthook-freebsd-x64/lefthook
|
28
|
+
- libexec/lefthook-linux-arm64/lefthook
|
29
|
+
- libexec/lefthook-linux-x64/lefthook
|
30
|
+
- libexec/lefthook-windows-arm64/lefthook.exe
|
31
|
+
- libexec/lefthook-windows-x64/lefthook.exe
|
33
32
|
homepage: https://github.com/evilmartians/lefthook
|
34
33
|
licenses:
|
35
34
|
- MIT
|
Binary file
|