files.com 1.0.21 → 1.0.22
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 +4 -4
- data/README.md +2 -0
- data/_VERSION +1 -1
- data/lib/files.com.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 54d345947021f33384775d520fea76f24dcc72f780945185cac0a79ad153a70e
|
4
|
+
data.tar.gz: 163c8d3b484e5968f1fdb4e6aec3770918a08952d03c20d10dd2782bb21b7817
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6ae304b674c3b3b9ff1d0e7cb09ba55f2b0529237e945fdf67289e987ccd4b43b5b6fc29218eb0ba2bd9532c347ec10959517ebf9ceb212932b177703d16055f
|
7
|
+
data.tar.gz: 50b27e00558c59547551c95e8c6d93bbb34f7191492a0430fe983b807a281ea663497113e41e1f9cfb060fe5ec53803c54e7d02c2af800196a7e259edb6458cf
|
data/README.md
CHANGED
@@ -65,7 +65,9 @@ You can set the following global options directly on the `Files` module:
|
|
65
65
|
* `Files.log_level` - set to `nil`, `info`, or `debug`
|
66
66
|
* `Files.open_timeout` - open timeout in seconds (default: 30)
|
67
67
|
* `Files.read_timeout` - read timeout in seconds (default: 80)
|
68
|
+
* `Files.initial_network_retry_delay` - initial retry delay in seconds (default: 0.5)
|
68
69
|
* `Files.max_network_retries` - max retries (default: 3)
|
70
|
+
* `Files.max_network_retry_delay` - max retry delay in seconds (default: 2)
|
69
71
|
* `Files.base_url` - to point this client at an on-premise
|
70
72
|
installation of Files.com, set its URL here.
|
71
73
|
* `Files.proxy` - proxy configuration (uses Faraday format)
|
data/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.22
|
data/lib/files.com.rb
CHANGED
@@ -89,7 +89,7 @@ module Files
|
|
89
89
|
@read_timeout = 80
|
90
90
|
|
91
91
|
class << self
|
92
|
-
attr_accessor :api_key, :base_url, :open_timeout, :read_timeout, :proxy, :session_id
|
92
|
+
attr_accessor :api_key, :base_url, :initial_network_retry_delay, :max_network_retries, :max_network_retry_delay, :open_timeout, :read_timeout, :proxy, :session_id
|
93
93
|
end
|
94
94
|
|
95
95
|
# map to the same values as the standard library's logger
|