remote_files 3.4.0 → 3.5.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 +1 -0
- data/lib/remote_files/file.rb +3 -2
- data/lib/remote_files/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0dc59069135d643087eb46b64aa5f8435d633838e36a14976e77b1e7914e02df
|
4
|
+
data.tar.gz: 6e79ada2746c02bc3e6befd796b684b6bf3919b408e2ca72eeeec1c677465f08
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e12d3e011b369ae5d56f51744ce7ccc59e53a0080d127b632e90377717280bed60b5d3f5273c33f197ef85084aaa4bebb2c25593c15a769045be496080da198d
|
7
|
+
data.tar.gz: 49ce21479bd8f931bb2acf02cdb70589319db00e7a3d87cb27983663696d5c3c3cf3cc468765738db9f8c073d62f3180671415273f405090a9650f7115ab1bb9
|
data/lib/remote_files/file.rb
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
module RemoteFiles
|
2
2
|
class File
|
3
|
-
attr_reader :content, :content_type, :identifier, :stored_in, :configuration, :populate_stored_in, :last_update_ts
|
3
|
+
attr_reader :content, :content_type, :identifier, :stored_in, :configuration, :populate_stored_in, :last_update_ts, :errors
|
4
4
|
|
5
5
|
def initialize(identifier, options = {})
|
6
|
-
known_keys = [:identifier, :stored_in, :content_type, :configuration, :content, :populate_stored_in, :last_update_ts]
|
6
|
+
known_keys = [:identifier, :stored_in, :content_type, :configuration, :content, :populate_stored_in, :last_update_ts, :errors]
|
7
7
|
known_keys.each do |key|
|
8
8
|
options[key] ||= options.delete(key.to_s)
|
9
9
|
end
|
@@ -16,6 +16,7 @@ module RemoteFiles
|
|
16
16
|
@configuration = RemoteFiles::CONFIGURATIONS[(options[:configuration] || :default).to_sym]
|
17
17
|
@logger = options[:logger]
|
18
18
|
@populate_stored_in = options[:populate_stored_in]
|
19
|
+
@errors = options[:errors]
|
19
20
|
@options = options
|
20
21
|
end
|
21
22
|
|
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.
|
4
|
+
version: 3.5.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: 2022-
|
11
|
+
date: 2022-11-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: fog-aws
|