files.com 1.0.274 → 1.0.277

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: 28f289de4fdc1af526df1ad5996b49851f9d0920f4a32fddab1920643719db2c
4
- data.tar.gz: 78ca02c22a203419f9a2185314f4aa8103ee630a0effdac437ee91e782ec553d
3
+ metadata.gz: 1c0da41ae3e36e5b154e6b0c033fa4349f480655123c980b6d13e764e57d8278
4
+ data.tar.gz: 46a923274cb027217bb1261d3a793237d98d6ff217b9a24186a4e6ab745314c9
5
5
  SHA512:
6
- metadata.gz: bd8213b5ed0a7d10ce9b9d8add95f130929daeb167d795303280a5dc0fae2bc4d6074ffd2b5e660574053f26a0cf88f3865b6d1f40ec0a6bd2393d3f4eda8cd3
7
- data.tar.gz: 8c07689fab4f83b48d39b4d38d0cfbab6763d1fb0932cd645e6392220e708f077ae1125529dab52e2daabc8d5d75ada45cfe53b7eac858cb935cef79fa3a1f8d
6
+ metadata.gz: 1884ff0a2fdd63b24af38cd0f21f5d73f8f30b6588d766beb21734326beeda54b003a5c15dba5297b5b2af354e4ab0f2405b2bdcca520f034ca4be41a44a28b9
7
+ data.tar.gz: 403946140b7507cdfb7f5e3c6d1132b673f9935d3c490ea18bee813254e59cd711f5b0d891f672d538d5473cb94b3bd33fc0d6050f1c0bf3cbb7995bde85597e
data/Gemfile.lock CHANGED
@@ -5,25 +5,34 @@ PATH
5
5
  addressable (>= 2.7.0)
6
6
  concurrent-ruby (>= 1.1.3)
7
7
  faraday (>= 1.0.1)
8
- net-http-persistent
8
+ faraday-multipart (>= 1.0)
9
+ faraday-net_http_persistent (>= 2.0)
10
+ net-http-persistent (>= 4.0)
9
11
 
10
12
  GEM
11
13
  remote: https://rubygems.org/
12
14
  specs:
13
- addressable (2.7.0)
15
+ addressable (2.8.0)
14
16
  public_suffix (>= 2.0.2, < 5.0)
15
17
  ast (2.4.1)
16
18
  byebug (11.1.3)
17
19
  coderay (1.1.2)
18
- concurrent-ruby (1.1.6)
19
- connection_pool (2.2.3)
20
+ concurrent-ruby (1.1.10)
21
+ connection_pool (2.2.5)
20
22
  diff-lcs (1.3)
21
- faraday (1.0.1)
22
- multipart-post (>= 1.2, < 3)
23
+ faraday (2.3.0)
24
+ faraday-net_http (~> 2.0)
25
+ ruby2_keywords (>= 0.0.4)
26
+ faraday-multipart (1.0.4)
27
+ multipart-post (~> 2)
28
+ faraday-net_http (2.0.3)
29
+ faraday-net_http_persistent (2.0.1)
30
+ faraday-net_http
31
+ net-http-persistent (~> 4.0)
23
32
  memory_profiler (0.9.14)
24
33
  method_source (1.0.0)
25
- multipart-post (2.1.1)
26
- net-http-persistent (4.0.0)
34
+ multipart-post (2.2.3)
35
+ net-http-persistent (4.0.1)
27
36
  connection_pool (~> 2.2)
28
37
  parallel (1.19.2)
29
38
  parser (2.7.1.4)
@@ -34,7 +43,7 @@ GEM
34
43
  pry-byebug (3.9.0)
35
44
  byebug (~> 11.0)
36
45
  pry (~> 0.13.0)
37
- public_suffix (4.0.5)
46
+ public_suffix (4.0.7)
38
47
  rainbow (3.0.0)
39
48
  rake (13.0.1)
40
49
  regexp_parser (1.7.1)
@@ -64,6 +73,7 @@ GEM
64
73
  rubocop-ast (0.0.3)
65
74
  parser (>= 2.7.0.1)
