devfile 0.4.6-aarch64-linux → 0.4.7-aarch64-linux
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/lib/ruby_cpu_to_go_arch.rb +16 -0
- data/out/devfile-arm64-linux +0 -0
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bd33f3a6f75fda5172bc6eaf45b55bf4595f6195d7c11cbc1b822a0ba201de2f
|
4
|
+
data.tar.gz: 54cbb9d16141b734a7675ae0b62e6af3ef6d765dc9ca9cb490f44d3cfc64595c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a192742f88f228e6cb70425ce2506bb348cf05a9f76d246ab56ffe4390e9009b1718b01e45ec9967dbcbe7b518f617167b883431858ca7e0fd2f989bc3b258c3
|
7
|
+
data.tar.gz: 0e5c9ad42b87d962537b71fdf413d7da88413209e6bb5e298db19f56606041d56def8cdb95fd36c7862ccd953790972436441b9996044c9be305d944c87ffa92
|
@@ -0,0 +1,16 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Devfile
|
4
|
+
# Gem::Platform.local.cpu can return a varied arch depending on the distribution,
|
5
|
+
# but they still refer to the same arch
|
6
|
+
RUBY_CPU_TO_GOARCH = {
|
7
|
+
'x86_64' => 'amd64',
|
8
|
+
'aarch64' => 'arm64',
|
9
|
+
'amd64' => 'amd64',
|
10
|
+
'arm64' => 'arm64',
|
11
|
+
'universal' => 'arm64'
|
12
|
+
# This exist because if Rosetta is enabled on mac, it means both arm and amd64 bianries
|
13
|
+
# can be run so the gem lib sets the CPU as "universal".
|
14
|
+
# see: https://developer.apple.com/documentation/apple-silicon/about-the-rosetta-translation-environment
|
15
|
+
}.freeze
|
16
|
+
end
|
data/out/devfile-arm64-linux
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: devfile
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.7
|
5
5
|
platform: aarch64-linux
|
6
6
|
authors:
|
7
7
|
- GitLab
|
8
8
|
bindir: bin
|
9
9
|
cert_chain: []
|
10
|
-
date: 2025-
|
10
|
+
date: 2025-08-15 00:00:00.000000000 Z
|
11
11
|
dependencies: []
|
12
12
|
description: Library used to generate kubernetes manifests from a Devfile.
|
13
13
|
email:
|
@@ -24,6 +24,7 @@ files:
|
|
24
24
|
- ext/main.go
|
25
25
|
- ext/volume.go
|
26
26
|
- lib/devfile.rb
|
27
|
+
- lib/ruby_cpu_to_go_arch.rb
|
27
28
|
- out/devfile-arm64-linux
|
28
29
|
homepage: https://gitlab.com
|
29
30
|
licenses:
|