lumberg 1.1.1 → 2.0.0.pre3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (175) hide show
  1. checksums.yaml +7 -0
  2. data/.travis.yml +1 -6
  3. data/README.md +130 -23
  4. data/lib/lumberg.rb +2 -0
  5. data/lib/lumberg/cpanel.rb +29 -0
  6. data/lib/lumberg/cpanel/addon_domain.rb +50 -0
  7. data/lib/lumberg/cpanel/backups.rb +16 -0
  8. data/lib/lumberg/cpanel/base.rb +56 -0
  9. data/lib/lumberg/cpanel/box_trapper.rb +18 -0
  10. data/lib/lumberg/cpanel/branding.rb +89 -0
  11. data/lib/lumberg/cpanel/contact.rb +38 -0
  12. data/lib/lumberg/cpanel/cron.rb +89 -0
  13. data/lib/lumberg/cpanel/dns_lookup.rb +23 -0
  14. data/lib/lumberg/cpanel/domain_keys.rb +37 -0
  15. data/lib/lumberg/cpanel/domain_lookup.rb +71 -0
  16. data/lib/lumberg/cpanel/email.rb +491 -0
  17. data/lib/lumberg/cpanel/file_manager.rb +146 -0
  18. data/lib/lumberg/cpanel/gpg.rb +36 -0
  19. data/lib/lumberg/cpanel/locale.rb +15 -0
  20. data/lib/lumberg/cpanel/mime.rb +34 -0
  21. data/lib/lumberg/cpanel/mysql.rb +66 -0
  22. data/lib/lumberg/cpanel/net.rb +28 -0
  23. data/lib/lumberg/cpanel/park.rb +58 -0
  24. data/lib/lumberg/cpanel/password.rb +52 -0
  25. data/lib/lumberg/cpanel/random_data.rb +25 -0
  26. data/lib/lumberg/cpanel/redirect.rb +44 -0
  27. data/lib/lumberg/cpanel/ssl.rb +198 -0
  28. data/lib/lumberg/cpanel/sub_domain.rb +61 -0
  29. data/lib/lumberg/cpanel/support.rb +29 -0
  30. data/lib/lumberg/cpanel/zone_edit.rb +134 -0
  31. data/lib/lumberg/format_whm.rb +24 -1
  32. data/lib/lumberg/version.rb +1 -1
  33. data/lib/lumberg/whm.rb +2 -1
  34. data/lib/lumberg/whm/account.rb +4 -4
  35. data/lib/lumberg/whm/cert.rb +69 -0
  36. data/lib/lumberg/whm/dns.rb +28 -4
  37. data/lib/lumberg/whm/reseller.rb +4 -4
  38. data/lib/lumberg/whm/server.rb +64 -15
  39. data/lumberg.gemspec +4 -3
  40. data/spec/config_spec.rb +2 -2
  41. data/spec/cpanel/addon_domain_spec.rb +84 -0
  42. data/spec/cpanel/backups_spec.rb +22 -0
  43. data/spec/cpanel/base_spec.rb +128 -0
  44. data/spec/cpanel/box_trapper_spec.rb +22 -0
  45. data/spec/cpanel/branding_spec.rb +46 -0
  46. data/spec/cpanel/contact_spec.rb +50 -0
  47. data/spec/cpanel/cron_spec.rb +161 -0
  48. data/spec/cpanel/dns_lookup_spec.rb +22 -0
  49. data/spec/cpanel/domain_keys_spec.rb +46 -0
  50. data/spec/cpanel/domain_lookup_spec.rb +77 -0
  51. data/spec/cpanel/email_spec.rb +615 -0
  52. data/spec/cpanel/file_manager_spec.rb +73 -0
  53. data/spec/cpanel/gpg_spec.rb +48 -0
  54. data/spec/cpanel/locale_spec.rb +23 -0
  55. data/spec/cpanel/mime_spec.rb +0 -0
  56. data/spec/cpanel/mysql_spec.rb +0 -0
  57. data/spec/cpanel/net_spec.rb +30 -0
  58. data/spec/cpanel/park_spec.rb +94 -0
  59. data/spec/cpanel/password_spec.rb +35 -0
  60. data/spec/cpanel/random_data_spec.rb +24 -0
  61. data/spec/cpanel/redirect_spec.rb +0 -0
  62. data/spec/cpanel/ssl_spec.rb +138 -0
  63. data/spec/cpanel/sub_domain_spec.rb +72 -0
  64. data/spec/cpanel/support_spec.rb +38 -0
  65. data/spec/cpanel/zone_edit_spec.rb +0 -0
  66. data/spec/sample_certs/cpanel.crt +28 -0
  67. data/spec/sample_certs/cpanel.key +28 -0
  68. data/spec/sample_certs/main.crt +27 -0
  69. data/spec/sample_certs/sample.crt +26 -0
  70. data/spec/sample_certs/sample.key +27 -0
  71. data/spec/spec_helper.rb +7 -1
  72. data/spec/support/cpanel_matchers.rb +17 -0
  73. data/spec/vcr_cassettes/cpanel/addon_domain/add.yml +77 -0
  74. data/spec/vcr_cassettes/cpanel/addon_domain/list.yml +77 -0
  75. data/spec/vcr_cassettes/cpanel/addon_domain/remove.yml +77 -0
  76. data/spec/vcr_cassettes/cpanel/backups/list.yml +40 -0
  77. data/spec/vcr_cassettes/cpanel/box_trapper/list.yml +40 -0
  78. data/spec/vcr_cassettes/cpanel/branding/list_icons.yml +40 -0
  79. data/spec/vcr_cassettes/cpanel/branding/list_image_types.yml +40 -0
  80. data/spec/vcr_cassettes/cpanel/branding/list_object_types.yml +40 -0
  81. data/spec/vcr_cassettes/cpanel/branding/list_pkgs.yml +40 -0
  82. data/spec/vcr_cassettes/cpanel/branding/list_sprites.yml +40 -0
  83. data/spec/vcr_cassettes/cpanel/contact/show.yml +40 -0
  84. data/spec/vcr_cassettes/cpanel/contact/update.yml +40 -0
  85. data/spec/vcr_cassettes/cpanel/cron/add.yml +77 -0
  86. data/spec/vcr_cassettes/cpanel/cron/edit.yml +114 -0
  87. data/spec/vcr_cassettes/cpanel/cron/email.yml +77 -0
  88. data/spec/vcr_cassettes/cpanel/cron/list.yml +77 -0
  89. data/spec/vcr_cassettes/cpanel/cron/remove.yml +151 -0
  90. data/spec/vcr_cassettes/cpanel/cron/set_email.yml +77 -0
  91. data/spec/vcr_cassettes/cpanel/dns_lookup/name_to_ip.yml +40 -0
  92. data/spec/vcr_cassettes/cpanel/domain_keys/add.yml +40 -0
  93. data/spec/vcr_cassettes/cpanel/domain_keys/available.yml +40 -0
  94. data/spec/vcr_cassettes/cpanel/domain_keys/installed.yml +40 -0
  95. data/spec/vcr_cassettes/cpanel/domain_keys/remove.yml +40 -0
  96. data/spec/vcr_cassettes/cpanel/domain_lookup/count.yml +40 -0
  97. data/spec/vcr_cassettes/cpanel/domain_lookup/docroot.yml +40 -0
  98. data/spec/vcr_cassettes/cpanel/domain_lookup/docroots.yml +40 -0
  99. data/spec/vcr_cassettes/cpanel/domain_lookup/document_root.yml +40 -0
  100. data/spec/vcr_cassettes/cpanel/domain_lookup/document_roots.yml +40 -0
  101. data/spec/vcr_cassettes/cpanel/domain_lookup/list.yml +40 -0
  102. data/spec/vcr_cassettes/cpanel/email/acceptable_encodings.yml +40 -0
  103. data/spec/vcr_cassettes/cpanel/email/accounts.yml +188 -0
  104. data/spec/vcr_cassettes/cpanel/email/add_account.yml +77 -0
  105. data/spec/vcr_cassettes/cpanel/email/add_filter.yml +77 -0
  106. data/spec/vcr_cassettes/cpanel/email/add_forwarder.yml +77 -0
  107. data/spec/vcr_cassettes/cpanel/email/add_mailing_list.yml +73 -0
  108. data/spec/vcr_cassettes/cpanel/email/add_mx.yml +40 -0
  109. data/spec/vcr_cassettes/cpanel/email/change_mx.yml +40 -0
  110. data/spec/vcr_cassettes/cpanel/email/check_local_delivery_local.yml +77 -0
  111. data/spec/vcr_cassettes/cpanel/email/check_local_delivery_remote.yml +77 -0
  112. data/spec/vcr_cassettes/cpanel/email/default_address.yml +40 -0
  113. data/spec/vcr_cassettes/cpanel/email/delete_mx.yml +40 -0
  114. data/spec/vcr_cassettes/cpanel/email/disk_usage.yml +77 -0
  115. data/spec/vcr_cassettes/cpanel/email/domains.yml +40 -0
  116. data/spec/vcr_cassettes/cpanel/email/domains_with_aliases.yml +77 -0
  117. data/spec/vcr_cassettes/cpanel/email/edit_quota.yml +112 -0
  118. data/spec/vcr_cassettes/cpanel/email/filters.yml +114 -0
  119. data/spec/vcr_cassettes/cpanel/email/forwarders.yml +77 -0
  120. data/spec/vcr_cassettes/cpanel/email/mail_dir.yml +77 -0
  121. data/spec/vcr_cassettes/cpanel/email/mail_dirs.yml +77 -0
  122. data/spec/vcr_cassettes/cpanel/email/mailing_lists.yml +73 -0
  123. data/spec/vcr_cassettes/cpanel/email/main_discard.yml +40 -0
  124. data/spec/vcr_cassettes/cpanel/email/mx.yml +40 -0
  125. data/spec/vcr_cassettes/cpanel/email/remove.yml +77 -0
  126. data/spec/vcr_cassettes/cpanel/email/set_mail_delivery_local.yml +77 -0
  127. data/spec/vcr_cassettes/cpanel/email/set_mail_delivery_remote.yml +77 -0
  128. data/spec/vcr_cassettes/cpanel/email/set_mx_type.yml +40 -0
  129. data/spec/vcr_cassettes/cpanel/file_manager/disk_usage.yml +38 -0
  130. data/spec/vcr_cassettes/cpanel/file_manager/list.yml +38 -0
  131. data/spec/vcr_cassettes/cpanel/file_manager/operate.yml +77 -0
  132. data/spec/vcr_cassettes/cpanel/file_manager/show.yml +40 -0
  133. data/spec/vcr_cassettes/cpanel/file_manager/stat.yml +38 -0
  134. data/spec/vcr_cassettes/cpanel/gpg/count.yml +40 -0
  135. data/spec/vcr_cassettes/cpanel/gpg/count_private.yml +40 -0
  136. data/spec/vcr_cassettes/cpanel/gpg/list.yml +40 -0
  137. data/spec/vcr_cassettes/cpanel/gpg/list_private.yml +40 -0
  138. data/spec/vcr_cassettes/cpanel/locale/show.yml +40 -0
  139. data/spec/vcr_cassettes/cpanel/net/query_hostname.yml +40 -0
  140. data/spec/vcr_cassettes/cpanel/net/traceroute.yml +40 -0
  141. data/spec/vcr_cassettes/cpanel/park/add.yml +77 -0
  142. data/spec/vcr_cassettes/cpanel/park/list.yml +77 -0
  143. data/spec/vcr_cassettes/cpanel/park/list_addon_domains.yml +77 -0
  144. data/spec/vcr_cassettes/cpanel/park/remove.yml +77 -0
  145. data/spec/vcr_cassettes/cpanel/password/digest_authentication.yml +77 -0
  146. data/spec/vcr_cassettes/cpanel/password/modify.yml +77 -0
  147. data/spec/vcr_cassettes/cpanel/random_data/show.yml +40 -0
  148. data/spec/vcr_cassettes/cpanel/ssl/fetchcabundle.yml +40 -0
  149. data/spec/vcr_cassettes/cpanel/ssl/gencrt.yml +40 -0
  150. data/spec/vcr_cassettes/cpanel/ssl/gencsr.yml +40 -0
  151. data/spec/vcr_cassettes/cpanel/ssl/genkey.yml +40 -0
  152. data/spec/vcr_cassettes/cpanel/ssl/installssl.yml +40 -0
  153. data/spec/vcr_cassettes/cpanel/ssl/listcrts.yml +40 -0
  154. data/spec/vcr_cassettes/cpanel/ssl/listcsrs.yml +40 -0
  155. data/spec/vcr_cassettes/cpanel/ssl/listkeys.yml +40 -0
  156. data/spec/vcr_cassettes/cpanel/ssl/listsslitems.yml +40 -0
  157. data/spec/vcr_cassettes/cpanel/ssl/showcrt.yml +38 -0
  158. data/spec/vcr_cassettes/cpanel/ssl/showcsr.yml +38 -0
  159. data/spec/vcr_cassettes/cpanel/ssl/showkey.yml +38 -0
  160. data/spec/vcr_cassettes/cpanel/ssl/uploadcrt.yml +40 -0
  161. data/spec/vcr_cassettes/cpanel/sub_domain/add.yml +77 -0
  162. data/spec/vcr_cassettes/cpanel/sub_domain/list.yml +77 -0
  163. data/spec/vcr_cassettes/cpanel/sub_domain/remove.yml +77 -0
  164. data/spec/vcr_cassettes/cpanel/support/contactable.yml +40 -0
  165. data/spec/vcr_cassettes/whm/cert/fetchsslinfo.yml +38 -0
  166. data/spec/vcr_cassettes/whm/cert/generatessl.yml +38 -0
  167. data/spec/vcr_cassettes/whm/cert/installssl.yml +38 -0
  168. data/spec/vcr_cassettes/whm/cert/listcrts.yml +38 -0
  169. data/spec/vcr_cassettes/whm/server/gettweaksetting.yml +44 -0
  170. data/spec/vcr_cassettes/whm/server/settweaksetting.yml +44 -0
  171. data/spec/vcr_cassettes/whm/server/themes.yml +38 -0
  172. data/spec/whm/cert_spec.rb +62 -0
  173. data/spec/whm/server_spec.rb +79 -3
  174. metadata +376 -34
  175. data/.rvmrc +0 -49
