lumberg 2.0.0.pre15 → 2.0.0.pre18

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
  SHA1:
3
- metadata.gz: d1058732139bcd1b3944f3db58e83fd31fe20ae6
4
- data.tar.gz: b2c22aa8a40684b4c94bd3fe05b1567f77dc8133
3
+ metadata.gz: 9f67b2f128ef8e38faf54c6f7653b48b8e0185f0
4
+ data.tar.gz: b9be1b9f5d4344fae2b2d49fa922a535f87b8ce8
5
5
  SHA512:
6
- metadata.gz: b059b3b57831808727e710316de9e3c9207a75cab47f7d31ce495383f165f30de1bca88e0aba73010fe7c4120a8b24abc0a8a79deb6959dc0ff90f0348a4ce6a
7
- data.tar.gz: 232cec8379afc5d0aba63577d538a2aeec35fd647db9fda07898d703b13d0e780dfcab3c4ce63a0c73413379a5206621b4b384100f5e3acf6585816e37be3ff3
6
+ metadata.gz: bcebee81f7dc0f958b676a8ef50656886c462aab0ab2cd6f9bada62e1a37a5ba6c50d425f24dc32715a038e5a4b4a18ada78fb9da2a91e27968237cad3bee572
7
+ data.tar.gz: b393564ece64f01e689cd3950ef4ccb73035abaf8f8c97ffb58f34a26436ecb031927be369d6de3ca2c58c71f13b6947d644aeb357596f5f5ed59676a72fe522
@@ -318,6 +318,23 @@ module Lumberg
318
318
  }.merge(options))
319
319
  end
320
320
 
321
+ # Public: Configure a default (catchall) email address.
322
+ #
323
+ # options - Hash options for API call params (default: {}):
324
+ # :fwdopt - String defines how unroutable mail will be handled.
325
+ # Valid values are: fail, fwd, blackhole, pipe.
326
+ # :domain - String domain to apply the rule.
327
+ # :failmsgs - String failure message for bounces (Optional).
328
+ # :fwdemail - String email address to forward to (Optional).
329
+ # :pipefwd - String program to pipe messages to (Optional).
330
+ #
331
+ # Returns Hash API response.
332
+ def set_default_address(options = {})
333
+ perform_request({
334
+ api_function: "setdefaultaddress"
335
+ }.merge(options))
336
+ end
337
+
321
338
  # Public: Get default address info.
322
339
  #
323
340
  # options - Hash options for API call params (default: {}):
@@ -485,6 +502,20 @@ module Lumberg
485
502
  def fetchautoresponder(options={})
486
503
  perform_request({ api_function: "fetchautoresponder" }.merge(options))
487
504
  end
505
+
506
+ # Public: This function changes an email account's password.
507
+ #
508
+ # options - Hash options for API call params (default: {}):
509
+ # :domain - String domain for the email address for which you wish
510
+ # to change the password.
511
+ # :email - String username for the email address for
512
+ # which you wish to change the password.
513
+ # :password - String value. The desired password for the account.
514
+ #
515
+ # Returns Hash API response
516
+ def change_password(options={})
517
+ perform_request({ api_function: "passwdpop" }.merge(options))
518
+ end
488
519
  end
489
520
  end
490
521
  end
@@ -1,3 +1,3 @@
1
1
  module Lumberg
2
- VERSION = '2.0.0.pre15'
2
+ VERSION = '2.0.0.pre18'
3
3
  end
@@ -190,6 +190,16 @@ module Lumberg
190
190
  request
191
191
  end
192
192
 
193
+ def disk_usage
194
+ request = perform_request('getdiskusage',
195
+ response_key: 'data',
196
+ :'api.version' => 1)
197
+
198
+ request[:success] = request.has_key?(:params)
199
+
200
+ request
201
+ end
202
+
193
203
  def account
194
204
  @account ||= Account.new(server: self)
195
205
  end
@@ -596,6 +596,18 @@ module Lumberg
596
596
  end
597
597
  end
598
598
 
599
+ describe "#set_default_address" do
600
+ use_vcr_cassette("cpanel/email/set_default_address")
601
+
602
+ it "sets the default forwarding address for a domain" do
603
+ email.set_default_address(
604
+ domain: 'hello.com',
605
+ fwdopt: :fwd,
606
+ fwdemail: "foo@bar.com"
607
+ )[:params][:data].first.should == 'success'
608
+ end
609
+ end
610
+
599
611
  describe "#listfilterbackups" do
600
612
  pending
601
613
  end
@@ -611,5 +623,17 @@ module Lumberg
611
623
  describe "#fetchautoresponder" do
612
624
  pending
613
625
  end
626
+
627
+ describe "#change_password" do
628
+ use_vcr_cassette("cpanel/email/change_password")
629
+
630
+ it "Modifies the password an e-mail account" do
631
+ email.change_password(
632
+ domain: 'myhost.com',
633
+ email: 'test123@myhost.com',
634
+ password: 'test123'
635
+ )[:params][:data].first[:result].should == 1
636
+ end
637
+ end
614
638
  end
615
639
  end
