opennebula-cli 5.10.0 → 5.10.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/bin/oneuser +3 -8
  3. metadata +4 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a78cf0298069e1a115fb8529dd915b19d41ee86e
4
- data.tar.gz: 81bdb3fb2b4d630006641a8e7c74ed1e2ab8559b
3
+ metadata.gz: e9e19951cf0b76618715d35823cad93f8d5b6d87
4
+ data.tar.gz: 3d6f919274af571c80ad6f229c7c66829b09e6ea
5
5
  SHA512:
6
- metadata.gz: 745896aac249566423a2d1be8995c405dc639bd0e200241fe08cb95e749cb5b47a205f80c910da58533ad3c81043df9525f66a1446f78a7c0fec23f1d2dfcdcc
7
- data.tar.gz: 26458ddd8cc355da47e430238a1db2ef59d6be69221438642dd412f5e6c9b4c47b4a4b72a52451493515cf6fc7844841c548f969d4be119a8a42868c7fa17d3b
6
+ metadata.gz: 105ad944601a3b77a4b6f4ded271b4fc2eb6df94ea130224db117b47f17a9d8a5e19db6bbafd98144cd3e1b1ccff6cad357f6c35e7ce1026e406e895e6a6ff67
7
+ data.tar.gz: d76e4978c73057f0ec6b39960d16f5b9bd4b7be46525847dffb8664441ea44cc12c266cba56374da9138c36c6d41211a51f412ba495b4b17114be149c49a0ae4
data/bin/oneuser CHANGED
@@ -708,12 +708,7 @@ CommandParser::CmdParser.new(ARGV) do
708
708
  auth_string = "#{user['NAME']}:#{token}"
709
709
  auth_file = helper.auth_file(auth_string)
710
710
 
711
- # rubocop:disable Lint/HandleExceptions
712
- begin
713
- FileUtils.mkdir_p(File.dirname(auth_file))
714
- rescue Errno::EEXIST
715
- end
716
- # rubocop:enable Lint/HandleExceptions
711
+ FileUtils.mkdir_p(File.dirname(auth_file)) rescue Errno::EEXIST
717
712
 
718
713
  file = File.open(auth_file, 'w')
719
714
  file.write(auth_string)
@@ -776,13 +771,13 @@ CommandParser::CmdParser.new(ARGV) do
776
771
  auth_string = "#{user['NAME']}:#{token}"
777
772
  auth_file = helper.auth_file(auth_string)
778
773
 
779
- # rubocop:disable Lint/HandleExceptions
774
+ # rubocop:disable Lint/SuppressedException
780
775
  begin
781
776
  File.unlink(auth_file)
782
777
  puts "Removing #{auth_file}"
783
778
  rescue Errno::ENOENT
784
779
  end
785
- # rubocop:enable Lint/HandleExceptions
780
+ # rubocop:enable Lint/SuppressedException
786
781
 
787
782
  0
788
783
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opennebula-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.10.0
4
+ version: 5.10.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenNebula
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-11-26 00:00:00.000000000 Z
11
+ date: 2019-12-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: opennebula
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 5.10.0
19
+ version: 5.10.1
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 5.10.0
26
+ version: 5.10.1
27
27
  description: Commands used to talk to OpenNebula
28
28
  email: contact@opennebula.org
29
29
  executables: