functions_framework 1.5.0 → 1.6.0

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: 7dc90045c947a92ef29d14a88cccc1a31c82969912b7eca410ff7423bea52cc1
4
- data.tar.gz: f678ef25e7883451be774b9dffacb8538971cd6d2211dfeac6a9f7886803ca5f
3
+ metadata.gz: 3731f719f63b82984dafb12b22bdc70105022114b5ff5a59f40bc1ed7fe40338
4
+ data.tar.gz: 53dfa8a2d7adf86bb57363d7a955487985b358d3ee23ebf4cbe3aedcbd73aef0
5
5
  SHA512:
6
- metadata.gz: c148723f894e7b341780fd43f32938e96fa8de48fca7e8e60f25def589de0fcd05433508e25c756617bcf7bcd58a98793cd0a8112974fd4d4c9cc65aceaa728f
7
- data.tar.gz: b0913575ae419000ca0ea74b9f70cea6ecd96126955b27ffb27887b55d90f3abf5f84e5bfafd87c419f960cb683a92118c62252394c79be631cd407057ae43d9
6
+ metadata.gz: e40f9cb34c043f1fad972146ab31fcf5a98d232e1cf3fc366fd5e8ca335bd3202d2ef64dd6d57b0b3739de11e9572559bb7d03c3735d9adc5317afa73f793323
7
+ data.tar.gz: 4e5ca5b96b41c6a1dd232b11eb02c744139c7348f3c8de9db8ac85bfeafa611ca8da3c8b6a81c088c5ffb00004dde171385ea7af1d96fccbb7406d1b9403332e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
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
+
9
+ ### 1.5.1 (2025-02-06)
10
+
11
+ ### Miscellaneous Chores
12
+
13
+ * release 1.5.1 ([#211](https://github.com/GoogleCloudPlatform/functions-framework-ruby/issues/211))
14
+
3
15
  ### 1.5.0 (2025-01-03)
4
16
 
5
17
  #### Features
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.0".freeze
20
+ VERSION = "1.6.0".freeze
21
21
  end
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: functions_framework
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.0
4
+ version: 1.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Azuma
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2025-01-03 00:00:00.000000000 Z
10
+ date: 2025-02-07 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: cloud_events
@@ -106,11 +105,10 @@ homepage: https://github.com/GoogleCloudPlatform/functions-framework-ruby
106
105
  licenses:
107
106
  - Apache-2.0
108
107
  metadata:
109
- changelog_uri: https://googlecloudplatform.github.io/functions-framework-ruby/v1.5.0/file.CHANGELOG.html
108
+ changelog_uri: https://googlecloudplatform.github.io/functions-framework-ruby/v1.6.0/file.CHANGELOG.html
110
109
  source_code_uri: https://github.com/GoogleCloudPlatform/functions-framework-ruby
111
110
  bug_tracker_uri: https://github.com/GoogleCloudPlatform/functions-framework-ruby/issues
112
- documentation_uri: https://googlecloudplatform.github.io/functions-framework-ruby/v1.5.0
113
- post_install_message:
111
+ documentation_uri: https://googlecloudplatform.github.io/functions-framework-ruby/v1.6.0
114
112
  rdoc_options: []
115
113
  require_paths:
116
114
  - lib
@@ -118,15 +116,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
118
116
  requirements:
119
117
  - - ">="
120
118
  - !ruby/object:Gem::Version
121
- version: 2.6.0
119
+ version: 3.0.0
122
120
  required_rubygems_version: !ruby/object:Gem::Requirement
123
121
  requirements:
124
122
  - - ">="
125
123
  - !ruby/object:Gem::Version
126
124
  version: '0'
127
125
  requirements: []
128
- rubygems_version: 3.5.23
129
- signing_key:
126
+ rubygems_version: 3.6.3
130
127
  specification_version: 4
131
128
  summary: Functions Framework for Ruby
132
129
  test_files: []