lumberg 4.0.0 → 4.1.0

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: df27b32a5d659460a3b7ec985f6bda98fde7785e
4
- data.tar.gz: 15f261d3889b1e04679c258c4dc150520d7d5f19
3
+ metadata.gz: 88bc63e68cd0c0a743f7274c02e05c6e6d6d8b0e
4
+ data.tar.gz: b74ab507b74a5859394e8620cfc197766b25f06b
5
5
  SHA512:
6
- metadata.gz: 9dea37dd5ef656d9e41b02a32a05bb5e8b0ec4d02db8db2e4bdf5287d7078f01a1bbce9dd6b6bfdb7767c66a5ccc849210bad5fdc6a183d28120265f87610c51
7
- data.tar.gz: e3c864782bcf82a4324e7fe7b93bfc8ea283ba1837a7f7c7d25691264350037aae0ed9b0e324f6291257d96fc6014c8b6b1a401a115dac215dcc85e0a9c262e3
6
+ metadata.gz: 8888317f1db7d7069d622f3d7babb223a60153a22f167d7ae39a9981a368e6444e486fc0cefc4e922d7ac829556a6a6731c3c4ad7be79a8aa2d4435da9d2cffb
7
+ data.tar.gz: e243f9fa73940907d48c2010c5550ad68e47a66b079c6989009ffdcb1afc41fd1cfe6833c0dab858e1025ff2cf8ff3461e975be094efad0c74583b4d666c745a
data/LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2015-2016 WWWH, LLC.
1
+ Copyright (c) 2016 Pressed, LLC.
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the
data/README.md CHANGED
@@ -5,12 +5,12 @@
5
5
  Ruby library for the WHM & cPanel API. It is currently what we consider to be
6
6
  beta-ish. Please report any issues you find. :)
7
7
 
8
- [RDoc](http://rdoc.info/github/site5/lumberg/master/frames)
8
+ [RDoc](http://rdoc.info/github/pressednet/lumberg/master/frames)
9
9
 
10
10
  Confirmed to work with ruby 2.1.3, 2.2.0, 2.3.1 and JRuby 1.9 mode.
11
11
 
12
- [Build Status]: https://travis-ci.org/site5/lumberg
13
- [Build Icon]: https://travis-ci.org/site5/lumberg.svg?branch=master
12
+ [Build Status]: https://travis-ci.org/pressednet/lumberg
13
+ [Build Icon]: https://travis-ci.org/pressednet/lumberg.svg?branch=master
14
14
 
15
15
 
16
16
  ## cPanel Version Targets
@@ -357,4 +357,4 @@ information still present (check URLs, authorization params, etc.).
357
357
 
358
358
  ## Copyright
359
359
 
360
- Copyright (c) 2015-2016 WWWH, LLC. See LICENSE for details.
360
+ Copyright (c) 2015-2016 Pressed, LLC. See LICENSE for details.
@@ -1,3 +1,3 @@
1
1
  module Lumberg
2
- VERSION = '4.0.0'
2
+ VERSION = '4.1.0'
3
3
  end
@@ -52,6 +52,14 @@ module Lumberg
52
52
  server.perform_request('getzonerecord', options)
53
53
  end
54
54
 
55
+ # Retrieves the default nameservers
56
+ #
57
+ # ==== Required
58
+ # * <tt>:"api.version".to_sym</tt> - PENDING
59
+ def get_nameserver_config(options = {})
60
+ server.perform_request('get_nameserver_config', options.merge(response_key: 'data'))
61
+ end
62
+
55
63
  # Displays the DNS zone configuration for a specific domain
56
64
  #
57
65
  # ==== Required
@@ -1,40 +1,40 @@
1
- ---
2
- http_interactions:
3
- - request:
1
+ ---
2
+ http_interactions:
3
+ - request:
4
4
  method: get
5
5
  uri: https://myhost.com:2087/json-api/cpanel?cpanel_jsonapi_apiversion=2&cpanel_jsonapi_func=listcrts&cpanel_jsonapi_module=SSL&cpanel_jsonapi_user=lumberg&user=api_username
6
- body:
6
+ body:
7
7
  string: ""
8
- headers:
9
- User-Agent:
8
+ headers:
9
+ User-Agent:
10
10
  - Faraday v0.8.7
11
- Accept:
11
+ Accept:
12
12
  - "*/*"
13
- Authorization:
13
+ Authorization:
14
14
  - WHM root:iscool
15
- response:
16
- status:
15
+ response:
16
+ status:
17
17
  code: 200
18
18
  message: OK
19
- headers:
20
- Server:
19
+ headers:
20
+ Server:
21
21
  - cpsrvd/11.32.6.4
22
- Keep-Alive:
22
+ Keep-Alive:
23
23
  - timeout=70, max=200
24
- Content-Type:
24
+ Content-Type:
25
25
  - text/plain; charset="utf-8"
26
- Date:
26
+ Date:
27
27
  - Tue, 04 Jun 2013 19:20:34 GMT
28
- Content-Length:
28
+ Content-Length:
29
29
  - "6983"
30
- Connection:
30
+ Connection:
31
31
  - Keep-Alive
32
- X-Keep-Alive-Count:
32
+ X-Keep-Alive-Count:
33
33
  - "1"
34
- body:
34
+ body:
35
35
  string: |
36
- {"cpanelresult":{"event":{"result":1},"module":"SSL","apiversion":2,"data":[{"issuer":"another.com","ssltxt":"Certificate:\n Data:\n Version: 3 (0x2)\n Serial Number:\n df:69:16:45:a4:4f:07:18\n Signature Algorithm: sha1WithRSAEncryption\n Issuer: C=US, ST=TX, L=Houston, O=Site5, OU=Eng, CN=another.com/emailAddress=lumberg@initech.com\n Validity\n Not Before: Apr 24 19:32:49 2013 GMT\n Not After : Apr 24 19:32:49 2014 GMT\n Subject: C=US, ST=TX, L=Houston, O=Site5, OU=Eng, CN=another.com/emailAddress=lumberg@initech.com\n Subject Public Key Info:\n Public Key Algorithm: rsaEncryption\n RSA Public Key: (2048 bit)\n Modulus (2048 bit):\n 00:9c:28:5c:e4:06:0a:36:40:8b:b9:dc:c9:cf:0a:\n 40:bd:af:00:15:67:6e:de:d9:51:b5:6f:00:81:4b:\n 60:e9:c9:9a:c1:7e:bf:c7:16:64:d7:37:13:94:72:\n af:9e:a7:62:23:6e:e4:8a:1c:e5:f2:9e:f8:c2:dd:\n fa:73:1a:aa:4a:59:cc:b6:9c:ad:4b:d7:50:fa:6f:\n 5c:4f:d2:37:80:8f:9e:29:95:3f:ff:d8:b0:e8:bf:\n a1:f8:9a:1b:ee:57:85:b5:4b:60:05:42:12:e8:5c:\n 9f:b4:b9:b5:00:34:94:1d:e2:45:e4:4b:69:ff:d2:\n b7:78:e2:66:70:a9:d8:f2:03:8e:48:87:96:17:63:\n b4:2b:18:82:7b:f2:26:f4:e9:56:0c:ce:d5:3f:9e:\n 8b:f2:19:09:70:e9:f6:60:3a:45:f4:8a:25:d5:c2:\n 41:78:a6:63:1e:e4:32:ad:6b:7e:1f:1e:b3:9c:d0:\n c7:2d:9d:ac:a0:aa:5e:51:92:41:78:8a:1b:3f:9a:\n 69:75:1d:b5:f5:85:f6:2e:20:d4:6d:cd:d7:04:53:\n a6:e8:46:9e:3a:1e:19:94:f4:9f:ca:71:5d:52:07:\n ef:3b:6b:1d:7c:94:29:57:a5:37:a3:c9:67:71:13:\n 07:d7:7b:fd:7d:a8:c7:2a:58:29:ee:d7:30:32:03:\n 47:13\n Exponent: 65537 (0x10001)\n X509v3 extensions:\n X509v3 Subject Key Identifier: \n 63:84:90:F1:EF:71:D6:C3:B8:BE:FF:39:59:BC:C3:6A:DA:EB:54:BC\n X509v3 Authority Key Identifier: \n keyid:63:84:90:F1:EF:71:D6:C3:B8:BE:FF:39:59:BC:C3:6A:DA:EB:54:BC\n DirName:/C=US/ST=TX/L=Houston/O=Site5/OU=Eng/CN=another.com/emailAddress=lumberg@initech.com\n serial:DF:69:16:45:A4:4F:07:18\n\n X509v3 Basic Constraints: \n CA:TRUE\n Signature Algorithm: sha1WithRSAEncryption\n 2d:82:a9:62:a1:b2:94:29:57:42:fb:f0:62:e3:94:f9:63:68:\n 69:9b:48:4b:1c:9c:66:b4:55:99:86:73:18:d3:05:29:4a:e8:\n 9c:ac:7b:cc:55:2a:7a:88:bc:4b:f2:55:37:12:b9:8e:46:55:\n f8:94:5c:a6:60:de:de:f1:18:ef:36:83:b0:8b:e8:dd:60:2a:\n c2:f8:a1:42:64:6c:eb:b3:44:df:dc:b9:87:cd:5a:46:4d:4b:\n c5:82:16:fc:42:71:65:9f:75:cd:3f:2d:80:53:5c:81:01:ff:\n e0:f9:43:4c:6d:7d:c1:59:5b:8b:10:e7:c9:b4:d8:79:9a:4e:\n 64:1c:50:7f:ef:22:81:82:75:c6:61:60:9c:fe:9c:95:85:8d:\n 4b:a4:bb:e2:c9:44:f7:2d:1a:42:e7:df:c1:c0:90:ff:61:a0:\n db:a7:b4:65:57:01:39:fe:77:66:28:21:18:6b:10:55:cc:c4:\n ea:8a:a9:22:00:5e:8f:e8:62:8e:22:74:8c:b1:6c:c3:25:79:\n 78:b5:d2:87:04:2f:97:8a:ee:e1:50:79:fa:ce:ae:1c:ed:37:\n 51:f7:5b:49:b5:fb:9f:7e:13:6b:3c:4c:76:3f:bc:25:ad:13:\n f2:f4:fb:74:fc:91:5d:1a:90:4d:5f:57:29:c2:4a:29:c5:89:\n fe:f2:56:da\n","expiredate":"Apr 24 19:32:49 2014 GMT","host":"another.com"},{"issuer":"lumberg-test.com","ssltxt":"Certificate:\n Data:\n Version: 3 (0x2)\n Serial Number:\n a5:24:11:8b:df:b9:92:20\n Signature Algorithm: sha1WithRSAEncryption\n Issuer: C=US, ST=IL, L=Chicago, O=Initech, OU=TPS, CN=lumberg-test.com/emailAddress=lumberg@initech.com\n Validity\n Not Before: Jun 4 18:15:41 2013 GMT\n Not After : Jun 4 18:15:41 2014 GMT\n Subject: C=US, ST=IL, L=Chicago, O=Initech, OU=TPS, CN=lumberg-test.com/emailAddress=lumberg@initech.com\n Subject Public Key Info:\n Public Key Algorithm: rsaEncryption\n RSA Public Key: (2048 bit)\n Modulus (2048 bit):\n 00:a3:6a:04:6f:4f:34:9f:dc:77:4b:b8:02:e6:1b:\n f8:6e:30:26:03:88:81:67:c3:78:9d:c0:6b:31:cf:\n 2a:a4:f7:97:04:a4:b3:59:69:3a:07:c3:6d:c7:4a:\n 21:ca:03:e6:73:72:ba:0f:c2:e0:f7:a0:c0:ab:7e:\n 66:d0:2c:7f:22:ac:6e:28:ef:41:aa:be:57:7c:c5:\n bd:73:47:62:d8:ae:d1:aa:81:2a:be:71:08:9f:f0:\n 54:d5:44:22:a5:b8:93:04:a0:ea:b2:ee:68:62:5d:\n 10:f6:df:2b:22:49:57:f0:c9:9d:e6:e1:dc:52:b9:\n 33:69:a5:7b:e8:56:cb:fd:06:11:5d:ea:55:23:6f:\n f1:72:67:d6:67:93:2c:b7:bf:5e:18:ab:9e:ce:76:\n f7:ac:b9:58:55:6a:77:bc:b2:5b:56:24:87:f5:46:\n e6:ad:ef:a7:01:fe:79:8e:1b:94:5e:10:b0:9a:9c:\n f2:87:54:cd:7e:a4:d6:b6:7d:b9:06:e5:05:0a:87:\n ec:4d:ed:c2:0a:64:32:a2:4a:66:41:d6:0a:e4:10:\n 9c:5f:bd:39:32:b6:09:d4:2b:ad:66:59:aa:c5:84:\n 4a:c7:3b:60:04:2f:96:ae:d6:30:ca:39:f4:35:44:\n 4b:95:65:bb:93:2d:23:d1:7a:53:d7:7d:7e:22:02:\n ce:01\n Exponent: 65537 (0x10001)\n X509v3 extensions:\n X509v3 Subject Key Identifier: \n EF:DC:D2:25:F2:3C:99:C1:37:32:18:2A:DC:C1:D2:80:26:6A:E3:4F\n X509v3 Authority Key Identifier: \n keyid:EF:DC:D2:25:F2:3C:99:C1:37:32:18:2A:DC:C1:D2:80:26:6A:E3:4F\n DirName:/C=US/ST=IL/L=Chicago/O=Initech/OU=TPS/CN=lumberg-test.com/emailAddress=lumberg@initech.com\n serial:A5:24:11:8B:DF:B9:92:20\n\n X509v3 Basic Constraints: \n CA:TRUE\n Signature Algorithm: sha1WithRSAEncryption\n 29:87:d2:12:a6:18:c3:2a:cc:85:3f:5d:f3:82:96:7c:9b:0e:\n 76:38:9b:9c:20:f0:31:25:50:f5:2c:d2:fe:61:09:d1:17:89:\n 2f:45:ae:16:60:a1:6c:de:ab:3d:0b:c9:b3:74:bd:02:83:66:\n 00:50:9c:18:54:f4:15:bf:d4:59:b5:48:6a:36:7e:cf:07:ea:\n 8e:55:90:a6:83:7a:fd:11:e6:14:34:fb:2a:62:ba:38:4d:69:\n f1:9b:d9:51:07:8d:d4:f3:c5:e4:cb:13:dd:19:81:a4:ec:92:\n 77:82:69:ae:0f:59:27:e1:ac:2f:7c:a3:3b:24:92:15:16:6f:\n cf:ca:1c:50:71:85:f1:1c:3e:33:c8:6f:a1:e5:07:89:03:31:\n d4:81:42:ef:25:e9:78:b5:f1:67:70:0e:0f:38:0b:8f:89:aa:\n ab:27:fd:0b:ff:ac:3a:ec:a6:3b:bc:5f:2e:d5:37:7d:05:0e:\n ee:e4:5b:6b:bc:90:10:b5:85:fb:8b:6d:0c:e3:8e:77:e8:1a:\n 73:9c:de:00:33:5e:d1:8e:95:97:08:3d:da:5c:96:f9:6d:5c:\n f1:47:fe:b6:a1:68:16:3c:1d:39:df:ef:68:96:e1:78:91:49:\n b9:ae:35:ed:b9:a3:3e:97:36:c6:79:74:92:6d:8c:d3:2e:c9:\n e0:57:32:b0\n","expiredate":"Jun 4 18:15:41 2014 GMT","host":"lumberg-test.com"}],"func":"listcrts"}}
36
+ {"cpanelresult":{"event":{"result":1},"module":"SSL","apiversion":2,"data":[{"issuer":"another.com","ssltxt":"Certificate:\n Data:\n Version: 3 (0x2)\n Serial Number:\n df:69:16:45:a4:4f:07:18\n Signature Algorithm: sha1WithRSAEncryption\n Issuer: C=US, ST=TX, L=Houston, O=Pressed, OU=Eng, CN=another.com/emailAddress=lumberg@initech.com\n Validity\n Not Before: Apr 24 19:32:49 2013 GMT\n Not After : Apr 24 19:32:49 2014 GMT\n Subject: C=US, ST=TX, L=Houston, O=Pressed, OU=Eng, CN=another.com/emailAddress=lumberg@initech.com\n Subject Public Key Info:\n Public Key Algorithm: rsaEncryption\n RSA Public Key: (2048 bit)\n Modulus (2048 bit):\n 00:9c:28:5c:e4:06:0a:36:40:8b:b9:dc:c9:cf:0a:\n 40:bd:af:00:15:67:6e:de:d9:51:b5:6f:00:81:4b:\n 60:e9:c9:9a:c1:7e:bf:c7:16:64:d7:37:13:94:72:\n af:9e:a7:62:23:6e:e4:8a:1c:e5:f2:9e:f8:c2:dd:\n fa:73:1a:aa:4a:59:cc:b6:9c:ad:4b:d7:50:fa:6f:\n 5c:4f:d2:37:80:8f:9e:29:95:3f:ff:d8:b0:e8:bf:\n a1:f8:9a:1b:ee:57:85:b5:4b:60:05:42:12:e8:5c:\n 9f:b4:b9:b5:00:34:94:1d:e2:45:e4:4b:69:ff:d2:\n b7:78:e2:66:70:a9:d8:f2:03:8e:48:87:96:17:63:\n b4:2b:18:82:7b:f2:26:f4:e9:56:0c:ce:d5:3f:9e:\n 8b:f2:19:09:70:e9:f6:60:3a:45:f4:8a:25:d5:c2:\n 41:78:a6:63:1e:e4:32:ad:6b:7e:1f:1e:b3:9c:d0:\n c7:2d:9d:ac:a0:aa:5e:51:92:41:78:8a:1b:3f:9a:\n 69:75:1d:b5:f5:85:f6:2e:20:d4:6d:cd:d7:04:53:\n a6:e8:46:9e:3a:1e:19:94:f4:9f:ca:71:5d:52:07:\n ef:3b:6b:1d:7c:94:29:57:a5:37:a3:c9:67:71:13:\n 07:d7:7b:fd:7d:a8:c7:2a:58:29:ee:d7:30:32:03:\n 47:13\n Exponent: 65537 (0x10001)\n X509v3 extensions:\n X509v3 Subject Key Identifier: \n 63:84:90:F1:EF:71:D6:C3:B8:BE:FF:39:59:BC:C3:6A:DA:EB:54:BC\n X509v3 Authority Key Identifier: \n keyid:63:84:90:F1:EF:71:D6:C3:B8:BE:FF:39:59:BC:C3:6A:DA:EB:54:BC\n DirName:/C=US/ST=TX/L=Houston/O=Pressed/OU=Eng/CN=another.com/emailAddress=lumberg@initech.com\n serial:DF:69:16:45:A4:4F:07:18\n\n X509v3 Basic Constraints: \n CA:TRUE\n Signature Algorithm: sha1WithRSAEncryption\n 2d:82:a9:62:a1:b2:94:29:57:42:fb:f0:62:e3:94:f9:63:68:\n 69:9b:48:4b:1c:9c:66:b4:55:99:86:73:18:d3:05:29:4a:e8:\n 9c:ac:7b:cc:55:2a:7a:88:bc:4b:f2:55:37:12:b9:8e:46:55:\n f8:94:5c:a6:60:de:de:f1:18:ef:36:83:b0:8b:e8:dd:60:2a:\n c2:f8:a1:42:64:6c:eb:b3:44:df:dc:b9:87:cd:5a:46:4d:4b:\n c5:82:16:fc:42:71:65:9f:75:cd:3f:2d:80:53:5c:81:01:ff:\n e0:f9:43:4c:6d:7d:c1:59:5b:8b:10:e7:c9:b4:d8:79:9a:4e:\n 64:1c:50:7f:ef:22:81:82:75:c6:61:60:9c:fe:9c:95:85:8d:\n 4b:a4:bb:e2:c9:44:f7:2d:1a:42:e7:df:c1:c0:90:ff:61:a0:\n db:a7:b4:65:57:01:39:fe:77:66:28:21:18:6b:10:55:cc:c4:\n ea:8a:a9:22:00:5e:8f:e8:62:8e:22:74:8c:b1:6c:c3:25:79:\n 78:b5:d2:87:04:2f:97:8a:ee:e1:50:79:fa:ce:ae:1c:ed:37:\n 51:f7:5b:49:b5:fb:9f:7e:13:6b:3c:4c:76:3f:bc:25:ad:13:\n f2:f4:fb:74:fc:91:5d:1a:90:4d:5f:57:29:c2:4a:29:c5:89:\n fe:f2:56:da\n","expiredate":"Apr 24 19:32:49 2014 GMT","host":"another.com"},{"issuer":"lumberg-test.com","ssltxt":"Certificate:\n Data:\n Version: 3 (0x2)\n Serial Number:\n a5:24:11:8b:df:b9:92:20\n Signature Algorithm: sha1WithRSAEncryption\n Issuer: C=US, ST=IL, L=Chicago, O=Initech, OU=TPS, CN=lumberg-test.com/emailAddress=lumberg@initech.com\n Validity\n Not Before: Jun 4 18:15:41 2013 GMT\n Not After : Jun 4 18:15:41 2014 GMT\n Subject: C=US, ST=IL, L=Chicago, O=Initech, OU=TPS, CN=lumberg-test.com/emailAddress=lumberg@initech.com\n Subject Public Key Info:\n Public Key Algorithm: rsaEncryption\n RSA Public Key: (2048 bit)\n Modulus (2048 bit):\n 00:a3:6a:04:6f:4f:34:9f:dc:77:4b:b8:02:e6:1b:\n f8:6e:30:26:03:88:81:67:c3:78:9d:c0:6b:31:cf:\n 2a:a4:f7:97:04:a4:b3:59:69:3a:07:c3:6d:c7:4a:\n 21:ca:03:e6:73:72:ba:0f:c2:e0:f7:a0:c0:ab:7e:\n 66:d0:2c:7f:22:ac:6e:28:ef:41:aa:be:57:7c:c5:\n bd:73:47:62:d8:ae:d1:aa:81:2a:be:71:08:9f:f0:\n 54:d5:44:22:a5:b8:93:04:a0:ea:b2:ee:68:62:5d:\n 10:f6:df:2b:22:49:57:f0:c9:9d:e6:e1:dc:52:b9:\n 33:69:a5:7b:e8:56:cb:fd:06:11:5d:ea:55:23:6f:\n f1:72:67:d6:67:93:2c:b7:bf:5e:18:ab:9e:ce:76:\n f7:ac:b9:58:55:6a:77:bc:b2:5b:56:24:87:f5:46:\n e6:ad:ef:a7:01:fe:79:8e:1b:94:5e:10:b0:9a:9c:\n f2:87:54:cd:7e:a4:d6:b6:7d:b9:06:e5:05:0a:87:\n ec:4d:ed:c2:0a:64:32:a2:4a:66:41:d6:0a:e4:10:\n 9c:5f:bd:39:32:b6:09:d4:2b:ad:66:59:aa:c5:84:\n 4a:c7:3b:60:04:2f:96:ae:d6:30:ca:39:f4:35:44:\n 4b:95:65:bb:93:2d:23:d1:7a:53:d7:7d:7e:22:02:\n ce:01\n Exponent: 65537 (0x10001)\n X509v3 extensions:\n X509v3 Subject Key Identifier: \n EF:DC:D2:25:F2:3C:99:C1:37:32:18:2A:DC:C1:D2:80:26:6A:E3:4F\n X509v3 Authority Key Identifier: \n keyid:EF:DC:D2:25:F2:3C:99:C1:37:32:18:2A:DC:C1:D2:80:26:6A:E3:4F\n DirName:/C=US/ST=IL/L=Chicago/O=Initech/OU=TPS/CN=lumberg-test.com/emailAddress=lumberg@initech.com\n serial:A5:24:11:8B:DF:B9:92:20\n\n X509v3 Basic Constraints: \n CA:TRUE\n Signature Algorithm: sha1WithRSAEncryption\n 29:87:d2:12:a6:18:c3:2a:cc:85:3f:5d:f3:82:96:7c:9b:0e:\n 76:38:9b:9c:20:f0:31:25:50:f5:2c:d2:fe:61:09:d1:17:89:\n 2f:45:ae:16:60:a1:6c:de:ab:3d:0b:c9:b3:74:bd:02:83:66:\n 00:50:9c:18:54:f4:15:bf:d4:59:b5:48:6a:36:7e:cf:07:ea:\n 8e:55:90:a6:83:7a:fd:11:e6:14:34:fb:2a:62:ba:38:4d:69:\n f1:9b:d9:51:07:8d:d4:f3:c5:e4:cb:13:dd:19:81:a4:ec:92:\n 77:82:69:ae:0f:59:27:e1:ac:2f:7c:a3:3b:24:92:15:16:6f:\n cf:ca:1c:50:71:85:f1:1c:3e:33:c8:6f:a1:e5:07:89:03:31:\n d4:81:42:ef:25:e9:78:b5:f1:67:70:0e:0f:38:0b:8f:89:aa:\n ab:27:fd:0b:ff:ac:3a:ec:a6:3b:bc:5f:2e:d5:37:7d:05:0e:\n ee:e4:5b:6b:bc:90:10:b5:85:fb:8b:6d:0c:e3:8e:77:e8:1a:\n 73:9c:de:00:33:5e:d1:8e:95:97:08:3d:da:5c:96:f9:6d:5c:\n f1:47:fe:b6:a1:68:16:3c:1d:39:df:ef:68:96:e1:78:91:49:\n b9:ae:35:ed:b9:a3:3e:97:36:c6:79:74:92:6d:8c:d3:2e:c9:\n e0:57:32:b0\n","expiredate":"Jun 4 18:15:41 2014 GMT","host":"lumberg-test.com"}],"func":"listcrts"}}
37
37
 
38
- http_version:
38
+ http_version:
39
39
  recorded_at: Tue, 04 Jun 2013 19:20:25 GMT
40
40
  recorded_with: VCR 2.0.1
@@ -49,8 +49,8 @@ http_interactions:
49
49
  encoding: UTF-8
50
50
  string: ! '{"result":[{"status":1,"record":[{"Line":1,"raw":"; cPanel first:11.25.0-STABLE_44718
51
51
  latest:11.28.64-STABLE_51024 Cpanel::ZoneFile::VERSION:1.3 mtime:1299509628
52
- hostname:myhost.site5.com","ttl":"86400","type":":RAW","name":""},{"Line":2,"raw":";
53
- Zone file for example.com","ttl":"86400","type":":RAW","name":""},{"Line":3,"ttl":"14400","type":"$TTL","name":""},{"serial":"2011030706","minimum":"86400","rname":"notifications.examplesystems.com","refresh":"86400","Lines":7,"name":"example.com.","Line":4,"retry":"7200","ttl":"86400","class":"IN","mname":"ns1-myhost.site5.com","type":"SOA","expire":"3600000"},{"Line":11,"raw":"","ttl":"86400","type":":RAW","name":""},{"Line":12,"nsdname":"ns1-myhost.site5.com","ttl":"86400","class":"IN","type":"NS","name":"example.com."},{"Line":13,"nsdname":"ns2-myhost.site5.com","ttl":"86400","class":"IN","type":"NS","name":"example.com."},{"Line":14,"raw":"","ttl":"86400","type":":RAW","name":""},{"Line":15,"raw":"","ttl":"86400","type":":RAW","name":""},{"Line":16,"ttl":"14400","address":"192.1.2.3","class":"IN","type":"A","name":"example.com."},{"Line":17,"raw":"","ttl":"86400","type":":RAW","name":""},{"Line":18,"ttl":"14400","address":"192.1.2.3","class":"IN","type":"A","name":"localhost.example.com."},{"Line":19,"raw":"","ttl":"86400","type":":RAW","name":""},{"Line":20,"ttl":"14400","class":"IN","preference":"0","exchange":"example.com","type":"MX","name":"example.com."},{"Line":21,"raw":"","ttl":"86400","type":":RAW","name":""},{"Line":22,"cname":"example.com","ttl":"14400","class":"IN","type":"CNAME","name":"mail.example.com."},{"Line":23,"cname":"example.com","ttl":"14400","class":"IN","type":"CNAME","name":"www.example.com."},{"Line":24,"ttl":"14400","address":"192.1.2.3","class":"IN","type":"A","name":"ftp.example.com."},{"Line":25,"ttl":"14400","address":"192.1.2.3","class":"IN","type":"A","name":"cpanel.example.com."},{"Line":26,"ttl":"14400","address":"192.1.2.3","class":"IN","type":"A","name":"whm.example.com."},{"Line":27,"ttl":"14400","address":"192.1.2.3","class":"IN","type":"A","name":"webmail.example.com."},{"Line":28,"ttl":"14400","address":"192.1.2.3","class":"IN","type":"A","name":"webdisk.example.com."}],"statusmsg":"Zone
52
+ hostname:myhost.pressed.com","ttl":"86400","type":":RAW","name":""},{"Line":2,"raw":";
53
+ Zone file for example.com","ttl":"86400","type":":RAW","name":""},{"Line":3,"ttl":"14400","type":"$TTL","name":""},{"serial":"2011030706","minimum":"86400","rname":"notifications.examplesystems.com","refresh":"86400","Lines":7,"name":"example.com.","Line":4,"retry":"7200","ttl":"86400","class":"IN","mname":"ns1-myhost.pressed.com","type":"SOA","expire":"3600000"},{"Line":11,"raw":"","ttl":"86400","type":":RAW","name":""},{"Line":12,"nsdname":"ns1-myhost.pressed.com","ttl":"86400","class":"IN","type":"NS","name":"example.com."},{"Line":13,"nsdname":"ns2-myhost.pressed.com","ttl":"86400","class":"IN","type":"NS","name":"example.com."},{"Line":14,"raw":"","ttl":"86400","type":":RAW","name":""},{"Line":15,"raw":"","ttl":"86400","type":":RAW","name":""},{"Line":16,"ttl":"14400","address":"192.1.2.3","class":"IN","type":"A","name":"example.com."},{"Line":17,"raw":"","ttl":"86400","type":":RAW","name":""},{"Line":18,"ttl":"14400","address":"192.1.2.3","class":"IN","type":"A","name":"localhost.example.com."},{"Line":19,"raw":"","ttl":"86400","type":":RAW","name":""},{"Line":20,"ttl":"14400","class":"IN","preference":"0","exchange":"example.com","type":"MX","name":"example.com."},{"Line":21,"raw":"","ttl":"86400","type":":RAW","name":""},{"Line":22,"cname":"example.com","ttl":"14400","class":"IN","type":"CNAME","name":"mail.example.com."},{"Line":23,"cname":"example.com","ttl":"14400","class":"IN","type":"CNAME","name":"www.example.com."},{"Line":24,"ttl":"14400","address":"192.1.2.3","class":"IN","type":"A","name":"ftp.example.com."},{"Line":25,"ttl":"14400","address":"192.1.2.3","class":"IN","type":"A","name":"cpanel.example.com."},{"Line":26,"ttl":"14400","address":"192.1.2.3","class":"IN","type":"A","name":"whm.example.com."},{"Line":27,"ttl":"14400","address":"192.1.2.3","class":"IN","type":"A","name":"webmail.example.com."},{"Line":28,"ttl":"14400","address":"192.1.2.3","class":"IN","type":"A","name":"webdisk.example.com."}],"statusmsg":"Zone
54
54
  Serialized"}]}'
55
55
  http_version: '1.1'
56
56
  recorded_at: Wed, 07 Mar 2012 21:53:52 GMT
@@ -0,0 +1,29 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://myhost.com:2087/json-api/get_nameserver_config?api.version=1
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Authorization:
11
+ - WHM root:iscool
12
+ response:
13
+ status:
14
+ code: 200
15
+ message: OK
16
+ headers:
17
+ Server:
18
+ - cpsrvd/11.28.64
19
+ Transfer-Encoding:
20
+ - chunked
21
+ Content-Type:
22
+ - text/plain
23
+ body:
24
+ encoding: UTF-8
25
+ string: ! '{"data":{"nameservers": ["ns1.example.com", "ns2.example.com"]},"metadata":{"result":1,"reason":"OK","version":1,"command":"get_nameserver_config"}}'
26
+ http_version: '1.1'
27
+ recorded_at: Tue, 04 Jul 2017 11:32:20 GMT
28
+ recorded_with: VCR 2.9.3
29
+ ...
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: https://myhost.com:2087/json-api/lookupnsip?api.version=1&host=site5.com
5
+ uri: https://myhost.com:2087/json-api/lookupnsip?api.version=1&host=pressed.com
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -83,6 +83,19 @@ module Lumberg
83
83
  end
84
84
  end
85
85
 
86
+
87
+ describe "#get_nameserver_config" do
88
+ use_vcr_cassette "whm/dns/get_nameserver_config"
89
+
90
+ it "returns the nameservers" do
91
+ result = @dns.get_nameserver_config("api.version".to_sym => 1)
92
+ nameservers = result[:params][:nameservers]
93
+ nameservers.size.should == 2
94
+ nameservers.should be_include('ns1.example.com')
95
+ nameservers.should be_include('ns2.example.com')
96
+ end
97
+ end
98
+
86
99
  describe "#dumpzone" do
87
100
  use_vcr_cassette "whm/dns/dumpzone"
88
101
 
@@ -392,7 +392,7 @@ module Lumberg
392
392
  use_vcr_cassette 'whm/server/lookup_nameserver_ip'
393
393
 
394
394
  it 'performs a NS lookup for the given host name' do
395
- result = @whm.lookup_nameserver_ip(host: 'site5.com')
395
+ result = @whm.lookup_nameserver_ip(host: 'pressed.com')
396
396
 
397
397
  result[:params][:ip].should =~ Resolv::IPv4::Regex
398
398
  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: 4.0.0
4
+ version: 4.1.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: 2016-05-17 00:00:00.000000000 Z
11
+ date: 2017-07-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json
@@ -111,7 +111,7 @@ dependencies:
111
111
  description: Ruby library for the WHM & cPanel API; It's not a half day or anything
112
112
  like that
113
113
  email:
114
- - jmazzi@site5.com
114
+ - justin@pressed.net
115
115
  executables: []
116
116
  extensions: []
117
117
  extra_rdoc_files: []
@@ -347,6 +347,7 @@ files:
347
347
  - spec/vcr_cassettes/whm/dns/addzonerecord.yml
348
348
  - spec/vcr_cassettes/whm/dns/dumpzone.yml
349
349
  - spec/vcr_cassettes/whm/dns/editzonerecord.yml
350
+ - spec/vcr_cassettes/whm/dns/get_nameserver_config.yml
350
351
  - spec/vcr_cassettes/whm/dns/getzonerecord.yml
351
352
  - spec/vcr_cassettes/whm/dns/killdns.yml
352
353
  - spec/vcr_cassettes/whm/dns/listmxs.yml
@@ -415,7 +416,7 @@ files:
415
416
  - spec/whm/transfer_tool_spec.rb
416
417
  - spec/whm/whm_spec.rb
417
418
  - spec/whostmgr/ssl_spec.rb
418
- homepage: ''
419
+ homepage: https://github.com/pressednet/lumberg
419
420
  licenses:
420
421
  - MIT
421
422
  metadata: {}
@@ -435,257 +436,258 @@ required_rubygems_version: !ruby/object:Gem::Requirement
435
436
  version: '0'
436
437
  requirements: []
437
438
  rubyforge_project: lumberg
438
- rubygems_version: 2.5.1
439
+ rubygems_version: 2.5.2
439
440
  signing_key:
440
441
  specification_version: 4
441
442
  summary: Ruby library for the WHM & cPanel API
442
443
  test_files:
444
+ - spec/format_whm_spec.rb
445
+ - spec/lumberg_spec.rb
446
+ - spec/sample_certs/cpanel.key
447
+ - spec/sample_certs/sample.crt
448
+ - spec/sample_certs/sample.key
449
+ - spec/sample_certs/main.crt
450
+ - spec/sample_certs/cpanel.crt
451
+ - spec/support/cpanel_matchers.rb
443
452
  - spec/config_spec.rb
444
- - spec/cpanel/addon_domain_spec.rb
445
- - spec/cpanel/backups_spec.rb
446
453
  - spec/cpanel/base_spec.rb
447
- - spec/cpanel/box_trapper_spec.rb
448
- - spec/cpanel/branding_spec.rb
449
- - spec/cpanel/contact_spec.rb
454
+ - spec/cpanel/ftp_spec.rb
455
+ - spec/cpanel/net_spec.rb
456
+ - spec/cpanel/locale_spec.rb
450
457
  - spec/cpanel/cron_spec.rb
451
- - spec/cpanel/dns_lookup_spec.rb
452
- - spec/cpanel/domain_keys_spec.rb
458
+ - spec/cpanel/random_data_spec.rb
459
+ - spec/cpanel/addon_domain_spec.rb
453
460
  - spec/cpanel/domain_lookup_spec.rb
461
+ - spec/cpanel/domain_keys_spec.rb
462
+ - spec/cpanel/contact_spec.rb
463
+ - spec/cpanel/ssl_spec.rb
454
464
  - spec/cpanel/email_spec.rb
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
465
+ - spec/cpanel/sub_domain_spec.rb
466
+ - spec/cpanel/backups_spec.rb
467
+ - spec/cpanel/branding_spec.rb
461
468
  - spec/cpanel/mysql_spec.rb
462
- - spec/cpanel/net_spec.rb
463
469
  - spec/cpanel/park_spec.rb
470
+ - spec/cpanel/mysql_db_spec.rb
471
+ - spec/cpanel/zone_edit_spec.rb
472
+ - spec/cpanel/gpg_spec.rb
473
+ - spec/cpanel/file_manager_spec.rb
464
474
  - spec/cpanel/password_spec.rb
465
- - spec/cpanel/password_strength_spec.rb
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
475
+ - spec/cpanel/box_trapper_spec.rb
470
476
  - 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
477
+ - spec/cpanel/redirect_spec.rb
478
+ - spec/cpanel/mime_spec.rb
479
+ - spec/cpanel/dns_lookup_spec.rb
480
+ - spec/cpanel/password_strength_spec.rb
481
+ - spec/whm/base_spec.rb
482
+ - spec/whm/transfer_tool_spec.rb
483
+ - spec/whm/server_spec.rb
484
+ - spec/whm/cert_spec.rb
485
+ - spec/whm/dns_spec.rb
486
+ - spec/whm/reseller_spec.rb
487
+ - spec/whm/account_spec.rb
488
+ - spec/whm/whm_spec.rb
489
+ - spec/vcr_cassettes/cpanel/sub_domain/list.yml
490
+ - spec/vcr_cassettes/cpanel/sub_domain/add.yml
491
+ - spec/vcr_cassettes/cpanel/sub_domain/remove.yml
499
492
  - spec/vcr_cassettes/cpanel/dns_lookup/name_to_ip.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
493
+ - spec/vcr_cassettes/cpanel/park/list.yml
494
+ - spec/vcr_cassettes/cpanel/park/list_addon_domains.yml
495
+ - spec/vcr_cassettes/cpanel/park/add.yml
496
+ - spec/vcr_cassettes/cpanel/park/remove.yml
497
+ - spec/vcr_cassettes/cpanel/domain_lookup/list.yml
498
+ - spec/vcr_cassettes/cpanel/domain_lookup/document_roots.yml
504
499
  - spec/vcr_cassettes/cpanel/domain_lookup/count.yml
505
- - spec/vcr_cassettes/cpanel/domain_lookup/docroot.yml
506
500
  - spec/vcr_cassettes/cpanel/domain_lookup/docroots.yml
501
+ - spec/vcr_cassettes/cpanel/domain_lookup/docroot.yml
507
502
  - spec/vcr_cassettes/cpanel/domain_lookup/document_root.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
511
- - spec/vcr_cassettes/cpanel/email/accounts.yml
512
- - spec/vcr_cassettes/cpanel/email/add_account.yml
503
+ - spec/vcr_cassettes/cpanel/locale/show.yml
504
+ - spec/vcr_cassettes/cpanel/ftp/passwd.yml
505
+ - spec/vcr_cassettes/cpanel/ftp/listftp.yml
506
+ - spec/vcr_cassettes/cpanel/ftp/addftp.yml
507
+ - spec/vcr_cassettes/cpanel/ftp/delftp.yml
508
+ - spec/vcr_cassettes/cpanel/ftp/listftpsessions.yml
509
+ - spec/vcr_cassettes/cpanel/ftp/listftpwithdisk.yml
510
+ - spec/vcr_cassettes/cpanel/ftp/setquota.yml
511
+ - spec/vcr_cassettes/cpanel/password/modify.yml
512
+ - spec/vcr_cassettes/cpanel/password/digest_authentication.yml
513
+ - spec/vcr_cassettes/cpanel/support/contactable.yml
514
+ - spec/vcr_cassettes/cpanel/email/disk_usage.yml
515
+ - spec/vcr_cassettes/cpanel/email/edit_quota.yml
516
+ - spec/vcr_cassettes/cpanel/email/mail_dirs.yml
517
+ - spec/vcr_cassettes/cpanel/email/mailing_lists.yml
518
+ - spec/vcr_cassettes/cpanel/email/filters.yml
513
519
  - spec/vcr_cassettes/cpanel/email/add_filter.yml
520
+ - spec/vcr_cassettes/cpanel/email/accounts.yml
521
+ - spec/vcr_cassettes/cpanel/email/set_mail_delivery_remote.yml
514
522
  - spec/vcr_cassettes/cpanel/email/add_forwarder.yml
523
+ - spec/vcr_cassettes/cpanel/email/set_mx_type.yml
515
524
  - spec/vcr_cassettes/cpanel/email/add_mailing_list.yml
516
- - spec/vcr_cassettes/cpanel/email/add_mx.yml
517
- - spec/vcr_cassettes/cpanel/email/change_mx.yml
525
+ - spec/vcr_cassettes/cpanel/email/domains_with_aliases.yml
518
526
  - spec/vcr_cassettes/cpanel/email/change_password.yml
519
- - spec/vcr_cassettes/cpanel/email/check_local_delivery_local.yml
527
+ - spec/vcr_cassettes/cpanel/email/acceptable_encodings.yml
528
+ - spec/vcr_cassettes/cpanel/email/add_account.yml
529
+ - spec/vcr_cassettes/cpanel/email/mail_dir.yml
530
+ - spec/vcr_cassettes/cpanel/email/forwarders.yml
520
531
  - 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
524
532
  - spec/vcr_cassettes/cpanel/email/domains.yml
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
533
+ - spec/vcr_cassettes/cpanel/email/set_mail_delivery_local.yml
534
+ - spec/vcr_cassettes/cpanel/email/add_mx.yml
535
+ - spec/vcr_cassettes/cpanel/email/set_default_address.yml
536
+ - spec/vcr_cassettes/cpanel/email/change_mx.yml
532
537
  - spec/vcr_cassettes/cpanel/email/main_discard.yml
538
+ - spec/vcr_cassettes/cpanel/email/delete_mx.yml
539
+ - spec/vcr_cassettes/cpanel/email/default_address.yml
533
540
  - spec/vcr_cassettes/cpanel/email/mx.yml
534
541
  - spec/vcr_cassettes/cpanel/email/remove.yml
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
551
- - spec/vcr_cassettes/cpanel/gpg/count.yml
552
- - spec/vcr_cassettes/cpanel/gpg/count_private.yml
542
+ - spec/vcr_cassettes/cpanel/email/check_local_delivery_local.yml
543
+ - spec/vcr_cassettes/cpanel/net/query_hostname.yml
544
+ - spec/vcr_cassettes/cpanel/net/traceroute.yml
553
545
  - spec/vcr_cassettes/cpanel/gpg/list.yml
546
+ - spec/vcr_cassettes/cpanel/gpg/count_private.yml
547
+ - spec/vcr_cassettes/cpanel/gpg/count.yml
554
548
  - spec/vcr_cassettes/cpanel/gpg/list_private.yml
555
- - spec/vcr_cassettes/cpanel/locale/show.yml
556
- - spec/vcr_cassettes/cpanel/mysql_db/add_db.yml
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
549
+ - spec/vcr_cassettes/cpanel/branding/list_object_types.yml
550
+ - spec/vcr_cassettes/cpanel/branding/list_sprites.yml
551
+ - spec/vcr_cassettes/cpanel/branding/list_icons.yml
552
+ - spec/vcr_cassettes/cpanel/branding/list_image_types.yml
553
+ - spec/vcr_cassettes/cpanel/branding/list_pkgs.yml
554
+ - spec/vcr_cassettes/cpanel/password_strength/required_strength.yml
555
+ - spec/vcr_cassettes/cpanel/password_strength/all_required_strengths.yml
556
+ - spec/vcr_cassettes/cpanel/password_strength/strength.yml
557
+ - spec/vcr_cassettes/cpanel/domain_keys/available.yml
558
+ - spec/vcr_cassettes/cpanel/domain_keys/add.yml
559
+ - spec/vcr_cassettes/cpanel/domain_keys/installed.yml
560
+ - spec/vcr_cassettes/cpanel/domain_keys/remove.yml
561
+ - spec/vcr_cassettes/cpanel/mysql_db/number_of_dbs.yml
560
562
  - spec/vcr_cassettes/cpanel/mysql_db/check_db.yml
563
+ - spec/vcr_cassettes/cpanel/mysql_db/update_privs.yml
564
+ - spec/vcr_cassettes/cpanel/mysql_db/init_cache.yml
565
+ - spec/vcr_cassettes/cpanel/mysql_db/add_user_db.yml
566
+ - spec/vcr_cassettes/cpanel/mysql_db/del_user_db.yml
567
+ - spec/vcr_cassettes/cpanel/mysql_db/repair_db.yml
561
568
  - spec/vcr_cassettes/cpanel/mysql_db/del_db.yml
569
+ - spec/vcr_cassettes/cpanel/mysql_db/add_db.yml
570
+ - spec/vcr_cassettes/cpanel/mysql_db/add_host.yml
562
571
  - spec/vcr_cassettes/cpanel/mysql_db/del_host.yml
563
572
  - spec/vcr_cassettes/cpanel/mysql_db/del_user.yml
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
573
+ - spec/vcr_cassettes/cpanel/mysql_db/add_user.yml
574
+ - spec/vcr_cassettes/cpanel/box_trapper/list.yml
582
575
  - spec/vcr_cassettes/cpanel/ssl/gencrt.yml
583
- - spec/vcr_cassettes/cpanel/ssl/gencsr.yml
576
+ - spec/vcr_cassettes/cpanel/ssl/uploadcrt.yml
584
577
  - spec/vcr_cassettes/cpanel/ssl/genkey.yml
578
+ - spec/vcr_cassettes/cpanel/ssl/showcsr.yml
579
+ - spec/vcr_cassettes/cpanel/ssl/listkeys.yml
580
+ - spec/vcr_cassettes/cpanel/ssl/fetchcabundle.yml
585
581
  - spec/vcr_cassettes/cpanel/ssl/installssl.yml
586
- - spec/vcr_cassettes/cpanel/ssl/listcrts.yml
587
582
  - spec/vcr_cassettes/cpanel/ssl/listcsrs.yml
588
- - spec/vcr_cassettes/cpanel/ssl/listkeys.yml
589
- - spec/vcr_cassettes/cpanel/ssl/listsslitems.yml
590
- - spec/vcr_cassettes/cpanel/ssl/remove.yml
591
583
  - spec/vcr_cassettes/cpanel/ssl/showcrt.yml
592
- - spec/vcr_cassettes/cpanel/ssl/showcsr.yml
584
+ - spec/vcr_cassettes/cpanel/ssl/gencsr.yml
585
+ - spec/vcr_cassettes/cpanel/ssl/listsslitems.yml
593
586
  - 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
601
- - spec/vcr_cassettes/whm/account/createacct.yml
602
- - spec/vcr_cassettes/whm/account/domainuserdata.yml
603
- - spec/vcr_cassettes/whm/account/editquota.yml
604
- - spec/vcr_cassettes/whm/account/limitbw.yml
605
- - spec/vcr_cassettes/whm/account/listaccts.yml
606
- - spec/vcr_cassettes/whm/account/listsuspended.yml
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
611
- - spec/vcr_cassettes/whm/account/restoreaccount.yml
612
- - spec/vcr_cassettes/whm/account/setsiteip.yml
613
- - spec/vcr_cassettes/whm/account/suspend.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
587
+ - spec/vcr_cassettes/cpanel/ssl/listcrts.yml
588
+ - spec/vcr_cassettes/cpanel/ssl/remove.yml
589
+ - spec/vcr_cassettes/cpanel/addon_domain/list.yml
590
+ - spec/vcr_cassettes/cpanel/addon_domain/add.yml
591
+ - spec/vcr_cassettes/cpanel/addon_domain/remove.yml
592
+ - spec/vcr_cassettes/cpanel/contact/update.yml
593
+ - spec/vcr_cassettes/cpanel/contact/show.yml
594
+ - spec/vcr_cassettes/cpanel/backups/list.yml
595
+ - spec/vcr_cassettes/cpanel/cron/list.yml
596
+ - spec/vcr_cassettes/cpanel/cron/add.yml
597
+ - spec/vcr_cassettes/cpanel/cron/set_email.yml
598
+ - spec/vcr_cassettes/cpanel/cron/edit.yml
599
+ - spec/vcr_cassettes/cpanel/cron/email.yml
600
+ - spec/vcr_cassettes/cpanel/cron/remove.yml
601
+ - spec/vcr_cassettes/cpanel/random_data/show.yml
602
+ - spec/vcr_cassettes/cpanel/file_manager/disk_usage.yml
603
+ - spec/vcr_cassettes/cpanel/file_manager/show.yml
604
+ - spec/vcr_cassettes/cpanel/file_manager/list.yml
605
+ - spec/vcr_cassettes/cpanel/file_manager/operate.yml
606
+ - spec/vcr_cassettes/cpanel/file_manager/stat.yml
625
607
  - spec/vcr_cassettes/whm/dns/killdns.yml
626
- - spec/vcr_cassettes/whm/dns/listmxs.yml
627
608
  - spec/vcr_cassettes/whm/dns/listzones.yml
609
+ - spec/vcr_cassettes/whm/dns/listmxs.yml
610
+ - spec/vcr_cassettes/whm/dns/getzonerecord.yml
611
+ - spec/vcr_cassettes/whm/dns/savemxs.yml
628
612
  - spec/vcr_cassettes/whm/dns/lookupnsip.yml
629
613
  - spec/vcr_cassettes/whm/dns/removezonerecord.yml
614
+ - spec/vcr_cassettes/whm/dns/dumpzone.yml
615
+ - spec/vcr_cassettes/whm/dns/get_nameserver_config.yml
616
+ - spec/vcr_cassettes/whm/dns/addzonerecord.yml
617
+ - spec/vcr_cassettes/whm/dns/adddns.yml
630
618
  - spec/vcr_cassettes/whm/dns/resetzone.yml
631
619
  - 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
620
+ - spec/vcr_cassettes/whm/dns/editzonerecord.yml
621
+ - spec/vcr_cassettes/whm/account/listaccts.yml
622
+ - spec/vcr_cassettes/whm/account/passwd.yml
623
+ - spec/vcr_cassettes/whm/account/removeacct.yml
624
+ - spec/vcr_cassettes/whm/account/modifyacct.yml
625
+ - spec/vcr_cassettes/whm/account/setsiteip.yml
626
+ - spec/vcr_cassettes/whm/account/createacct.yml
627
+ - spec/vcr_cassettes/whm/account/domainuserdata.yml
628
+ - spec/vcr_cassettes/whm/account/unsuspend.yml
629
+ - spec/vcr_cassettes/whm/account/limitbw.yml
630
+ - spec/vcr_cassettes/whm/account/listsuspended.yml
631
+ - spec/vcr_cassettes/whm/account/changepackage.yml
632
+ - spec/vcr_cassettes/whm/account/editquota.yml
633
+ - spec/vcr_cassettes/whm/account/restoreaccount.yml
634
+ - spec/vcr_cassettes/whm/account/accountsummary.yml
635
+ - spec/vcr_cassettes/whm/account/suspend.yml
636
+ - spec/vcr_cassettes/whm/account/myprivs.yml
637
+ - spec/vcr_cassettes/whm/server/getlanglist.yml
638
+ - spec/vcr_cassettes/whm/server/setresolvers.yml
639
+ - spec/vcr_cassettes/whm/server/disk_usage.yml
640
+ - spec/vcr_cassettes/whm/server/delip.yml
641
+ - spec/vcr_cassettes/whm/server/sethostname.yml
642
+ - spec/vcr_cassettes/whm/server/addip.yml
643
+ - spec/vcr_cassettes/whm/server/showbw.yml
644
+ - spec/vcr_cassettes/whm/server/nvget.yml
645
+ - spec/vcr_cassettes/whm/server/nvset.yml
646
+ - spec/vcr_cassettes/whm/server/edit_hook.yml
647
+ - spec/vcr_cassettes/whm/server/lookup_nameserver_ip.yml
648
+ - spec/vcr_cassettes/whm/server/loadavg.yml
649
+ - spec/vcr_cassettes/whm/server/list_hooks.yml
650
+ - spec/vcr_cassettes/whm/server/gettweaksetting.yml
651
+ - spec/vcr_cassettes/whm/server/settweaksetting.yml
652
+ - spec/vcr_cassettes/whm/server/applist.yml
653
+ - spec/vcr_cassettes/whm/server/themes.yml
654
+ - spec/vcr_cassettes/whm/server/version.yml
655
+ - spec/vcr_cassettes/whm/server/listips.yml
656
+ - spec/vcr_cassettes/whm/server/gethostname.yml
657
+ - spec/vcr_cassettes/whm/server/systemloadavg.yml
658
+ - spec/vcr_cassettes/whm/server/reboot.yml
659
+ - spec/vcr_cassettes/whm/server/my_function.yml
660
+ - spec/vcr_cassettes/whm/reseller/setresellerips.yml
661
+ - spec/vcr_cassettes/whm/reseller/terminatereseller.yml
662
+ - spec/vcr_cassettes/whm/reseller/unsetupreseller.yml
635
663
  - spec/vcr_cassettes/whm/reseller/listresellers.yml
664
+ - spec/vcr_cassettes/whm/reseller/setresellernameservers.yml
636
665
  - spec/vcr_cassettes/whm/reseller/resellerstats.yml
637
- - spec/vcr_cassettes/whm/reseller/saveacllist.yml
638
666
  - spec/vcr_cassettes/whm/reseller/setacls.yml
639
- - spec/vcr_cassettes/whm/reseller/setresellerips.yml
667
+ - spec/vcr_cassettes/whm/reseller/acctcounts.yml
668
+ - spec/vcr_cassettes/whm/reseller/saveacllist.yml
640
669
  - spec/vcr_cassettes/whm/reseller/setresellerlimits.yml
641
670
  - spec/vcr_cassettes/whm/reseller/setresellermainip.yml
642
- - spec/vcr_cassettes/whm/reseller/setresellernameservers.yml
671
+ - spec/vcr_cassettes/whm/reseller/listacls.yml
672
+ - spec/vcr_cassettes/whm/reseller/unsuspendreseller.yml
643
673
  - spec/vcr_cassettes/whm/reseller/setresellerpackagelimit.yml
644
674
  - spec/vcr_cassettes/whm/reseller/setupreseller.yml
645
675
  - spec/vcr_cassettes/whm/reseller/suspendreseller.yml
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
676
+ - spec/vcr_cassettes/whm/cert/generatessl.yml
677
+ - spec/vcr_cassettes/whm/cert/installssl.yml
678
+ - spec/vcr_cassettes/whm/cert/fetch_ssl_vhosts.yml
679
+ - spec/vcr_cassettes/whm/cert/fetchsslinfo.yml
680
+ - spec/vcr_cassettes/whm/cert/listcrts.yml
681
+ - spec/vcr_cassettes/whm/transfer_tool/status.yml
672
682
  - spec/vcr_cassettes/whm/transfer_tool/check.yml
673
- - spec/vcr_cassettes/whm/transfer_tool/create.yml
683
+ - spec/vcr_cassettes/whm/transfer_tool/validate_user.yml
684
+ - spec/vcr_cassettes/whm/transfer_tool/start.yml
674
685
  - spec/vcr_cassettes/whm/transfer_tool/enqueue.yml
675
- - spec/vcr_cassettes/whm/transfer_tool/pause.yml
686
+ - spec/vcr_cassettes/whm/transfer_tool/create.yml
676
687
  - 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
+ - spec/vcr_cassettes/whm/transfer_tool/pause.yml
689
+ - spec/vcr_cassettes/whostmgr/ssl/remove_data.yml
680
690
  - spec/vcr_cassettes/whostmgr/ssl/create.yml
681
691
  - spec/vcr_cassettes/whostmgr/ssl/remove.yml
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
692
+ - spec/spec_helper.rb
691
693
  - spec/whostmgr/ssl_spec.rb