@@ -0,0 +1,43 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://myhost.com:2087/json-api/cpanel?cpanel_jsonapi_apiversion=2&cpanel_jsonapi_func=passwdpop&cpanel_jsonapi_module=Email&cpanel_jsonapi_user=lumberg&domain=myhost.com&email=test123@myhost.com&password=test123
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Authorization:
11
+ - WHM root:"iscool"
12
+ User-Agent:
13
+ - Faraday v0.9.0
14
+ Accept-Encoding:
15
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
16
+ Accept:
17
+ - '*/*'
18
+ response:
19
+ status:
20
+ code: 200
21
+ message: OK
22
+ headers:
23
+ Server:
24
+ - cpsrvd/11.42.1.22
25
+ X-Keep-Alive-Count:
26
+ - '1'
27
+ Connection:
28
+ - Keep-Alive
29
+ Keep-Alive:
30
+ - timeout=70, max=200
31
+ Date:
32
+ - Mon, 21 Jul 2014 18:09:47 GMT
33
+ Content-Type:
34
+ - text/plain; charset="utf-8"
35
+ Content-Length:
36
+ - '127'
37
+ body:
38
+ encoding: UTF-8
39
+ string: |
40
+ {"cpanelresult":{"apiversion":2,"postevent":{"result":1},"preevent":{"result":1},"func":"passwdpop","data":[{"result":1,"reason":""}],"event":{"result":1},"module":"Email"}}
41
+ http_version:
42
+ recorded_at: Mon, 21 Jul 2014 18:09:47 GMT
43
+ recorded_with: VCR 2.9.2
@@ -0,0 +1,43 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://myhost.com:2087/json-api/cpanel?cpanel_jsonapi_apiversion=2&cpanel_jsonapi_func=setdefaultaddress&cpanel_jsonapi_module=Email&cpanel_jsonapi_user=lumberg&domain=hello.com&fwdemail=foo@bar.com&fwdopt=fwd
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Authorization:
11
+ - WHM root:iscool
12
+ User-Agent:
13
+ - Faraday v0.8.9
14
+ Accept-Encoding:
15
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
16
+ Accept:
17
+ - '*/*'
18
+ response:
19
+ status:
20
+ code: 200
21
+ message: OK
22
+ headers:
23
+ Server:
24
+ - cpsrvd/11.42.1.22
25
+ X-Keep-Alive-Count:
26
+ - '1'
27
+ Connection:
28
+ - Keep-Alive
29
+ Keep-Alive:
30
+ - timeout=70, max=200
31
+ Date:
32
+ - Thu, 17 Jul 2014 09:34:41 GMT
33
+ Content-Type:
34
+ - text/plain; charset="utf-8"
35
+ Content-Length:
36
+ - '214'
37
+ body:
38
+ encoding: UTF-8
39
+ string: |
40
+ {"cpanelresult":{"module":"Email","postevent":{"result":1},"event":{"result":1},"preevent":{"result":1},"data":["success"],"func":"setdefaultaddress","apiversion":2,"error":"Fatal!Write Failure: /etc/valiases/hello.comIgnore any messages of success. This can only result in failure!"}}
41
+ http_version:
42
+ recorded_at: Thu, 17 Jul 2014 09:34:40 GMT
43
+ recorded_with: VCR 2.7.0
@@ -0,0 +1,45 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://myhost.com:2087/json-api/getdiskusage?api.version=1
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Authorization:
11
+ - WHM root:iscool
12
+ User-Agent:
13
+ - Faraday v0.9.0
14
+ Accept-Encoding:
15
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
16
+ Accept:
17
+ - '*/*'
18
+ response:
19
+ status:
20
+ code: 200
21
+ message: OK
22
+ headers:
23
+ Server:
24
+ - cpsrvd/11.42.1.13
25
+ X-Keep-Alive-Count:
26
+ - '1'
27
+ Connection:
28
+ - Keep-Alive
29
+ Keep-Alive:
30
+ - timeout=70, max=200
31
+ Transfer-Encoding:
32
+ - chunked
33
+ Date:
34
+ - Sun, 06 Jul 2014 23:28:13 GMT
35
+ Cache-Control:
36
+ - no-cache
37
+ Content-Type:
38
+ - text/plain; charset="utf-8"
39
+ body:
40
+ encoding: UTF-8
41
+ string: '{"data":{"partition":[{"total":1912964,"mount":"/var/tmp","used":35664,"available":1780124,"filesystem":"/tmp","percentage":2,"disk":"/tmp"},{"total":1912964,"mount":"/tmp","used":35664,"available":1780124,"filesystem":"/usr/tmpDSK","percentage":2,"disk":"/usr/tmpDSK"},{"total":51606140,"mount":"/","used":11969192,"available":37015508,"filesystem":"/dev/sda1","percentage":24,"disk":"sda1"}]},"metadata":{"result":1,"reason":"Successfully
42
+ retrieved disk usage","command":"getdiskusage","version":1}}'
43
+ http_version:
44
+ recorded_at: Sun, 06 Jul 2014 23:28:14 GMT
45
+ recorded_with: VCR 2.9.2
@@ -363,5 +363,14 @@ module Lumberg
363
363
  result[:success].should be_true
364
364
  end
365
365
  end
366
+
367
+ describe '#disk_usage' do
368
+ use_vcr_cassette 'whm/server/disk_usage'
369
+
370
+ it 'gets remote server disk usage' do
371
+ result = @whm.disk_usage
372
+ result[:success].should be_true
373
+ end
374
+ end
366
375
  end
367
376
  end
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: 2.0.0.pre15
4
+ version: 2.0.0.pre18
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Mazzi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-06-03 00:00:00.000000000 Z
11
+ date: 2014-07-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json
@@ -240,6 +240,7 @@ files:
240
240
  - spec/vcr_cassettes/cpanel/email/add_mailing_list.yml
241
241
  - spec/vcr_cassettes/cpanel/email/add_mx.yml
242
242
  - spec/vcr_cassettes/cpanel/email/change_mx.yml
243
+ - spec/vcr_cassettes/cpanel/email/change_password.yml
243
244
  - spec/vcr_cassettes/cpanel/email/check_local_delivery_local.yml
244
245
  - spec/vcr_cassettes/cpanel/email/check_local_delivery_remote.yml
245
246
  - spec/vcr_cassettes/cpanel/email/default_address.yml
@@ -256,6 +257,7 @@ files:
256
257
  - spec/vcr_cassettes/cpanel/email/main_discard.yml
257
258
  - spec/vcr_cassettes/cpanel/email/mx.yml
258
259
  - spec/vcr_cassettes/cpanel/email/remove.yml