metadata CHANGED
@@ -1,20 +1,18 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lumberg
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
5
- prerelease:
4
+ version: 2.0.0.pre3
6
5
  platform: ruby
7
6
  authors:
8
7
  - Justin Mazzi
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2012-08-30 00:00:00.000000000 Z
11
+ date: 2013-09-10 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: json
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
17
  - - ~>
20
18
  - !ruby/object:Gem::Version
@@ -22,7 +20,6 @@ dependencies:
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
24
  - - ~>
28
25
  - !ruby/object:Gem::Version
@@ -30,39 +27,34 @@ dependencies:
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: faraday
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
31
  - - ~>
36
32
  - !ruby/object:Gem::Version
37
- version: 0.8.1
33
+ version: 0.8.8
38
34
  type: :runtime
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
38
  - - ~>
44
39
  - !ruby/object:Gem::Version
45
- version: 0.8.1
40
+ version: 0.8.8
46
41
  - !ruby/object:Gem::Dependency
47
42
  name: faraday_middleware
48
43
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
44
  requirements:
51
45
  - - ~>
52
46
  - !ruby/object:Gem::Version
53
- version: 0.8.4
47
+ version: 0.9.0
54
48
  type: :runtime
55
49
  prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
51
  requirements:
59
52
  - - ~>
