build-cloud 1.1.6 → 1.1.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +2 -0
- data/build-cloud.gemspec +1 -1
- data/lib/build-cloud/iammanagedpolicy.rb +5 -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: f8914414b926d7a60e8bb06324b8d2083f7aeaf22933cbc4d7a25331ee0f8f53
|
4
|
+
data.tar.gz: faa07714347d530ec4e6dcd0b864fd7932acbaee5badfe5b0574ef85242578c6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cf34d7d68225935c92dec21b3eed7a3489c08e51c9b41a4a025e5e6f019aa511d05bbd60811820965e37060355b8b8bf9e75b323ef2991292744e3f4f209f2a8
|
7
|
+
data.tar.gz: 3f0e2ffb227901f6299247714b9b1a03be0cb55d21157592d1d89d22a6c80e0de3944b9e2abf1a5927698951e01f2dafb8fb08a655b56a11e12fdcc9bcd56d74
|
data/CHANGELOG.md
CHANGED
data/build-cloud.gemspec
CHANGED
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
|
5
5
|
Gem::Specification.new do |spec|
|
6
6
|
spec.name = "build-cloud"
|
7
|
-
spec.version = "1.1.
|
7
|
+
spec.version = "1.1.7"
|
8
8
|
spec.authors = ["The Scale Factory"]
|
9
9
|
spec.email = ["info@scalefactory.com"]
|
10
10
|
spec.summary = %q{Tools for building resources in AWS}
|
@@ -38,8 +38,12 @@ class BuildCloud::IAMManagedPolicy
|
|
38
38
|
|
39
39
|
end
|
40
40
|
|
41
|
+
# Fog only partly implements collection behaviour for managed policies
|
42
|
+
# Work around this using each() - and not, for example, select()
|
41
43
|
def read
|
42
|
-
@iam.managed_policies.
|
44
|
+
@iam.managed_policies.each do |item|
|
45
|
+
return item if item.name == @options[:name]
|
46
|
+
end
|
43
47
|
end
|
44
48
|
|
45
49
|
alias_method :fog_object, :read
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: build-cloud
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- The Scale Factory
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-11-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -147,7 +147,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
147
147
|
version: '0'
|
148
148
|
requirements: []
|
149
149
|
rubyforge_project:
|
150
|
-
rubygems_version: 2.7.
|
150
|
+
rubygems_version: 2.7.8
|
151
151
|
signing_key:
|
152
152
|
specification_version: 4
|
153
153
|
summary: Tools for building resources in AWS
|