260
+ - spec/vcr_cassettes/cpanel/email/set_default_address.yml
259
261
  - spec/vcr_cassettes/cpanel/email/set_mail_delivery_local.yml
260
262
  - spec/vcr_cassettes/cpanel/email/set_mail_delivery_remote.yml
261
263
  - spec/vcr_cassettes/cpanel/email/set_mx_type.yml
@@ -372,6 +374,7 @@ files:
372
374
  - spec/vcr_cassettes/whm/server/addip.yml
373
375
  - spec/vcr_cassettes/whm/server/applist.yml
374
376
  - spec/vcr_cassettes/whm/server/delip.yml
377
+ - spec/vcr_cassettes/whm/server/disk_usage.yml
375
378
  - spec/vcr_cassettes/whm/server/edit_hook.yml
376
379
  - spec/vcr_cassettes/whm/server/gethostname.yml
377
380
  - spec/vcr_cassettes/whm/server/getlanglist.yml
@@ -426,240 +429,243 @@ signing_key:
426
429
  specification_version: 4
427
430
  summary: Ruby library for the WHM & cPanel API
428
431
  test_files:
429
- - spec/cpanel/file_manager_spec.rb
430
- - spec/cpanel/backups_spec.rb
431
- - spec/cpanel/support_spec.rb
432
- - spec/cpanel/locale_spec.rb
433
- - spec/cpanel/email_spec.rb
434
- - spec/cpanel/password_strength_spec.rb
435
- - spec/cpanel/mime_spec.rb
436
- - spec/cpanel/random_data_spec.rb
437
- - spec/cpanel/addon_domain_spec.rb
438
- - spec/cpanel/password_spec.rb
439
- - spec/cpanel/domain_keys_spec.rb
440
- - spec/cpanel/mysql_db_spec.rb
441
- - spec/cpanel/zone_edit_spec.rb
442
- - spec/cpanel/ssl_spec.rb
443
- - spec/cpanel/cron_spec.rb
444
- - spec/cpanel/mysql_spec.rb
445
- - spec/cpanel/box_trapper_spec.rb
446
- - spec/cpanel/domain_lookup_spec.rb
447
- - spec/cpanel/contact_spec.rb
448
- - spec/cpanel/dns_lookup_spec.rb
449
- - spec/cpanel/gpg_spec.rb
450
- - spec/cpanel/ftp_spec.rb
451
- - spec/cpanel/branding_spec.rb
452
- - spec/cpanel/base_spec.rb
453
- - spec/cpanel/redirect_spec.rb
454
- - spec/cpanel/net_spec.rb
455
- - spec/cpanel/park_spec.rb
456
- - spec/cpanel/sub_domain_spec.rb
457
- - spec/vcr_cassettes/cpanel/domain_keys/add.yml
458
- - spec/vcr_cassettes/cpanel/domain_keys/installed.yml
432
+ - spec/whm/reseller_spec.rb
433
+ - spec/whm/whm_spec.rb
434
+ - spec/whm/cert_spec.rb
435
+ - spec/whm/dns_spec.rb
436
+ - spec/whm/account_spec.rb
437
+ - spec/whm/server_spec.rb
438
+ - spec/whm/base_spec.rb
439
+ - spec/lumberg_spec.rb
440
+ - spec/config_spec.rb
441
+ - spec/whostmgr/ssl_spec.rb
442
+ - spec/vcr_cassettes/whm/reseller/terminatereseller.yml
443
+ - spec/vcr_cassettes/whm/reseller/resellerstats.yml
444
+ - spec/vcr_cassettes/whm/reseller/setresellermainip.yml
445
+ - spec/vcr_cassettes/whm/reseller/setresellerips.yml
446
+ - spec/vcr_cassettes/whm/reseller/saveacllist.yml
447
+ - spec/vcr_cassettes/whm/reseller/unsetupreseller.yml
448
+ - spec/vcr_cassettes/whm/reseller/unsuspendreseller.yml
449
+ - spec/vcr_cassettes/whm/reseller/setupreseller.yml
450
+ - spec/vcr_cassettes/whm/reseller/listresellers.yml
451
+ - spec/vcr_cassettes/whm/reseller/setresellerlimits.yml
452
+ - spec/vcr_cassettes/whm/reseller/acctcounts.yml
453
+ - spec/vcr_cassettes/whm/reseller/setresellernameservers.yml
454
+ - spec/vcr_cassettes/whm/reseller/setacls.yml
455
+ - spec/vcr_cassettes/whm/reseller/listacls.yml
456
+ - spec/vcr_cassettes/whm/reseller/suspendreseller.yml
457
+ - spec/vcr_cassettes/whm/reseller/setresellerpackagelimit.yml
458
+ - spec/vcr_cassettes/whm/server/settweaksetting.yml
459
+ - spec/vcr_cassettes/whm/server/systemloadavg.yml
460
+ - spec/vcr_cassettes/whm/server/themes.yml
461
+ - spec/vcr_cassettes/whm/server/setresolvers.yml
462
+ - spec/vcr_cassettes/whm/server/addip.yml
463
+ - spec/vcr_cassettes/whm/server/version.yml
464
+ - spec/vcr_cassettes/whm/server/delip.yml
465
+ - spec/vcr_cassettes/whm/server/reboot.yml
466
+ - spec/vcr_cassettes/whm/server/gettweaksetting.yml
467
+ - spec/vcr_cassettes/whm/server/nvset.yml
468
+ - spec/vcr_cassettes/whm/server/showbw.yml
469
+ - spec/vcr_cassettes/whm/server/loadavg.yml
470
+ - spec/vcr_cassettes/whm/server/my_function.yml
471
+ - spec/vcr_cassettes/whm/server/list_hooks.yml
472
+ - spec/vcr_cassettes/whm/server/applist.yml
473
+ - spec/vcr_cassettes/whm/server/nvget.yml
474
+ - spec/vcr_cassettes/whm/server/disk_usage.yml
475
+ - spec/vcr_cassettes/whm/server/gethostname.yml
476
+ - spec/vcr_cassettes/whm/server/edit_hook.yml
477
+ - spec/vcr_cassettes/whm/server/listips.yml
478
+ - spec/vcr_cassettes/whm/server/getlanglist.yml
479
+ - spec/vcr_cassettes/whm/server/sethostname.yml
480
+ - spec/vcr_cassettes/whm/cert/installssl.yml
481
+ - spec/vcr_cassettes/whm/cert/listcrts.yml
482
+ - spec/vcr_cassettes/whm/cert/generatessl.yml
483
+ - spec/vcr_cassettes/whm/cert/fetch_ssl_vhosts.yml
484
+ - spec/vcr_cassettes/whm/cert/fetchsslinfo.yml
485
+ - spec/vcr_cassettes/whm/account/changepackage.yml
486
+ - spec/vcr_cassettes/whm/account/modifyacct.yml
487
+ - spec/vcr_cassettes/whm/account/listsuspended.yml
488
+ - spec/vcr_cassettes/whm/account/editquota.yml
489
+ - spec/vcr_cassettes/whm/account/accountsummary.yml
490
+ - spec/vcr_cassettes/whm/account/myprivs.yml
491
+ - spec/vcr_cassettes/whm/account/removeacct.yml
492
+ - spec/vcr_cassettes/whm/account/passwd.yml
493
+ - spec/vcr_cassettes/whm/account/listaccts.yml
494
+ - spec/vcr_cassettes/whm/account/setsiteip.yml
495
+ - spec/vcr_cassettes/whm/account/domainuserdata.yml
496
+ - spec/vcr_cassettes/whm/account/createacct.yml
497
+ - spec/vcr_cassettes/whm/account/restoreaccount.yml
498
+ - spec/vcr_cassettes/whm/account/suspend.yml
499
+ - spec/vcr_cassettes/whm/account/limitbw.yml
500
+ - spec/vcr_cassettes/whm/account/unsuspend.yml
501
+ - spec/vcr_cassettes/whm/dns/resetzone.yml
502
+ - spec/vcr_cassettes/whm/dns/listmxs.yml
503
+ - spec/vcr_cassettes/whm/dns/killdns.yml
504
+ - spec/vcr_cassettes/whm/dns/addzonerecord.yml
505
+ - spec/vcr_cassettes/whm/dns/dumpzone.yml
506
+ - spec/vcr_cassettes/whm/dns/savemxs.yml
507
+ - spec/vcr_cassettes/whm/dns/adddns.yml
508
+ - spec/vcr_cassettes/whm/dns/removezonerecord.yml
509
+ - spec/vcr_cassettes/whm/dns/lookupnsip.yml
510
+ - spec/vcr_cassettes/whm/dns/resolvedomainname.yml
511
+ - spec/vcr_cassettes/whm/dns/editzonerecord.yml
512
+ - spec/vcr_cassettes/whm/dns/getzonerecord.yml
513
+ - spec/vcr_cassettes/whm/dns/listzones.yml
514
+ - spec/vcr_cassettes/whostmgr/ssl/remove.yml
515
+ - spec/vcr_cassettes/whostmgr/ssl/remove_data.yml
516
+ - spec/vcr_cassettes/whostmgr/ssl/create.yml
517
+ - spec/vcr_cassettes/cpanel/sub_domain/remove.yml
518
+ - spec/vcr_cassettes/cpanel/sub_domain/add.yml
519
+ - spec/vcr_cassettes/cpanel/sub_domain/list.yml
520
+ - spec/vcr_cassettes/cpanel/backups/list.yml
521
+ - spec/vcr_cassettes/cpanel/dns_lookup/name_to_ip.yml
459
522
  - spec/vcr_cassettes/cpanel/domain_keys/available.yml
