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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 489c75e2e4e2db2c41fd78e3b5c83d0d6390112eb49bfe1c18c2bbcb2ba85b63
4
- data.tar.gz: 451ab1cb5a6c39adf0c82ef0f6ee6def7b27e4f5740e4ed9923d117a8fb67139
3
+ metadata.gz: bd33f3a6f75fda5172bc6eaf45b55bf4595f6195d7c11cbc1b822a0ba201de2f
4
+ data.tar.gz: 54cbb9d16141b734a7675ae0b62e6af3ef6d765dc9ca9cb490f44d3cfc64595c
5
5
  SHA512:
6
- metadata.gz: 3e281fb5ff14a0130d6260d1f98172e1a14a5ed4ace26981b9fc63fea70faccc80deee27e41f220d48ddae2e356a8ba6142ac0a23e2dea0c1a9c888589273b7a
7
- data.tar.gz: 47f1d1246a0760816c8e07b1aaa0e78a44a58f33f362f84c28a6d5fbec7d99aeea951fb69278676e7cc2977ac2af159e02aa85beb41c3af291ff5b55254254db
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
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.6
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-05-27 00:00:00.000000000 Z
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: