cfhighlander 0.9.0.alpha.1556659966 → 0.9.0.alpha.1557217276

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/cfndsl_ext/lambda_helper.rb +3 -2
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 001df982a303f15386c95edefe223bb6d18e67adc357f0164b08f7b11b6735df
4
- data.tar.gz: 287a98c600c8697d05b0439bfe44779022a32c48a48504d46d07f8fde61706ef
3
+ metadata.gz: 8810ed82569abeb12f40a484463afd89f11df43f5aef401d1d09c583a5d4581a
4
+ data.tar.gz: 2618fd861635a4631bbeafb545ba070da0db4607cd3559d84e7b805c8e943fde
5
5
  SHA512:
6
- metadata.gz: 988727c8d0185cdd2f7b33c790156374e4e01aae50b5424bcb1072ae1f3f1bf53ff5b0c399c8daf4c610babe6fdd7872bd68ed48e93268b91e468b06dc33f0ab
7
- data.tar.gz: 6f30346bb04ebdb05ddcd93ecdd618a00b959f72d35c5ced2aaddd39b937ccecc0e3462adffe749e04427f300ad3839c3ea9ce7b730a53460952cdd974e18870
6
+ metadata.gz: d4aa32e4c544c8f24b8a4f6b5cae3aa0e409c58203b45776a75b2ef6ee7f58e9c4a32208c3d9357f48c3e997855958ef877376e4056038cff3c11e678e44db94
7
+ data.tar.gz: 73b72c2503027d9b4c6144916639892f3698a112336af547be03ddae65b561a7a49f2a194d506aade6daec299824c820c73b0c679641802bf5c2f085019ac1c8
@@ -67,7 +67,8 @@ def render_lambda_functions(cfndsl, lambdas, lambda_metadata, distribution)
67
67
  else
68
68
  expression = "cron(#{schedule['cronExpression']})"
69
69
  end
70
- ScheduleExpression(expression)
70
+ ScheduleExpression(FnSub(expression))
71
+ Name schedule['name'] if schedule.has_key?('name')
71
72
  State('ENABLED')
72
73
  target = {
73
74
  'Arn' => FnGetAtt(name, 'Arn'), 'Id' => "lambda#{name}",
@@ -102,4 +103,4 @@ def render_lambda_functions(cfndsl, lambdas, lambda_metadata, distribution)
102
103
 
103
104
 
104
105
  end
105
- end
106
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cfhighlander
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0.alpha.1556659966
4
+ version: 0.9.0.alpha.1557217276
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nikola Tosic
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2019-04-30 00:00:00.000000000 Z
13
+ date: 2019-05-07 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: highline