460
523
  - spec/vcr_cassettes/cpanel/domain_keys/remove.yml
461
- - spec/vcr_cassettes/cpanel/domain_lookup/list.yml
462
- - spec/vcr_cassettes/cpanel/domain_lookup/docroots.yml
463
- - spec/vcr_cassettes/cpanel/domain_lookup/count.yml
464
- - spec/vcr_cassettes/cpanel/domain_lookup/document_roots.yml
465
- - spec/vcr_cassettes/cpanel/domain_lookup/document_root.yml
466
- - spec/vcr_cassettes/cpanel/domain_lookup/docroot.yml
467
- - spec/vcr_cassettes/cpanel/branding/list_icons.yml
468
- - spec/vcr_cassettes/cpanel/branding/list_sprites.yml
469
- - spec/vcr_cassettes/cpanel/branding/list_object_types.yml
470
- - spec/vcr_cassettes/cpanel/branding/list_pkgs.yml
471
- - spec/vcr_cassettes/cpanel/branding/list_image_types.yml
524
+ - spec/vcr_cassettes/cpanel/domain_keys/installed.yml
525
+ - spec/vcr_cassettes/cpanel/domain_keys/add.yml
526
+ - spec/vcr_cassettes/cpanel/net/traceroute.yml
527
+ - spec/vcr_cassettes/cpanel/net/query_hostname.yml
528
+ - spec/vcr_cassettes/cpanel/box_trapper/list.yml
529
+ - spec/vcr_cassettes/cpanel/password/modify.yml
530
+ - spec/vcr_cassettes/cpanel/password/digest_authentication.yml
531
+ - spec/vcr_cassettes/cpanel/ftp/addftp.yml
532
+ - spec/vcr_cassettes/cpanel/ftp/passwd.yml
533
+ - spec/vcr_cassettes/cpanel/ftp/listftpwithdisk.yml
534
+ - spec/vcr_cassettes/cpanel/ftp/delftp.yml
535
+ - spec/vcr_cassettes/cpanel/ftp/listftpsessions.yml
536
+ - spec/vcr_cassettes/cpanel/ftp/setquota.yml
537
+ - spec/vcr_cassettes/cpanel/ftp/listftp.yml
538
+ - spec/vcr_cassettes/cpanel/park/list_addon_domains.yml
539
+ - spec/vcr_cassettes/cpanel/park/remove.yml
540
+ - spec/vcr_cassettes/cpanel/park/add.yml
541
+ - spec/vcr_cassettes/cpanel/park/list.yml
542
+ - spec/vcr_cassettes/cpanel/random_data/show.yml
543
+ - spec/vcr_cassettes/cpanel/file_manager/operate.yml
544
+ - spec/vcr_cassettes/cpanel/file_manager/show.yml
545
+ - spec/vcr_cassettes/cpanel/file_manager/stat.yml
546
+ - spec/vcr_cassettes/cpanel/file_manager/disk_usage.yml
547
+ - spec/vcr_cassettes/cpanel/file_manager/list.yml
548
+ - spec/vcr_cassettes/cpanel/addon_domain/remove.yml
549
+ - spec/vcr_cassettes/cpanel/addon_domain/add.yml
550
+ - spec/vcr_cassettes/cpanel/addon_domain/list.yml
551
+ - spec/vcr_cassettes/cpanel/gpg/count_private.yml
552
+ - spec/vcr_cassettes/cpanel/gpg/list_private.yml
553
+ - spec/vcr_cassettes/cpanel/gpg/count.yml
554
+ - spec/vcr_cassettes/cpanel/gpg/list.yml
555
+ - spec/vcr_cassettes/cpanel/email/add_mx.yml
472
556
  - spec/vcr_cassettes/cpanel/email/change_mx.yml
