lumberg 2.0.1 → 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/lumberg/exceptions.rb +2 -0
- data/lib/lumberg/version.rb +1 -1
- data/lib/lumberg/whm/server.rb +7 -2
- data/spec/whm/server_spec.rb +15 -1
- metadata +198 -199
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 62bbbbeac1e7b971a4d258310f24dc22e5d4bca2
|
4
|
+
data.tar.gz: 8a451da0ae4001a4cd9d9415b2edca146d683f53
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9798a4a18f6e7603daba5a8ceb878a3ef8448deff7b31655a177070c14c970f69194204ddc0ea6ca419f0f2e4f1074e5f0d9351eac6e13d4e7d315602bb7e977
|
7
|
+
data.tar.gz: 5ddb8c7a7a0e9b020a2ac75c18629246922fce6cf9f9fa3b7cd6669ee8130aab6d387c593cdb8cef5eebac735aa81509d91611c34dd91102f8d10f639fc4b365
|
data/lib/lumberg/exceptions.rb
CHANGED
@@ -1,6 +1,8 @@
|
|
1
1
|
module Lumberg
|
2
2
|
# WHM Exception for when an argument is invalid, missing, etc.
|
3
3
|
class WhmArgumentError < ArgumentError; end
|
4
|
+
# WHM Exception for when a connection fails
|
5
|
+
class WhmConnectionError < ArgumentError; end
|
4
6
|
# WHM Exception for when a request is performed on an invalid user
|
5
7
|
class WhmInvalidUser < RuntimeError; end
|
6
8
|
end
|
data/lib/lumberg/version.rb
CHANGED
data/lib/lumberg/whm/server.rb
CHANGED
@@ -58,14 +58,14 @@ module Lumberg
|
|
58
58
|
@ssl_verify ||= false
|
59
59
|
@ssl = options.delete(:ssl)
|
60
60
|
@host = options.delete(:host)
|
61
|
+
validate_server_host
|
62
|
+
|
61
63
|
@hash = format_hash(options.delete(:hash))
|
62
64
|
@user = (options.has_key?(:user) ? options.delete(:user) : 'root')
|
63
65
|
@basic_auth = options.delete(:basic_auth)
|
64
66
|
@timeout = options.delete(:timeout)
|
65
67
|
@whostmgr = options.delete(:whostmgr)
|
66
68
|
|
67
|
-
validate_server_host
|
68
|
-
|
69
69
|
@base_url = format_url(options)
|
70
70
|
end
|
71
71
|
|
@@ -257,6 +257,11 @@ module Lumberg
|
|
257
257
|
end.get(function).body
|
258
258
|
@force_response_type = nil
|
259
259
|
@response
|
260
|
+
|
261
|
+
rescue Faraday::Error::ConnectionFailed, Faraday::TimeoutError
|
262
|
+
raise Lumberg::WhmConnectionError.new(
|
263
|
+
"#{@host} is either unavailable or is not currently accepting requests. Please try again in a few minutes."
|
264
|
+
)
|
260
265
|
end
|
261
266
|
|
262
267
|
def format_query(hash)
|
data/spec/whm/server_spec.rb
CHANGED
@@ -43,9 +43,23 @@ module Lumberg
|
|
43
43
|
expect do
|
44
44
|
Whm::Server.new(host: "nxdomain.tld", hash: "")
|
45
45
|
end.to raise_error(
|
46
|
-
|
46
|
+
Lumberg::WhmArgumentError, "Unable to resolve nxdomain.tld"
|
47
47
|
)
|
48
48
|
end
|
49
|
+
|
50
|
+
it "raises message for connection failed" do
|
51
|
+
VCR.turn_off!
|
52
|
+
stub_request(:get, "#{@url_base}/version").to_timeout
|
53
|
+
|
54
|
+
expect do
|
55
|
+
@whm = Whm::Server.new(@login)
|
56
|
+
@whm.version
|
57
|
+
end.to raise_error(
|
58
|
+
Lumberg::WhmConnectionError, "#{@login[:host]} is either unavailable or is not currently accepting requests. Please try again in a few minutes."
|
59
|
+
)
|
60
|
+
|
61
|
+
VCR.turn_on!
|
62
|
+
end
|
49
63
|
end
|
50
64
|
|
51
65
|
describe "setting timeout" do
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lumberg
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 3.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Justin Mazzi
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-08-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|
@@ -435,258 +435,257 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
435
435
|
version: '0'
|
436
436
|
requirements: []
|
437
437
|
rubyforge_project: lumberg
|
438
|
-
rubygems_version: 2.
|
438
|
+
rubygems_version: 2.2.2
|
439
439
|
signing_key:
|
440
440
|
specification_version: 4
|
441
441
|
summary: Ruby library for the WHM & cPanel API
|
442
442
|
test_files:
|
443
|
-
- spec/format_whm_spec.rb
|
444
|
-
- spec/lumberg_spec.rb
|
445
|
-
- spec/sample_certs/cpanel.key
|
446
|
-
- spec/sample_certs/sample.crt
|
447
|
-
- spec/sample_certs/sample.key
|
448
|
-
- spec/sample_certs/main.crt
|
449
|
-
- spec/sample_certs/cpanel.crt
|
450
|
-
- spec/support/cpanel_matchers.rb
|
451
443
|
- spec/config_spec.rb
|
444
|
+
- spec/cpanel/addon_domain_spec.rb
|
445
|
+
- spec/cpanel/backups_spec.rb
|
452
446
|
- spec/cpanel/base_spec.rb
|
453
|
-
- spec/cpanel/
|
454
|
-
- spec/cpanel/
|
455
|
-
- spec/cpanel/
|
447
|
+
- spec/cpanel/box_trapper_spec.rb
|
448
|
+
- spec/cpanel/branding_spec.rb
|
449
|
+
- spec/cpanel/contact_spec.rb
|
456
450
|
- spec/cpanel/cron_spec.rb
|
457
|
-
- spec/cpanel/
|
458
|
-
- spec/cpanel/addon_domain_spec.rb
|
459
|
-
- spec/cpanel/domain_lookup_spec.rb
|
451
|
+
- spec/cpanel/dns_lookup_spec.rb
|
460
452
|
- spec/cpanel/domain_keys_spec.rb
|
461
|
-
- spec/cpanel/
|
462
|
-
- spec/cpanel/ssl_spec.rb
|
453
|
+
- spec/cpanel/domain_lookup_spec.rb
|
463
454
|
- spec/cpanel/email_spec.rb
|
464
|
-
- spec/cpanel/
|
465
|
-
- spec/cpanel/
|
466
|
-
- spec/cpanel/
|
455
|
+
- spec/cpanel/file_manager_spec.rb
|
456
|
+
- spec/cpanel/ftp_spec.rb
|
457
|
+
- spec/cpanel/gpg_spec.rb
|
458
|
+
- spec/cpanel/locale_spec.rb
|
459
|
+
- spec/cpanel/mime_spec.rb
|
460
|
+
- spec/cpanel/mysql_db_spec.rb
|
467
461
|
- spec/cpanel/mysql_spec.rb
|
462
|
+
- spec/cpanel/net_spec.rb
|
468
463
|
- spec/cpanel/park_spec.rb
|
469
|
-
- spec/cpanel/mysql_db_spec.rb
|
470
|
-
- spec/cpanel/zone_edit_spec.rb
|
471
|
-
- spec/cpanel/gpg_spec.rb
|
472
|
-
- spec/cpanel/file_manager_spec.rb
|
473
464
|
- spec/cpanel/password_spec.rb
|
474
|
-
- spec/cpanel/box_trapper_spec.rb
|
475
|
-
- spec/cpanel/support_spec.rb
|
476
|
-
- spec/cpanel/redirect_spec.rb
|
477
|
-
- spec/cpanel/mime_spec.rb
|
478
|
-
- spec/cpanel/dns_lookup_spec.rb
|
479
465
|
- spec/cpanel/password_strength_spec.rb
|
480
|
-
- spec/
|
481
|
-
- spec/
|
482
|
-
- spec/
|
483
|
-
- spec/
|
484
|
-
- spec/
|
485
|
-
- spec/
|
486
|
-
- spec/
|
487
|
-
- spec/
|
488
|
-
- spec/
|
489
|
-
- spec/
|
490
|
-
- spec/
|
466
|
+
- spec/cpanel/random_data_spec.rb
|
467
|
+
- spec/cpanel/redirect_spec.rb
|
468
|
+
- spec/cpanel/ssl_spec.rb
|
469
|
+
- spec/cpanel/sub_domain_spec.rb
|
470
|
+
- spec/cpanel/support_spec.rb
|
471
|
+
- spec/cpanel/zone_edit_spec.rb
|
472
|
+
- spec/format_whm_spec.rb
|
473
|
+
- spec/lumberg_spec.rb
|
474
|
+
- spec/sample_certs/cpanel.crt
|
475
|
+
- spec/sample_certs/cpanel.key
|
476
|
+
- spec/sample_certs/main.crt
|
477
|
+
- spec/sample_certs/sample.crt
|
478
|
+
- spec/sample_certs/sample.key
|
479
|
+
- spec/spec_helper.rb
|
480
|
+
- spec/support/cpanel_matchers.rb
|
481
|
+
- spec/vcr_cassettes/cpanel/addon_domain/add.yml
|
482
|
+
- spec/vcr_cassettes/cpanel/addon_domain/list.yml
|
483
|
+
- spec/vcr_cassettes/cpanel/addon_domain/remove.yml
|
484
|
+
- spec/vcr_cassettes/cpanel/backups/list.yml
|
485
|
+
- spec/vcr_cassettes/cpanel/box_trapper/list.yml
|
486
|
+
- spec/vcr_cassettes/cpanel/branding/list_icons.yml
|
487
|
+
- spec/vcr_cassettes/cpanel/branding/list_image_types.yml
|
488
|
+
- spec/vcr_cassettes/cpanel/branding/list_object_types.yml
|
489
|
+
- spec/vcr_cassettes/cpanel/branding/list_pkgs.yml
|
490
|
+
- spec/vcr_cassettes/cpanel/branding/list_sprites.yml
|
491
|
+
- spec/vcr_cassettes/cpanel/contact/show.yml
|
492
|
+
- spec/vcr_cassettes/cpanel/contact/update.yml
|
493
|
+
- spec/vcr_cassettes/cpanel/cron/add.yml
|
494
|
+
- spec/vcr_cassettes/cpanel/cron/edit.yml
|
495
|
+
- spec/vcr_cassettes/cpanel/cron/email.yml
|
496
|
+
- spec/vcr_cassettes/cpanel/cron/list.yml
|
497
|
+
- spec/vcr_cassettes/cpanel/cron/remove.yml
|
498
|
+
- spec/vcr_cassettes/cpanel/cron/set_email.yml
|
491
499
|
- spec/vcr_cassettes/cpanel/dns_lookup/name_to_ip.yml
|
492
|
-
- spec/vcr_cassettes/cpanel/
|
493
|
-
- spec/vcr_cassettes/cpanel/
|
494
|
-
- spec/vcr_cassettes/cpanel/
|
495
|
-
- spec/vcr_cassettes/cpanel/
|
496
|
-
- spec/vcr_cassettes/cpanel/domain_lookup/list.yml
|
497
|
-
- spec/vcr_cassettes/cpanel/domain_lookup/document_roots.yml
|
500
|
+
- spec/vcr_cassettes/cpanel/domain_keys/add.yml
|
501
|
+
- spec/vcr_cassettes/cpanel/domain_keys/available.yml
|
502
|
+
- spec/vcr_cassettes/cpanel/domain_keys/installed.yml
|
503
|
+
- spec/vcr_cassettes/cpanel/domain_keys/remove.yml
|
498
504
|
- spec/vcr_cassettes/cpanel/domain_lookup/count.yml
|
499
|
-
- spec/vcr_cassettes/cpanel/domain_lookup/docroots.yml
|
500
505
|
- spec/vcr_cassettes/cpanel/domain_lookup/docroot.yml
|
506
|
+
- spec/vcr_cassettes/cpanel/domain_lookup/docroots.yml
|
501
507
|
- spec/vcr_cassettes/cpanel/domain_lookup/document_root.yml
|
502
|
-
- spec/vcr_cassettes/cpanel/
|
503
|
-
- spec/vcr_cassettes/cpanel/
|
504
|
-
- spec/vcr_cassettes/cpanel/
|
505
|
-
- spec/vcr_cassettes/cpanel/ftp/addftp.yml
|
506
|
-
- spec/vcr_cassettes/cpanel/ftp/delftp.yml
|
507
|
-
- spec/vcr_cassettes/cpanel/ftp/listftpsessions.yml
|
508
|
-
- spec/vcr_cassettes/cpanel/ftp/listftpwithdisk.yml
|
509
|
-
- spec/vcr_cassettes/cpanel/ftp/setquota.yml
|
510
|
-
- spec/vcr_cassettes/cpanel/password/modify.yml
|
511
|
-
- spec/vcr_cassettes/cpanel/password/digest_authentication.yml
|
512
|
-
- spec/vcr_cassettes/cpanel/support/contactable.yml
|
513
|
-
- spec/vcr_cassettes/cpanel/email/disk_usage.yml
|
514
|
-
- spec/vcr_cassettes/cpanel/email/edit_quota.yml
|
515
|
-
- spec/vcr_cassettes/cpanel/email/mail_dirs.yml
|
516
|
-
- spec/vcr_cassettes/cpanel/email/mailing_lists.yml
|
517
|
-
- spec/vcr_cassettes/cpanel/email/filters.yml
|
518
|
-
- spec/vcr_cassettes/cpanel/email/add_filter.yml
|
508
|
+
- spec/vcr_cassettes/cpanel/domain_lookup/document_roots.yml
|
509
|
+
- spec/vcr_cassettes/cpanel/domain_lookup/list.yml
|
510
|
+
- spec/vcr_cassettes/cpanel/email/acceptable_encodings.yml
|
519
511
|
- spec/vcr_cassettes/cpanel/email/accounts.yml
|
520
|
-
- spec/vcr_cassettes/cpanel/email/
|
512
|
+
- spec/vcr_cassettes/cpanel/email/add_account.yml
|
513
|
+
- spec/vcr_cassettes/cpanel/email/add_filter.yml
|
521
514
|
- spec/vcr_cassettes/cpanel/email/add_forwarder.yml
|
522
|
-
- spec/vcr_cassettes/cpanel/email/set_mx_type.yml
|
523
515
|
- spec/vcr_cassettes/cpanel/email/add_mailing_list.yml
|
524
|
-
- spec/vcr_cassettes/cpanel/email/
|
516
|
+
- spec/vcr_cassettes/cpanel/email/add_mx.yml
|
517
|
+
- spec/vcr_cassettes/cpanel/email/change_mx.yml
|
525
518
|
- spec/vcr_cassettes/cpanel/email/change_password.yml
|
526
|
-
- spec/vcr_cassettes/cpanel/email/
|
527
|
-
- spec/vcr_cassettes/cpanel/email/add_account.yml
|
528
|
-
- spec/vcr_cassettes/cpanel/email/mail_dir.yml
|
529
|
-
- spec/vcr_cassettes/cpanel/email/forwarders.yml
|
519
|
+
- spec/vcr_cassettes/cpanel/email/check_local_delivery_local.yml
|
530
520
|
- spec/vcr_cassettes/cpanel/email/check_local_delivery_remote.yml
|
521
|
+
- spec/vcr_cassettes/cpanel/email/default_address.yml
|
522
|
+
- spec/vcr_cassettes/cpanel/email/delete_mx.yml
|
523
|
+
- spec/vcr_cassettes/cpanel/email/disk_usage.yml
|
531
524
|
- spec/vcr_cassettes/cpanel/email/domains.yml
|
532
|
-
- spec/vcr_cassettes/cpanel/email/
|
533
|
-
- spec/vcr_cassettes/cpanel/email/
|
534
|
-
- spec/vcr_cassettes/cpanel/email/
|
535
|
-
- spec/vcr_cassettes/cpanel/email/
|
525
|
+
- spec/vcr_cassettes/cpanel/email/domains_with_aliases.yml
|
526
|
+
- spec/vcr_cassettes/cpanel/email/edit_quota.yml
|
527
|
+
- spec/vcr_cassettes/cpanel/email/filters.yml
|
528
|
+
- spec/vcr_cassettes/cpanel/email/forwarders.yml
|
529
|
+
- spec/vcr_cassettes/cpanel/email/mail_dir.yml
|
530
|
+
- spec/vcr_cassettes/cpanel/email/mail_dirs.yml
|
531
|
+
- spec/vcr_cassettes/cpanel/email/mailing_lists.yml
|
536
532
|
- spec/vcr_cassettes/cpanel/email/main_discard.yml
|
537
|
-
- spec/vcr_cassettes/cpanel/email/delete_mx.yml
|
538
|
-
- spec/vcr_cassettes/cpanel/email/default_address.yml
|
539
533
|
- spec/vcr_cassettes/cpanel/email/mx.yml
|
540
534
|
- spec/vcr_cassettes/cpanel/email/remove.yml
|
541
|
-
- spec/vcr_cassettes/cpanel/email/
|
542
|
-
- spec/vcr_cassettes/cpanel/
|
543
|
-
- spec/vcr_cassettes/cpanel/
|
544
|
-
- spec/vcr_cassettes/cpanel/
|
545
|
-
- spec/vcr_cassettes/cpanel/
|
535
|
+
- spec/vcr_cassettes/cpanel/email/set_default_address.yml
|
536
|
+
- spec/vcr_cassettes/cpanel/email/set_mail_delivery_local.yml
|
537
|
+
- spec/vcr_cassettes/cpanel/email/set_mail_delivery_remote.yml
|
538
|
+
- spec/vcr_cassettes/cpanel/email/set_mx_type.yml
|
539
|
+
- spec/vcr_cassettes/cpanel/file_manager/disk_usage.yml
|
540
|
+
- spec/vcr_cassettes/cpanel/file_manager/list.yml
|
541
|
+
- spec/vcr_cassettes/cpanel/file_manager/operate.yml
|
542
|
+
- spec/vcr_cassettes/cpanel/file_manager/show.yml
|
543
|
+
- spec/vcr_cassettes/cpanel/file_manager/stat.yml
|
544
|
+
- spec/vcr_cassettes/cpanel/ftp/addftp.yml
|
545
|
+
- spec/vcr_cassettes/cpanel/ftp/delftp.yml
|
546
|
+
- spec/vcr_cassettes/cpanel/ftp/listftp.yml
|
547
|
+
- spec/vcr_cassettes/cpanel/ftp/listftpsessions.yml
|
548
|
+
- spec/vcr_cassettes/cpanel/ftp/listftpwithdisk.yml
|
549
|
+
- spec/vcr_cassettes/cpanel/ftp/passwd.yml
|
550
|
+
- spec/vcr_cassettes/cpanel/ftp/setquota.yml
|
546
551
|
- spec/vcr_cassettes/cpanel/gpg/count.yml
|
552
|
+
- spec/vcr_cassettes/cpanel/gpg/count_private.yml
|
553
|
+
- spec/vcr_cassettes/cpanel/gpg/list.yml
|
547
554
|
- spec/vcr_cassettes/cpanel/gpg/list_private.yml
|
548
|
-
- spec/vcr_cassettes/cpanel/
|
549
|
-
- spec/vcr_cassettes/cpanel/branding/list_sprites.yml
|
550
|
-
- spec/vcr_cassettes/cpanel/branding/list_icons.yml
|
551
|
-
- spec/vcr_cassettes/cpanel/branding/list_image_types.yml
|
552
|
-
- spec/vcr_cassettes/cpanel/branding/list_pkgs.yml
|
553
|
-
- spec/vcr_cassettes/cpanel/password_strength/required_strength.yml
|
554
|
-
- spec/vcr_cassettes/cpanel/password_strength/all_required_strengths.yml
|
555
|
-
- spec/vcr_cassettes/cpanel/password_strength/strength.yml
|
556
|
-
- spec/vcr_cassettes/cpanel/domain_keys/available.yml
|
557
|
-
- spec/vcr_cassettes/cpanel/domain_keys/add.yml
|
558
|
-
- spec/vcr_cassettes/cpanel/domain_keys/installed.yml
|
559
|
-
- spec/vcr_cassettes/cpanel/domain_keys/remove.yml
|
560
|
-
- spec/vcr_cassettes/cpanel/mysql_db/number_of_dbs.yml
|
561
|
-
- spec/vcr_cassettes/cpanel/mysql_db/check_db.yml
|
562
|
-
- spec/vcr_cassettes/cpanel/mysql_db/update_privs.yml
|
563
|
-
- spec/vcr_cassettes/cpanel/mysql_db/init_cache.yml
|
564
|
-
- spec/vcr_cassettes/cpanel/mysql_db/add_user_db.yml
|
565
|
-
- spec/vcr_cassettes/cpanel/mysql_db/del_user_db.yml
|
566
|
-
- spec/vcr_cassettes/cpanel/mysql_db/repair_db.yml
|
567
|
-
- spec/vcr_cassettes/cpanel/mysql_db/del_db.yml
|
555
|
+
- spec/vcr_cassettes/cpanel/locale/show.yml
|
568
556
|
- spec/vcr_cassettes/cpanel/mysql_db/add_db.yml
|
569
557
|
- spec/vcr_cassettes/cpanel/mysql_db/add_host.yml
|
558
|
+
- spec/vcr_cassettes/cpanel/mysql_db/add_user.yml
|
559
|
+
- spec/vcr_cassettes/cpanel/mysql_db/add_user_db.yml
|
560
|
+
- spec/vcr_cassettes/cpanel/mysql_db/check_db.yml
|
561
|
+
- spec/vcr_cassettes/cpanel/mysql_db/del_db.yml
|
570
562
|
- spec/vcr_cassettes/cpanel/mysql_db/del_host.yml
|
571
563
|
- spec/vcr_cassettes/cpanel/mysql_db/del_user.yml
|
572
|
-
- spec/vcr_cassettes/cpanel/mysql_db/
|
573
|
-
- spec/vcr_cassettes/cpanel/
|
564
|
+
- spec/vcr_cassettes/cpanel/mysql_db/del_user_db.yml
|
565
|
+
- spec/vcr_cassettes/cpanel/mysql_db/init_cache.yml
|
566
|
+
- spec/vcr_cassettes/cpanel/mysql_db/number_of_dbs.yml
|
567
|
+
- spec/vcr_cassettes/cpanel/mysql_db/repair_db.yml
|
568
|
+
- spec/vcr_cassettes/cpanel/mysql_db/update_privs.yml
|
569
|
+
- spec/vcr_cassettes/cpanel/net/query_hostname.yml
|
570
|
+
- spec/vcr_cassettes/cpanel/net/traceroute.yml
|
571
|
+
- spec/vcr_cassettes/cpanel/park/add.yml
|
572
|
+
- spec/vcr_cassettes/cpanel/park/list.yml
|
573
|
+
- spec/vcr_cassettes/cpanel/park/list_addon_domains.yml
|
574
|
+
- spec/vcr_cassettes/cpanel/park/remove.yml
|
575
|
+
- spec/vcr_cassettes/cpanel/password/digest_authentication.yml
|
576
|
+
- spec/vcr_cassettes/cpanel/password/modify.yml
|
577
|
+
- spec/vcr_cassettes/cpanel/password_strength/all_required_strengths.yml
|
578
|
+
- spec/vcr_cassettes/cpanel/password_strength/required_strength.yml
|
579
|
+
- spec/vcr_cassettes/cpanel/password_strength/strength.yml
|
580
|
+
- spec/vcr_cassettes/cpanel/random_data/show.yml
|
581
|
+
- spec/vcr_cassettes/cpanel/ssl/fetchcabundle.yml
|
574
582
|
- spec/vcr_cassettes/cpanel/ssl/gencrt.yml
|
575
|
-
- spec/vcr_cassettes/cpanel/ssl/
|
583
|
+
- spec/vcr_cassettes/cpanel/ssl/gencsr.yml
|
576
584
|
- spec/vcr_cassettes/cpanel/ssl/genkey.yml
|
577
|
-
- spec/vcr_cassettes/cpanel/ssl/showcsr.yml
|
578
|
-
- spec/vcr_cassettes/cpanel/ssl/listkeys.yml
|
579
|
-
- spec/vcr_cassettes/cpanel/ssl/fetchcabundle.yml
|
580
585
|
- spec/vcr_cassettes/cpanel/ssl/installssl.yml
|
586
|
+
- spec/vcr_cassettes/cpanel/ssl/listcrts.yml
|
581
587
|
- spec/vcr_cassettes/cpanel/ssl/listcsrs.yml
|
582
|
-
- spec/vcr_cassettes/cpanel/ssl/
|
583
|
-
- spec/vcr_cassettes/cpanel/ssl/gencsr.yml
|
588
|
+
- spec/vcr_cassettes/cpanel/ssl/listkeys.yml
|
584
589
|
- spec/vcr_cassettes/cpanel/ssl/listsslitems.yml
|
585
|
-
- spec/vcr_cassettes/cpanel/ssl/showkey.yml
|
586
|
-
- spec/vcr_cassettes/cpanel/ssl/listcrts.yml
|
587
590
|
- spec/vcr_cassettes/cpanel/ssl/remove.yml
|
588
|
-
- spec/vcr_cassettes/cpanel/
|
589
|
-
- spec/vcr_cassettes/cpanel/
|
590
|
-
- spec/vcr_cassettes/cpanel/
|
591
|
-
- spec/vcr_cassettes/cpanel/
|
592
|
-
- spec/vcr_cassettes/cpanel/
|
593
|
-
- spec/vcr_cassettes/cpanel/
|
594
|
-
- spec/vcr_cassettes/cpanel/
|
595
|
-
- spec/vcr_cassettes/cpanel/
|
596
|
-
- spec/vcr_cassettes/
|
597
|
-
- spec/vcr_cassettes/
|
598
|
-
- spec/vcr_cassettes/cpanel/cron/email.yml
|
599
|
-
- spec/vcr_cassettes/cpanel/cron/remove.yml
|
600
|
-
- spec/vcr_cassettes/cpanel/random_data/show.yml
|
601
|
-
- spec/vcr_cassettes/cpanel/file_manager/disk_usage.yml
|
602
|
-
- spec/vcr_cassettes/cpanel/file_manager/show.yml
|
603
|
-
- spec/vcr_cassettes/cpanel/file_manager/list.yml
|
604
|
-
- spec/vcr_cassettes/cpanel/file_manager/operate.yml
|
605
|
-
- spec/vcr_cassettes/cpanel/file_manager/stat.yml
|
606
|
-
- spec/vcr_cassettes/whm/dns/killdns.yml
|
607
|
-
- spec/vcr_cassettes/whm/dns/listzones.yml
|
608
|
-
- spec/vcr_cassettes/whm/dns/listmxs.yml
|
609
|
-
- spec/vcr_cassettes/whm/dns/getzonerecord.yml
|
610
|
-
- spec/vcr_cassettes/whm/dns/savemxs.yml
|
611
|
-
- spec/vcr_cassettes/whm/dns/lookupnsip.yml
|
612
|
-
- spec/vcr_cassettes/whm/dns/removezonerecord.yml
|
613
|
-
- spec/vcr_cassettes/whm/dns/dumpzone.yml
|
614
|
-
- spec/vcr_cassettes/whm/dns/addzonerecord.yml
|
615
|
-
- spec/vcr_cassettes/whm/dns/adddns.yml
|
616
|
-
- spec/vcr_cassettes/whm/dns/resetzone.yml
|
617
|
-
- spec/vcr_cassettes/whm/dns/resolvedomainname.yml
|
618
|
-
- spec/vcr_cassettes/whm/dns/editzonerecord.yml
|
619
|
-
- spec/vcr_cassettes/whm/account/listaccts.yml
|
620
|
-
- spec/vcr_cassettes/whm/account/passwd.yml
|
621
|
-
- spec/vcr_cassettes/whm/account/removeacct.yml
|
622
|
-
- spec/vcr_cassettes/whm/account/modifyacct.yml
|
623
|
-
- spec/vcr_cassettes/whm/account/setsiteip.yml
|
591
|
+
- spec/vcr_cassettes/cpanel/ssl/showcrt.yml
|
592
|
+
- spec/vcr_cassettes/cpanel/ssl/showcsr.yml
|
593
|
+
- spec/vcr_cassettes/cpanel/ssl/showkey.yml
|
594
|
+
- spec/vcr_cassettes/cpanel/ssl/uploadcrt.yml
|
595
|
+
- spec/vcr_cassettes/cpanel/sub_domain/add.yml
|
596
|
+
- spec/vcr_cassettes/cpanel/sub_domain/list.yml
|
597
|
+
- spec/vcr_cassettes/cpanel/sub_domain/remove.yml
|
598
|
+
- spec/vcr_cassettes/cpanel/support/contactable.yml
|
599
|
+
- spec/vcr_cassettes/whm/account/accountsummary.yml
|
600
|
+
- spec/vcr_cassettes/whm/account/changepackage.yml
|
624
601
|
- spec/vcr_cassettes/whm/account/createacct.yml
|
625
602
|
- spec/vcr_cassettes/whm/account/domainuserdata.yml
|
626
|
-
- spec/vcr_cassettes/whm/account/
|
603
|
+
- spec/vcr_cassettes/whm/account/editquota.yml
|
627
604
|
- spec/vcr_cassettes/whm/account/limitbw.yml
|
605
|
+
- spec/vcr_cassettes/whm/account/listaccts.yml
|
628
606
|
- spec/vcr_cassettes/whm/account/listsuspended.yml
|
629
|
-
- spec/vcr_cassettes/whm/account/
|
630
|
-
- spec/vcr_cassettes/whm/account/
|
607
|
+
- spec/vcr_cassettes/whm/account/modifyacct.yml
|
608
|
+
- spec/vcr_cassettes/whm/account/myprivs.yml
|
609
|
+
- spec/vcr_cassettes/whm/account/passwd.yml
|
610
|
+
- spec/vcr_cassettes/whm/account/removeacct.yml
|
631
611
|
- spec/vcr_cassettes/whm/account/restoreaccount.yml
|
632
|
-
- spec/vcr_cassettes/whm/account/
|
612
|
+
- spec/vcr_cassettes/whm/account/setsiteip.yml
|
633
613
|
- spec/vcr_cassettes/whm/account/suspend.yml
|
634
|
-
- spec/vcr_cassettes/whm/account/
|
635
|
-
- spec/vcr_cassettes/whm/
|
636
|
-
- spec/vcr_cassettes/whm/
|
637
|
-
- spec/vcr_cassettes/whm/
|
638
|
-
- spec/vcr_cassettes/whm/
|
639
|
-
- spec/vcr_cassettes/whm/
|
640
|
-
- spec/vcr_cassettes/whm/
|
641
|
-
- spec/vcr_cassettes/whm/
|
642
|
-
- spec/vcr_cassettes/whm/
|
643
|
-
- spec/vcr_cassettes/whm/
|
644
|
-
- spec/vcr_cassettes/whm/
|
645
|
-
- spec/vcr_cassettes/whm/
|
646
|
-
- spec/vcr_cassettes/whm/
|
647
|
-
- spec/vcr_cassettes/whm/
|
648
|
-
- spec/vcr_cassettes/whm/
|
649
|
-
- spec/vcr_cassettes/whm/
|
650
|
-
- spec/vcr_cassettes/whm/
|
651
|
-
- spec/vcr_cassettes/whm/
|
652
|
-
- spec/vcr_cassettes/whm/
|
653
|
-
- spec/vcr_cassettes/whm/
|
654
|
-
- spec/vcr_cassettes/whm/
|
655
|
-
- spec/vcr_cassettes/whm/server/systemloadavg.yml
|
656
|
-
- spec/vcr_cassettes/whm/server/reboot.yml
|
657
|
-
- spec/vcr_cassettes/whm/server/my_function.yml
|
658
|
-
- spec/vcr_cassettes/whm/reseller/setresellerips.yml
|
659
|
-
- spec/vcr_cassettes/whm/reseller/terminatereseller.yml
|
660
|
-
- spec/vcr_cassettes/whm/reseller/unsetupreseller.yml
|
614
|
+
- spec/vcr_cassettes/whm/account/unsuspend.yml
|
615
|
+
- spec/vcr_cassettes/whm/cert/fetch_ssl_vhosts.yml
|
616
|
+
- spec/vcr_cassettes/whm/cert/fetchsslinfo.yml
|
617
|
+
- spec/vcr_cassettes/whm/cert/generatessl.yml
|
618
|
+
- spec/vcr_cassettes/whm/cert/installssl.yml
|
619
|
+
- spec/vcr_cassettes/whm/cert/listcrts.yml
|
620
|
+
- spec/vcr_cassettes/whm/dns/adddns.yml
|
621
|
+
- spec/vcr_cassettes/whm/dns/addzonerecord.yml
|
622
|
+
- spec/vcr_cassettes/whm/dns/dumpzone.yml
|
623
|
+
- spec/vcr_cassettes/whm/dns/editzonerecord.yml
|
624
|
+
- spec/vcr_cassettes/whm/dns/getzonerecord.yml
|
625
|
+
- spec/vcr_cassettes/whm/dns/killdns.yml
|
626
|
+
- spec/vcr_cassettes/whm/dns/listmxs.yml
|
627
|
+
- spec/vcr_cassettes/whm/dns/listzones.yml
|
628
|
+
- spec/vcr_cassettes/whm/dns/lookupnsip.yml
|
629
|
+
- spec/vcr_cassettes/whm/dns/removezonerecord.yml
|
630
|
+
- spec/vcr_cassettes/whm/dns/resetzone.yml
|
631
|
+
- spec/vcr_cassettes/whm/dns/resolvedomainname.yml
|
632
|
+
- spec/vcr_cassettes/whm/dns/savemxs.yml
|
633
|
+
- spec/vcr_cassettes/whm/reseller/acctcounts.yml
|
634
|
+
- spec/vcr_cassettes/whm/reseller/listacls.yml
|
661
635
|
- spec/vcr_cassettes/whm/reseller/listresellers.yml
|
662
|
-
- spec/vcr_cassettes/whm/reseller/setresellernameservers.yml
|
663
636
|
- spec/vcr_cassettes/whm/reseller/resellerstats.yml
|
664
|
-
- spec/vcr_cassettes/whm/reseller/setacls.yml
|
665
|
-
- spec/vcr_cassettes/whm/reseller/acctcounts.yml
|
666
637
|
- spec/vcr_cassettes/whm/reseller/saveacllist.yml
|
638
|
+
- spec/vcr_cassettes/whm/reseller/setacls.yml
|
639
|
+
- spec/vcr_cassettes/whm/reseller/setresellerips.yml
|
667
640
|
- spec/vcr_cassettes/whm/reseller/setresellerlimits.yml
|
668
641
|
- spec/vcr_cassettes/whm/reseller/setresellermainip.yml
|
669
|
-
- spec/vcr_cassettes/whm/reseller/
|
670
|
-
- spec/vcr_cassettes/whm/reseller/unsuspendreseller.yml
|
642
|
+
- spec/vcr_cassettes/whm/reseller/setresellernameservers.yml
|
671
643
|
- spec/vcr_cassettes/whm/reseller/setresellerpackagelimit.yml
|
672
644
|
- spec/vcr_cassettes/whm/reseller/setupreseller.yml
|
673
645
|
- spec/vcr_cassettes/whm/reseller/suspendreseller.yml
|
674
|
-
- spec/vcr_cassettes/whm/
|
675
|
-
- spec/vcr_cassettes/whm/
|
676
|
-
- spec/vcr_cassettes/whm/
|
677
|
-
- spec/vcr_cassettes/whm/
|
678
|
-
- spec/vcr_cassettes/whm/
|
679
|
-
- spec/vcr_cassettes/whm/
|
646
|
+
- spec/vcr_cassettes/whm/reseller/terminatereseller.yml
|
647
|
+
- spec/vcr_cassettes/whm/reseller/unsetupreseller.yml
|
648
|
+
- spec/vcr_cassettes/whm/reseller/unsuspendreseller.yml
|
649
|
+
- spec/vcr_cassettes/whm/server/addip.yml
|
650
|
+
- spec/vcr_cassettes/whm/server/applist.yml
|
651
|
+
- spec/vcr_cassettes/whm/server/delip.yml
|
652
|
+
- spec/vcr_cassettes/whm/server/disk_usage.yml
|
653
|
+
- spec/vcr_cassettes/whm/server/edit_hook.yml
|
654
|
+
- spec/vcr_cassettes/whm/server/gethostname.yml
|
655
|
+
- spec/vcr_cassettes/whm/server/getlanglist.yml
|
656
|
+
- spec/vcr_cassettes/whm/server/gettweaksetting.yml
|
657
|
+
- spec/vcr_cassettes/whm/server/list_hooks.yml
|
658
|
+
- spec/vcr_cassettes/whm/server/listips.yml
|
659
|
+
- spec/vcr_cassettes/whm/server/loadavg.yml
|
660
|
+
- spec/vcr_cassettes/whm/server/lookup_nameserver_ip.yml
|
661
|
+
- spec/vcr_cassettes/whm/server/my_function.yml
|
662
|
+
- spec/vcr_cassettes/whm/server/nvget.yml
|
663
|
+
- spec/vcr_cassettes/whm/server/nvset.yml
|
664
|
+
- spec/vcr_cassettes/whm/server/reboot.yml
|
665
|
+
- spec/vcr_cassettes/whm/server/sethostname.yml
|
666
|
+
- spec/vcr_cassettes/whm/server/setresolvers.yml
|
667
|
+
- spec/vcr_cassettes/whm/server/settweaksetting.yml
|
668
|
+
- spec/vcr_cassettes/whm/server/showbw.yml
|
669
|
+
- spec/vcr_cassettes/whm/server/systemloadavg.yml
|
670
|
+
- spec/vcr_cassettes/whm/server/themes.yml
|
671
|
+
- spec/vcr_cassettes/whm/server/version.yml
|
680
672
|
- spec/vcr_cassettes/whm/transfer_tool/check.yml
|
681
|
-
- spec/vcr_cassettes/whm/transfer_tool/validate_user.yml
|
682
|
-
- spec/vcr_cassettes/whm/transfer_tool/start.yml
|
683
|
-
- spec/vcr_cassettes/whm/transfer_tool/enqueue.yml
|
684
673
|
- spec/vcr_cassettes/whm/transfer_tool/create.yml
|
685
|
-
- spec/vcr_cassettes/whm/transfer_tool/
|
674
|
+
- spec/vcr_cassettes/whm/transfer_tool/enqueue.yml
|
686
675
|
- spec/vcr_cassettes/whm/transfer_tool/pause.yml
|
687
|
-
- spec/vcr_cassettes/
|
676
|
+
- spec/vcr_cassettes/whm/transfer_tool/show_log.yml
|
677
|
+
- spec/vcr_cassettes/whm/transfer_tool/start.yml
|
678
|
+
- spec/vcr_cassettes/whm/transfer_tool/status.yml
|
679
|
+
- spec/vcr_cassettes/whm/transfer_tool/validate_user.yml
|
688
680
|
- spec/vcr_cassettes/whostmgr/ssl/create.yml
|
689
681
|
- spec/vcr_cassettes/whostmgr/ssl/remove.yml
|
690
|
-
- spec/
|
682
|
+
- spec/vcr_cassettes/whostmgr/ssl/remove_data.yml
|
683
|
+
- spec/whm/account_spec.rb
|
684
|
+
- spec/whm/base_spec.rb
|
685
|
+
- spec/whm/cert_spec.rb
|
686
|
+
- spec/whm/dns_spec.rb
|
687
|
+
- spec/whm/reseller_spec.rb
|
688
|
+
- spec/whm/server_spec.rb
|
689
|
+
- spec/whm/transfer_tool_spec.rb
|
690
|
+
- spec/whm/whm_spec.rb
|
691
691
|
- spec/whostmgr/ssl_spec.rb
|
692
|
-
has_rdoc:
|