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.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -0
  3. data/_VERSION +1 -1
  4. data/lib/files.com.rb +1 -1
  5. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0a2fe3b1488559f01f0da5234b810f1ddfe139a5d0fd41fe6ed58162cebebf18
4
- data.tar.gz: 3cc0da164e2cee5299863dcde6b8dcca124a8ffe3dcaf3ae98d41a84b9f73f6b
3
+ metadata.gz: 54d345947021f33384775d520fea76f24dcc72f780945185cac0a79ad153a70e
4
+ data.tar.gz: 163c8d3b484e5968f1fdb4e6aec3770918a08952d03c20d10dd2782bb21b7817
5
5
  SHA512:
6
- metadata.gz: dbecd72ebd1d7965bfce0cd66a3c5e16e1d66cc9e7ee03c862b6d2d3d24859c19a9ba737c77839a299a5f3af30a0a3090be55ae6445baf9054ae3d1f209f9408
7
- data.tar.gz: 5a0028c5429265860615842be4cb874a6a7b85639899a3de100e23dd3b729ae42facd269632dd47a793016c703199f07869e24f59837b34c65b5ff4e46982da5
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.21
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: files.com
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.21
4
+ version: 1.0.22
5
5
  platform: ruby
6
6
  authors:
7
7
  - files.com