60
53
  - !ruby/object:Gem::Version
61
- version: 0.8.4
54
+ version: 0.9.0
62
55
  - !ruby/object:Gem::Dependency
63
56
  name: rspec
64
57
  requirement: !ruby/object:Gem::Requirement
65
- none: false
66
58
  requirements:
67
59
  - - ~>
68
60
  - !ruby/object:Gem::Version
@@ -70,7 +62,6 @@ dependencies:
70
62
  type: :development
71
63
  prerelease: false
72
64
  version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
65
  requirements:
75
66
  - - ~>
76
67
  - !ruby/object:Gem::Version
@@ -78,7 +69,6 @@ dependencies:
78
69
  - !ruby/object:Gem::Dependency
79
70
  name: webmock
80
71
  requirement: !ruby/object:Gem::Requirement
81
- none: false
82
72
  requirements:
83
73
  - - ~>
84
74
  - !ruby/object:Gem::Version
@@ -86,7 +76,6 @@ dependencies:
86
76
  type: :development
87
77
  prerelease: false
88
78
  version_requirements: !ruby/object:Gem::Requirement
89
- none: false
90
79
  requirements:
91
80
  - - ~>
92
81
  - !ruby/object:Gem::Version
@@ -94,23 +83,20 @@ dependencies:
94
83
  - !ruby/object:Gem::Dependency
95
84
  name: vcr
96
85
  requirement: !ruby/object:Gem::Requirement
97
- none: false
98
86
  requirements:
99
87
  - - ~>
100
88
  - !ruby/object:Gem::Version
101
- version: 2.0.0rc2
89
+ version: 2.4.0
102
90
  type: :development
103
91
  prerelease: false
104
92
  version_requirements: !ruby/object:Gem::Requirement
105
- none: false
106
93
  requirements:
107
94
  - - ~>
108
95
  - !ruby/object:Gem::Version
109
- version: 2.0.0rc2
96
+ version: 2.4.0
110
97
  - !ruby/object:Gem::Dependency
111
98
  name: rake
112
99
  requirement: !ruby/object:Gem::Requirement
113
- none: false
114
100
  requirements:
115
101
  - - ~>
116
102
  - !ruby/object:Gem::Version
@@ -118,7 +104,6 @@ dependencies:
118
104
  type: :development
119
105
  prerelease: false
120
106
  version_requirements: !ruby/object:Gem::Requirement
121
- none: false
122
107
  requirements:
123
108
  - - ~>
124
109
  - !ruby/object:Gem::Version
@@ -133,7 +118,6 @@ extra_rdoc_files: []
133
118
  files:
134
119
  - .gitignore
135
120
  - .rspec
136
- - .rvmrc
137
121
  - .travis.yml
