deb-s3 0.11.7 → 0.11.8

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: 0412b30200d8205a1d117e0aaeaae8ece107a5476b8d587bcd89c5103444afdd
4
- data.tar.gz: e60c337da7d341a7bb5738bbaad3e09554295bb573b7009dcb27347b9cc95c0d
3
+ metadata.gz: e7814791d824780db306bf8cb5873fc66449045da8dfa2b4099d507d8020eec3
4
+ data.tar.gz: 7132767c850193fa1c0d48eabc25535cecf1f5f59ecd8518ba9f6e0d1757f9dc
5
5
  SHA512:
6
- metadata.gz: a8fd3031fd71131c96d0a76b3a9be6e765fd640a5c61c6c2591c1cea48c9318e9c8984bb7c6f771a2a576c9e88ceebfcd41a76a1731e30bc1875d4ac41de129a
7
- data.tar.gz: cda76567f2097475cbacaed5c52faf894d21a211996ed71de832b8af49ec0a9e99647584734e88586e534270d01f17f9d16d7f910dc90a9bd419ce9e8a03e708
6
+ metadata.gz: e4313e4c972bd2064aa9ea2fe89d685f2d89c67deee68aba7de6581bbdb25b5d9b349e0101ddb684268837c54061224eb51863df41b0ff2f9ff6f1846cb6c998
7
+ data.tar.gz: 72b71065e29eaf7b4490d9bc21ac3effb29e9a8a007525b534dca1520b360f6ac9c6234ddfee71a8b5d9c2d1cfa61a7a78cea636d8f9381a8459332e1bbc04e7
@@ -107,7 +107,7 @@ class Deb::S3::Release
107
107
  local_file = release_tmp.path+".asc"
108
108
  remote_file = "dists/#{@codename}/InRelease"
109
109
  yield remote_file if block_given?
110
- raise "Unable to locate InRelease file" unless File.exists?(local_file)
110
+ raise "Unable to locate InRelease file" unless File.exist?(local_file)
111
111
  s3_store(local_file, remote_file, 'application/pgp-signature; charset=us-ascii', self.cache_control)
112
112
  File.unlink(local_file)
113
113
  else
@@ -117,7 +117,7 @@ class Deb::S3::Release
117
117
  local_file = release_tmp.path+".asc"
118
118
  remote_file = self.filename+".gpg"
119
119
  yield remote_file if block_given?
120
- raise "Unable to locate Release signature file" unless File.exists?(local_file)
120
+ raise "Unable to locate Release signature file" unless File.exist?(local_file)
121
121
  s3_store(local_file, remote_file, 'application/pgp-signature; charset=us-ascii', self.cache_control)
122
122
  File.unlink(local_file)
123
123
  else
data/lib/deb/s3.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  # -*- encoding : utf-8 -*-
2
2
  module Deb
3
3
  module S3
4
- VERSION = "0.11.7"
4
+ VERSION = "0.11.8"
5
5
  end
6
6
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: deb-s3
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.7
4
+ version: 0.11.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ken Robertson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-04-26 00:00:00.000000000 Z
11
+ date: 2023-08-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor