kubectl-rb 0.2.0-aarch64-linux → 0.2.1-aarch64-linux
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/Rakefile +15 -11
- data/kubectl-rb.gemspec +2 -1
- data/lib/kubectl-rb/version.rb +1 -1
- data/vendor/kubectl +0 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a637ae9c4a02fb04377b0741f19c0fc516e8771fe12ca4dc0ab8e654dde887d9
|
4
|
+
data.tar.gz: 4315e885ba63e9b4e73283b0b83aeacc2c79c72ee54f1fea6f04603eac42457a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c4968504af6a6a08a3ded00cc74fc8aeae3ad3f06924a645808c70e6016e0ca2d5343e53efe6ade339f73214771f9d3795f6ba9b5e9071fb437a02071523f26d
|
7
|
+
data.tar.gz: 0d8e629ada8f15c5c31f92c80881283b4208628df2fb74c02a555cdc02491baf82d40e2ba302d47dd51331fb57cbca52a59d3b73c0d71c2f0b9a96656a56a29f
|
data/CHANGELOG.md
CHANGED
data/Rakefile
CHANGED
@@ -3,17 +3,17 @@ require 'rspec/core/rake_task'
|
|
3
3
|
require 'fileutils'
|
4
4
|
|
5
5
|
DISTRIBUTIONS = [
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
6
|
+
{ rb_platform: 'x86_64-darwin', tuple: %w(darwin amd64) },
|
7
|
+
{ rb_platform: 'arm64-darwin', tuple: %w(darwin arm64) },
|
8
|
+
{ rb_platform: 'x86-linux', tuple: %w(linux 386) },
|
9
|
+
{ rb_platform: 'x86_64-linux', tuple: %w(linux amd64) },
|
10
|
+
{ rb_platform: 'arm-linux', tuple: %w(linux arm) },
|
11
|
+
{ rb_platform: 'arm64-linux', tuple: %w(linux arm64) },
|
12
12
|
{ rb_platform: 'aarch64-linux', tuple: %w(linux arm64) },
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
13
|
+
{ rb_platform: 'ppc64le-linux', tuple: %w(linux ppc64le) },
|
14
|
+
{ rb_platform: 's390x-linux', tuple: %w(linux s390x) },
|
15
|
+
{ rb_platform: 'x86-mswin64', tuple: %w(windows 386), ext: '.exe' },
|
16
|
+
{ rb_platform: 'x64-mswin64', tuple: %w(windows amd64), ext: '.exe' }
|
17
17
|
]
|
18
18
|
|
19
19
|
task :build do
|
@@ -30,7 +30,11 @@ task :build do
|
|
30
30
|
tuple = distro[:tuple].join('/')
|
31
31
|
exe = "kubectl#{distro[:ext]}"
|
32
32
|
url = "https://dl.k8s.io/release/v#{KubectlRb::KUBECTL_VERSION}/bin/#{tuple}/#{exe}"
|
33
|
-
File.
|
33
|
+
vendored_exe = File.join('vendor', exe)
|
34
|
+
File.write(vendored_exe, URI.open(url).read)
|
35
|
+
|
36
|
+
# user rwx, group rx, world rx
|
37
|
+
File.chmod(0755, vendored_exe)
|
34
38
|
|
35
39
|
gemspec = eval(File.read('kubectl-rb.gemspec'))
|
36
40
|
gemspec.platform = distro[:rb_platform]
|
data/kubectl-rb.gemspec
CHANGED
@@ -9,7 +9,8 @@ Gem::Specification.new do |s|
|
|
9
9
|
s.homepage = 'http://github.com/getkuby/kubectl-rb'
|
10
10
|
s.license = 'Apache-2.0'
|
11
11
|
|
12
|
-
s.
|
12
|
+
s.summary = 'Kubectl distributed as a Rubygem.'
|
13
|
+
s.description = 'The kubectl binary executable packaged and distributed as a Rubygem.'
|
13
14
|
|
14
15
|
s.platform = Gem::Platform::RUBY
|
15
16
|
|
data/lib/kubectl-rb/version.rb
CHANGED
data/vendor/kubectl
CHANGED
File without changes
|
metadata
CHANGED
@@ -1,16 +1,16 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kubectl-rb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: aarch64-linux
|
6
6
|
authors:
|
7
7
|
- Cameron Dutro
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-08-
|
11
|
+
date: 2021-08-17 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
|
-
description:
|
13
|
+
description: The kubectl binary executable packaged and distributed as a Rubygem.
|
14
14
|
email:
|
15
15
|
- camertron@gmail.com
|
16
16
|
executables: []
|