kubectl-rb 0.2.0-arm64-linux → 0.2.1-arm64-linux

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: 0c1d3d55b4ee6e0cf114350fa501c963de3ec3815c547f03c3298478e802446f
4
- data.tar.gz: 22e2005cd2e1a50ce76521c16691efbfbe602999fc273378115e9bb117cf7098
3
+ metadata.gz: 27413ef3d058796d66538336bf78c566274f0e2e1b7f673a3ce3d0352e5b50b6
4
+ data.tar.gz: 4315e885ba63e9b4e73283b0b83aeacc2c79c72ee54f1fea6f04603eac42457a
5
5
  SHA512:
6
- metadata.gz: 7d302b6009a251e0f41bd7936739ffac630aa1251476b3689c7eb01275e7f045c5ff334c2c935340e05d3517e5c6af15256b0ed7110103bc763309885d0ab61c
7
- data.tar.gz: 88eb02b23285b2c8738ca7c5352b3442cb73281106e309848151d2a7deeaf428ba88487f64109ed37486b913af2fadb02da9c31571b6e6ef124e46c028052e84
6
+ metadata.gz: 60435293bbbe347983be99c8929f25fa5b4a3d24c57a26491fd026bcfa4a35797b03f6e68f44e566a67278f3a90a80b6243457ae2da383b1fb6ad28743e5a674
7
+ data.tar.gz: 0d8e629ada8f15c5c31f92c80881283b4208628df2fb74c02a555cdc02491baf82d40e2ba302d47dd51331fb57cbca52a59d3b73c0d71c2f0b9a96656a56a29f
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ ## 0.2.1
2
+ * Make sure the kubectl binary is executable.
3
+
1
4
  ## 0.2.0
2
5
  * Upgrade to kubectl 1.21.
3
6
  * Add support for ARM Macs.
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', tuple: %w(windows 386), ext: '.exe' },
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.write(File.join('vendor', exe), URI.open(url).read)
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
- STDOUT.write("Enter OTP code: ")
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.description = s.summary = 'Kubectl distributed as a Rubygem.'
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
 
@@ -1,4 +1,4 @@
1
1
  module KubectlRb
2
- VERSION = '0.2.0'
2
+ VERSION = '0.2.1'
3
3
  KUBECTL_VERSION = '1.21.2'
4
4
  end
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.0
4
+ version: 0.2.1
5
5
  platform: arm64-linux
6
6
  authors:
7
7
  - Cameron Dutro
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-07-09 00:00:00.000000000 Z
11
+ date: 2021-08-17 00:00:00.000000000 Z
12
12
  dependencies: []
13
- description: Kubectl distributed as a Rubygem.
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.3
48
+ rubygems_version: 3.2.22
49
49
  signing_key:
50
50
  specification_version: 4
51
51
  summary: Kubectl distributed as a Rubygem.