138
122
  - Gemfile
139
123
  - LICENSE
@@ -142,19 +126,169 @@ files:
142
126
  - lib/cacert.pem
143
127
  - lib/lumberg.rb
144
128
  - lib/lumberg/config.rb
129
+ - lib/lumberg/cpanel.rb
130
+ - lib/lumberg/cpanel/addon_domain.rb
131
+ - lib/lumberg/cpanel/backups.rb
132
+ - lib/lumberg/cpanel/base.rb
133
+ - lib/lumberg/cpanel/box_trapper.rb
134
+ - lib/lumberg/cpanel/branding.rb
135
+ - lib/lumberg/cpanel/contact.rb
136
+ - lib/lumberg/cpanel/cron.rb
137
+ - lib/lumberg/cpanel/dns_lookup.rb
138
+ - lib/lumberg/cpanel/domain_keys.rb
139
+ - lib/lumberg/cpanel/domain_lookup.rb
140
+ - lib/lumberg/cpanel/email.rb
141
+ - lib/lumberg/cpanel/file_manager.rb
142
+ - lib/lumberg/cpanel/gpg.rb
143
+ - lib/lumberg/cpanel/locale.rb
144
+ - lib/lumberg/cpanel/mime.rb
145
+ - lib/lumberg/cpanel/mysql.rb
146
+ - lib/lumberg/cpanel/net.rb
147
+ - lib/lumberg/cpanel/park.rb
148
+ - lib/lumberg/cpanel/password.rb
149
+ - lib/lumberg/cpanel/random_data.rb
150
+ - lib/lumberg/cpanel/redirect.rb
151
+ - lib/lumberg/cpanel/ssl.rb
152
+ - lib/lumberg/cpanel/sub_domain.rb
153
+ - lib/lumberg/cpanel/support.rb
154
+ - lib/lumberg/cpanel/zone_edit.rb
145
155
  - lib/lumberg/exceptions.rb
146
156
  - lib/lumberg/format_whm.rb
147
157
  - lib/lumberg/version.rb
148
158
  - lib/lumberg/whm.rb
149
159
  - lib/lumberg/whm/account.rb
150
160
  - lib/lumberg/whm/base.rb
161
+ - lib/lumberg/whm/cert.rb
151
162
  - lib/lumberg/whm/dns.rb
152
163
  - lib/lumberg/whm/reseller.rb
153
164
  - lib/lumberg/whm/server.rb
154
165
  - lumberg.gemspec
155
166
  - spec/config_spec.rb
167
+ - spec/cpanel/addon_domain_spec.rb
168
+ - spec/cpanel/backups_spec.rb
169
+ - spec/cpanel/base_spec.rb
170
+ - spec/cpanel/box_trapper_spec.rb
171
+ - spec/cpanel/branding_spec.rb
172
+ - spec/cpanel/contact_spec.rb
173
+ - spec/cpanel/cron_spec.rb
174
+ - spec/cpanel/dns_lookup_spec.rb
175
+ - spec/cpanel/domain_keys_spec.rb
176
+ - spec/cpanel/domain_lookup_spec.rb
177
+ - spec/cpanel/email_spec.rb
178
+ - spec/cpanel/file_manager_spec.rb
179
+ - spec/cpanel/gpg_spec.rb
180
+ - spec/cpanel/locale_spec.rb
181
+ - spec/cpanel/mime_spec.rb
182
+ - spec/cpanel/mysql_spec.rb
183
+ - spec/cpanel/net_spec.rb
184
+ - spec/cpanel/park_spec.rb
185
+ - spec/cpanel/password_spec.rb
186
+ - spec/cpanel/random_data_spec.rb
187
+ - spec/cpanel/redirect_spec.rb
188
+ - spec/cpanel/ssl_spec.rb
189
+ - spec/cpanel/sub_domain_spec.rb
190
+ - spec/cpanel/support_spec.rb
191
+ - spec/cpanel/zone_edit_spec.rb
156
192
  - spec/lumberg_spec.rb
193
+ - spec/sample_certs/cpanel.crt
194
+ - spec/sample_certs/cpanel.key
195
+ - spec/sample_certs/main.crt
196
+ - spec/sample_certs/sample.crt
197
+ - spec/sample_certs/sample.key
157
198
  - spec/spec_helper.rb