473
- - spec/vcr_cassettes/cpanel/email/add_filter.yml
474
- - spec/vcr_cassettes/cpanel/email/mx.yml
475
- - spec/vcr_cassettes/cpanel/email/add_forwarder.yml
476
- - spec/vcr_cassettes/cpanel/email/set_mail_delivery_remote.yml
477
- - spec/vcr_cassettes/cpanel/email/set_mx_type.yml
478
- - spec/vcr_cassettes/cpanel/email/disk_usage.yml
557
+ - spec/vcr_cassettes/cpanel/email/set_default_address.yml
479
558
  - spec/vcr_cassettes/cpanel/email/add_mailing_list.yml
559
+ - spec/vcr_cassettes/cpanel/email/remove.yml
560
+ - spec/vcr_cassettes/cpanel/email/filters.yml
561
+ - spec/vcr_cassettes/cpanel/email/set_mx_type.yml
562
+ - spec/vcr_cassettes/cpanel/email/mail_dir.yml
563
+ - spec/vcr_cassettes/cpanel/email/main_discard.yml
564
+ - spec/vcr_cassettes/cpanel/email/check_local_delivery_local.yml
565
+ - spec/vcr_cassettes/cpanel/email/mx.yml
566
+ - spec/vcr_cassettes/cpanel/email/add_filter.yml
567
+ - spec/vcr_cassettes/cpanel/email/check_local_delivery_remote.yml
568
+ - spec/vcr_cassettes/cpanel/email/forwarders.yml
569
+ - spec/vcr_cassettes/cpanel/email/acceptable_encodings.yml
480
570
  - spec/vcr_cassettes/cpanel/email/set_mail_delivery_local.yml
571
+ - spec/vcr_cassettes/cpanel/email/add_forwarder.yml
572
+ - spec/vcr_cassettes/cpanel/email/edit_quota.yml
481
573
  - spec/vcr_cassettes/cpanel/email/default_address.yml
574
+ - spec/vcr_cassettes/cpanel/email/domains_with_aliases.yml
575
+ - spec/vcr_cassettes/cpanel/email/accounts.yml
576
+ - spec/vcr_cassettes/cpanel/email/disk_usage.yml
577
+ - spec/vcr_cassettes/cpanel/email/set_mail_delivery_remote.yml
482
578
  - spec/vcr_cassettes/cpanel/email/delete_mx.yml
483
- - spec/vcr_cassettes/cpanel/email/mail_dir.yml
484
- - spec/vcr_cassettes/cpanel/email/mail_dirs.yml
485
- - spec/vcr_cassettes/cpanel/email/check_local_delivery_remote.yml
486
- - spec/vcr_cassettes/cpanel/email/check_local_delivery_local.yml
487
579
  - spec/vcr_cassettes/cpanel/email/domains.yml
580
+ - spec/vcr_cassettes/cpanel/email/change_password.yml
488
581
  - spec/vcr_cassettes/cpanel/email/add_account.yml
489
- - spec/vcr_cassettes/cpanel/email/main_discard.yml
582
+ - spec/vcr_cassettes/cpanel/email/mail_dirs.yml
490
583
  - spec/vcr_cassettes/cpanel/email/mailing_lists.yml
491
- - spec/vcr_cassettes/cpanel/email/acceptable_encodings.yml
492
- - spec/vcr_cassettes/cpanel/email/filters.yml
493
- - spec/vcr_cassettes/cpanel/email/accounts.yml
494
- - spec/vcr_cassettes/cpanel/email/add_mx.yml
495
- - spec/vcr_cassettes/cpanel/email/domains_with_aliases.yml
496
- - spec/vcr_cassettes/cpanel/email/edit_quota.yml
497
- - spec/vcr_cassettes/cpanel/email/remove.yml
498
- - spec/vcr_cassettes/cpanel/email/forwarders.yml
499
- - spec/vcr_cassettes/cpanel/box_trapper/list.yml
500
- - spec/vcr_cassettes/cpanel/park/list_addon_domains.yml
501
- - spec/vcr_cassettes/cpanel/park/list.yml
502
- - spec/vcr_cassettes/cpanel/park/add.yml
503
- - spec/vcr_cassettes/cpanel/park/remove.yml
584
+ - spec/vcr_cassettes/cpanel/support/contactable.yml
585
+ - spec/vcr_cassettes/cpanel/password_strength/strength.yml
586
+ - spec/vcr_cassettes/cpanel/password_strength/required_strength.yml
587
+ - spec/vcr_cassettes/cpanel/password_strength/all_required_strengths.yml
504
588
  - spec/vcr_cassettes/cpanel/contact/show.yml
