kubectl-rb 0.2.0-x86-linux → 0.2.1-x86-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/CHANGELOG.md +3 -0
- data/Rakefile +8 -5
- data/kubectl-rb.gemspec +2 -1
- data/lib/kubectl-rb/version.rb +1 -1
- data/vendor/kubectl +0 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 06135fe21e8319d06472c991176b452e33b8763e6360e60d8c330bba304db4fa
|
4
|
+
data.tar.gz: 975b91ff37c6ee194a3be5c23e3215530e371c257703bce0308bb145e0e7d063
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b34dbb1b50aad42e1250b955e7a027dfae8197670ea0ddd6bfdd770032181e49c2e46fa24c52ceb7d1947ae131b3e27ba883b20b8232a92b6ca75227ba68fd08
|
7
|
+
data.tar.gz: dec42bae4823bcd506bfa26e02f961d87913240d42de0e20e2ea500d53c63c647cf42753240fac0cd395e0c034e7460429a6da0a34d7ffe8dbf3b61758352ac9
|
data/CHANGELOG.md
CHANGED
data/Rakefile
CHANGED
@@ -9,9 +9,10 @@ DISTRIBUTIONS = [
|
|
9
9
|
{ rb_platform: 'x86_64-linux', tuple: %w(linux amd64) },
|
10
10
|
{ rb_platform: 'arm-linux', tuple: %w(linux arm) },
|
11
11
|
{ rb_platform: 'arm64-linux', tuple: %w(linux arm64) },
|
12
|
+
{ rb_platform: 'aarch64-linux', tuple: %w(linux arm64) },
|
12
13
|
{ rb_platform: 'ppc64le-linux', tuple: %w(linux ppc64le) },
|
13
14
|
{ rb_platform: 's390x-linux', tuple: %w(linux s390x) },
|
14
|
-
{ rb_platform: 'x86-mswin64',
|
15
|
+
{ rb_platform: 'x86-mswin64', tuple: %w(windows 386), ext: '.exe' },
|
15
16
|
{ rb_platform: 'x64-mswin64', tuple: %w(windows amd64), ext: '.exe' }
|
16
17
|
]
|
17
18
|
|
@@ -29,7 +30,11 @@ task :build do
|
|
29
30
|
tuple = distro[:tuple].join('/')
|
30
31
|
exe = "kubectl#{distro[:ext]}"
|
31
32
|
url = "https://dl.k8s.io/release/v#{KubectlRb::KUBECTL_VERSION}/bin/#{tuple}/#{exe}"
|
32
|
-
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)
|
33
38
|
|
34
39
|
gemspec = eval(File.read('kubectl-rb.gemspec'))
|
35
40
|
gemspec.platform = distro[:rb_platform]
|
@@ -43,9 +48,7 @@ task :publish do
|
|
43
48
|
|
44
49
|
Dir.glob(File.join('pkg', "kubectl-rb-#{KubectlRb::VERSION}-*.gem")).each do |pkg|
|
45
50
|
puts "Publishing #{pkg}"
|
46
|
-
|
47
|
-
otp = STDIN.gets.strip
|
48
|
-
system("gem push -k rubygems --otp #{otp} #{pkg}")
|
51
|
+
system("gem push -k rubygems #{pkg}")
|
49
52
|
end
|
50
53
|
end
|
51
54
|
|
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: x86-linux
|
6
6
|
authors:
|
7
7
|
- Cameron Dutro
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
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: []
|
@@ -45,7 +45,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
45
45
|
- !ruby/object:Gem::Version
|
46
46
|
version: '0'
|
47
47
|
requirements: []
|
48
|
-
rubygems_version: 3.2.
|
48
|
+
rubygems_version: 3.2.22
|
49
49
|
signing_key:
|
50
50
|
specification_version: 4
|
51
51
|
summary: Kubectl distributed as a Rubygem.
|