199
+ - spec/support/cpanel_matchers.rb
200
+ - spec/vcr_cassettes/cpanel/addon_domain/add.yml
201
+ - spec/vcr_cassettes/cpanel/addon_domain/list.yml
202
+ - spec/vcr_cassettes/cpanel/addon_domain/remove.yml
203
+ - spec/vcr_cassettes/cpanel/backups/list.yml
204
+ - spec/vcr_cassettes/cpanel/box_trapper/list.yml
205
+ - spec/vcr_cassettes/cpanel/branding/list_icons.yml
206
+ - spec/vcr_cassettes/cpanel/branding/list_image_types.yml
207
+ - spec/vcr_cassettes/cpanel/branding/list_object_types.yml
208
+ - spec/vcr_cassettes/cpanel/branding/list_pkgs.yml
209
+ - spec/vcr_cassettes/cpanel/branding/list_sprites.yml
210
+ - spec/vcr_cassettes/cpanel/contact/show.yml
211
+ - spec/vcr_cassettes/cpanel/contact/update.yml
212
+ - spec/vcr_cassettes/cpanel/cron/add.yml
213
+ - spec/vcr_cassettes/cpanel/cron/edit.yml
214
+ - spec/vcr_cassettes/cpanel/cron/email.yml
215
+ - spec/vcr_cassettes/cpanel/cron/list.yml
216
+ - spec/vcr_cassettes/cpanel/cron/remove.yml
217
+ - spec/vcr_cassettes/cpanel/cron/set_email.yml
218
+ - spec/vcr_cassettes/cpanel/dns_lookup/name_to_ip.yml
219
+ - spec/vcr_cassettes/cpanel/domain_keys/add.yml
220
+ - spec/vcr_cassettes/cpanel/domain_keys/available.yml
221
+ - spec/vcr_cassettes/cpanel/domain_keys/installed.yml
222
+ - spec/vcr_cassettes/cpanel/domain_keys/remove.yml
223
+ - spec/vcr_cassettes/cpanel/domain_lookup/count.yml
224
+ - spec/vcr_cassettes/cpanel/domain_lookup/docroot.yml
225
+ - spec/vcr_cassettes/cpanel/domain_lookup/docroots.yml
226
+ - spec/vcr_cassettes/cpanel/domain_lookup/document_root.yml
227
+ - spec/vcr_cassettes/cpanel/domain_lookup/document_roots.yml
228
+ - spec/vcr_cassettes/cpanel/domain_lookup/list.yml
229
+ - spec/vcr_cassettes/cpanel/email/acceptable_encodings.yml
230
+ - spec/vcr_cassettes/cpanel/email/accounts.yml
231
+ - spec/vcr_cassettes/cpanel/email/add_account.yml
232
+ - spec/vcr_cassettes/cpanel/email/add_filter.yml
233
+ - spec/vcr_cassettes/cpanel/email/add_forwarder.yml
234
+ - spec/vcr_cassettes/cpanel/email/add_mailing_list.yml
235
+ - spec/vcr_cassettes/cpanel/email/add_mx.yml
236
+ - spec/vcr_cassettes/cpanel/email/change_mx.yml
237
+ - spec/vcr_cassettes/cpanel/email/check_local_delivery_local.yml
238
+ - spec/vcr_cassettes/cpanel/email/check_local_delivery_remote.yml
239
+ - spec/vcr_cassettes/cpanel/email/default_address.yml
240
+ - spec/vcr_cassettes/cpanel/email/delete_mx.yml
241
+ - spec/vcr_cassettes/cpanel/email/disk_usage.yml
242
+ - spec/vcr_cassettes/cpanel/email/domains.yml
243
+ - spec/vcr_cassettes/cpanel/email/domains_with_aliases.yml
244
+ - spec/vcr_cassettes/cpanel/email/edit_quota.yml
245
+ - spec/vcr_cassettes/cpanel/email/filters.yml
246
+ - spec/vcr_cassettes/cpanel/email/forwarders.yml
247
+ - spec/vcr_cassettes/cpanel/email/mail_dir.yml
248
+ - spec/vcr_cassettes/cpanel/email/mail_dirs.yml
249
+ - spec/vcr_cassettes/cpanel/email/mailing_lists.yml
250
+ - spec/vcr_cassettes/cpanel/email/main_discard.yml
251
+ - spec/vcr_cassettes/cpanel/email/mx.yml
252
+ - spec/vcr_cassettes/cpanel/email/remove.yml
253
+ - spec/vcr_cassettes/cpanel/email/set_mail_delivery_local.yml
254
+ - spec/vcr_cassettes/cpanel/email/set_mail_delivery_remote.yml
255
+ - spec/vcr_cassettes/cpanel/email/set_mx_type.yml
256
+ - spec/vcr_cassettes/cpanel/file_manager/disk_usage.yml
257
+ - spec/vcr_cassettes/cpanel/file_manager/list.yml
258
+ - spec/vcr_cassettes/cpanel/file_manager/operate.yml
259
+ - spec/vcr_cassettes/cpanel/file_manager/show.yml
260
+ - spec/vcr_cassettes/cpanel/file_manager/stat.yml
261
+ - spec/vcr_cassettes/cpanel/gpg/count.yml
262
+ - spec/vcr_cassettes/cpanel/gpg/count_private.yml
263
+ - spec/vcr_cassettes/cpanel/gpg/list.yml
264
+ - spec/vcr_cassettes/cpanel/gpg/list_private.yml
265
+ - spec/vcr_cassettes/cpanel/locale/show.yml
266
+ - spec/vcr_cassettes/cpanel/net/query_hostname.yml
267
+ - spec/vcr_cassettes/cpanel/net/traceroute.yml
268
+ - spec/vcr_cassettes/cpanel/park/add.yml
269
+ - spec/vcr_cassettes/cpanel/park/list.yml
270
+ - spec/vcr_cassettes/cpanel/park/list_addon_domains.yml
271
+ - spec/vcr_cassettes/cpanel/park/remove.yml
272
+ - spec/vcr_cassettes/cpanel/password/digest_authentication.yml
273
+ - spec/vcr_cassettes/cpanel/password/modify.yml
274
+ - spec/vcr_cassettes/cpanel/random_data/show.yml
275
+ - spec/vcr_cassettes/cpanel/ssl/fetchcabundle.yml
276
+ - spec/vcr_cassettes/cpanel/ssl/gencrt.yml
277
+ - spec/vcr_cassettes/cpanel/ssl/gencsr.yml
278
+ - spec/vcr_cassettes/cpanel/ssl/genkey.yml
279
+ - spec/vcr_cassettes/cpanel/ssl/installssl.yml
280
+ - spec/vcr_cassettes/cpanel/ssl/listcrts.yml
281
+ - spec/vcr_cassettes/cpanel/ssl/listcsrs.yml
282
+ - spec/vcr_cassettes/cpanel/ssl/listkeys.yml
283
+ - spec/vcr_cassettes/cpanel/ssl/listsslitems.yml
284
+ - spec/vcr_cassettes/cpanel/ssl/showcrt.yml
285
+ - spec/vcr_cassettes/cpanel/ssl/showcsr.yml
286
+ - spec/vcr_cassettes/cpanel/ssl/showkey.yml
287
+ - spec/vcr_cassettes/cpanel/ssl/uploadcrt.yml
288
+ - spec/vcr_cassettes/cpanel/sub_domain/add.yml
289
+ - spec/vcr_cassettes/cpanel/sub_domain/list.yml
290
+ - spec/vcr_cassettes/cpanel/sub_domain/remove.yml
291
+ - spec/vcr_cassettes/cpanel/support/contactable.yml
158
292
  - spec/vcr_cassettes/whm/account/accountsummary.yml
159
293
  - spec/vcr_cassettes/whm/account/changepackage.yml
160
294
  - spec/vcr_cassettes/whm/account/createacct.yml
@@ -171,6 +305,10 @@ files:
171
305
  - spec/vcr_cassettes/whm/account/setsiteip.yml
172
306
  - spec/vcr_cassettes/whm/account/suspend.yml
