remote_files 3.7.0.pre.alpha.1 → 3.7.1

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: 00b8fe0548d27ed5c3e7f604be263e0c70f0b3fce867c6528886d45372122aa6
4
- data.tar.gz: a3064a9ef511550b94a4965e55eb2f2b15b45dc2244965a1fedb8e7b5f8e45a8
3
+ metadata.gz: a90a9e0a3a68597fe4d197f4be6174047576b74976f905f73f67e23c16da9ff5
4
+ data.tar.gz: f6abff5b286292c9e2ea078299cad33cf4d0e7edc6f6f742bf22fe2414c2098b
5
5
  SHA512:
6
- metadata.gz: '068011e2c0d56dc7244fa15840d19751cadbefa0e940153f71c11c23b90877d0b6ed49721b79b281c2bb8cf3fcf807c4c78947be632e508f84e01ffe4b3123a0'
7
- data.tar.gz: 9ef6af33362c317887fc25ba988bcfc58414306b83f085890b6041387bddda6c60bb11c917b79a2a6259417fbc54194764d74eceed36c0f62a0a8822b1285109
6
+ metadata.gz: e188cdfee5667846fbaa221feb40380e1a98d337985ba2e68c4a884ba82c4c1aaaf1073f75eb8d4165a8954f7c2db4b928fd52bae2dcdbd9fd20e13dcc96d092
7
+ data.tar.gz: 600721b36f2a2f0dec4536009da8d24089757671930e786d58b8d9fcda823e464e610c57bcb573fe23331f6153f178d47339ee3472e94b4920b82564c81b331c
@@ -151,8 +151,9 @@ module RemoteFiles
151
151
  true
152
152
  end
153
153
 
154
- # This method is used to delete a file from all stores in parallel
155
- # exceptions are passed back to the caller
154
+ # Deletes a file from all writable stores in parallel.
155
+ # When the file is missing the Future's value is set to NotFoundError exception.
156
+ # Re-raises any other exceptions, but doesn't prevent concurrent requests from being executed.
156
157
  def delete_in_parallel!(file, stores, exceptions)
157
158
  pool = Concurrent::FixedThreadPool.new(@max_delete_in_parallel)
158
159
 
@@ -167,7 +168,7 @@ module RemoteFiles
167
168
  end
168
169
 
169
170
  futures.each do |future|
170
- result = future.value
171
+ result = future.value!
171
172
  exceptions << result if result.is_a?(Exception)
172
173
  end
173
174
 
@@ -1,3 +1,3 @@
1
1
  module RemoteFiles
2
- VERSION = '3.7.0-alpha.1'
2
+ VERSION = '3.7.1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: remote_files
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.7.0.pre.alpha.1
4
+ version: 3.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mick Staugaard
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-10-31 00:00:00.000000000 Z
11
+ date: 2024-11-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fog-aws
@@ -90,7 +90,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
90
90
  - !ruby/object:Gem::Version
91
91
  version: '0'
92
92
  requirements: []
93
- rubygems_version: 3.5.16
93
+ rubygems_version: 3.5.22
94
94
  signing_key:
95
95
  specification_version: 4
96
96
  summary: The purpose of the library is to implement a simple interface for uploading