jets 5.0.12 → 5.0.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e7a09da0f4d38d90cbf007185c92a6ac45382d21caa6da587bf5e8109f353ea9
4
- data.tar.gz: 37ee931ef499eb48cb2f0f69884c799294b82ef0e16ecbe4222f9f6d76966acd
3
+ metadata.gz: 9589a505325960693872eb2f2c0dd2303bb5ec299e4ee9a50017e1deb4928180
4
+ data.tar.gz: 1433cdb88f01bf156d4b2615621dffd151e2259a41bb1d9ee79e7888edd70443
5
5
  SHA512:
6
- metadata.gz: 81148dc32dd42d5a1b0bdcbe1fd32350dde3370b53a1f7035d77f5dc08b2c991fc4913009c6792165b6d39199a2474d872dd124cbc71c27be10cbb454587b4f3
7
- data.tar.gz: '09f4fe05d4104875d76148f12c76b85ba02cc65b5fd25f1801c628b62dd55d072362e1636922a9545513fd7c86eebc4afc6a9629c7d72b3ca244ce4ca948907e'
6
+ metadata.gz: f7b938b08f72022a066bd9e52c474543c9787309da7927c14e35dbe205f5bbce413bedb40e25a5e15a78c6c8f647f0efb0aafa9d6b69f652a64a915e7c649705
7
+ data.tar.gz: a3376cca3d5ced2a1ab83d96b06e8c6b4b24f7f706498c5b0955cef0a7fb1e8a646078f22d5c60dad7ec7882f388f2541e3344b27d22204a0291b61628fefc57
data/CHANGELOG.md CHANGED
@@ -3,6 +3,10 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  This project *loosely tries* to adhere to [Semantic Versioning](http://semver.org/).
5
5
 
6
+ ## [5.0.13] - 2024-04-26
7
+ - [#720](https://github.com/rubyonjets/jets/pull/720) Update docs link in status.rb
8
+ - [#723](https://github.com/rubyonjets/jets/pull/723) fix prewarming post deploy
9
+
6
10
  ## [5.0.12] - 2024-04-15
7
11
  - [#718](https://github.com/rubyonjets/jets/pull/718) fixes for dotenv 3.1
8
12
 
@@ -36,11 +36,12 @@ class Jets::PreheatJob < Jets::Job::Base
36
36
  end
37
37
  end
38
38
 
39
- private
39
+ private
40
+
40
41
  # Usually: jets-preheat_job-warm unless JETS_RESET=1, in that case need to lookup the function name
41
42
  def warm_function_name
42
43
  # Return early to avoid lookup call normally
43
- return "jets-preheat_job-warm" unless ENV['JETS_RESET'] == "1"
44
+ return "jets-preheat_job-warm" unless ENV["JETS_RESET"] == "1"
44
45
 
45
46
  parent_stack = cfn.describe_stack_resources(stack_name: Jets::Names.parent_stack_name)
46
47
  preheat_stack = parent_stack.stack_resources.find do |resource|
@@ -58,11 +59,6 @@ private
58
59
  def call_options(quiet)
59
60
  options = {}
60
61
  options.merge!(mute: true, mute_output: true) if quiet
61
- # All the methods in this Job class leads to Jets::Commands::Call.
62
- # This is true for the Jets::Preheat.warm_all also.
63
- # These jobs delegate out to Lambda function calls. We do not need/want
64
- # the invocation type: RequestResponse in this case.
65
- options.merge!(invocation_type: "Event")
66
62
  options
67
63
  end
68
64
  end
@@ -17,7 +17,7 @@ module Jets::Cfn
17
17
  and can be used to resolve the issue.
18
18
  Example of checking the CloudFormation console:
19
19
 
20
- https://rubyonjets.com/docs/debugging/cloudformation/
20
+ https://docs.rubyonjets.com/docs/debug/cloudformation/
21
21
 
22
22
  EOL
23
23
 
data/lib/jets/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Jets
2
- VERSION = "5.0.12"
2
+ VERSION = "5.0.13"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jets
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.0.12
4
+ version: 5.0.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tung Nguyen
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-04-15 00:00:00.000000000 Z
11
+ date: 2024-04-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionmailer