aws_clim 1.0.7 → 1.0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -0
- data/lib/aws_clim/version.rb +1 -1
- data/lib/aws_clim.rb +4 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b1a119e1cd9782989355619ff7c5049229b89ed197d76510202cfd53ae7a611d
|
4
|
+
data.tar.gz: '0561108c78665b40b1a50e7f343bdcf785146812e9c5eb1b2189bb26ade0e7f6'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 41a01cabb698d9f9aa229158d5b4ed5dd9bf05f3a14a6ccd5777b4965482141ebde59feb24f761409f8c271e90cb673dd5baf3213704c08069d941bb6d37d33b
|
7
|
+
data.tar.gz: e4825e9b0ca72f3ce39132bfd86068d285f9f1a25726a8841cf27f6615729a47ae605b6ccb5cbf4026d41575d07a4d1aba8b7c4550454ee8ede706bbf615cf22
|
data/README.md
CHANGED
@@ -65,6 +65,10 @@ result.error?
|
|
65
65
|
result.data
|
66
66
|
```
|
67
67
|
|
68
|
+
## Warning
|
69
|
+
|
70
|
+
As AwsClim rely on aws cli executable, some services can be unavailable depending of your version.
|
71
|
+
|
68
72
|
## License
|
69
73
|
|
70
74
|
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
data/lib/aws_clim/version.rb
CHANGED
data/lib/aws_clim.rb
CHANGED
@@ -8,6 +8,7 @@ class AwsClim
|
|
8
8
|
@global_options = global_options
|
9
9
|
end
|
10
10
|
|
11
|
+
# https://docs.aws.amazon.com/cli/latest/reference/
|
11
12
|
SERVICES = %w(
|
12
13
|
accessanalyzer
|
13
14
|
account
|
@@ -377,7 +378,9 @@ class AwsClim
|
|
377
378
|
|
378
379
|
def format_option(option)
|
379
380
|
if option.is_a?(Array)
|
380
|
-
|
381
|
+
name, value = option
|
382
|
+
|
383
|
+
"--#{name}=\"#{value.gsub('"', '\\"')}\""
|
381
384
|
elsif option.is_a?(Hash)
|
382
385
|
format_options(option.to_a)
|
383
386
|
else
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws_clim
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew S Aguiar
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-10-18 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: wraps aws cli in a very small and flexible ruby class
|
14
14
|
email:
|