jets 4.0.9 → 4.0.12

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: 5a2e4facfcc53eb7f59178cda9b5eb65ffa4a0cc7321aa76ca3f610df47294f5
4
- data.tar.gz: a28a67f6d770bd8834e628d51b656133c8b57be28a92e826ec33a1c772cff84d
3
+ metadata.gz: 771471bd430828a4dead83c59730dbd04fdb19af107931e006fbb70d20fa149a
4
+ data.tar.gz: a569d133eb95ae9dac741f3c50f857169db52c1eddaa326b03f7eeb9c4f89ad9
5
5
  SHA512:
6
- metadata.gz: aa7e576acbe966d16a28452e13f3bc6f7a5aa06ece5fe8696d0d47c80683ff4a8a2ce847361a1db749fadcbdae0255d73947be8b941dad872b5c3af15f25c528
7
- data.tar.gz: 986d3479594cbde5c24c07917f89e78ee92448e35606a4708eb1339b96bb408a87d0497a1fce9c2a8bc906fbaf99258b5b47fd489b19f73840df5a726a05f4ea
6
+ metadata.gz: 93f20e19503e6833ebdd6cf86935a47153cd9759c06629c79340c31907f88847cf0ffac6bc5bd838dd82c965ed3d1b538cc0380bfc5aa2a90b6b31d9e954d85c
7
+ data.tar.gz: ff6b9d77eb8496f73ac5d1547647f12e2d96cede47c0baf07b1d14a06b3411014ca4cbf793ccae98fe7fa25a1e0975f9fdd713c98721ccd415e7dc9f37652cb9
data/CHANGELOG.md CHANGED
@@ -3,6 +3,15 @@
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
+ ## [4.0.12] - 2024-06-13
7
+ - revert loosen rails gem dependencies
8
+
9
+ ## [4.0.11] - 2024-06-13
10
+ - fix prewarming error post deploy
11
+
12
+ ## [4.0.10] - 2023-12-04
13
+ - [#678](https://github.com/boltops-tools/jets/pull/678) handle option method or http_method from route state
14
+
6
15
  ## [4.0.9] - 2023-12-03
7
16
  - [#674](https://github.com/boltops-tools/jets/pull/674) Fix broken --mode jobs new project generation
8
17
  - [#675](https://github.com/boltops-tools/jets/pull/675) Add resource tags to CloudFormation stack
@@ -75,9 +75,10 @@ class Jets::Commands::Call
75
75
  end
76
76
 
77
77
  add_console_link_to_clipboard
78
- result = resp.payload.read # already been normalized/JSON.dump by AWS
79
78
  unless @options[:mute_output]
80
- STDOUT.puts result # only thing that goes to stdout
79
+ # payload is nil when invocation_type is Event
80
+ result = resp.payload&.read # already been normalized/JSON.dump by AWS
81
+ STDOUT.puts result if result # only thing that goes to stdout
81
82
  end
82
83
  end
83
84
 
@@ -47,11 +47,6 @@ private
47
47
  def call_options(quiet)
48
48
  options = {}
49
49
  options.merge!(mute: true, mute_output: true) if quiet
50
- # All the methods in this Job class leads to Jets::Commands::Call.
51
- # This is true for the Jets::Preheat.warm_all also.
52
- # These jobs delegate out to Lambda function calls. We do not need/want
53
- # the invocation type: RequestResponse in this case.
54
- options.merge!(invocation_type: "Event")
55
50
  options
56
51
  end
57
52
  end
@@ -14,9 +14,10 @@ class Jets::Resource::ApiGateway::RestApi::Routes::Change
14
14
  return [] if data.nil?
15
15
 
16
16
  data.map do |item|
17
+ method = item.dig('options','method') || item.dig('options','http_method')
17
18
  Jets::Router::Route.new(
18
19
  path: item['path'],
19
- method: item['options']['method'],
20
+ method: method,
20
21
  to: item['to'],
21
22
  )
22
23
  end
data/lib/jets/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Jets
2
- VERSION = "4.0.9"
2
+ VERSION = "4.0.12"
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: 4.0.9
4
+ version: 4.0.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tung Nguyen
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-12-03 00:00:00.000000000 Z
11
+ date: 2024-06-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionmailer
@@ -1101,7 +1101,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
1101
1101
  - !ruby/object:Gem::Version
1102
1102
  version: '0'
1103
1103
  requirements: []
1104
- rubygems_version: 3.4.20
1104
+ rubygems_version: 3.5.11
1105
1105
  signing_key:
1106
1106
  specification_version: 4
1107
1107
  summary: Ruby Serverless Framework