tck-lambdas 0.3.2 → 0.3.3

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
  SHA1:
3
- metadata.gz: 175bb9f16927fc7ec6e2f2e57ecbce800e69c80f
4
- data.tar.gz: d7270b8520c268b22fd3aa1e4ac19dd6093858ca
3
+ metadata.gz: 3cba545028ea561590c8b312bbb3752ed3447b0f
4
+ data.tar.gz: 6ca2a38d254191aeaa4e0424e8e29206bfaf0907
5
5
  SHA512:
6
- metadata.gz: 2cf58e43d74b102f95020ce46d7a90e0b780acaaa45828d4610ebaaa70c1814d05395e8de51d532eca75a15c73b6fa61b84d200e82b24c6f83ab1999504ea445
7
- data.tar.gz: 4f377bc362182689693fea1ea140febc0a1b32800ef7143ab952e6462c3ea3fc37be6a593dcc444312fcf1a9a7944058ff45b97073e37e0c357b78b6d235f9ca
6
+ metadata.gz: 0a0d5035fd41829b66b4d6af792bc0a4c0f33617937e981e1d3c58fbfc235cc94ec9c8d44b588a9d78e5a78068f8bf8ce9c93f94c691bc0c927795f4d37d4a20
7
+ data.tar.gz: b3b2e6fa2d68dcf624217e2be3ca54228c199326ee728d368a59ac2384202c3e672a25db58211cf542f7c4fe45df398807ab5726b72ff01513eb6106eea4affa
@@ -49,6 +49,13 @@ module Tck
49
49
  raise "Sorry, '#{name}' is not a valid lambda name."
50
50
  end
51
51
  end
52
+
53
+ desc "roles", "List current AWS IAM roles (running 'aws iam list-roles [...]')."
54
+ def roles
55
+ cmd = 'aws iam list-roles --query "Roles[].[RoleName,Arn]"'
56
+ puts cmd
57
+ puts `#{cmd}`
58
+ end
52
59
  end
53
60
  end
54
61
  end
@@ -1,5 +1,5 @@
1
1
  module Tck
2
2
  module Lambdas
3
- VERSION = "0.3.2"
3
+ VERSION = "0.3.3"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tck-lambdas
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fernando Garcia Samblas
@@ -25,47 +25,47 @@ dependencies:
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
- name: bundler
28
+ name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '1.12'
34
- type: :development
33
+ version: '10.0'
34
+ type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '1.12'
40
+ version: '10.0'
41
41
  - !ruby/object:Gem::Dependency
42
- name: rake
42
+ name: minitest
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '10.0'
48
- type: :development
47
+ version: '5.0'
48
+ type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '10.0'
54
+ version: '5.0'
55
55
  - !ruby/object:Gem::Dependency
56
- name: minitest
56
+ name: bundler
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '5.0'
61
+ version: '1.12'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: '5.0'
68
+ version: '1.12'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: cucumber
71
71
  requirement: !ruby/object:Gem::Requirement