173
307
  - spec/vcr_cassettes/whm/account/unsuspend.yml
308
+ - spec/vcr_cassettes/whm/cert/fetchsslinfo.yml
309
+ - spec/vcr_cassettes/whm/cert/generatessl.yml
310
+ - spec/vcr_cassettes/whm/cert/installssl.yml
311
+ - spec/vcr_cassettes/whm/cert/listcrts.yml
174
312
  - spec/vcr_cassettes/whm/dns/adddns.yml
175
313
  - spec/vcr_cassettes/whm/dns/addzonerecord.yml
176
314
  - spec/vcr_cassettes/whm/dns/dumpzone.yml
@@ -205,6 +343,7 @@ files:
205
343
  - spec/vcr_cassettes/whm/server/delip.yml
206
344
  - spec/vcr_cassettes/whm/server/gethostname.yml
207
345
  - spec/vcr_cassettes/whm/server/getlanglist.yml
346
+ - spec/vcr_cassettes/whm/server/gettweaksetting.yml
208
347
  - spec/vcr_cassettes/whm/server/listips.yml
209
348
  - spec/vcr_cassettes/whm/server/loadavg.yml
210
349
  - spec/vcr_cassettes/whm/server/my_function.yml
@@ -213,38 +352,241 @@ files:
213
352
  - spec/vcr_cassettes/whm/server/reboot.yml
214
353
  - spec/vcr_cassettes/whm/server/sethostname.yml
215
354
  - spec/vcr_cassettes/whm/server/setresolvers.yml
355
+ - spec/vcr_cassettes/whm/server/settweaksetting.yml
216
356
  - spec/vcr_cassettes/whm/server/showbw.yml
217
357
  - spec/vcr_cassettes/whm/server/systemloadavg.yml
358
+ - spec/vcr_cassettes/whm/server/themes.yml
218
359
  - spec/vcr_cassettes/whm/server/version.yml
219
360
  - spec/whm/account_spec.rb
220
361
  - spec/whm/base_spec.rb
362
+ - spec/whm/cert_spec.rb
221
363
  - spec/whm/dns_spec.rb
222
364
  - spec/whm/reseller_spec.rb
223
365
  - spec/whm/server_spec.rb
224
366
  - spec/whm/whm_spec.rb
225
367
  homepage: ''
226
- licenses: []
368
+ licenses:
369
+ - MIT
370
+ metadata: {}
227
371
  post_install_message:
228
372
  rdoc_options: []
229
373
  require_paths:
230
374
  - lib
231
375
  required_ruby_version: !ruby/object:Gem::Requirement
232
- none: false
233
376
  requirements:
234
- - - ! '>='
377
+ - - '>='
235
378
  - !ruby/object:Gem::Version
236
379
  version: '0'
237
380
  required_rubygems_version: !ruby/object:Gem::Requirement
238
- none: false
239
381
  requirements:
240
- - - ! '>='
382
+ - - '>'
241
383
  - !ruby/object:Gem::Version
242
- version: '0'
384
+ version: 1.3.1
243
385
  requirements: []
244
386
  rubyforge_project: lumberg
245
- rubygems_version: 1.8.23
387
+ rubygems_version: 2.1.0
246
388
  signing_key:
247
- specification_version: 3
389
+ specification_version: 4
248
390
  summary: Ruby library for the WHM & cPanel API
