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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fb9c48937022efcc8517a3ac10290bee36771a969ded09e06099b42e8c862ef9
4
- data.tar.gz: 853431e6e9cc3db2ef2554bfb95981206925ad1b8a4456760ade90d4a5241ec6
3
+ metadata.gz: 3731f719f63b82984dafb12b22bdc70105022114b5ff5a59f40bc1ed7fe40338
4
+ data.tar.gz: 53dfa8a2d7adf86bb57363d7a955487985b358d3ee23ebf4cbe3aedcbd73aef0
5
5
  SHA512:
6
- metadata.gz: d2d84aeed4bfb4d7dcf23727349b7110dbab6f1760758d5b98ff9512e420408fee66c42adeb5a8bfd4c816fc35756af7e8fe9d867848bac8373cd08464c4264b
7
- data.tar.gz: 200331fccda7c1a7ea0e31b3144958fb9479051e014d96962b41ac220133789c20c0521110bf5f929fafa111651dec752aad035dc46c76285c261d2548417103
6
+ metadata.gz: e40f9cb34c043f1fad972146ab31fcf5a98d232e1cf3fc366fd5e8ca335bd3202d2ef64dd6d57b0b3739de11e9572559bb7d03c3735d9adc5317afa73f793323
7
+ data.tar.gz: 4e5ca5b96b41c6a1dd232b11eb02c744139c7348f3c8de9db8ac85bfeafa611ca8da3c8b6a81c088c5ffb00004dde171385ea7af1d96fccbb7406d1b9403332e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ### 1.6.0 (2025-02-07)
4
+
5
+ #### Features
6
+
7
+ * drop support for ruby <3.0 ([#210](https://github.com/GoogleCloudPlatform/functions-framework-ruby/issues/210))
8
+
3
9
  ### 1.5.1 (2025-02-06)
4
10
 
5
11
  ### Miscellaneous Chores
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 2.6+.
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
@@ -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 `ruby26`
34
- runtime or `ruby27` runtime to use a recent release of Ruby 2.6 or Ruby 2.7.
35
- Support for Ruby 3.0 is forthcoming.
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=ruby27 \
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=ruby27 --trigger-http --source=$YOUR_FUNCTION_SOURCE \
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:2.7
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 2.6 through
151
- 3.1.
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 2.6+.
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
@@ -17,5 +17,5 @@ module FunctionsFramework
17
17
  # Version of the Ruby Functions Framework
18
18
  # @return [String]
19
19
  #
20
- VERSION = "1.5.1".freeze
20
+ VERSION = "1.6.0".freeze
21
21
  end
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.5.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.5.1/file.CHANGELOG.html
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.5.1
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: 2.6.0
119
+ version: 3.0.0
120
120
  required_rubygems_version: !ruby/object:Gem::Requirement
121
121
  requirements:
122
122
  - - ">="