cloudstack_client 1.5.9 → 1.5.10
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/Gemfile.lock +4 -4
- data/README.md +0 -2
- data/lib/cloudstack_client/configuration.rb +2 -2
- data/lib/cloudstack_client/connection.rb +4 -1
- data/lib/cloudstack_client/version.rb +1 -1
- 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: 7cafadb44577a4fb75b477438b2a6e256c8715c06681dde1a8e6e815f96a47ff
|
4
|
+
data.tar.gz: 24e9e5324a23c639d3e6c472c25614ecade9ed3af6eb8d450dba10d871b021d9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 38b9395b2f67ad5842b554444465d1da58b3ef8173b6d4bea880bf7263d763c5114e8afdca7b6e66f21972a8790afabbb3630d8ed85044366427769f72734bc4
|
7
|
+
data.tar.gz: 774377ebc139f7f79acdf146358b30a69229caf814477855a76677629178e9033685a6d5fb3aff0dd896bbc9123e5f558ba9c30b8805a269a5464c7415326720
|
data/Gemfile.lock
CHANGED
@@ -1,17 +1,17 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
cloudstack_client (1.5.
|
4
|
+
cloudstack_client (1.5.10)
|
5
5
|
|
6
6
|
GEM
|
7
7
|
remote: https://rubygems.org/
|
8
8
|
specs:
|
9
9
|
bond (0.5.1)
|
10
|
-
minitest (5.
|
10
|
+
minitest (5.25.4)
|
11
11
|
rake (13.2.1)
|
12
12
|
ripl (0.7.1)
|
13
13
|
bond (~> 0.5.1)
|
14
|
-
thor (1.3.
|
14
|
+
thor (1.3.2)
|
15
15
|
|
16
16
|
PLATFORMS
|
17
17
|
x86_64-linux
|
@@ -24,4 +24,4 @@ DEPENDENCIES
|
|
24
24
|
thor (~> 1.1)
|
25
25
|
|
26
26
|
BUNDLED WITH
|
27
|
-
2.
|
27
|
+
2.5.22
|
data/README.md
CHANGED
@@ -5,7 +5,7 @@ module CloudstackClient
|
|
5
5
|
|
6
6
|
def self.load(configuration)
|
7
7
|
file = configuration[:config_file] || Configuration.locate_config_file
|
8
|
-
unless File.
|
8
|
+
unless File.exist?(file)
|
9
9
|
raise ConfigurationError, "Configuration file '#{file}' not found."
|
10
10
|
end
|
11
11
|
|
@@ -37,7 +37,7 @@ module CloudstackClient
|
|
37
37
|
def self.locate_config_file
|
38
38
|
%w(.cloudstack .cloudstack-cli).each do |file|
|
39
39
|
file = File.join(Dir.home, "#{file}.yml")
|
40
|
-
return file if File.
|
40
|
+
return file if File.exist?(file)
|
41
41
|
end
|
42
42
|
nil
|
43
43
|
end
|
@@ -155,7 +155,10 @@ module CloudstackClient
|
|
155
155
|
end
|
156
156
|
|
157
157
|
def escape(input)
|
158
|
-
CGI.escape(input.to_s)
|
158
|
+
CGI.escape(input.to_s)
|
159
|
+
.gsub('+', '%20')
|
160
|
+
.gsub(' ', '%20')
|
161
|
+
.gsub('%2A', '*')
|
159
162
|
end
|
160
163
|
|
161
164
|
def symbolized_key(name)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cloudstack_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.5.
|
4
|
+
version: 1.5.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nik Wolfgramm
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2025-01-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -123,7 +123,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
123
123
|
- !ruby/object:Gem::Version
|
124
124
|
version: '0'
|
125
125
|
requirements: []
|
126
|
-
rubygems_version: 3.
|
126
|
+
rubygems_version: 3.5.22
|
127
127
|
signing_key:
|
128
128
|
specification_version: 4
|
129
129
|
summary: CloudStack API client written in Ruby
|