lefthook 1.6.18 → 1.7.14

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: 8aabecfc0d35a579730484956ba49ce2b373be11021302650b806d8f8db789c4
4
- data.tar.gz: 14e20f1bd7d317862bdc3080c062c4863d4d29377fa720390e2b87fa76f1eaa2
3
+ metadata.gz: 40b6f368ccf210e8f7ad732988a4717ca1f88d91988fd8f5f3f48d98ba42e3cf
4
+ data.tar.gz: e5ef5ac49bbb9865adc4dab5d0eb81ac674b4fe5230e6c9f643b69cee096b459
5
5
  SHA512:
6
- metadata.gz: 3f87e68a9bdd6e6f1a6378470438a3c0267b6b38e9485809541bdd8916a4a3be159392c8135077c8aa9c92c08c726d9c6821e2dbe42d3953336d7f26468700cc
7
- data.tar.gz: 6433eacdad3552ab9e3b63a66d1f1361c34b4a95aae678e93f169cae72e35fdb5ca788a3e5dc064eb3e4ae623fcf47a08a08b16785cc6430b25e11efbca7185e
6
+ metadata.gz: '09c0b3b5fc2aadfc0beb25a74f4c8da31e3b8e6b5ea835c932088bc9f7468dc2b44b14cf70e46466fc53639ef7e8ec59ce56989a562e6d061b5569c9745d93a1'
7
+ data.tar.gz: 99649c0e0aff680a8bbe130137e0a29404442096a09790a715f768f1a9c1b40e3847ba33cd474d906ae3d4dd730534c4301a8c2d973ac2c3a8bb377521f0e499
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 "amd64"
11
- when "x64" then "amd64" # Windows with MINGW64 reports RUBY_PLATFORM as "x64-mingw32"
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,13 @@ 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" then "windows"
21
+ when "mingw" then "windows"
22
22
  when "freebsd" then "freebsd"
23
+ when "openbsd" then "openbsd"
23
24
  else raise "Unknown OS: #{platform.os}"
24
25
  end
25
26
 
26
- suffix = arch == "amd64" ? "_v1" : "" # GOAMD64
27
-
28
- binary = "lefthook_#{os}_#{arch}#{suffix}/lefthook"
27
+ binary = "lefthook-#{os}-#{arch}/lefthook"
29
28
  binary = "#{binary}.exe" if os == "windows"
30
29
 
31
30
  args = $*.map { |x| x.include?(' ') ? "'" + x + "'" : x }
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.6.18
4
+ version: 1.7.14
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-06-21 00:00:00.000000000 Z
12
+ date: 2024-08-17 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description:
15
15
  email:
@@ -21,15 +21,16 @@ extra_rdoc_files: []
21
21
  files:
22
22
  - bin/lefthook
23
23
  - lib/lefthook.rb
24
- - libexec/lefthook_darwin_amd64_v1/lefthook
25
- - libexec/lefthook_darwin_arm64/lefthook
26
- - libexec/lefthook_freebsd_amd64_v1/lefthook
27
- - libexec/lefthook_freebsd_arm64/lefthook
28
- - libexec/lefthook_linux_amd64_v1/lefthook
29
- - libexec/lefthook_linux_arm64/lefthook
30
- - libexec/lefthook_windows_386/lefthook.exe
31
- - libexec/lefthook_windows_amd64_v1/lefthook.exe
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-openbsd-arm64/lefthook
31
+ - libexec/lefthook-openbsd-x64/lefthook
32
+ - libexec/lefthook-windows-arm64/lefthook.exe
33
+ - libexec/lefthook-windows-x64/lefthook.exe
33
34
  homepage: https://github.com/evilmartians/lefthook
34
35
  licenses:
35
36
  - MIT