66
75
  ruby-progressbar (1.10.1)
76
+ ruby2_keywords (0.0.5)
67
77
  unicode-display_width (1.7.0)
68
78
 
69
79
  PLATFORMS
data/README.md CHANGED
@@ -16,7 +16,7 @@ Or add this to your app's Gemfile:
16
16
 
17
17
  ### Requirements
18
18
 
19
- * Ruby 2.3+
19
+ * Ruby 2.7+
20
20
 
21
21
 
22
22
  ## Usage
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.274
1
+ 1.0.277
data/docs/automation.md CHANGED
@@ -87,13 +87,13 @@ Files::Automation.list(
87
87
 
88
88
  * `cursor` (string): Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
89
89
  * `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
90
- * `sort_by` (object): If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `automation`, `last_modified_at` or `disabled`.
91
- * `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `automation`, `last_modified_at` or `disabled`. Valid field combinations are `[ disabled, automation ]`.
92
- * `filter_gt` (object): If set, return records where the specified field is greater than the supplied value. Valid fields are `automation`, `last_modified_at` or `disabled`. Valid field combinations are `[ disabled, automation ]`.
93
- * `filter_gteq` (object): If set, return records where the specified field is greater than or equal to the supplied value. Valid fields are `automation`, `last_modified_at` or `disabled`. Valid field combinations are `[ disabled, automation ]`.
94
- * `filter_like` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `automation`, `last_modified_at` or `disabled`. Valid field combinations are `[ disabled, automation ]`.
95
- * `filter_lt` (object): If set, return records where the specified field is less than the supplied value. Valid fields are `automation`, `last_modified_at` or `disabled`. Valid field combinations are `[ disabled, automation ]`.
96
- * `filter_lteq` (object): If set, return records where the specified field is less than or equal to the supplied value. Valid fields are `automation`, `last_modified_at` or `disabled`. Valid field combinations are `[ disabled, automation ]`.
90
+ * `sort_by` (object): If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `automation`, `disabled` or `last_modified_at`.
91
+ * `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `automation`, `last_modified_at` or `disabled`. Valid field combinations are `[ automation, disabled ]` and `[ disabled, automation ]`.
92
+ * `filter_gt` (object): If set, return records where the specified field is greater than the supplied value. Valid fields are `automation`, `last_modified_at` or `disabled`. Valid field combinations are `[ automation, disabled ]` and `[ disabled, automation ]`.
93
+ * `filter_gteq` (object): If set, return records where the specified field is greater than or equal to the supplied value. Valid fields are `automation`, `last_modified_at` or `disabled`. Valid field combinations are `[ automation, disabled ]` and `[ disabled, automation ]`.
94
+ * `filter_like` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `automation`, `last_modified_at` or `disabled`. Valid field combinations are `[ automation, disabled ]` and `[ disabled, automation ]`.
95
+ * `filter_lt` (object): If set, return records where the specified field is less than the supplied value. Valid fields are `automation`, `last_modified_at` or `disabled`. Valid field combinations are `[ automation, disabled ]` and `[ disabled, automation ]`.
96
+ * `filter_lteq` (object): If set, return records where the specified field is less than or equal to the supplied value. Valid fields are `automation`, `last_modified_at` or `disabled`. Valid field combinations are `[ automation, disabled ]` and `[ disabled, automation ]`.
97
97
  * `with_deleted` (boolean): Set to true to include deleted automations in the results.
98
98
  * `automation` (string): DEPRECATED: Type of automation to filter by. Use `filter[automation]` instead.
99
99
 
@@ -92,6 +92,7 @@
92
92
  * `aws_secret_key` (string): AWS secret key.
93
93
  * `password` (string): Password if needed.
94
94
  * `private_key` (string): Private key if needed.
95
+ * `private_key_passphrase` (string): Passphrase for private key if needed.
95
96
  * `ssl_certificate` (string): SSL client certificate.
96
97
  * `google_cloud_storage_credentials_json` (string): A JSON file that contains the private key. To generate see https://cloud.google.com/storage/docs/json_api/v1/how-tos/authorizing#APIKey
97
98
  * `wasabi_secret_key` (string): Wasabi secret key.
@@ -180,6 +181,7 @@ Files::RemoteServer.create(
180
181
  * `aws_secret_key` (string): AWS secret key.
181
182
  * `password` (string): Password if needed.
182
183
  * `private_key` (string): Private key if needed.
184
+ * `private_key_passphrase` (string): Passphrase for private key if needed.
183
185
  * `ssl_certificate` (string): SSL client certificate.
184
186
  * `google_cloud_storage_credentials_json` (string): A JSON file that contains the private key. To generate see https://cloud.google.com/storage/docs/json_api/v1/how-tos/authorizing#APIKey
185
187
  * `wasabi_access_key` (string): Wasabi access key.
@@ -273,6 +275,7 @@ Files::RemoteServer.update(id,
273
275
  * `aws_secret_key` (string): AWS secret key.
274
276
  * `password` (string): Password if needed.
275
277
  * `private_key` (string): Private key if needed.
278
+ * `private_key_passphrase` (string): Passphrase for private key if needed.
276
279
  * `ssl_certificate` (string): SSL client certificate.
277
280
  * `google_cloud_storage_credentials_json` (string): A JSON file that contains the private key. To generate see https://cloud.google.com/storage/docs/json_api/v1/how-tos/authorizing#APIKey
278
281
  * `wasabi_access_key` (string): Wasabi access key.
@@ -381,6 +384,7 @@ remote_server.update(
381
384
  * `aws_secret_key` (string): AWS secret key.
382
385
  * `password` (string): Password if needed.
383
386
  * `private_key` (string): Private key if needed.
387
+ * `private_key_passphrase` (string): Passphrase for private key if needed.
384
388
  * `ssl_certificate` (string): SSL client certificate.
385
389
  * `google_cloud_storage_credentials_json` (string): A JSON file that contains the private key. To generate see https://cloud.google.com/storage/docs/json_api/v1/how-tos/authorizing#APIKey
386
390
  * `wasabi_access_key` (string): Wasabi access key.
data/files.com.gemspec CHANGED
@@ -10,11 +10,13 @@ Gem::Specification.new do |s|
10
10
  s.summary = "Files.com Ruby client."
11
11
  s.description = "The Files.com Ruby client."
12
12
  s.license = "MIT"
13
- s.required_ruby_version = ">= 2.5"
13
+ s.required_ruby_version = ">= 2.7"
14
14
  s.add_dependency 'addressable', ">= 2.7.0"
15
15
  s.add_dependency 'concurrent-ruby', ">= 1.1.3"
16
16
  s.add_dependency 'faraday', ">= 1.0.1"
17
- s.add_dependency 'net-http-persistent'
17
+ s.add_dependency 'net-http-persistent', ">= 4.0"
18
+ s.add_dependency 'faraday-net_http_persistent', '>= 2.0'
19
+ s.add_dependency 'faraday-multipart', ">= 1.0"
18
20
 
19
21
  s.files = `find *`.split("\n").uniq.sort.reject(&:empty?)
20
22
  s.executables = [ "files", "files-console" ]
@@ -34,7 +34,11 @@ module Files
34
34
 
35
35
  def self.build_default_conn(force_net_http: false)
36
36
  conn = Faraday.new do |builder|
37
- builder.use Faraday::Request::Multipart
37
+ if defined? Faraday::Request::Multipart
38
+ builder.use Faraday::Request::Multipart
39
+ else
40
+ builder.request :multipart
41
+ end
38
42
  builder.use Faraday::Request::UrlEncoded
39
43
  builder.use Faraday::Response::RaiseError
40
44
 
@@ -177,6 +181,7 @@ module Files
177
181
  private def api_url(url = "", base_url = nil)
178
182
  uri = Addressable::URI.new
179
183
  uri.host = Addressable::URI.parse(base_url).host
184
+ uri.port = Addressable::URI.parse(base_url).port
180
185
  uri.path = "/api/rest/v1" + Files::URI.normalized_path(url)
181
186
  uri.scheme = Addressable::URI.parse(base_url).scheme
182
187
 
@@ -275,13 +275,13 @@ module Files
275
275
  # Parameters:
276
276
  # cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
277
277
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
278
- # sort_by - object - If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `automation`, `last_modified_at` or `disabled`.
279
- # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `automation`, `last_modified_at` or `disabled`. Valid field combinations are `[ disabled, automation ]`.
280
- # filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `automation`, `last_modified_at` or `disabled`. Valid field combinations are `[ disabled, automation ]`.
281
- # filter_gteq - object - If set, return records where the specified field is greater than or equal to the supplied value. Valid fields are `automation`, `last_modified_at` or `disabled`. Valid field combinations are `[ disabled, automation ]`.
282
- # filter_like - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `automation`, `last_modified_at` or `disabled`. Valid field combinations are `[ disabled, automation ]`.
283
- # filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `automation`, `last_modified_at` or `disabled`. Valid field combinations are `[ disabled, automation ]`.
284
- # filter_lteq - object - If set, return records where the specified field is less than or equal to the supplied value. Valid fields are `automation`, `last_modified_at` or `disabled`. Valid field combinations are `[ disabled, automation ]`.
278
+ # sort_by - object - If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `automation`, `disabled` or `last_modified_at`.
279
+ # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `automation`, `last_modified_at` or `disabled`. Valid field combinations are `[ automation, disabled ]` and `[ disabled, automation ]`.
280
+ # filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `automation`, `last_modified_at` or `disabled`. Valid field combinations are `[ automation, disabled ]` and `[ disabled, automation ]`.
281
+ # filter_gteq - object - If set, return records where the specified field is greater than or equal to the supplied value. Valid fields are `automation`, `last_modified_at` or `disabled`. Valid field combinations are `[ automation, disabled ]` and `[ disabled, automation ]`.
282
+ # filter_like - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `automation`, `last_modified_at` or `disabled`. Valid field combinations are `[ automation, disabled ]` and `[ disabled, automation ]`.
283
+ # filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `automation`, `last_modified_at` or `disabled`. Valid field combinations are `[ automation, disabled ]` and `[ disabled, automation ]`.
284
+ # filter_lteq - object - If set, return records where the specified field is less than or equal to the supplied value. Valid fields are `automation`, `last_modified_at` or `disabled`. Valid field combinations are `[ automation, disabled ]` and `[ disabled, automation ]`.
285
285
  # with_deleted - boolean - Set to true to include deleted automations in the results.
286
286
  # automation - string - DEPRECATED: Type of automation to filter by. Use `filter[automation]` instead.
287
287
  def self.list(params = {}, options = {})
@@ -71,7 +71,7 @@ module Files
71
71
  end
72
72
 
73
73
  def self.from_path(path)
74
- File.metadata(path)
74
+ File.find(path)
75
75
  end
76
76
 
77
77
  def self.get(path, params = {}, options = {})
@@ -405,6 +405,15 @@ module Files
405
405
  @attributes[:private_key] = value
406
406
  end
407
407
 
408
+ # string - Passphrase for private key if needed.
409
+ def private_key_passphrase
410
+ @attributes[:private_key_passphrase]
411
+ end
412
+
413
+ def private_key_passphrase=(value)
414
+ @attributes[:private_key_passphrase] = value
415
+ end
416
+
408
417
  # string - SSL client certificate.
409
418
  def ssl_certificate
410
419
  @attributes[:ssl_certificate]
@@ -500,6 +509,7 @@ module Files
500
509
  # aws_secret_key - string - AWS secret key.
501
510
  # password - string - Password if needed.
502
511
  # private_key - string - Private key if needed.
512
+ # private_key_passphrase - string - Passphrase for private key if needed.
503
513
  # ssl_certificate - string - SSL client certificate.
504
514
  # google_cloud_storage_credentials_json - string - A JSON file that contains the private key. To generate see https://cloud.google.com/storage/docs/json_api/v1/how-tos/authorizing#APIKey
505
515
  # wasabi_access_key - string - Wasabi access key.
@@ -552,6 +562,7 @@ module Files
552
562
  raise InvalidParameterError.new("Bad parameter: aws_secret_key must be an String") if params.dig(:aws_secret_key) and !params.dig(:aws_secret_key).is_a?(String)
553
563
  raise InvalidParameterError.new("Bad parameter: password must be an String") if params.dig(:password) and !params.dig(:password).is_a?(String)
554
564
  raise InvalidParameterError.new("Bad parameter: private_key must be an String") if params.dig(:private_key) and !params.dig(:private_key).is_a?(String)
565
+ raise InvalidParameterError.new("Bad parameter: private_key_passphrase must be an String") if params.dig(:private_key_passphrase) and !params.dig(:private_key_passphrase).is_a?(String)
555
566
  raise InvalidParameterError.new("Bad parameter: ssl_certificate must be an String") if params.dig(:ssl_certificate) and !params.dig(:ssl_certificate).is_a?(String)
556
567
  raise InvalidParameterError.new("Bad parameter: google_cloud_storage_credentials_json must be an String") if params.dig(:google_cloud_storage_credentials_json) and !params.dig(:google_cloud_storage_credentials_json).is_a?(String)
557
568
  raise InvalidParameterError.new("Bad parameter: wasabi_access_key must be an String") if params.dig(:wasabi_access_key) and !params.dig(:wasabi_access_key).is_a?(String)
@@ -658,6 +669,7 @@ module Files
658
669
  # aws_secret_key - string - AWS secret key.
659
670
  # password - string - Password if needed.
660
671
  # private_key - string - Private key if needed.
672
+ # private_key_passphrase - string - Passphrase for private key if needed.
661
673
  # ssl_certificate - string - SSL client certificate.
662
674
  # google_cloud_storage_credentials_json - string - A JSON file that contains the private key. To generate see https://cloud.google.com/storage/docs/json_api/v1/how-tos/authorizing#APIKey
663
675
  # wasabi_access_key - string - Wasabi access key.
@@ -706,6 +718,7 @@ module Files
706
718
  raise InvalidParameterError.new("Bad parameter: aws_secret_key must be an String") if params.dig(:aws_secret_key) and !params.dig(:aws_secret_key).is_a?(String)
707
719
  raise InvalidParameterError.new("Bad parameter: password must be an String") if params.dig(:password) and !params.dig(:password).is_a?(String)
708
720
  raise InvalidParameterError.new("Bad parameter: private_key must be an String") if params.dig(:private_key) and !params.dig(:private_key).is_a?(String)
721
+ raise InvalidParameterError.new("Bad parameter: private_key_passphrase must be an String") if params.dig(:private_key_passphrase) and !params.dig(:private_key_passphrase).is_a?(String)
709
722
  raise InvalidParameterError.new("Bad parameter: ssl_certificate must be an String") if params.dig(:ssl_certificate) and !params.dig(:ssl_certificate).is_a?(String)
710
723
  raise InvalidParameterError.new("Bad parameter: google_cloud_storage_credentials_json must be an String") if params.dig(:google_cloud_storage_credentials_json) and !params.dig(:google_cloud_storage_credentials_json).is_a?(String)
711
724
  raise InvalidParameterError.new("Bad parameter: wasabi_access_key must be an String") if params.dig(:wasabi_access_key) and !params.dig(:wasabi_access_key).is_a?(String)
@@ -757,6 +770,7 @@ module Files
757
770
  # aws_secret_key - string - AWS secret key.
758
771
  # password - string - Password if needed.
759
772
  # private_key - string - Private key if needed.
773
+ # private_key_passphrase - string - Passphrase for private key if needed.
760
774
  # ssl_certificate - string - SSL client certificate.
761
775
  # google_cloud_storage_credentials_json - string - A JSON file that contains the private key. To generate see https://cloud.google.com/storage/docs/json_api/v1/how-tos/authorizing#APIKey
762
776
  # wasabi_access_key - string - Wasabi access key.
@@ -808,6 +822,7 @@ module Files
808
822
  raise InvalidParameterError.new("Bad parameter: aws_secret_key must be an String") if params.dig(:aws_secret_key) and !params.dig(:aws_secret_key).is_a?(String)
809
823
  raise InvalidParameterError.new("Bad parameter: password must be an String") if params.dig(:password) and !params.dig(:password).is_a?(String)
810
824
  raise InvalidParameterError.new("Bad parameter: private_key must be an String") if params.dig(:private_key) and !params.dig(:private_key).is_a?(String)
825
+ raise InvalidParameterError.new("Bad parameter: private_key_passphrase must be an String") if params.dig(:private_key_passphrase) and !params.dig(:private_key_passphrase).is_a?(String)
811
826
  raise InvalidParameterError.new("Bad parameter: ssl_certificate must be an String") if params.dig(:ssl_certificate) and !params.dig(:ssl_certificate).is_a?(String)
812
827
  raise InvalidParameterError.new("Bad parameter: google_cloud_storage_credentials_json must be an String") if params.dig(:google_cloud_storage_credentials_json) and !params.dig(:google_cloud_storage_credentials_json).is_a?(String)
813
828
  raise InvalidParameterError.new("Bad parameter: wasabi_access_key must be an String") if params.dig(:wasabi_access_key) and !params.dig(:wasabi_access_key).is_a?(String)
data/lib/files.com.rb CHANGED
@@ -2,6 +2,7 @@
2
2
 
3
3
  require "cgi"
4
4
  require "faraday"
5
+ require 'faraday/multipart' unless defined? Faraday::Request::Multipart
5
6
  require "json"
6
7
  require "logger"
7
8
  require "openssl"
@@ -13,6 +14,9 @@ require "uri"
13
14
  require "addressable/uri"
14
15
  require "concurrent/promise"
15
16
 
17
+ require 'faraday/net_http_persistent'
18
+ require 'net/http/persistent'
19
+
16
20
  $LOAD_PATH.push __dir__
17
21
 
18
22
  require "files.com/version"
@@ -99,16 +99,16 @@ RSpec.describe Files::File, :with_test_folder, skip: ENV["GITLAB"] do
99
99
  end
100
100
 
101
101
  describe ".from_path" do
102
- it "returns a File object for a file" do
102
+ it "returns a file type" do
103
103
  Files::File.open(test_folder.join("read.txt").to_s, 'w', options) do |f|
104
104
  f.write("contents")
105
105
  end
106
- expect(Files::File.from_path("read.txt")).to be_a_kind_of(Files::File)
106
+ expect(Files::File.from_path(test_folder.join("read.txt").to_s).type).to eq("file")
107
107
  end
108
108
 
109
- it "returns a Folder object for a Folder" do
110
- Files::Folder.mkdir("testdir")
111
- expect(Files::File.from_path("testdir")).to be_a_kind_of(Files::Folder)
109
+ it "returns a directory type" do
110
+ Files::Folder.mkdir("testdir") unless Files::Folder.exist?("testdir")
111
+ expect(Files::File.from_path("testdir").type).to eq("directory")
112
112
  end
113
113
  end
114
114
  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.274
4
+ version: 1.0.277
5
5
  platform: ruby
6
6
  authors:
7
7
  - files.com
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-06-27 00:00:00.000000000 Z
11
+ date: 2022-06-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable
@@ -58,14 +58,42 @@ dependencies:
58
58
  requirements:
59
59
  - - ">="
60
60
  - !ruby/object:Gem::Version
61
- version: '0'
61
+ version: '4.0'
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - ">="
67
67
  - !ruby/object:Gem::Version
68
- version: '0'
68
+ version: '4.0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: faraday-net_http_persistent
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '2.0'
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '2.0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: faraday-multipart
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '1.0'
90
+ type: :runtime
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '1.0'
69
97
  description: The Files.com Ruby client.
70
98
  email:
71
99
  - support@files.com
@@ -268,7 +296,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
268
296
  requirements:
269
297
  - - ">="
270
298
  - !ruby/object:Gem::Version
271
- version: '2.5'
299
+ version: '2.7'
272
300
  required_rubygems_version: !ruby/object:Gem::Requirement
273
301
  requirements:
274
302
  - - ">="