files.com 1.0.88 → 1.0.93

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: '09c5a3db93c39b8dce92b18996062439066e1051c51a2fb6c74c30f67aae249c'
4
- data.tar.gz: b7a5cfd3d43d679f00a6ae2cf004014fde88950dea412704c4965b6a14fd6f8b
3
+ metadata.gz: 6e6c2ce297bdb83db4ed4da698d9a4d7f4de890d224c18d6e5a7afb2f3e12e3a
4
+ data.tar.gz: 705a7607243992ad6fb724eac156a626d0de90b1e97b48076d8bf0242fcd3410
5
5
  SHA512:
6
- metadata.gz: 36514f7870f99a1a2dcb185376a838da086871aa103d23710812227a5463b8d023c645ba6797fec4706fa52051bf64fa5d7484e3e3e8f9548b4610deb3491256
7
- data.tar.gz: d48865295788b9b3b11c39045d22efd001d9e9622bc6ddc914daeb9ce017c0f3ece029151ccef8d399a74f8f3e44d5cc22098dbc62f0b44c9f73518014ce0cba
6
+ metadata.gz: 7324ab05965530adeb5c5723e30a9921e9880157321dc733786e5a68acec5eeee14bf4daffbf074da83fa9efa4c3364dfcd3590f07e64e1398cbe05c3db73553
7
+ data.tar.gz: c88cf41e4cf8b19630967ae735720aa34ccce03b134d934e93db4a5b00c53055f662f7af23d6107275c312d712c31520ad715c2d92d2711dee7685cc3d754923
data/Gemfile CHANGED
@@ -6,7 +6,7 @@ group :development, :test do
6
6
  gem 'memory_profiler'
7
7
  gem 'pry'
8
8
  gem 'pry-byebug'
9
- gem 'rake', '~> 12.0.0'
10
- gem 'rspec', '~> 3.9.0'
9
+ gem 'rake'
10
+ gem 'rspec'
11
11
  gem 'rubocop'
12
12
  end
@@ -36,7 +36,7 @@ GEM
36
36
  pry (~> 0.13.0)
37
37
  public_suffix (4.0.5)
38
38
  rainbow (3.0.0)
39
- rake (12.0.0)
39
+ rake (13.0.1)
40
40
  regexp_parser (1.7.1)
41
41
  rexml (3.2.4)
42
42
  rspec (3.9.0)
@@ -74,8 +74,8 @@ DEPENDENCIES
74
74
  memory_profiler
75
75
  pry
76
76
  pry-byebug
77
- rake (~> 12.0.0)
78
- rspec (~> 3.9.0)
77
+ rake
78
+ rspec
79
79
  rubocop
80
80
 
81
81
  BUNDLED WITH
@@ -0,0 +1,24 @@
1
+ # Security Policy
2
+
3
+ Thank you for your interest in Files.com security. We recognize that your data is very personal and sensitive and we work hard to keep it protected.
4
+
5
+
6
+ ## Supported Versions
7
+
8
+ Only the latest version will be supported with security updates.
9
+
10
+
11
+ ## Reporting a Vulnerability
12
+
13
+ Here at Files.com, we celebrate security and we encourage independent security researchers to help us keep our products secure.
14
+
15
+ We offer a Security Bug Bounty Program to create an incentive and reward structure so that researchers are able to devote resources to working on Files.com.
16
+
17
+ We offer our Bug Bounty Program on HackerOne at https://hackerone.com/files
18
+
19
+ We prefer to receive reports of vulnerabilities there.
20
+
21
+ If you do not wish to use HackerOne, alternate submission instructions are available at:
22
+ https://www.files.com/legal/security-bounty/
23
+
24
+ Thank you for helping keep the Files.com community secure!
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.88
1
+ 1.0.93
@@ -7,6 +7,7 @@
7
7
  "name": "",
8
8
  "extended_description": "",
9
9
  "documentation_links": "Important Info => http://files.test/learn-more",
10
+ "icon_url": "",
10
11
  "logo_url": "",
11
12
  "logo_thumbnail_url": "",
12
13
  "sso_strategy_type": "",
@@ -21,6 +22,7 @@
21
22
  * `name` (string): Name of the App
22
23
  * `extended_description` (string): Long form description of the App
23
24
  * `documentation_links` (string): Collection of named links to documentation
25
+ * `icon_url` (string): App icon
24
26
  * `logo_url` (string): Full size logo for the App
25
27
  * `logo_thumbnail_url` (string): Logo thumbnail for the App
26
28
  * `sso_strategy_type` (string): Associated SSO Strategy type, if any
@@ -4,7 +4,7 @@
4
4
 
5
5
  ```
6
6
  {
7
- "id": 1,
7
+ "id": "60525f92e859c4c3d74cb02fd176b1525901b525",
8
8
  "language": "en",
9
9
  "login_token": "@tok-randomcode",
10
10
  "login_token_domain": "https://mysite.files.com",
@@ -25,7 +25,7 @@
25
25
  }
26
26
  ```
27
27
 
28
- * `id` (int64): Session ID
28
+ * `id` (string): Session ID
29
29
  * `language` (string): Session language
30
30
  * `login_token` (string): Login token. If set, this token will allow your user to log in via browser at the domain in `login_token_domain`.
31
31
  * `login_token_domain` (string): Domain to use with `login_token`.
@@ -55,6 +55,7 @@ module Files
55
55
  return false if num_retries >= Files.max_network_retries
56
56
  return true if error.is_a?(Faraday::TimeoutError)
57
57
  return true if error.is_a?(Faraday::ConnectionFailed)
58
+ return true if error.is_a?(Faraday::ServerError)
58
59
 
59
60
  false
60
61
  end
@@ -24,6 +24,11 @@ module Files
24
24
  @attributes[:documentation_links]
25
25
  end
26
26
 
27
+ # string - App icon
28
+ def icon_url
29
+ @attributes[:icon_url]
30
+ end
31
+
27
32
  # string - Full size logo for the App
28
33
  def logo_url
29
34
  @attributes[:logo_url]
@@ -13,7 +13,7 @@ module Files
13
13
  @options = options || {}
14
14
  end
15
15
 
16
- # int64 - Session ID
16
+ # string - Session ID
17
17
  def id
18
18
  @attributes[:id]
19
19
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: files.com
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.88
4
+ version: 1.0.93
5
5
  platform: ruby
6
6
  authors:
7
7
  - files.com
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-07-16 00:00:00.000000000 Z
11
+ date: 2020-07-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable
@@ -81,6 +81,7 @@ files:
81
81
  - LICENSE
82
82
  - README.md
83
83
  - Rakefile
84
+ - SECURITY.md
84
85
  - _VERSION
85
86
  - bin/files
86
87
  - bin/files-console
@@ -227,7 +228,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
227
228
  - !ruby/object:Gem::Version
228
229
  version: '0'
229
230
  requirements: []
230
- rubygems_version: 3.0.6
231
+ rubygems_version: 3.1.3
231
232
  signing_key:
232
233
  specification_version: 4
233
234
  summary: Files.com Ruby client.