cfn-model 0.6.1 → 0.6.2

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
  SHA256:
3
- metadata.gz: 8dc3a4591c1b5668be2ba0c45b49e84097b2537ed7fac5afc354d8b71621b942
4
- data.tar.gz: d1b22db490a9c5702d2dcfeaff014955eaed2bf2b988c9eea18651afa148aa34
3
+ metadata.gz: 36ad8068b8a22556bbcfa227568544fe045f809e5d3fc32be33bd87682de8e44
4
+ data.tar.gz: 067332f14d8ff714fcff7161871f1b4d7198efdfda05f5462c0e6558e8c2d587
5
5
  SHA512:
6
- metadata.gz: 5036a2c1135ba9a59f2a637d74ecd2898127640d03fc802e03e7a034f01df83d40050c54ba5f2e094c3bbce161544e76c346d96f73fcef6d9f4427ab728a7ccb
7
- data.tar.gz: c51fd070edfda12f59a8a75af1226ea3ec577b770b1dbaaaf3268887802d0c5853a8fadc2fc23a23d302d5bb0943d0b95fcc25459f66c7993b6e59ced6f07bf1
6
+ metadata.gz: e28bedd978945aa74ad25947c792b4e851b4902165b7cee05bd8b0109ad73470b48cb374eca11106c56063ff0b5e1b50432e7d6a80d4a07cf03e4ed0d7076f38
7
+ data.tar.gz: 46951dafa2d6927b240d23309dc25a7f26914ed9b15b5d59908517738fc3c1b5fbafd3a6cbc42d150e84895e1fb483556d9c0ebf8991d7c8a63c97a21602e4d0
@@ -93,6 +93,7 @@ class CfnModel
93
93
  handler: serverless_function_property(serverless_function, cfn_hash, 'Handler'),
94
94
  role: format_function_role(serverless_function, fn_name),
95
95
  runtime: serverless_function_property(serverless_function, cfn_hash, 'Runtime'),
96
+ reserved_concurrent_executions: serverless_function_property(serverless_function, cfn_hash, 'ReservedConcurrentExecutions'),
96
97
  with_line_numbers: with_line_numbers
97
98
  }
98
99
 
@@ -118,6 +119,7 @@ class CfnModel
118
119
  code_key: lambda_fn_params[:code_key],
119
120
  role: lambda_fn_params[:role],
120
121
  runtime: lambda_fn_params[:runtime],
122
+ reserved_concurrent_executions: lambda_fn_params[:reserved_concurrent_executions],
121
123
  with_line_numbers: lambda_fn_params[:with_line_numbers]
122
124
  )
123
125
  unless serverless_function['Properties']['Role']
@@ -223,6 +225,7 @@ class CfnModel
223
225
  code_key: nil,
224
226
  role:,
225
227
  runtime:,
228
+ reserved_concurrent_executions:,
226
229
  with_line_numbers: false)
227
230
  fn_resource = {
228
231
  'Type' => format_resource_type('AWS::Lambda::Function', -1, with_line_numbers),
@@ -232,6 +235,8 @@ class CfnModel
232
235
  'Runtime' => runtime
233
236
  }
234
237
  }
238
+ fn_resource['Properties']['ReservedConcurrentExecutions'] = reserved_concurrent_executions unless reserved_concurrent_executions.nil?
239
+
235
240
  lambda_function_code(fn_resource, code_bucket, code_key)
236
241
  end
237
242
 
metadata CHANGED
@@ -1,15 +1,43 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cfn-model
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.1
4
+ version: 0.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Kascic
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-01-19 00:00:00.000000000 Z
11
+ date: 2021-04-21 00:00:00.000000000 Z
12
12
  dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rake
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rspec
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '3.4'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '3.4'
13
41
  - !ruby/object:Gem::Dependency
14
42
  name: rubocop
15
43
  requirement: !ruby/object:Gem::Requirement
@@ -24,6 +52,20 @@ dependencies:
24
52
  - - ">="
25
53
  - !ruby/object:Gem::Version
26
54
  version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: simplecov
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '0.11'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '0.11'
27
69
  - !ruby/object:Gem::Dependency
28
70
  name: kwalify
29
71
  requirement: !ruby/object:Gem::Requirement
@@ -53,7 +95,7 @@ dependencies:
53
95
  - !ruby/object:Gem::Version
54
96
  version: '3'
55
97
  description: An object model for CloudFormation templates
56
- email:
98
+ email:
57
99
  executables:
58
100
  - cfn_parse
59
101
  extensions: []
@@ -151,10 +193,10 @@ licenses:
151
193
  metadata:
152
194
  bug_tracker_uri: https://github.com/stelligent/cfn-model/issues
153
195
  changelog_uri: https://github.com/stelligent/cfn-model/releases
154
- documentation_uri: https://www.rubydoc.info/gems/cfn-model/0.6.1
196
+ documentation_uri: https://www.rubydoc.info/gems/cfn-model/0.6.2
155
197
  homepage_uri: https://github.com/stelligent/cfn-model
156
- source_code_uri: https://github.com/stelligent/cfn-model/tree/v0.6.1
157
- post_install_message:
198
+ source_code_uri: https://github.com/stelligent/cfn-model/tree/v0.6.2
199
+ post_install_message:
158
200
  rdoc_options: []
159
201
  require_paths:
160
202
  - lib
@@ -170,9 +212,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
170
212
  - !ruby/object:Gem::Version
171
213
  version: '0'
172
214
  requirements: []
173
- rubyforge_project:
174
- rubygems_version: 2.7.6
175
- signing_key:
215
+ rubygems_version: 3.1.2
216
+ signing_key:
176
217
  specification_version: 4
177
218
  summary: cfn-model
178
219
  test_files: []