505
589
  - spec/vcr_cassettes/cpanel/contact/update.yml
506
- - spec/vcr_cassettes/cpanel/random_data/show.yml
507
- - spec/vcr_cassettes/cpanel/file_manager/list.yml
508
- - spec/vcr_cassettes/cpanel/file_manager/disk_usage.yml
509
- - spec/vcr_cassettes/cpanel/file_manager/show.yml
510
- - spec/vcr_cassettes/cpanel/file_manager/operate.yml
511
- - spec/vcr_cassettes/cpanel/file_manager/stat.yml
512
- - spec/vcr_cassettes/cpanel/support/contactable.yml
513
- - spec/vcr_cassettes/cpanel/dns_lookup/name_to_ip.yml
514
- - spec/vcr_cassettes/cpanel/backups/list.yml
515
- - spec/vcr_cassettes/cpanel/mysql_db/init_cache.yml
590
+ - spec/vcr_cassettes/cpanel/ssl/installssl.yml
591
+ - spec/vcr_cassettes/cpanel/ssl/listcsrs.yml
592
+ - spec/vcr_cassettes/cpanel/ssl/remove.yml
593
+ - spec/vcr_cassettes/cpanel/ssl/showcsr.yml
594
+ - spec/vcr_cassettes/cpanel/ssl/gencrt.yml
595
+ - spec/vcr_cassettes/cpanel/ssl/showcrt.yml
596
+ - spec/vcr_cassettes/cpanel/ssl/listcrts.yml
597
+ - spec/vcr_cassettes/cpanel/ssl/genkey.yml
598
+ - spec/vcr_cassettes/cpanel/ssl/fetchcabundle.yml
599
+ - spec/vcr_cassettes/cpanel/ssl/listkeys.yml
600
+ - spec/vcr_cassettes/cpanel/ssl/gencsr.yml
601
+ - spec/vcr_cassettes/cpanel/ssl/showkey.yml
602
+ - spec/vcr_cassettes/cpanel/ssl/listsslitems.yml
603
+ - spec/vcr_cassettes/cpanel/ssl/uploadcrt.yml
604
+ - spec/vcr_cassettes/cpanel/branding/list_object_types.yml
605
+ - spec/vcr_cassettes/cpanel/branding/list_icons.yml
606
+ - spec/vcr_cassettes/cpanel/branding/list_sprites.yml
607
+ - spec/vcr_cassettes/cpanel/branding/list_pkgs.yml
608
+ - spec/vcr_cassettes/cpanel/branding/list_image_types.yml
609
+ - spec/vcr_cassettes/cpanel/domain_lookup/document_roots.yml
610
+ - spec/vcr_cassettes/cpanel/domain_lookup/docroots.yml
611
+ - spec/vcr_cassettes/cpanel/domain_lookup/document_root.yml
612
+ - spec/vcr_cassettes/cpanel/domain_lookup/docroot.yml
613
+ - spec/vcr_cassettes/cpanel/domain_lookup/count.yml
614
+ - spec/vcr_cassettes/cpanel/domain_lookup/list.yml
516
615
  - spec/vcr_cassettes/cpanel/mysql_db/check_db.yml
517
- - spec/vcr_cassettes/cpanel/mysql_db/add_db.yml
518
- - spec/vcr_cassettes/cpanel/mysql_db/number_of_dbs.yml
616
+ - spec/vcr_cassettes/cpanel/mysql_db/repair_db.yml
519
617
  - spec/vcr_cassettes/cpanel/mysql_db/del_host.yml
520
618
  - spec/vcr_cassettes/cpanel/mysql_db/add_user.yml
521
- - spec/vcr_cassettes/cpanel/mysql_db/add_user_db.yml
619
+ - spec/vcr_cassettes/cpanel/mysql_db/update_privs.yml
522
620
  - spec/vcr_cassettes/cpanel/mysql_db/add_host.yml
523
- - spec/vcr_cassettes/cpanel/mysql_db/repair_db.yml
621
+ - spec/vcr_cassettes/cpanel/mysql_db/number_of_dbs.yml
622
+ - spec/vcr_cassettes/cpanel/mysql_db/add_db.yml
623
+ - spec/vcr_cassettes/cpanel/mysql_db/add_user_db.yml
624
+ - spec/vcr_cassettes/cpanel/mysql_db/init_cache.yml
524
625
  - spec/vcr_cassettes/cpanel/mysql_db/del_user.yml
525
- - spec/vcr_cassettes/cpanel/mysql_db/del_user_db.yml
526
626
  - spec/vcr_cassettes/cpanel/mysql_db/del_db.yml
