files.com 1.0.71 → 1.0.76
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/Gemfile.lock +82 -0
- data/_VERSION +1 -1
- data/docs/bundle.md +13 -3
- data/docs/clickwrap.md +143 -0
- data/docs/remote_server.md +25 -4
- data/docs/site.md +4 -0
- data/docs/user.md +8 -0
- data/files.com.gemspec +3 -3
- data/lib/files.com.rb +2 -1
- data/lib/files.com/list.rb +1 -1
- data/lib/files.com/models/behavior.rb +2 -2
- data/lib/files.com/models/bundle.rb +24 -0
- data/lib/files.com/models/clickwrap.rb +197 -0
- data/lib/files.com/models/file.rb +4 -4
- data/lib/files.com/models/folder.rb +1 -0
- data/lib/files.com/models/remote_server.rb +54 -0
- data/lib/files.com/models/session.rb +1 -0
- data/lib/files.com/models/site.rb +7 -0
- data/lib/files.com/models/user.rb +15 -0
- data/lib/files.com/sizable_io.rb +2 -2
- data/spec/list_spec.rb +24 -2
- data/spec/spec_helper.rb +1 -3
- data/test/test.rb +1 -1
- metadata +18 -15
@@ -207,6 +207,42 @@ module Files
|
|
207
207
|
@attributes[:rackspace_container] = value
|
208
208
|
end
|
209
209
|
|
210
|
+
# string - Returns link to login with an Oauth provider
|
211
|
+
def auth_setup_link
|
212
|
+
@attributes[:auth_setup_link]
|
213
|
+
end
|
214
|
+
|
215
|
+
def auth_setup_link=(value)
|
216
|
+
@attributes[:auth_setup_link] = value
|
217
|
+
end
|
218
|
+
|
219
|
+
# string - Either `in_setup` or `complete`
|
220
|
+
def auth_status
|
221
|
+
@attributes[:auth_status]
|
222
|
+
end
|
223
|
+
|
224
|
+
def auth_status=(value)
|
225
|
+
@attributes[:auth_status] = value
|
226
|
+
end
|
227
|
+
|
228
|
+
# string - Describes the authorized account
|
229
|
+
def auth_account_name
|
230
|
+
@attributes[:auth_account_name]
|
231
|
+
end
|
232
|
+
|
233
|
+
def auth_account_name=(value)
|
234
|
+
@attributes[:auth_account_name] = value
|
235
|
+
end
|
236
|
+
|
237
|
+
# string - Either personnel or business_other account types
|
238
|
+
def one_drive_account_type
|
239
|
+
@attributes[:one_drive_account_type]
|
240
|
+
end
|
241
|
+
|
242
|
+
def one_drive_account_type=(value)
|
243
|
+
@attributes[:one_drive_account_type] = value
|
244
|
+
end
|
245
|
+
|
210
246
|
# string - AWS Access Key.
|
211
247
|
def aws_access_key
|
212
248
|
@attributes[:aws_access_key]
|
@@ -297,6 +333,15 @@ module Files
|
|
297
333
|
@attributes[:rackspace_api_key] = value
|
298
334
|
end
|
299
335
|
|
336
|
+
# boolean - Reset authenticated account
|
337
|
+
def reset_authentication
|
338
|
+
@attributes[:reset_authentication]
|
339
|
+
end
|
340
|
+
|
341
|
+
def reset_authentication=(value)
|
342
|
+
@attributes[:reset_authentication] = value
|
343
|
+
end
|
344
|
+
|
300
345
|
# Parameters:
|
301
346
|
# aws_access_key - string - AWS Access Key.
|
302
347
|
# aws_secret_key - string - AWS secret key.
|
@@ -308,6 +353,7 @@ module Files
|
|
308
353
|
# backblaze_b2_key_id - string - Backblaze B2 Cloud Storage keyID.
|
309
354
|
# backblaze_b2_application_key - string - Backblaze B2 Cloud Storage applicationKey.
|
310
355
|
# rackspace_api_key - string - Rackspace API key from the Rackspace Cloud Control Panel.
|
356
|
+
# reset_authentication - boolean - Reset authenticated account
|
311
357
|
# hostname - string - Hostname or IP address
|
312
358
|
# name - string - Internal name for your reference
|
313
359
|
# max_connections - int64 - Max number of parallel connections. Ignored for S3 connections (we will parallelize these as much as possible).
|
@@ -328,6 +374,7 @@ module Files
|
|
328
374
|
# rackspace_username - string - Rackspace username used to login to the Rackspace Cloud Control Panel.
|
329
375
|
# rackspace_region - string - Three letter airport code for Rackspace region. See https://support.rackspace.com/how-to/about-regions/
|
330
376
|
# rackspace_container - string - The name of the container (top level directory) where files will sync.
|
377
|
+
# one_drive_account_type - string - Either personnel or business_other account types
|
331
378
|
def update(params = {})
|
332
379
|
params ||= {}
|
333
380
|
params[:id] = @attributes[:id]
|
@@ -363,6 +410,7 @@ module Files
|
|
363
410
|
raise InvalidParameterError.new("Bad parameter: rackspace_username must be an String") if params.dig(:rackspace_username) and !params.dig(:rackspace_username).is_a?(String)
|
364
411
|
raise InvalidParameterError.new("Bad parameter: rackspace_region must be an String") if params.dig(:rackspace_region) and !params.dig(:rackspace_region).is_a?(String)
|
365
412
|
raise InvalidParameterError.new("Bad parameter: rackspace_container must be an String") if params.dig(:rackspace_container) and !params.dig(:rackspace_container).is_a?(String)
|
413
|
+
raise InvalidParameterError.new("Bad parameter: one_drive_account_type must be an String") if params.dig(:one_drive_account_type) and !params.dig(:one_drive_account_type).is_a?(String)
|
366
414
|
raise MissingParameterError.new("Parameter missing: id") unless params.dig(:id)
|
367
415
|
|
368
416
|
Api.send_request("/remote_servers/#{@attributes[:id]}", :patch, params, @options)
|
@@ -437,6 +485,7 @@ module Files
|
|
437
485
|
# backblaze_b2_key_id - string - Backblaze B2 Cloud Storage keyID.
|
438
486
|
# backblaze_b2_application_key - string - Backblaze B2 Cloud Storage applicationKey.
|
439
487
|
# rackspace_api_key - string - Rackspace API key from the Rackspace Cloud Control Panel.
|
488
|
+
# reset_authentication - boolean - Reset authenticated account
|
440
489
|
# hostname - string - Hostname or IP address
|
441
490
|
# name - string - Internal name for your reference
|
442
491
|
# max_connections - int64 - Max number of parallel connections. Ignored for S3 connections (we will parallelize these as much as possible).
|
@@ -457,6 +506,7 @@ module Files
|
|
457
506
|
# rackspace_username - string - Rackspace username used to login to the Rackspace Cloud Control Panel.
|
458
507
|
# rackspace_region - string - Three letter airport code for Rackspace region. See https://support.rackspace.com/how-to/about-regions/
|
459
508
|
# rackspace_container - string - The name of the container (top level directory) where files will sync.
|
509
|
+
# one_drive_account_type - string - Either personnel or business_other account types
|
460
510
|
def self.create(params = {}, options = {})
|
461
511
|
raise InvalidParameterError.new("Bad parameter: aws_access_key must be an String") if params.dig(:aws_access_key) and !params.dig(:aws_access_key).is_a?(String)
|
462
512
|
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)
|
@@ -488,6 +538,7 @@ module Files
|
|
488
538
|
raise InvalidParameterError.new("Bad parameter: rackspace_username must be an String") if params.dig(:rackspace_username) and !params.dig(:rackspace_username).is_a?(String)
|
489
539
|
raise InvalidParameterError.new("Bad parameter: rackspace_region must be an String") if params.dig(:rackspace_region) and !params.dig(:rackspace_region).is_a?(String)
|
490
540
|
raise InvalidParameterError.new("Bad parameter: rackspace_container must be an String") if params.dig(:rackspace_container) and !params.dig(:rackspace_container).is_a?(String)
|
541
|
+
raise InvalidParameterError.new("Bad parameter: one_drive_account_type must be an String") if params.dig(:one_drive_account_type) and !params.dig(:one_drive_account_type).is_a?(String)
|
491
542
|
|
492
543
|
response, options = Api.send_request("/remote_servers", :post, params, options)
|
493
544
|
RemoteServer.new(response.data, options)
|
@@ -504,6 +555,7 @@ module Files
|
|
504
555
|
# backblaze_b2_key_id - string - Backblaze B2 Cloud Storage keyID.
|
505
556
|
# backblaze_b2_application_key - string - Backblaze B2 Cloud Storage applicationKey.
|
506
557
|
# rackspace_api_key - string - Rackspace API key from the Rackspace Cloud Control Panel.
|
558
|
+
# reset_authentication - boolean - Reset authenticated account
|
507
559
|
# hostname - string - Hostname or IP address
|
508
560
|
# name - string - Internal name for your reference
|
509
561
|
# max_connections - int64 - Max number of parallel connections. Ignored for S3 connections (we will parallelize these as much as possible).
|
@@ -524,6 +576,7 @@ module Files
|
|
524
576
|
# rackspace_username - string - Rackspace username used to login to the Rackspace Cloud Control Panel.
|
525
577
|
# rackspace_region - string - Three letter airport code for Rackspace region. See https://support.rackspace.com/how-to/about-regions/
|
526
578
|
# rackspace_container - string - The name of the container (top level directory) where files will sync.
|
579
|
+
# one_drive_account_type - string - Either personnel or business_other account types
|
527
580
|
def self.update(id, params = {}, options = {})
|
528
581
|
params ||= {}
|
529
582
|
params[:id] = id
|
@@ -558,6 +611,7 @@ module Files
|
|
558
611
|
raise InvalidParameterError.new("Bad parameter: rackspace_username must be an String") if params.dig(:rackspace_username) and !params.dig(:rackspace_username).is_a?(String)
|
559
612
|
raise InvalidParameterError.new("Bad parameter: rackspace_region must be an String") if params.dig(:rackspace_region) and !params.dig(:rackspace_region).is_a?(String)
|
560
613
|
raise InvalidParameterError.new("Bad parameter: rackspace_container must be an String") if params.dig(:rackspace_container) and !params.dig(:rackspace_container).is_a?(String)
|
614
|
+
raise InvalidParameterError.new("Bad parameter: one_drive_account_type must be an String") if params.dig(:one_drive_account_type) and !params.dig(:one_drive_account_type).is_a?(String)
|
561
615
|
raise MissingParameterError.new("Parameter missing: id") unless params.dig(:id)
|
562
616
|
|
563
617
|
response, options = Api.send_request("/remote_servers/#{params[:id]}", :patch, params, options)
|
@@ -404,6 +404,11 @@ module Files
|
|
404
404
|
@attributes[:sftp_user_root_enabled]
|
405
405
|
end
|
406
406
|
|
407
|
+
# boolean - Allow bundle creation
|
408
|
+
def sharing_enabled
|
409
|
+
@attributes[:sharing_enabled]
|
410
|
+
end
|
411
|
+
|
407
412
|
# boolean - Show request access link for users without access? Currently unused.
|
408
413
|
def show_request_access_link
|
409
414
|
@attributes[:show_request_access_link]
|
@@ -605,6 +610,7 @@ module Files
|
|
605
610
|
# disable_users_from_inactivity_period_days - int64 - If greater than zero, users will unable to login if they do not show activity within this number of days.
|
606
611
|
# non_sso_groups_allowed - boolean - If true, groups can be manually created / modified / deleted by Site Admins. Otherwise, groups can only be managed via your SSO provider.
|
607
612
|
# non_sso_users_allowed - boolean - If true, users can be manually created / modified / deleted by Site Admins. Otherwise, users can only be managed via your SSO provider.
|
613
|
+
# sharing_enabled - boolean - Allow bundle creation
|
608
614
|
# allowed_2fa_method_sms - boolean - Is SMS two factor authentication allowed?
|
609
615
|
# allowed_2fa_method_u2f - boolean - Is U2F two factor authentication allowed?
|
610
616
|
# allowed_2fa_method_totp - boolean - Is TOTP two factor authentication allowed?
|
@@ -666,6 +672,7 @@ module Files
|
|
666
672
|
raise InvalidParameterError.new("Bad parameter: default_time_zone must be an String") if params.dig(:default_time_zone) and !params.dig(:default_time_zone).is_a?(String)
|
667
673
|
raise InvalidParameterError.new("Bad parameter: desktop_app_session_lifetime must be an Integer") if params.dig(:desktop_app_session_lifetime) and !params.dig(:desktop_app_session_lifetime).is_a?(Integer)
|
668
674
|
raise InvalidParameterError.new("Bad parameter: welcome_screen must be an String") if params.dig(:welcome_screen) and !params.dig(:welcome_screen).is_a?(String)
|
675
|
+
raise InvalidParameterError.new("Bad parameter: session_expiry must be an Float") if params.dig(:session_expiry) and !params.dig(:session_expiry).is_a?(Float)
|
669
676
|
raise InvalidParameterError.new("Bad parameter: user_lockout_tries must be an Integer") if params.dig(:user_lockout_tries) and !params.dig(:user_lockout_tries).is_a?(Integer)
|
670
677
|
raise InvalidParameterError.new("Bad parameter: user_lockout_within must be an Integer") if params.dig(:user_lockout_within) and !params.dig(:user_lockout_within).is_a?(Integer)
|
671
678
|
raise InvalidParameterError.new("Bad parameter: user_lockout_lock_period must be an Integer") if params.dig(:user_lockout_lock_period) and !params.dig(:user_lockout_lock_period).is_a?(Integer)
|
@@ -167,6 +167,15 @@ module Files
|
|
167
167
|
@attributes[:group_ids] = value
|
168
168
|
end
|
169
169
|
|
170
|
+
# string - Text to display to the user in the header of the UI
|
171
|
+
def header_text
|
172
|
+
@attributes[:header_text]
|
173
|
+
end
|
174
|
+
|
175
|
+
def header_text=(value)
|
176
|
+
@attributes[:header_text] = value
|
177
|
+
end
|
178
|
+
|
170
179
|
# string - Preferred language
|
171
180
|
def language
|
172
181
|
@attributes[:language]
|
@@ -528,6 +537,7 @@ module Files
|
|
528
537
|
# dav_permission - boolean - Can the user connect with WebDAV?
|
529
538
|
# disabled - boolean - Is user disabled? Disabled users cannot log in, and do not count for billing purposes. Users can be automatically disabled after an inactivity period via a Site setting.
|
530
539
|
# ftp_permission - boolean - Can the user access with FTP/FTPS?
|
540
|
+
# header_text - string - Text to display to the user in the header of the UI
|
531
541
|
# language - string - Preferred language
|
532
542
|
# notification_daily_send_time - int64 - Hour of the day at which daily notifications should be sent. Can be in range 0 to 23
|
533
543
|
# name - string - User's full name
|
@@ -562,6 +572,7 @@ module Files
|
|
562
572
|
raise InvalidParameterError.new("Bad parameter: allowed_ips must be an String") if params.dig(:allowed_ips) and !params.dig(:allowed_ips).is_a?(String)
|
563
573
|
raise InvalidParameterError.new("Bad parameter: authenticate_until must be an String") if params.dig(:authenticate_until) and !params.dig(:authenticate_until).is_a?(String)
|
564
574
|
raise InvalidParameterError.new("Bad parameter: authentication_method must be an String") if params.dig(:authentication_method) and !params.dig(:authentication_method).is_a?(String)
|
575
|
+
raise InvalidParameterError.new("Bad parameter: header_text must be an String") if params.dig(:header_text) and !params.dig(:header_text).is_a?(String)
|
565
576
|
raise InvalidParameterError.new("Bad parameter: language must be an String") if params.dig(:language) and !params.dig(:language).is_a?(String)
|
566
577
|
raise InvalidParameterError.new("Bad parameter: notification_daily_send_time must be an Integer") if params.dig(:notification_daily_send_time) and !params.dig(:notification_daily_send_time).is_a?(Integer)
|
567
578
|
raise InvalidParameterError.new("Bad parameter: name must be an String") if params.dig(:name) and !params.dig(:name).is_a?(String)
|
@@ -668,6 +679,7 @@ module Files
|
|
668
679
|
# dav_permission - boolean - Can the user connect with WebDAV?
|
669
680
|
# disabled - boolean - Is user disabled? Disabled users cannot log in, and do not count for billing purposes. Users can be automatically disabled after an inactivity period via a Site setting.
|
670
681
|
# ftp_permission - boolean - Can the user access with FTP/FTPS?
|
682
|
+
# header_text - string - Text to display to the user in the header of the UI
|
671
683
|
# language - string - Preferred language
|
672
684
|
# notification_daily_send_time - int64 - Hour of the day at which daily notifications should be sent. Can be in range 0 to 23
|
673
685
|
# name - string - User's full name
|
@@ -698,6 +710,7 @@ module Files
|
|
698
710
|
raise InvalidParameterError.new("Bad parameter: allowed_ips must be an String") if params.dig(:allowed_ips) and !params.dig(:allowed_ips).is_a?(String)
|
699
711
|
raise InvalidParameterError.new("Bad parameter: authenticate_until must be an String") if params.dig(:authenticate_until) and !params.dig(:authenticate_until).is_a?(String)
|
700
712
|
raise InvalidParameterError.new("Bad parameter: authentication_method must be an String") if params.dig(:authentication_method) and !params.dig(:authentication_method).is_a?(String)
|
713
|
+
raise InvalidParameterError.new("Bad parameter: header_text must be an String") if params.dig(:header_text) and !params.dig(:header_text).is_a?(String)
|
701
714
|
raise InvalidParameterError.new("Bad parameter: language must be an String") if params.dig(:language) and !params.dig(:language).is_a?(String)
|
702
715
|
raise InvalidParameterError.new("Bad parameter: notification_daily_send_time must be an Integer") if params.dig(:notification_daily_send_time) and !params.dig(:notification_daily_send_time).is_a?(Integer)
|
703
716
|
raise InvalidParameterError.new("Bad parameter: name must be an String") if params.dig(:name) and !params.dig(:name).is_a?(String)
|
@@ -768,6 +781,7 @@ module Files
|
|
768
781
|
# dav_permission - boolean - Can the user connect with WebDAV?
|
769
782
|
# disabled - boolean - Is user disabled? Disabled users cannot log in, and do not count for billing purposes. Users can be automatically disabled after an inactivity period via a Site setting.
|
770
783
|
# ftp_permission - boolean - Can the user access with FTP/FTPS?
|
784
|
+
# header_text - string - Text to display to the user in the header of the UI
|
771
785
|
# language - string - Preferred language
|
772
786
|
# notification_daily_send_time - int64 - Hour of the day at which daily notifications should be sent. Can be in range 0 to 23
|
773
787
|
# name - string - User's full name
|
@@ -801,6 +815,7 @@ module Files
|
|
801
815
|
raise InvalidParameterError.new("Bad parameter: allowed_ips must be an String") if params.dig(:allowed_ips) and !params.dig(:allowed_ips).is_a?(String)
|
802
816
|
raise InvalidParameterError.new("Bad parameter: authenticate_until must be an String") if params.dig(:authenticate_until) and !params.dig(:authenticate_until).is_a?(String)
|
803
817
|
raise InvalidParameterError.new("Bad parameter: authentication_method must be an String") if params.dig(:authentication_method) and !params.dig(:authentication_method).is_a?(String)
|
818
|
+
raise InvalidParameterError.new("Bad parameter: header_text must be an String") if params.dig(:header_text) and !params.dig(:header_text).is_a?(String)
|
804
819
|
raise InvalidParameterError.new("Bad parameter: language must be an String") if params.dig(:language) and !params.dig(:language).is_a?(String)
|
805
820
|
raise InvalidParameterError.new("Bad parameter: notification_daily_send_time must be an Integer") if params.dig(:notification_daily_send_time) and !params.dig(:notification_daily_send_time).is_a?(Integer)
|
806
821
|
raise InvalidParameterError.new("Bad parameter: name must be an String") if params.dig(:name) and !params.dig(:name).is_a?(String)
|
data/lib/files.com/sizable_io.rb
CHANGED
data/spec/list_spec.rb
CHANGED
@@ -12,15 +12,34 @@ RSpec.describe Files::List do
|
|
12
12
|
let(:per_page) { 3 }
|
13
13
|
|
14
14
|
context "when response includes a cursor" do
|
15
|
-
let(:client) { instance_double(Files::ApiClient
|
15
|
+
let(:client) { instance_double(Files::ApiClient) }
|
16
|
+
let(:stubbed_cursors) {
|
17
|
+
[
|
18
|
+
'3',
|
19
|
+
'6',
|
20
|
+
nil
|
21
|
+
]
|
22
|
+
}
|
23
|
+
|
24
|
+
before do
|
25
|
+
allow(client).to receive(:cursor).and_return(*stubbed_cursors)
|
26
|
+
end
|
16
27
|
|
17
28
|
it "does not call the API until out of responses" do
|
18
29
|
server_results = ('a'..'h').to_a
|
19
30
|
times_block_yielded = 0
|
31
|
+
request_cursor = nil
|
32
|
+
response_cursor = nil
|
33
|
+
|
20
34
|
list = described_class.new(ResourceWrapper, params) {
|
21
35
|
times_block_yielded += 1
|
36
|
+
request_cursor = params[:cursor]
|
37
|
+
range_start = params[:cursor] ? params[:cursor].to_i : 0
|
38
|
+
|
39
|
+
response_data = server_results[range_start, per_page]
|
40
|
+
response_cursor = (range_start + per_page).to_s
|
22
41
|
[
|
23
|
-
instance_double(Files::Response, data:
|
42
|
+
instance_double(Files::Response, data: response_data, http_status: 200, http_headers: { "x-files-cursor" => response_cursor }),
|
24
43
|
options
|
25
44
|
]
|
26
45
|
}
|
@@ -29,15 +48,18 @@ RSpec.describe Files::List do
|
|
29
48
|
expect(times_block_yielded).to eq(0)
|
30
49
|
expect(results.next.object).to eq('a')
|
31
50
|
expect(times_block_yielded).to eq(1)
|
51
|
+
expect(request_cursor).to eq(nil)
|
32
52
|
expect(results.next.object).to eq('b')
|
33
53
|
expect(results.next.object).to eq('c')
|
34
54
|
expect(results.next.object).to eq('d')
|
35
55
|
expect(times_block_yielded).to eq(2)
|
56
|
+
expect(request_cursor).to eq("3")
|
36
57
|
expect(results.next.object).to eq('e')
|
37
58
|
expect(results.next.object).to eq('f')
|
38
59
|
expect(results.next.object).to eq('g')
|
39
60
|
expect(results.next.object).to eq('h')
|
40
61
|
expect(times_block_yielded).to eq(3)
|
62
|
+
expect(request_cursor).to eq("6")
|
41
63
|
end
|
42
64
|
|
43
65
|
it "stops calling the API once there is an error" do
|
data/spec/spec_helper.rb
CHANGED
@@ -16,9 +16,7 @@ RSpec.configure do |config|
|
|
16
16
|
let(:options) { { api_key: api_key } }
|
17
17
|
end
|
18
18
|
|
19
|
-
|
20
|
-
config.include_context "API Helpers", :with_test_folder
|
21
|
-
end
|
19
|
+
config.include_context "API Helpers", :with_test_folder
|
22
20
|
|
23
21
|
config.around(:example, :with_test_folder) do |all|
|
24
22
|
@api_key = ENV["TEST_API_KEY"] || File.read("../../config/test_api_key.txt")
|
data/test/test.rb
CHANGED
@@ -63,7 +63,7 @@ end
|
|
63
63
|
|
64
64
|
def test_sessions
|
65
65
|
session = Files::Session.create(username: "sessionuser", password: "sessionuserpassword")
|
66
|
-
|
66
|
+
Files::ApiKey.list({ user_id: 0 }, session: session)
|
67
67
|
session.destroy
|
68
68
|
end
|
69
69
|
|
metadata
CHANGED
@@ -1,71 +1,71 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: files.com
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.76
|
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-06-
|
11
|
+
date: 2020-06-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: addressable
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 2.7.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
26
|
+
version: 2.7.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
28
|
+
name: concurrent-ruby
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
33
|
+
version: 1.1.3
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
40
|
+
version: 1.1.3
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
|
-
name:
|
42
|
+
name: faraday
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version:
|
47
|
+
version: 1.0.1
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version:
|
54
|
+
version: 1.0.1
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
|
-
name:
|
56
|
+
name: net-http-persistent
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - ">="
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
61
|
+
version: '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:
|
68
|
+
version: '0'
|
69
69
|
description: The Files.com Ruby client.
|
70
70
|
email:
|
71
71
|
- support@files.com
|
@@ -77,6 +77,7 @@ extra_rdoc_files: []
|
|
77
77
|
files:
|
78
78
|
- CONTRIBUTORS
|
79
79
|
- Gemfile
|
80
|
+
- Gemfile.lock
|
80
81
|
- LICENSE
|
81
82
|
- README.md
|
82
83
|
- Rakefile
|
@@ -91,6 +92,7 @@ files:
|
|
91
92
|
- docs/automation.md
|
92
93
|
- docs/behavior.md
|
93
94
|
- docs/bundle.md
|
95
|
+
- docs/clickwrap.md
|
94
96
|
- docs/dns_record.md
|
95
97
|
- docs/errors.md
|
96
98
|
- docs/file.md
|
@@ -145,6 +147,7 @@ files:
|
|
145
147
|
- lib/files.com/models/automation.rb
|
146
148
|
- lib/files.com/models/behavior.rb
|
147
149
|
- lib/files.com/models/bundle.rb
|
150
|
+
- lib/files.com/models/clickwrap.rb
|
148
151
|
- lib/files.com/models/dir.rb
|
149
152
|
- lib/files.com/models/dns_record.rb
|
150
153
|
- lib/files.com/models/errors.rb
|
@@ -209,7 +212,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
209
212
|
requirements:
|
210
213
|
- - ">="
|
211
214
|
- !ruby/object:Gem::Version
|
212
|
-
version: '2.
|
215
|
+
version: '2.5'
|
213
216
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
214
217
|
requirements:
|
215
218
|
- - ">="
|