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 +4 -4
- data/lib/remote_files/configuration.rb +4 -3
- data/lib/remote_files/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a90a9e0a3a68597fe4d197f4be6174047576b74976f905f73f67e23c16da9ff5
|
4
|
+
data.tar.gz: f6abff5b286292c9e2ea078299cad33cf4d0e7edc6f6f742bf22fe2414c2098b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e188cdfee5667846fbaa221feb40380e1a98d337985ba2e68c4a884ba82c4c1aaaf1073f75eb8d4165a8954f7c2db4b928fd52bae2dcdbd9fd20e13dcc96d092
|
7
|
+
data.tar.gz: 600721b36f2a2f0dec4536009da8d24089757671930e786d58b8d9fcda823e464e610c57bcb573fe23331f6153f178d47339ee3472e94b4920b82564c81b331c
|
@@ -151,8 +151,9 @@ module RemoteFiles
|
|
151
151
|
true
|
152
152
|
end
|
153
153
|
|
154
|
-
#
|
155
|
-
#
|
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
|
|
data/lib/remote_files/version.rb
CHANGED
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.
|
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-
|
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.
|
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
|