527
- - spec/vcr_cassettes/cpanel/mysql_db/update_privs.yml
528
- - spec/vcr_cassettes/cpanel/sub_domain/list.yml
529
- - spec/vcr_cassettes/cpanel/sub_domain/add.yml
530
- - spec/vcr_cassettes/cpanel/sub_domain/remove.yml
531
- - spec/vcr_cassettes/cpanel/gpg/list.yml
532
- - spec/vcr_cassettes/cpanel/gpg/count.yml
533
- - spec/vcr_cassettes/cpanel/gpg/list_private.yml
534
- - spec/vcr_cassettes/cpanel/gpg/count_private.yml
535
- - spec/vcr_cassettes/cpanel/ssl/genkey.yml
536
- - spec/vcr_cassettes/cpanel/ssl/showcrt.yml
537
- - spec/vcr_cassettes/cpanel/ssl/fetchcabundle.yml
538
- - spec/vcr_cassettes/cpanel/ssl/gencsr.yml
539
- - spec/vcr_cassettes/cpanel/ssl/uploadcrt.yml
540
- - spec/vcr_cassettes/cpanel/ssl/listcsrs.yml
541
- - spec/vcr_cassettes/cpanel/ssl/listsslitems.yml
542
- - spec/vcr_cassettes/cpanel/ssl/listcrts.yml
543
- - spec/vcr_cassettes/cpanel/ssl/installssl.yml
544
- - spec/vcr_cassettes/cpanel/ssl/showcsr.yml
545
- - spec/vcr_cassettes/cpanel/ssl/gencrt.yml
546
- - spec/vcr_cassettes/cpanel/ssl/listkeys.yml
547
- - spec/vcr_cassettes/cpanel/ssl/remove.yml
548
- - spec/vcr_cassettes/cpanel/ssl/showkey.yml
549
- - spec/vcr_cassettes/cpanel/ftp/listftpsessions.yml
550
- - spec/vcr_cassettes/cpanel/ftp/delftp.yml
551
- - spec/vcr_cassettes/cpanel/ftp/passwd.yml
552
- - spec/vcr_cassettes/cpanel/ftp/listftpwithdisk.yml
553
- - spec/vcr_cassettes/cpanel/ftp/setquota.yml
554
- - spec/vcr_cassettes/cpanel/ftp/listftp.yml
555
- - spec/vcr_cassettes/cpanel/ftp/addftp.yml
556
- - spec/vcr_cassettes/cpanel/addon_domain/list.yml
557
- - spec/vcr_cassettes/cpanel/addon_domain/add.yml
558
- - spec/vcr_cassettes/cpanel/addon_domain/remove.yml
559
- - spec/vcr_cassettes/cpanel/password_strength/all_required_strengths.yml
560
- - spec/vcr_cassettes/cpanel/password_strength/strength.yml
561
- - spec/vcr_cassettes/cpanel/password_strength/required_strength.yml
562
- - spec/vcr_cassettes/cpanel/cron/list.yml
563
- - spec/vcr_cassettes/cpanel/cron/add.yml
564
- - spec/vcr_cassettes/cpanel/cron/set_email.yml
627
+ - spec/vcr_cassettes/cpanel/mysql_db/del_user_db.yml
565
628
  - spec/vcr_cassettes/cpanel/cron/email.yml
566
629
  - spec/vcr_cassettes/cpanel/cron/remove.yml
630
+ - spec/vcr_cassettes/cpanel/cron/add.yml
631
+ - spec/vcr_cassettes/cpanel/cron/set_email.yml
567
632
  - spec/vcr_cassettes/cpanel/cron/edit.yml
568
- - spec/vcr_cassettes/cpanel/net/query_hostname.yml
569
- - spec/vcr_cassettes/cpanel/net/traceroute.yml
570
- - spec/vcr_cassettes/cpanel/password/modify.yml
571
- - spec/vcr_cassettes/cpanel/password/digest_authentication.yml
633
+ - spec/vcr_cassettes/cpanel/cron/list.yml
572
634
  - spec/vcr_cassettes/cpanel/locale/show.yml
