jets 4.0.9 → 4.0.10

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: 5a2e4facfcc53eb7f59178cda9b5eb65ffa4a0cc7321aa76ca3f610df47294f5
4
- data.tar.gz: a28a67f6d770bd8834e628d51b656133c8b57be28a92e826ec33a1c772cff84d
3
+ metadata.gz: d8612274c29e1e3f75b05e46d4d6e47571abc9b3dbd76322486a2cb6626c0f5a
4
+ data.tar.gz: 9282f2d3543c0b9a02718e8078a276797104f1798d65d8a6617d08210c08361e
5
5
  SHA512:
6
- metadata.gz: aa7e576acbe966d16a28452e13f3bc6f7a5aa06ece5fe8696d0d47c80683ff4a8a2ce847361a1db749fadcbdae0255d73947be8b941dad872b5c3af15f25c528
7
- data.tar.gz: 986d3479594cbde5c24c07917f89e78ee92448e35606a4708eb1339b96bb408a87d0497a1fce9c2a8bc906fbaf99258b5b47fd489b19f73840df5a726a05f4ea
6
+ metadata.gz: dd5f0ef934488eadaa573f00f693687eb352d18d46bffd927b5d3afaebc5010fcf0d04ef6622bc38af05501aa7d9eea4dccbdca8bc6d2ba64f25bb8ec88cc818
7
+ data.tar.gz: b661cc6ec392586322e2cf0f0cec81d186b9522545e9fb63f9335035411e8bb7937431da73614f44c963ddbb7d7582c4a5978226f5eaf9d7398d52b686ba5271
data/CHANGELOG.md CHANGED
@@ -3,6 +3,9 @@
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.10] - 2023-12-04
7
+ - [#678](https://github.com/boltops-tools/jets/pull/678) handle option method or http_method from route state
8
+
6
9
  ## [4.0.9] - 2023-12-03
7
10
  - [#674](https://github.com/boltops-tools/jets/pull/674) Fix broken --mode jobs new project generation
8
11
  - [#675](https://github.com/boltops-tools/jets/pull/675) Add resource tags to CloudFormation stack
@@ -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.10"
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.10
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: 2023-12-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionmailer