aws_clim 1.0.5 → 1.0.7

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: e3984e158427ba0a677f007e42c46ffda1c74637c1a6c0dc6ec49d346cc1f1ef
4
- data.tar.gz: 906c28423ee82bb94ec9d388ca15129ca1fa883d05aed2e86ea18775735044f6
3
+ metadata.gz: e806d4cc4516f8998e6804f3da5dd798577d467c4c27b2c9e4bb4fc5821f9ba4
4
+ data.tar.gz: 5a5f85616e610a6080c85fe660b19fd5581a7d2a1120043a731fbede9df792cc
5
5
  SHA512:
6
- metadata.gz: 67d7f53dd0d0ab542a6f0f48e8e4b8a452930ba0bd6372fa1517fe0c5cefd83697fe93e2395726140379855104a2fd86c4d6d3feda5b5b5381a60189b5a6ef17
7
- data.tar.gz: 1f7ec0b62eaee30de16f7b6bf7c5742361c1327e8ba4f0601692e6ffa8b44bfadd267eda3943f0a427070a0a7d94652533d4bfcd7fa14d93089ac0b391fe2e8a
6
+ metadata.gz: ae33869ec35a7d1b5558f745b76fec9cfc2bead6f305055b499a98851bdba9506ebb047b535f6a836e452f5785467cb42c77c88335474e78763debba8209c8c2
7
+ data.tar.gz: e2e7ebf6d371e49f8f7571b8e454bb904444379b630b410c7dc574cc4f430557db4fe03fa6c7baad3f584ad3539a3b9680189a0b583c1f61b2532b39a5c1397d
data/dist.sh ADDED
@@ -0,0 +1 @@
1
+ rm -rf *.gem && gem build aws_clim.gemspec && gem push *.gem
@@ -1,3 +1,3 @@
1
1
  module AwsClim
2
- VERSION = "1.0.5"
2
+ VERSION = "1.0.7"
3
3
  end
data/lib/aws_clim.rb CHANGED
@@ -8,7 +8,7 @@ class AwsClim
8
8
  @global_options = global_options
9
9
  end
10
10
 
11
- %w(
11
+ SERVICES = %w(
12
12
  accessanalyzer
13
13
  account
14
14
  acm
@@ -326,12 +326,18 @@ class AwsClim
326
326
  workspaces
327
327
  workspaces-web
328
328
  xray
329
- ).each do |service_name|
330
- define_method service_name do |*ps|
329
+ )
330
+
331
+ def self.services
332
+ SERVICES
333
+ end
334
+
335
+ SERVICES.each do |service_name|
336
+ define_method "#{service_name.gsub('-', '_')}" do |*ps|
331
337
  execute(service_name, ps)
332
338
  end
333
339
 
334
- define_method "#{service_name}_help" do
340
+ define_method "#{service_name.gsub('-', '_')}_help" do
335
341
  execute(service_name, 'help').data
336
342
  end
337
343
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws_clim
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.5
4
+ version: 1.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew S Aguiar
@@ -26,6 +26,7 @@ files:
26
26
  - README.md
27
27
  - aws_clim.gemspec
28
28
  - bin/console
29
+ - dist.sh
29
30
  - lib/aws_clim.rb
30
31
  - lib/aws_clim/version.rb
31
32
  homepage: https://github.com/andrewaguiar/aws_clim