573
- - spec/vcr_cassettes/whostmgr/ssl/create.yml
574
- - spec/vcr_cassettes/whostmgr/ssl/remove_data.yml
575
- - spec/vcr_cassettes/whostmgr/ssl/remove.yml
576
- - spec/vcr_cassettes/whm/reseller/setresellerips.yml
577
- - spec/vcr_cassettes/whm/reseller/setupreseller.yml
578
- - spec/vcr_cassettes/whm/reseller/setresellerpackagelimit.yml
579
- - spec/vcr_cassettes/whm/reseller/saveacllist.yml
580
- - spec/vcr_cassettes/whm/reseller/setacls.yml
581
- - spec/vcr_cassettes/whm/reseller/acctcounts.yml
582
- - spec/vcr_cassettes/whm/reseller/setresellernameservers.yml
583
- - spec/vcr_cassettes/whm/reseller/terminatereseller.yml
584
- - spec/vcr_cassettes/whm/reseller/resellerstats.yml
585
- - spec/vcr_cassettes/whm/reseller/listresellers.yml
586
- - spec/vcr_cassettes/whm/reseller/unsuspendreseller.yml
587
- - spec/vcr_cassettes/whm/reseller/suspendreseller.yml
588
- - spec/vcr_cassettes/whm/reseller/setresellerlimits.yml
589
- - spec/vcr_cassettes/whm/reseller/setresellermainip.yml
590
- - spec/vcr_cassettes/whm/reseller/unsetupreseller.yml
591
- - spec/vcr_cassettes/whm/reseller/listacls.yml
592
- - spec/vcr_cassettes/whm/dns/lookupnsip.yml
593
- - spec/vcr_cassettes/whm/dns/listzones.yml
594
- - spec/vcr_cassettes/whm/dns/dumpzone.yml
595
- - spec/vcr_cassettes/whm/dns/addzonerecord.yml
596
- - spec/vcr_cassettes/whm/dns/listmxs.yml
597
- - spec/vcr_cassettes/whm/dns/resetzone.yml
598
- - spec/vcr_cassettes/whm/dns/removezonerecord.yml
599
- - spec/vcr_cassettes/whm/dns/killdns.yml
600
- - spec/vcr_cassettes/whm/dns/savemxs.yml
601
- - spec/vcr_cassettes/whm/dns/adddns.yml
602
- - spec/vcr_cassettes/whm/dns/editzonerecord.yml
603
- - spec/vcr_cassettes/whm/dns/getzonerecord.yml
604
- - spec/vcr_cassettes/whm/dns/resolvedomainname.yml
605
- - spec/vcr_cassettes/whm/server/getlanglist.yml
606
- - spec/vcr_cassettes/whm/server/nvset.yml
607
- - spec/vcr_cassettes/whm/server/themes.yml
608
- - spec/vcr_cassettes/whm/server/showbw.yml
609
- - spec/vcr_cassettes/whm/server/nvget.yml
610
- - spec/vcr_cassettes/whm/server/applist.yml
611
- - spec/vcr_cassettes/whm/server/edit_hook.yml
612
- - spec/vcr_cassettes/whm/server/gettweaksetting.yml
613
- - spec/vcr_cassettes/whm/server/loadavg.yml
614
- - spec/vcr_cassettes/whm/server/my_function.yml
615
- - spec/vcr_cassettes/whm/server/setresolvers.yml
616
- - spec/vcr_cassettes/whm/server/settweaksetting.yml
617
- - spec/vcr_cassettes/whm/server/delip.yml
618
- - spec/vcr_cassettes/whm/server/reboot.yml
619
- - spec/vcr_cassettes/whm/server/list_hooks.yml
620
- - spec/vcr_cassettes/whm/server/version.yml
621
- - spec/vcr_cassettes/whm/server/addip.yml
622
- - spec/vcr_cassettes/whm/server/systemloadavg.yml
623
- - spec/vcr_cassettes/whm/server/gethostname.yml
624
- - spec/vcr_cassettes/whm/server/sethostname.yml
625
- - spec/vcr_cassettes/whm/server/listips.yml
626
- - spec/vcr_cassettes/whm/cert/generatessl.yml
627
- - spec/vcr_cassettes/whm/cert/listcrts.yml
628
- - spec/vcr_cassettes/whm/cert/fetch_ssl_vhosts.yml
629
- - spec/vcr_cassettes/whm/cert/installssl.yml
630
- - spec/vcr_cassettes/whm/cert/fetchsslinfo.yml
631
- - spec/vcr_cassettes/whm/account/unsuspend.yml
632
- - spec/vcr_cassettes/whm/account/listsuspended.yml
633
- - spec/vcr_cassettes/whm/account/limitbw.yml
634
- - spec/vcr_cassettes/whm/account/restoreaccount.yml
635
- - spec/vcr_cassettes/whm/account/modifyacct.yml
636
- - spec/vcr_cassettes/whm/account/passwd.yml
637
- - spec/vcr_cassettes/whm/account/accountsummary.yml
638
- - spec/vcr_cassettes/whm/account/setsiteip.yml
639
- - spec/vcr_cassettes/whm/account/removeacct.yml
640
- - spec/vcr_cassettes/whm/account/createacct.yml
641
- - spec/vcr_cassettes/whm/account/editquota.yml
642
- - spec/vcr_cassettes/whm/account/domainuserdata.yml
643
- - spec/vcr_cassettes/whm/account/changepackage.yml
644
- - spec/vcr_cassettes/whm/account/suspend.yml
645
- - spec/vcr_cassettes/whm/account/myprivs.yml
646
- - spec/vcr_cassettes/whm/account/listaccts.yml
647
- - spec/sample_certs/sample.crt
635
+ - spec/sample_certs/cpanel.key
648
636
  - spec/sample_certs/main.crt
637
+ - spec/sample_certs/sample.crt
649
638
  - spec/sample_certs/sample.key
650
- - spec/sample_certs/cpanel.key
651
639
  - spec/sample_certs/cpanel.crt
652
- - spec/whostmgr/ssl_spec.rb
653
- - spec/config_spec.rb
654
- - spec/support/cpanel_matchers.rb
640
+ - spec/cpanel/mysql_db_spec.rb
641
+ - spec/cpanel/password_spec.rb
642
+ - spec/cpanel/zone_edit_spec.rb
643
+ - spec/cpanel/domain_keys_spec.rb
644
+ - spec/cpanel/branding_spec.rb
645
+ - spec/cpanel/locale_spec.rb
646
+ - spec/cpanel/redirect_spec.rb
647
+ - spec/cpanel/net_spec.rb
648
+ - spec/cpanel/ftp_spec.rb
649
+ - spec/cpanel/contact_spec.rb
650
+ - spec/cpanel/sub_domain_spec.rb
651
+ - spec/cpanel/park_spec.rb
652
+ - spec/cpanel/password_strength_spec.rb
653
+ - spec/cpanel/cron_spec.rb
654
+ - spec/cpanel/backups_spec.rb
655
+ - spec/cpanel/gpg_spec.rb
656
+ - spec/cpanel/ssl_spec.rb
657
+ - spec/cpanel/mysql_spec.rb
658
+ - spec/cpanel/random_data_spec.rb
659
+ - spec/cpanel/support_spec.rb
660
+ - spec/cpanel/dns_lookup_spec.rb
661
+ - spec/cpanel/mime_spec.rb
662
+ - spec/cpanel/box_trapper_spec.rb
663
+ - spec/cpanel/domain_lookup_spec.rb
664
+ - spec/cpanel/base_spec.rb
665
+ - spec/cpanel/file_manager_spec.rb
666
+ - spec/cpanel/email_spec.rb
667
+ - spec/cpanel/addon_domain_spec.rb
655
668
  - spec/format_whm_spec.rb
656
- - spec/whm/server_spec.rb
657
- - spec/whm/account_spec.rb
658
- - spec/whm/dns_spec.rb
659
- - spec/whm/reseller_spec.rb
660
- - spec/whm/base_spec.rb
661
- - spec/whm/cert_spec.rb
662
- - spec/whm/whm_spec.rb
663
- - spec/lumberg_spec.rb
669
+ - spec/support/cpanel_matchers.rb
664
670
  - spec/spec_helper.rb
665
671
  has_rdoc: