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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 57eed57ea92eee1e51f3285c883f0f757a87f8379b7316fe5cd1eed46e1782fc
4
- data.tar.gz: c039b2139d3692727dffcbe715b390460445d4c8b5728e2c4fbe2c59db3030c8
3
+ metadata.gz: 72dfd786bcd5b46663c5bb00f78fd6eed556f8cb9419f7aebeb1fc16421d61b4
4
+ data.tar.gz: 16ef142b7cc6c98b0eb42c5e6df6fb9d8deceee28d582b2bc0a859b20ef0b97b
5
5
  SHA512:
6
- metadata.gz: d1369b3334e1605956829e6077fe7d76f5f49155985598d2098928cc6a54d4f58b1252f8e6971cfd3784e104ca15162ec1e37fc0e80f2d0eadf60ad5698d7657
7
- data.tar.gz: 9fa3b2e12ff0ad195ad0dd808c147ad30adf9eeb8ac25a2990ebddb11ef8945f80b8091455415cb0462fbc334e3eacc77afeb55175a01a713bbc2f808a3018b8
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 threead pool size" do |val|
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 threead pool size" do |val|
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
@@ -17,5 +17,5 @@ module FunctionsFramework
17
17
  # Version of the Ruby Functions Framework
18
18
  # @return [String]
19
19
  #
20
- VERSION = "1.4.0".freeze
20
+ VERSION = "1.4.2".freeze
21
21
  end
@@ -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/master/SPEC
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.0
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: 2023-06-16 00:00:00.000000000 Z
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.0/file.CHANGELOG.html
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.0
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.4.2
128
+ rubygems_version: 3.5.6
129
129
  signing_key:
130
130
  specification_version: 4
131
131
  summary: Functions Framework for Ruby