lefthook 0.7.7 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/lefthook +5 -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: ada9a9bf2005391c6e1d0f28f8a59dcaeb7f06ea7e07af79cd531c1d722eedda
|
4
|
+
data.tar.gz: 4c9e06d29b037a9ed2888ed8acaed91584bf80d081f43f8bceb3ffad30d6d5eb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 03c66c198104a0eb65c879e89ca31e2f524e8f216e6bdd6276298164f89f1e1e85c44967233cc32aff55f0d8a87525e11e6d633096f1aad2deec3a887ba82414
|
7
|
+
data.tar.gz: 670d90712d787580d23ea6689c30705e80ec57f66ebb51e34a470f33ec6194a9ecf0def27d86a3233a87d1091f9f6134afbd7c8fa4b2711d59528132b8e18900
|
data/bin/lefthook
CHANGED
@@ -6,9 +6,9 @@ platform = Gem::Platform.new(RUBY_PLATFORM)
|
|
6
6
|
arch =
|
7
7
|
case platform.cpu.sub(/\Auniversal\./, '')
|
8
8
|
when /\Aarm64/ then "arm64" # Apple reports arm64e on M1 macs
|
9
|
+
when /aarch64/ then "arm64"
|
9
10
|
when "x86_64" then "amd64"
|
10
11
|
when "x64" then "amd64" # Windows with MINGW64 reports RUBY_PLATFORM as "x64-mingw32"
|
11
|
-
when "x86" then "386"
|
12
12
|
else raise "Unknown architecture: #{platform.cpu}"
|
13
13
|
end
|
14
14
|
|
@@ -21,13 +21,15 @@ os =
|
|
21
21
|
else raise "Unknown OS: #{platform.os}"
|
22
22
|
end
|
23
23
|
|
24
|
-
|
24
|
+
suffix = arch == "amd64" ? "_v1" : "" # GOAMD64
|
25
|
+
|
26
|
+
binary = "lefthook_#{os}_#{arch}#{suffix}/lefthook"
|
25
27
|
binary = "#{binary}.exe" if os == "windows"
|
26
28
|
|
27
29
|
args = $*.map { |x| x.include?(' ') ? "'" + x + "'" : x }
|
28
30
|
cmd = File.expand_path "#{File.dirname(__FILE__)}/../libexec/#{binary}"
|
29
31
|
|
30
|
-
unless File.
|
32
|
+
unless File.exist?(cmd)
|
31
33
|
raise "Invalid platform. Lefthook wasn't build for #{RUBY_PLATFORM}"
|
32
34
|
end
|
33
35
|
|
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: 1.0.2
|
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-24 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.1.6
|
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
|