249
- test_files: []
250
- has_rdoc:
391
+ test_files:
392
+ - spec/config_spec.rb
393
+ - spec/cpanel/addon_domain_spec.rb
394
+ - spec/cpanel/backups_spec.rb
395
+ - spec/cpanel/base_spec.rb
396
+ - spec/cpanel/box_trapper_spec.rb
397
+ - spec/cpanel/branding_spec.rb
398
+ - spec/cpanel/contact_spec.rb
399
+ - spec/cpanel/cron_spec.rb
400
+ - spec/cpanel/dns_lookup_spec.rb
401
+ - spec/cpanel/domain_keys_spec.rb
402
+ - spec/cpanel/domain_lookup_spec.rb
403
+ - spec/cpanel/email_spec.rb
404
+ - spec/cpanel/file_manager_spec.rb
405
+ - spec/cpanel/gpg_spec.rb
406
+ - spec/cpanel/locale_spec.rb
407
+ - spec/cpanel/mime_spec.rb
408
+ - spec/cpanel/mysql_spec.rb
409
+ - spec/cpanel/net_spec.rb
410
+ - spec/cpanel/park_spec.rb
411
+ - spec/cpanel/password_spec.rb
412
+ - spec/cpanel/random_data_spec.rb
413
+ - spec/cpanel/redirect_spec.rb
414
+ - spec/cpanel/ssl_spec.rb
415
+ - spec/cpanel/sub_domain_spec.rb
416
+ - spec/cpanel/support_spec.rb
417
+ - spec/cpanel/zone_edit_spec.rb
418
+ - spec/lumberg_spec.rb
419
+ - spec/sample_certs/cpanel.crt
420
+ - spec/sample_certs/cpanel.key
421
+ - spec/sample_certs/main.crt
422
+ - spec/sample_certs/sample.crt
423
+ - spec/sample_certs/sample.key
424
+ - spec/spec_helper.rb
425
+ - spec/support/cpanel_matchers.rb
426
+ - spec/vcr_cassettes/cpanel/addon_domain/add.yml
427
+ - spec/vcr_cassettes/cpanel/addon_domain/list.yml
428
+ - spec/vcr_cassettes/cpanel/addon_domain/remove.yml
429
+ - spec/vcr_cassettes/cpanel/backups/list.yml
430
+ - spec/vcr_cassettes/cpanel/box_trapper/list.yml
431
+ - spec/vcr_cassettes/cpanel/branding/list_icons.yml
432
+ - spec/vcr_cassettes/cpanel/branding/list_image_types.yml
433
+ - spec/vcr_cassettes/cpanel/branding/list_object_types.yml
434
+ - spec/vcr_cassettes/cpanel/branding/list_pkgs.yml
435
+ - spec/vcr_cassettes/cpanel/branding/list_sprites.yml
436
+ - spec/vcr_cassettes/cpanel/contact/show.yml
437
+ - spec/vcr_cassettes/cpanel/contact/update.yml
438
+ - spec/vcr_cassettes/cpanel/cron/add.yml
439
+ - spec/vcr_cassettes/cpanel/cron/edit.yml
440
+ - spec/vcr_cassettes/cpanel/cron/email.yml
441
+ - spec/vcr_cassettes/cpanel/cron/list.yml
442
+ - spec/vcr_cassettes/cpanel/cron/remove.yml
443
+ - spec/vcr_cassettes/cpanel/cron/set_email.yml
444
+ - spec/vcr_cassettes/cpanel/dns_lookup/name_to_ip.yml
445
+ - spec/vcr_cassettes/cpanel/domain_keys/add.yml
446
+ - spec/vcr_cassettes/cpanel/domain_keys/available.yml
447
+ - spec/vcr_cassettes/cpanel/domain_keys/installed.yml
448
+ - spec/vcr_cassettes/cpanel/domain_keys/remove.yml
449
+ - spec/vcr_cassettes/cpanel/domain_lookup/count.yml
450
+ - spec/vcr_cassettes/cpanel/domain_lookup/docroot.yml
451
+ - spec/vcr_cassettes/cpanel/domain_lookup/docroots.yml
452
+ - spec/vcr_cassettes/cpanel/domain_lookup/document_root.yml
453
+ - spec/vcr_cassettes/cpanel/domain_lookup/document_roots.yml
454
+ - spec/vcr_cassettes/cpanel/domain_lookup/list.yml
455
+ - spec/vcr_cassettes/cpanel/email/acceptable_encodings.yml
456
+ - spec/vcr_cassettes/cpanel/email/accounts.yml
457
+ - spec/vcr_cassettes/cpanel/email/add_account.yml
458
+ - spec/vcr_cassettes/cpanel/email/add_filter.yml
459
+ - spec/vcr_cassettes/cpanel/email/add_forwarder.yml
460
+ - spec/vcr_cassettes/cpanel/email/add_mailing_list.yml
461
+ - spec/vcr_cassettes/cpanel/email/add_mx.yml
462
+ - spec/vcr_cassettes/cpanel/email/change_mx.yml
463
+ - spec/vcr_cassettes/cpanel/email/check_local_delivery_local.yml
464
+ - spec/vcr_cassettes/cpanel/email/check_local_delivery_remote.yml
465
+ - spec/vcr_cassettes/cpanel/email/default_address.yml
466
+ - spec/vcr_cassettes/cpanel/email/delete_mx.yml
467
+ - spec/vcr_cassettes/cpanel/email/disk_usage.yml
468
+ - spec/vcr_cassettes/cpanel/email/domains.yml
469
+ - spec/vcr_cassettes/cpanel/email/domains_with_aliases.yml
470
+ - spec/vcr_cassettes/cpanel/email/edit_quota.yml
471
+ - spec/vcr_cassettes/cpanel/email/filters.yml
472
+ - spec/vcr_cassettes/cpanel/email/forwarders.yml
473
+ - spec/vcr_cassettes/cpanel/email/mail_dir.yml
474
+ - spec/vcr_cassettes/cpanel/email/mail_dirs.yml
475
+ - spec/vcr_cassettes/cpanel/email/mailing_lists.yml
476
+ - spec/vcr_cassettes/cpanel/email/main_discard.yml
477
+ - spec/vcr_cassettes/cpanel/email/mx.yml
478
+ - spec/vcr_cassettes/cpanel/email/remove.yml
479
+ - spec/vcr_cassettes/cpanel/email/set_mail_delivery_local.yml
480
+ - spec/vcr_cassettes/cpanel/email/set_mail_delivery_remote.yml
481
+ - spec/vcr_cassettes/cpanel/email/set_mx_type.yml
482
+ - spec/vcr_cassettes/cpanel/file_manager/disk_usage.yml
483
+ - spec/vcr_cassettes/cpanel/file_manager/list.yml
484
+ - spec/vcr_cassettes/cpanel/file_manager/operate.yml
485
+ - spec/vcr_cassettes/cpanel/file_manager/show.yml
486
+ - spec/vcr_cassettes/cpanel/file_manager/stat.yml
487
+ - spec/vcr_cassettes/cpanel/gpg/count.yml
488
+ - spec/vcr_cassettes/cpanel/gpg/count_private.yml
489
+ - spec/vcr_cassettes/cpanel/gpg/list.yml
490
+ - spec/vcr_cassettes/cpanel/gpg/list_private.yml
491
+ - spec/vcr_cassettes/cpanel/locale/show.yml
492
+ - spec/vcr_cassettes/cpanel/net/query_hostname.yml
493
+ - spec/vcr_cassettes/cpanel/net/traceroute.yml
494
+ - spec/vcr_cassettes/cpanel/park/add.yml
495
+ - spec/vcr_cassettes/cpanel/park/list.yml
496
+ - spec/vcr_cassettes/cpanel/park/list_addon_domains.yml
497
+ - spec/vcr_cassettes/cpanel/park/remove.yml
498
+ - spec/vcr_cassettes/cpanel/password/digest_authentication.yml
499
+ - spec/vcr_cassettes/cpanel/password/modify.yml
500
+ - spec/vcr_cassettes/cpanel/random_data/show.yml
501
+ - spec/vcr_cassettes/cpanel/ssl/fetchcabundle.yml
502
+ - spec/vcr_cassettes/cpanel/ssl/gencrt.yml
503
+ - spec/vcr_cassettes/cpanel/ssl/gencsr.yml
504
+ - spec/vcr_cassettes/cpanel/ssl/genkey.yml
505
+ - spec/vcr_cassettes/cpanel/ssl/installssl.yml
506
+ - spec/vcr_cassettes/cpanel/ssl/listcrts.yml
507
+ - spec/vcr_cassettes/cpanel/ssl/listcsrs.yml
508
+ - spec/vcr_cassettes/cpanel/ssl/listkeys.yml
509
+ - spec/vcr_cassettes/cpanel/ssl/listsslitems.yml
510
+ - spec/vcr_cassettes/cpanel/ssl/showcrt.yml
511
+ - spec/vcr_cassettes/cpanel/ssl/showcsr.yml
512
+ - spec/vcr_cassettes/cpanel/ssl/showkey.yml
513
+ - spec/vcr_cassettes/cpanel/ssl/uploadcrt.yml
514
+ - spec/vcr_cassettes/cpanel/sub_domain/add.yml
515
+ - spec/vcr_cassettes/cpanel/sub_domain/list.yml
516
+ - spec/vcr_cassettes/cpanel/sub_domain/remove.yml
517
+ - spec/vcr_cassettes/cpanel/support/contactable.yml
518
+ - spec/vcr_cassettes/whm/account/accountsummary.yml
519
+ - spec/vcr_cassettes/whm/account/changepackage.yml
520
+ - spec/vcr_cassettes/whm/account/createacct.yml
521
+ - spec/vcr_cassettes/whm/account/domainuserdata.yml
522
+ - spec/vcr_cassettes/whm/account/editquota.yml
523
+ - spec/vcr_cassettes/whm/account/limitbw.yml
524
+ - spec/vcr_cassettes/whm/account/listaccts.yml
525
+ - spec/vcr_cassettes/whm/account/listsuspended.yml
526
+ - spec/vcr_cassettes/whm/account/modifyacct.yml
527
+ - spec/vcr_cassettes/whm/account/myprivs.yml
528
+ - spec/vcr_cassettes/whm/account/passwd.yml
529
+ - spec/vcr_cassettes/whm/account/removeacct.yml
530
+ - spec/vcr_cassettes/whm/account/restoreaccount.yml
531
+ - spec/vcr_cassettes/whm/account/setsiteip.yml
532
+ - spec/vcr_cassettes/whm/account/suspend.yml
533
+ - spec/vcr_cassettes/whm/account/unsuspend.yml
534
+ - spec/vcr_cassettes/whm/cert/fetchsslinfo.yml
535
+ - spec/vcr_cassettes/whm/cert/generatessl.yml
536
+ - spec/vcr_cassettes/whm/cert/installssl.yml
537
+ - spec/vcr_cassettes/whm/cert/listcrts.yml
538
+ - spec/vcr_cassettes/whm/dns/adddns.yml
539
+ - spec/vcr_cassettes/whm/dns/addzonerecord.yml
540
+ - spec/vcr_cassettes/whm/dns/dumpzone.yml
541
+ - spec/vcr_cassettes/whm/dns/editzonerecord.yml
542
+ - spec/vcr_cassettes/whm/dns/getzonerecord.yml
543
+ - spec/vcr_cassettes/whm/dns/killdns.yml
544
+ - spec/vcr_cassettes/whm/dns/listmxs.yml
545
+ - spec/vcr_cassettes/whm/dns/listzones.yml
546
+ - spec/vcr_cassettes/whm/dns/lookupnsip.yml
547
+ - spec/vcr_cassettes/whm/dns/removezonerecord.yml
548
+ - spec/vcr_cassettes/whm/dns/resetzone.yml
549
+ - spec/vcr_cassettes/whm/dns/resolvedomainname.yml
550
+ - spec/vcr_cassettes/whm/dns/savemxs.yml
551
+ - spec/vcr_cassettes/whm/reseller/acctcounts.yml
552
+ - spec/vcr_cassettes/whm/reseller/listacls.yml
553
+ - spec/vcr_cassettes/whm/reseller/listresellers.yml
554
+ - spec/vcr_cassettes/whm/reseller/resellerstats.yml
555
+ - spec/vcr_cassettes/whm/reseller/saveacllist.yml
556
+ - spec/vcr_cassettes/whm/reseller/setacls.yml
557
+ - spec/vcr_cassettes/whm/reseller/setresellerips.yml
558
+ - spec/vcr_cassettes/whm/reseller/setresellerlimits.yml
559
+ - spec/vcr_cassettes/whm/reseller/setresellermainip.yml
560
+ - spec/vcr_cassettes/whm/reseller/setresellernameservers.yml
561
+ - spec/vcr_cassettes/whm/reseller/setresellerpackagelimit.yml
562
+ - spec/vcr_cassettes/whm/reseller/setupreseller.yml
563
+ - spec/vcr_cassettes/whm/reseller/suspendreseller.yml
564
+ - spec/vcr_cassettes/whm/reseller/terminatereseller.yml
565
+ - spec/vcr_cassettes/whm/reseller/unsetupreseller.yml
566
+ - spec/vcr_cassettes/whm/reseller/unsuspendreseller.yml
567
+ - spec/vcr_cassettes/whm/server/addip.yml
568
+ - spec/vcr_cassettes/whm/server/applist.yml
569
+ - spec/vcr_cassettes/whm/server/delip.yml
570
+ - spec/vcr_cassettes/whm/server/gethostname.yml
571
+ - spec/vcr_cassettes/whm/server/getlanglist.yml
572
+ - spec/vcr_cassettes/whm/server/gettweaksetting.yml
573
+ - spec/vcr_cassettes/whm/server/listips.yml
574
+ - spec/vcr_cassettes/whm/server/loadavg.yml
575
+ - spec/vcr_cassettes/whm/server/my_function.yml
576
+ - spec/vcr_cassettes/whm/server/nvget.yml
577
+ - spec/vcr_cassettes/whm/server/nvset.yml
578
+ - spec/vcr_cassettes/whm/server/reboot.yml
579
+ - spec/vcr_cassettes/whm/server/sethostname.yml
580
+ - spec/vcr_cassettes/whm/server/setresolvers.yml
581
+ - spec/vcr_cassettes/whm/server/settweaksetting.yml
582
+ - spec/vcr_cassettes/whm/server/showbw.yml
583
+ - spec/vcr_cassettes/whm/server/systemloadavg.yml
584
+ - spec/vcr_cassettes/whm/server/themes.yml
585
+ - spec/vcr_cassettes/whm/server/version.yml
586
+ - spec/whm/account_spec.rb
587
+ - spec/whm/base_spec.rb
588
+ - spec/whm/cert_spec.rb
589
+ - spec/whm/dns_spec.rb
590
+ - spec/whm/reseller_spec.rb
591
+ - spec/whm/server_spec.rb
592
+ - spec/whm/whm_spec.rb