functions_framework 1.5.1 → 1.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/README.md +1 -1
- data/docs/deploying-functions.md +8 -8
- data/docs/overview.md +1 -1
- data/lib/functions_framework/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3731f719f63b82984dafb12b22bdc70105022114b5ff5a59f40bc1ed7fe40338
|
4
|
+
data.tar.gz: 53dfa8a2d7adf86bb57363d7a955487985b358d3ee23ebf4cbe3aedcbd73aef0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e40f9cb34c043f1fad972146ab31fcf5a98d232e1cf3fc366fd5e8ca335bd3202d2ef64dd6d57b0b3739de11e9572559bb7d03c3735d9adc5317afa73f793323
|
7
|
+
data.tar.gz: 4e5ca5b96b41c6a1dd232b11eb02c744139c7348f3c8de9db8ac85bfeafa611ca8da3c8b6a81c088c5ffb00004dde171385ea7af1d96fccbb7406d1b9403332e
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -41,7 +41,7 @@ requiring an HTTP server or complicated request handling logic.
|
|
41
41
|
|
42
42
|
## Supported Ruby versions
|
43
43
|
|
44
|
-
This library is supported on Ruby
|
44
|
+
This library is supported on Ruby 3.0+.
|
45
45
|
|
46
46
|
Google provides official support for Ruby versions that are actively supported
|
47
47
|
by Ruby Core—that is, Ruby versions that are either in normal maintenance or
|
data/docs/deploying-functions.md
CHANGED
@@ -30,9 +30,9 @@ Google Cloud Functions is Google's scalable pay-as-you-go Functions-as-a-Service
|
|
30
30
|
Functions Framework is designed especially for functions that can be hosted on
|
31
31
|
Cloud Functions.
|
32
32
|
|
33
|
-
You can run Ruby functions on Google Cloud Functions by selecting the `
|
34
|
-
runtime or `
|
35
|
-
Support for Ruby 3.
|
33
|
+
You can run Ruby functions on Google Cloud Functions by selecting the `ruby32`
|
34
|
+
runtime or `ruby33` runtime to use a recent release of Ruby 3.2 or Ruby 3.3.
|
35
|
+
Support for Ruby 3.4 is forthcoming.
|
36
36
|
|
37
37
|
### Deploying and updating your function
|
38
38
|
|
@@ -60,7 +60,7 @@ Then, issue the gcloud command to deploy:
|
|
60
60
|
```sh
|
61
61
|
gcloud functions deploy $YOUR_FUNCTION_NAME \
|
62
62
|
--project=$YOUR_PROJECT_ID \
|
63
|
-
--runtime=
|
63
|
+
--runtime=ruby33 \
|
64
64
|
--trigger-http \
|
65
65
|
--entry-point=$YOUR_FUNCTION_TARGET
|
66
66
|
```
|
@@ -86,7 +86,7 @@ and above, set `FUNCTION_LOGGING_LEVEL` to `WARN` when deploying:
|
|
86
86
|
|
87
87
|
```sh
|
88
88
|
gcloud functions deploy $YOUR_FUNCTION_NAME --project=$YOUR_PROJECT_ID \
|
89
|
-
--runtime=
|
89
|
+
--runtime=ruby33 --trigger-http --source=$YOUR_FUNCTION_SOURCE \
|
90
90
|
--entry-point=$YOUR_FUNCTION_TARGET \
|
91
91
|
--set-env-vars=FUNCTION_LOGGING_LEVEL=WARN
|
92
92
|
```
|
@@ -121,7 +121,7 @@ Dockerfile that you can use as a starting point. Feel free to adjust it to the
|
|
121
121
|
needs of your project:
|
122
122
|
|
123
123
|
```
|
124
|
-
FROM ruby:
|
124
|
+
FROM ruby:3.3
|
125
125
|
WORKDIR /app
|
126
126
|
COPY . .
|
127
127
|
RUN gem install --no-document bundler \
|
@@ -147,8 +147,8 @@ command may ask you for permission to enable the Cloud Build API for the project
|
|
147
147
|
if it isn't already enabled.
|
148
148
|
|
149
149
|
Because you provide your own Docker image when deploying to Cloud Run, you can
|
150
|
-
use any version of Ruby supported by the Functions Framework, from
|
151
|
-
3.
|
150
|
+
use any version of Ruby supported by the Functions Framework, from 3.0 through
|
151
|
+
3.3.
|
152
152
|
|
153
153
|
### Deploying an image to Cloud Run
|
154
154
|
|
data/docs/overview.md
CHANGED
@@ -46,7 +46,7 @@ requiring an HTTP server or complicated request handling logic.
|
|
46
46
|
|
47
47
|
## Supported Ruby versions
|
48
48
|
|
49
|
-
This library is supported on Ruby
|
49
|
+
This library is supported on Ruby 3.0+.
|
50
50
|
|
51
51
|
Google provides official support for Ruby versions that are actively supported
|
52
52
|
by Ruby Core—that is, Ruby versions that are either in normal maintenance or
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: functions_framework
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daniel Azuma
|
@@ -105,10 +105,10 @@ homepage: https://github.com/GoogleCloudPlatform/functions-framework-ruby
|
|
105
105
|
licenses:
|
106
106
|
- Apache-2.0
|
107
107
|
metadata:
|
108
|
-
changelog_uri: https://googlecloudplatform.github.io/functions-framework-ruby/v1.
|
108
|
+
changelog_uri: https://googlecloudplatform.github.io/functions-framework-ruby/v1.6.0/file.CHANGELOG.html
|
109
109
|
source_code_uri: https://github.com/GoogleCloudPlatform/functions-framework-ruby
|
110
110
|
bug_tracker_uri: https://github.com/GoogleCloudPlatform/functions-framework-ruby/issues
|
111
|
-
documentation_uri: https://googlecloudplatform.github.io/functions-framework-ruby/v1.
|
111
|
+
documentation_uri: https://googlecloudplatform.github.io/functions-framework-ruby/v1.6.0
|
112
112
|
rdoc_options: []
|
113
113
|
require_paths:
|
114
114
|
- lib
|
@@ -116,7 +116,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
116
116
|
requirements:
|
117
117
|
- - ">="
|
118
118
|
- !ruby/object:Gem::Version
|
119
|
-
version:
|
119
|
+
version: 3.0.0
|
120
120
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
121
121
|
requirements:
|
122
122
|
- - ">="
|