functions_framework 1.4.0 → 1.4.2
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 +4 -4
- data/CHANGELOG.md +15 -0
- data/lib/functions_framework/cli.rb +3 -2
- data/lib/functions_framework/version.rb +1 -1
- data/lib/functions_framework.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 72dfd786bcd5b46663c5bb00f78fd6eed556f8cb9419f7aebeb1fc16421d61b4
|
4
|
+
data.tar.gz: 16ef142b7cc6c98b0eb42c5e6df6fb9d8deceee28d582b2bc0a859b20ef0b97b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1f1eeb41025962565b9e6920848d0eb117467a60ccea937c415a963281014c35762d6c66966bd281d2e3e2c9937e9d5d2772884ed79d43ce1da690428c3380da
|
7
|
+
data.tar.gz: be1032875299ba2e18a189d142b4a654bb338ec0d9455757c11088baf0c6d5b71d189a166552c9243f14b562fe1d649ca4839bcb24a3a3ac75eca84df3006c2d
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,20 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
### 1.4.2 (2024-09-18)
|
4
|
+
|
5
|
+
#### Bug Fixes
|
6
|
+
|
7
|
+
* typo in cli help ([#196](https://github.com/GoogleCloudPlatform/functions-framework-ruby/issues/196))
|
8
|
+
#### Documentation
|
9
|
+
|
10
|
+
* fix a broken link to the rack SPEC
|
11
|
+
|
12
|
+
### 1.4.1 (2023-06-27)
|
13
|
+
|
14
|
+
#### Bug Fixes
|
15
|
+
|
16
|
+
* enable typed function compatibility with http signature ([#174](https://github.com/GoogleCloudPlatform/functions-framework-ruby/issues/174))
|
17
|
+
|
3
18
|
### 1.4.0 (2023-06-16)
|
4
19
|
|
5
20
|
#### Features
|
@@ -98,10 +98,10 @@ module FunctionsFramework
|
|
98
98
|
op.on "-e", "--environment ENV", "Set the Rack environment" do |val|
|
99
99
|
@env = val
|
100
100
|
end
|
101
|
-
op.on "--min-threads NUM", "Set the minimum
|
101
|
+
op.on "--min-threads NUM", "Set the minimum thread pool size" do |val|
|
102
102
|
@min_threads = val
|
103
103
|
end
|
104
|
-
op.on "--max-threads NUM", "Set the maximum
|
104
|
+
op.on "--max-threads NUM", "Set the maximum thread pool size" do |val|
|
105
105
|
@max_threads = val
|
106
106
|
end
|
107
107
|
op.on "--[no-]detailed-errors", "Set whether to show error details" do |val|
|
@@ -197,6 +197,7 @@ module FunctionsFramework
|
|
197
197
|
raise "Undefined function: #{@target.inspect}" if function.nil?
|
198
198
|
unless @signature_type.nil? ||
|
199
199
|
(@signature_type == "http" && function.type == :http) ||
|
200
|
+
(@signature_type == "http" && function.type == :typed) ||
|
200
201
|
(["cloudevent", "event"].include?(@signature_type) && function.type == :cloud_event)
|
201
202
|
raise "Function #{@target.inspect} does not match type #{@signature_type}"
|
202
203
|
end
|
data/lib/functions_framework.rb
CHANGED
@@ -121,7 +121,7 @@ module FunctionsFramework
|
|
121
121
|
# function. The block should take a single `Rack::Request` argument. It
|
122
122
|
# should return one of the following:
|
123
123
|
# * A standard 3-element Rack response array. See
|
124
|
-
# https://github.com/rack/rack/blob/
|
124
|
+
# https://github.com/rack/rack/blob/main/SPEC.rdoc
|
125
125
|
# * A `Rack::Response` object.
|
126
126
|
# * A simple String that will be sent as the response body.
|
127
127
|
# * A Hash object that will be encoded as JSON and sent as the response
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: functions_framework
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daniel Azuma
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-10-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: cloud_events
|
@@ -106,10 +106,10 @@ homepage: https://github.com/GoogleCloudPlatform/functions-framework-ruby
|
|
106
106
|
licenses:
|
107
107
|
- Apache-2.0
|
108
108
|
metadata:
|
109
|
-
changelog_uri: https://googlecloudplatform.github.io/functions-framework-ruby/v1.4.
|
109
|
+
changelog_uri: https://googlecloudplatform.github.io/functions-framework-ruby/v1.4.2/file.CHANGELOG.html
|
110
110
|
source_code_uri: https://github.com/GoogleCloudPlatform/functions-framework-ruby
|
111
111
|
bug_tracker_uri: https://github.com/GoogleCloudPlatform/functions-framework-ruby/issues
|
112
|
-
documentation_uri: https://googlecloudplatform.github.io/functions-framework-ruby/v1.4.
|
112
|
+
documentation_uri: https://googlecloudplatform.github.io/functions-framework-ruby/v1.4.2
|
113
113
|
post_install_message:
|
114
114
|
rdoc_options: []
|
115
115
|
require_paths:
|
@@ -125,7 +125,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
125
125
|
- !ruby/object:Gem::Version
|
126
126
|
version: '0'
|
127
127
|
requirements: []
|
128
|
-
rubygems_version: 3.
|
128
|
+
rubygems_version: 3.5.6
|
129
129
|
signing_key:
|
130
130
|
specification_version: 4
|
131
131
|
summary: Functions Framework for Ruby
|