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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e43108d3f35c96462d642a98b21a4ca01137a95f
4
- data.tar.gz: f7751b1cbf567aff660e2ec421a6e87f4aed32ed
3
+ metadata.gz: edcac88b6f93ad1e0729a170e85518462a57656f
4
+ data.tar.gz: ac9c68a9634fae326f2d2dae42556d1280a0a20c
5
5
  SHA512:
6
- metadata.gz: 57c3a4c3a0bf0dbf762610e92e0f40607dc72fd9332655ab913aff9294290987c213535d24daad96d06954603fdb670d0e7db5cd40b2a5b0839a47ad7385eef5
7
- data.tar.gz: 4a964a287554d498ed72b569d6e21f76adae38672047a5c85fb7212dc78773e73987b18a59eb6656ff80b0248cee2376e9b410e222bd4127475c6de69800bf98
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
- #not legal?
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.22
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-20 00:00:00.000000000 Z
11
+ date: 2018-03-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: kwalify