cfn-model 0.1.22 → 0.1.23
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cfn-model/model/lambda_principal.rb +1 -6
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: edcac88b6f93ad1e0729a170e85518462a57656f
|
4
|
+
data.tar.gz: ac9c68a9634fae326f2d2dae42556d1280a0a20c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e14b30d51f4b1038e1d26abb12d1b4694cdce1039fdbba5e8d0f173b7aaea673435722c6371b67da619b6a016629b7f7062b46f36c1b7acd7f9135aca43dc9c8
|
7
|
+
data.tar.gz: fc64546206181cb40fdd697647d2fa2c5643a34209a7666e0a2602bda10b897841634fcf74059995c7636c9e1ebe960a4a7c1a0e8a73fafb53402c0e1c467165
|
@@ -2,13 +2,8 @@ class LambdaPrincipal
|
|
2
2
|
def self.wildcard?(principal)
|
3
3
|
if principal.is_a? String
|
4
4
|
return has_asterisk principal
|
5
|
-
elsif principal.is_a? Integer
|
6
|
-
false
|
7
|
-
elsif principal.nil?
|
8
|
-
false
|
9
5
|
else
|
10
|
-
|
11
|
-
raise "whacky lambda principal not string or int: #{principal}"
|
6
|
+
false
|
12
7
|
end
|
13
8
|
end
|
14
9
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cfn-model
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.23
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eric Kascic
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-03-
|
11
|
+
date: 2018-03-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: kwalify
|