cfn-model 0.0.7 → 0.0.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (18) hide show
  1. checksums.yaml +4 -4
  2. data/lib/cfn-model/schema/{AWS::CloudFront::Distribution.yml → AWS_CloudFront_Distribution.yml} +0 -0
  3. data/lib/cfn-model/schema/{AWS::EC2::SecurityGroup.yml → AWS_EC2_SecurityGroup.yml} +0 -0
  4. data/lib/cfn-model/schema/{AWS::EC2::SecurityGroupEgress.yml → AWS_EC2_SecurityGroupEgress.yml} +0 -0
  5. data/lib/cfn-model/schema/{AWS::EC2::SecurityGroupIngress.yml → AWS_EC2_SecurityGroupIngress.yml} +0 -0
  6. data/lib/cfn-model/schema/{AWS::ElasticLoadBalancing::LoadBalancer.yml → AWS_ElasticLoadBalancing_LoadBalancer.yml} +0 -0
  7. data/lib/cfn-model/schema/{AWS::IAM::Group.yml → AWS_IAM_Group.yml} +0 -0
  8. data/lib/cfn-model/schema/{AWS::IAM::ManagedPolicy.yml → AWS_IAM_ManagedPolicy.yml} +0 -0
  9. data/lib/cfn-model/schema/{AWS::IAM::Policy.yml → AWS_IAM_Policy.yml} +0 -0
  10. data/lib/cfn-model/schema/{AWS::IAM::Role.yml → AWS_IAM_Role.yml} +0 -0
  11. data/lib/cfn-model/schema/{AWS::IAM::User.yml → AWS_IAM_User.yml} +0 -0
  12. data/lib/cfn-model/schema/{AWS::IAM::UserToGroupAddition.yml → AWS_IAM_UserToGroupAddition.yml} +0 -0
  13. data/lib/cfn-model/schema/{AWS::Lambda::Permission.yml → AWS_Lambda_Permission.yml} +0 -0
  14. data/lib/cfn-model/schema/{AWS::S3::BucketPolicy.yml → AWS_S3_BucketPolicy.yml} +0 -0
  15. data/lib/cfn-model/schema/{AWS::SNS::TopicPolicy.yml → AWS_SNS_TopicPolicy.yml} +0 -0
  16. data/lib/cfn-model/schema/{AWS::SQS::QueuePolicy.yml → AWS_SQS_QueuePolicy.yml} +0 -0
  17. data/lib/cfn-model/validator/schema_generator.rb +1 -1
  18. metadata +16 -16
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d7b0ef4193ef98c12356e0459039cdef2a94b8a9
4
- data.tar.gz: 14339907492812e00b23b13acb6f5f1732b567a6
3
+ metadata.gz: 75ed597a2ce9f0c37fd0fa6b2032e001b39a27e6
4
+ data.tar.gz: 335e729286fc90e73586bef9c126b6dd04047c8f
5
5
  SHA512:
6
- metadata.gz: 0528e26fb90344732dfb6678b74f10e0cb861930f17136b4f2a911802e263115b33e3805908ce76d70ca176c835d56d95e344e95515dd03beafbdb37dd324429
7
- data.tar.gz: d5fefc1d0ab361fc203f4515fc032e7396d573fdacccc042ecfa3603349f4f6e29553cbd01c2270a7fde4c8364f7898c7f0c7467da2a89788a37273e6e1cdb3a
6
+ metadata.gz: aa0b6516d6f2048b3cde856a839c19719e21b3d76945ffde305cf80da2bb2e1b010888537503344442e7e49790ea25b5850c9765addf36d70a98f2c90d171315
7
+ data.tar.gz: e3a023a4f67ab7e1bde5944c5b632805a016ddeda65c2c347acdf15f88c33b92831586cd76942fdcf213f78a690aee72b90319a86d33836ba86109298cf5deaf
@@ -71,7 +71,7 @@ class SchemaGenerator
71
71
  end
72
72
 
73
73
  def schema_file(file)
74
- "#{__dir__}/../schema/#{file}"
74
+ "#{__dir__}/../schema/#{file.gsub(/::/, '_')}"
75
75
  end
76
76
 
77
77
  def schema_for_type(type)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cfn-model
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Kascic
@@ -59,21 +59,21 @@ files:
59
59
  - lib/cfn-model/parser/policy_document_parser.rb
60
60
  - lib/cfn-model/parser/security_group_parser.rb
61
61
  - lib/cfn-model/parser/with_policy_document_parser.rb
62
- - lib/cfn-model/schema/AWS::CloudFront::Distribution.yml
63
- - lib/cfn-model/schema/AWS::EC2::SecurityGroup.yml
64
- - lib/cfn-model/schema/AWS::EC2::SecurityGroupEgress.yml
65
- - lib/cfn-model/schema/AWS::EC2::SecurityGroupIngress.yml
66
- - lib/cfn-model/schema/AWS::ElasticLoadBalancing::LoadBalancer.yml
67
- - lib/cfn-model/schema/AWS::IAM::Group.yml
68
- - lib/cfn-model/schema/AWS::IAM::ManagedPolicy.yml
69
- - lib/cfn-model/schema/AWS::IAM::Policy.yml
70
- - lib/cfn-model/schema/AWS::IAM::Role.yml
71
- - lib/cfn-model/schema/AWS::IAM::User.yml
72
- - lib/cfn-model/schema/AWS::IAM::UserToGroupAddition.yml
73
- - lib/cfn-model/schema/AWS::Lambda::Permission.yml
74
- - lib/cfn-model/schema/AWS::S3::BucketPolicy.yml
75
- - lib/cfn-model/schema/AWS::SNS::TopicPolicy.yml
76
- - lib/cfn-model/schema/AWS::SQS::QueuePolicy.yml
62
+ - lib/cfn-model/schema/AWS_CloudFront_Distribution.yml
63
+ - lib/cfn-model/schema/AWS_EC2_SecurityGroup.yml
64
+ - lib/cfn-model/schema/AWS_EC2_SecurityGroupEgress.yml
65
+ - lib/cfn-model/schema/AWS_EC2_SecurityGroupIngress.yml
66
+ - lib/cfn-model/schema/AWS_ElasticLoadBalancing_LoadBalancer.yml
67
+ - lib/cfn-model/schema/AWS_IAM_Group.yml
68
+ - lib/cfn-model/schema/AWS_IAM_ManagedPolicy.yml
69
+ - lib/cfn-model/schema/AWS_IAM_Policy.yml
70
+ - lib/cfn-model/schema/AWS_IAM_Role.yml
71
+ - lib/cfn-model/schema/AWS_IAM_User.yml
72
+ - lib/cfn-model/schema/AWS_IAM_UserToGroupAddition.yml
73
+ - lib/cfn-model/schema/AWS_Lambda_Permission.yml
74
+ - lib/cfn-model/schema/AWS_S3_BucketPolicy.yml
75
+ - lib/cfn-model/schema/AWS_SNS_TopicPolicy.yml
76
+ - lib/cfn-model/schema/AWS_SQS_QueuePolicy.yml
77
77
  - lib/cfn-model/schema/schema.yml.erb
78
78
  - lib/cfn-model/validator/cloudformation_validator.rb
79
79
  - lib/cfn-model/validator/reference_validator.rb