protocol-http 0.24.1 → 0.24.2

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: ca739827af38110440c34d4df98b7e67dfcc671266b45d0d4e9599a0cf352259
4
- data.tar.gz: 1d79370138e22504cd3b8c41b9285cd3c323dbbe4b56ed810eece6189e1734db
3
+ metadata.gz: 6a301e53d2d2ccaf00604ec927599d152ae68d430067dead05a2155e232d7ac8
4
+ data.tar.gz: 21cd71578d7f5f02a68955b657e8799e0d74b72ffb80afadd59dc948d2d0d9ca
5
5
  SHA512:
6
- metadata.gz: e4291f142cde7c38d3bd8e96f050df2eaec3551eafcc5381e7518813d4405576504f7a404fc34f688df3ab1867510587ea9052d763451733ed97da4fd5e9c47b
7
- data.tar.gz: 56bde2a2296edaf86aac94a2b88a84b86b88abf967205d0c124b88f477773bcc55dca29c294ab52fe042b621e49fed11429e5ef98a6fd627526176ff7935af2e
6
+ metadata.gz: 43c713f5a9e8862357c4664a7c8d62c1e0a4abd24dbc65b20bd6c2c212752a7c362e30e844f94f321720f97634a77bc0c87d414b23fe62f363e152fbffa6e337
7
+ data.tar.gz: f5bb6d9fd9d6419ddaafdf16391fe3019b8e9feb6a91f2fa246cecbc0123c3432822cc302809f8ac1b26d643ae149e2eeee13b3bd1bd3013a2c35562b45b2368
checksums.yaml.gz.sig CHANGED
Binary file
@@ -41,7 +41,7 @@ module Protocol
41
41
  end
42
42
 
43
43
  # Write the body of the response to the given file path.
44
- def save(path, mode = ::File::WRONLY|::File::CREAT, **options)
44
+ def save(path, mode = ::File::WRONLY|::File::CREAT|::File::TRUNC, **options)
45
45
  if @body
46
46
  ::File.open(path, mode, **options) do |file|
47
47
  self.each do |chunk|
@@ -5,6 +5,6 @@
5
5
 
6
6
  module Protocol
7
7
  module HTTP
8
- VERSION = "0.24.1"
8
+ VERSION = "0.24.2"
9
9
  end
10
10
  end
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: protocol-http
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.24.1
4
+ version: 0.24.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams
@@ -43,7 +43,7 @@ cert_chain:
43
43
  Q2K9NVun/S785AP05vKkXZEFYxqG6EW012U4oLcFl5MySFajYXRYbuUpH6AY+HP8
44
44
  voD0MPg1DssDLKwXyt1eKD/+Fq0bFWhwVM/1XiAXL7lyYUyOq24KHgQ2Csg=
45
45
  -----END CERTIFICATE-----
46
- date: 2023-02-10 00:00:00.000000000 Z
46
+ date: 2023-06-02 00:00:00.000000000 Z
47
47
  dependencies:
48
48
  - !ruby/object:Gem::Dependency
49
49
  name: bundler
@@ -150,7 +150,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
150
150
  - !ruby/object:Gem::Version
151
151
  version: '0'
152
152
  requirements: []
153
- rubygems_version: 3.4.6
153
+ rubygems_version: 3.4.7
154
154
  signing_key:
155
155
  specification_version: 4
156
156
  summary: Provides abstractions to handle HTTP protocols.
metadata.gz.sig CHANGED
Binary file