fog-google 1.18.0 → 1.19.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: e0eab03e604eac8b6bdf3137112182390b85bb30d852c08b5b1eff9fdba7e6af
4
- data.tar.gz: d7542b6ccf45457e634fb2857922d449d79394aad3b007702dce1a4030a9d507
3
+ metadata.gz: 7b20ba5a737cfb13ade212b613d28434757226a2a24295df02d6ef4ed1af63a8
4
+ data.tar.gz: daf53527899f7503f46183047024dc875102d7ac6be02959ef1fc428a0669fae
5
5
  SHA512:
6
- metadata.gz: dd91f0458fa5834c7d01e9e8daa3709bf16006c4254b14b1c72809336a1bc952a05bfcd4873ca73cb1e2a2940409b915818be3bf449d39a43985218792d97915
7
- data.tar.gz: 7e6bcb9b9737bd2ba5c7a074000cae77fb50d3ff92a5c3a8d5ab2cfccbbd6bfba025776874fd5e0862d4ef7489cd81826b7b443bf0f33dcda1d808c87b096a9d
6
+ metadata.gz: 6cb2f67935fcb561acc870217144d9077bef88732155e0542bb1c06dd6d342c44ed00c702a05f30d5a3c87072080a2f3220e23d1490b8133c144977aa59dd3a1
7
+ data.tar.gz: c34b0c89d323619d80e1d95a278b4e5895aa5735ec4d0739f80d72e49bbd9bb2095e4248bd20698b122ab659baccbb963f195b06d1ff4d5232279912f1901b81
data/.fog.example CHANGED
@@ -22,4 +22,4 @@ my_google_credentials:
22
22
  #google_storage_access_key_id: GOOGXXXXXXXXXXXXXXXX
23
23
  #google_storage_secret_access_key: XXXX+XXX/XXXXXXXX+XXXXXXXXXXXXXXXXXXXXX
24
24
  # /END GOOGLE CONFIG
25
- #################################################################
25
+ #################################################################
@@ -12,7 +12,7 @@ jobs:
12
12
  runs-on: self-hosted
13
13
  strategy:
14
14
  matrix:
15
- ruby-version: [ '2.7', '3.0' ]
15
+ ruby-version: [ '2.7', '3.0', '3.1' ]
16
16
  # Integration tests from the same task cannot run in parallel yet due to cleanup
17
17
  max-parallel: 1
18
18
 
@@ -39,7 +39,7 @@ jobs:
39
39
  runs-on: self-hosted
40
40
  strategy:
41
41
  matrix:
42
- ruby-version: [ '2.7', '3.0' ]
42
+ ruby-version: [ '2.7', '3.0', '3.1' ]
43
43
  # Integration tests from the same task cannot run in parallel yet due to cleanup
44
44
  max-parallel: 1
45
45
 
@@ -66,7 +66,7 @@ jobs:
66
66
  runs-on: self-hosted
67
67
  strategy:
68
68
  matrix:
69
- ruby-version: [ '2.7', '3.0' ]
69
+ ruby-version: [ '2.7', '3.0', '3.1' ]
70
70
  # Integration tests from the same task cannot run in parallel yet due to cleanup
71
71
  max-parallel: 1
72
72
 
@@ -93,7 +93,7 @@ jobs:
93
93
  runs-on: self-hosted
94
94
  strategy:
95
95
  matrix:
96
- ruby-version: [ '2.7', '3.0' ]
96
+ ruby-version: [ '2.7', '3.0', '3.1' ]
97
97
  # Integration tests from the same task cannot run in parallel yet due to cleanup
98
98
  max-parallel: 1
99
99
 
@@ -120,7 +120,7 @@ jobs:
120
120
  runs-on: self-hosted
121
121
  strategy:
122
122
  matrix:
123
- ruby-version: [ '2.7', '3.0' ]
123
+ ruby-version: [ '2.7', '3.0', '3.1' ]
124
124
  # Integration tests from the same task cannot run in parallel yet due to cleanup
125
125
  max-parallel: 1
126
126
 
@@ -147,7 +147,7 @@ jobs:
147
147
  runs-on: self-hosted
148
148
  strategy:
149
149
  matrix:
150
- ruby-version: [ '2.7', '3.0' ]
150
+ ruby-version: [ '2.7', '3.0', '3.1' ]
151
151
  # Integration tests from the same task cannot run in parallel yet due to cleanup
152
152
  max-parallel: 1
153
153
 
@@ -174,7 +174,7 @@ jobs:
174
174
  runs-on: self-hosted
175
175
  strategy:
176
176
  matrix:
177
- ruby-version: [ '2.7', '3.0' ]
177
+ ruby-version: [ '2.7', '3.0', '3.1' ]
178
178
  # Integration tests from the same task cannot run in parallel yet due to cleanup
179
179
  max-parallel: 1
180
180
 
@@ -201,7 +201,7 @@ jobs:
201
201
  runs-on: self-hosted
202
202
  strategy:
203
203
  matrix:
204
- ruby-version: [ '2.7', '3.0' ]
204
+ ruby-version: [ '2.7', '3.0', '3.1' ]
205
205
  # Integration tests from the same task cannot run in parallel yet due to cleanup
206
206
  max-parallel: 1
207
207
 
@@ -11,7 +11,7 @@ jobs:
11
11
  runs-on: ubuntu-latest
12
12
  strategy:
13
13
  matrix:
14
- ruby-version: ['2.5', '2.6', '2.7', '3.0', 'head', 'truffleruby-head']
14
+ ruby-version: ['2.5', '2.6', '2.7', '3.0', '3.1', 'head', 'truffleruby-head']
15
15
 
16
16
  steps:
17
17
  - uses: actions/checkout@v2.4.0
data/CHANGELOG.md CHANGED
@@ -6,6 +6,16 @@ This project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html
6
6
 
7
7
  ## Next
8
8
 
9
+ ## 1.19.0
10
+
11
+ ### User-facing
12
+
13
+ #### Fixed
14
+
15
+ - \#561 Add ruby 3.1 to testing
16
+ - \#566 remove execute permission from network.rb
17
+ - \#571 replace Proc.new usage for Ruby 3
18
+
9
19
  ## 1.18.0
10
20
 
11
21
  ### User-facing
File without changes
@@ -1,5 +1,5 @@
1
1
  module Fog
2
2
  module Google
3
- VERSION = "1.18.0".freeze
3
+ VERSION = "1.19.0".freeze
4
4
  end
5
5
  end
@@ -24,7 +24,7 @@ module Fog
24
24
  # * 'ETag'<~String> - Etag of object
25
25
  # * 'Last-Modified'<~String> - Last modified timestamp for object
26
26
  #
27
- def get_object(bucket_name, object_name, options = {}, &_block)
27
+ def get_object(bucket_name, object_name, options = {}, &block)
28
28
  raise ArgumentError.new("bucket_name is required") unless bucket_name
29
29
  raise ArgumentError.new("object_name is required") unless object_name
30
30
 
@@ -40,7 +40,7 @@ module Fog
40
40
  params[:headers]["If-Unmodified-Since"] = Fog::Time.at(options["If-Unmodified-Since"].to_i).to_date_header
41
41
  end
42
42
 
43
- params[:response_block] = Proc.new if block_given?
43
+ params[:response_block] = block if block_given?
44
44
 
45
45
  request(params.merge!(:expects => [200, 206],
46
46
  :host => "#{bucket_name}.#{@host}",
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fog-google
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.18.0
4
+ version: 1.19.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nat Welch
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2022-02-13 00:00:00.000000000 Z
12
+ date: 2022-07-13 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: fog-core