groove-ey-core 3.6.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (541) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +23 -0
  3. data/.ruby-gemset +1 -0
  4. data/.ruby-version +1 -0
  5. data/.travis.yml +23 -0
  6. data/CHANGELOG.md +175 -0
  7. data/Gemfile +21 -0
  8. data/Guardfile +15 -0
  9. data/LICENSE.txt +19 -0
  10. data/README.md +78 -0
  11. data/Rakefile +18 -0
  12. data/bin/ey-core +4 -0
  13. data/examples/add_instance.rb +74 -0
  14. data/examples/boot_env.rb +60 -0
  15. data/examples/console/README.md +14 -0
  16. data/examples/console/address.md +51 -0
  17. data/examples/stop_env.rb +51 -0
  18. data/examples/terminate_instance.rb +62 -0
  19. data/ey-core.gemspec +51 -0
  20. data/features/accounts.feature +13 -0
  21. data/features/applications.feature +29 -0
  22. data/features/current_user.feature +14 -0
  23. data/features/docker_registry_credentials.feature +21 -0
  24. data/features/environment_variables.feature +54 -0
  25. data/features/environments.feature +30 -0
  26. data/features/init.feature +6 -0
  27. data/features/login.feature +6 -0
  28. data/features/scp.feature +6 -0
  29. data/features/step_definitions/accounts_steps.rb +37 -0
  30. data/features/step_definitions/applications_steps.rb +39 -0
  31. data/features/step_definitions/current_user_steps.rb +11 -0
  32. data/features/step_definitions/deprecated_command_steps.rb +3 -0
  33. data/features/step_definitions/docker_registry_credentials_steps.rb +3 -0
  34. data/features/step_definitions/environment_variables_steps.rb +51 -0
  35. data/features/step_definitions/environments_steps.rb +52 -0
  36. data/features/step_definitions/version_steps.rb +3 -0
  37. data/features/support/account_helpers.rb +89 -0
  38. data/features/support/app_helpers.rb +19 -0
  39. data/features/support/aruba.rb +1 -0
  40. data/features/support/boilerplate.rb +1 -0
  41. data/features/support/client_helpers.rb +36 -0
  42. data/features/support/config_file_helpers.rb +42 -0
  43. data/features/support/core.rb +19 -0
  44. data/features/support/deployment_helpers.rb +19 -0
  45. data/features/support/env.rb +40 -0
  46. data/features/support/environment_helpers.rb +23 -0
  47. data/features/support/environment_variable_helpers.rb +20 -0
  48. data/features/support/fake_kernel.rb +23 -0
  49. data/features/support/io.rb +5 -0
  50. data/features/support/mock_api.rb +21 -0
  51. data/features/support/output_helpers.rb +7 -0
  52. data/features/support/resource_helpers.rb +201 -0
  53. data/features/support/server_helpers.rb +27 -0
  54. data/features/version.feature +8 -0
  55. data/features/whoami.feature +14 -0
  56. data/lib/ey-core.rb +59 -0
  57. data/lib/ey-core/associations.rb +155 -0
  58. data/lib/ey-core/cli.rb +8 -0
  59. data/lib/ey-core/cli/accounts.rb +17 -0
  60. data/lib/ey-core/cli/applications.rb +36 -0
  61. data/lib/ey-core/cli/console.rb +28 -0
  62. data/lib/ey-core/cli/current_user.rb +16 -0
  63. data/lib/ey-core/cli/deploy.rb +123 -0
  64. data/lib/ey-core/cli/docker_registry_login.rb +29 -0
  65. data/lib/ey-core/cli/environment_variables.rb +71 -0
  66. data/lib/ey-core/cli/environments.rb +39 -0
  67. data/lib/ey-core/cli/errors.rb +11 -0
  68. data/lib/ey-core/cli/help.rb +30 -0
  69. data/lib/ey-core/cli/helpers/archive.rb +70 -0
  70. data/lib/ey-core/cli/helpers/chef.rb +51 -0
  71. data/lib/ey-core/cli/helpers/core.rb +225 -0
  72. data/lib/ey-core/cli/helpers/deprecated.rb +39 -0
  73. data/lib/ey-core/cli/helpers/log_streaming.rb +41 -0
  74. data/lib/ey-core/cli/helpers/server_sieve.rb +76 -0
  75. data/lib/ey-core/cli/helpers/stream_printer.rb +42 -0
  76. data/lib/ey-core/cli/init.rb +14 -0
  77. data/lib/ey-core/cli/login.rb +38 -0
  78. data/lib/ey-core/cli/logout.rb +22 -0
  79. data/lib/ey-core/cli/logs.rb +70 -0
  80. data/lib/ey-core/cli/main.rb +69 -0
  81. data/lib/ey-core/cli/recipes.rb +10 -0
  82. data/lib/ey-core/cli/recipes/apply.rb +65 -0
  83. data/lib/ey-core/cli/recipes/download.rb +52 -0
  84. data/lib/ey-core/cli/recipes/main.rb +21 -0
  85. data/lib/ey-core/cli/recipes/upload.rb +78 -0
  86. data/lib/ey-core/cli/scp.rb +14 -0
  87. data/lib/ey-core/cli/servers.rb +59 -0
  88. data/lib/ey-core/cli/ssh.rb +150 -0
  89. data/lib/ey-core/cli/status.rb +60 -0
  90. data/lib/ey-core/cli/subcommand.rb +53 -0
  91. data/lib/ey-core/cli/timeout_deploy.rb +58 -0
  92. data/lib/ey-core/cli/version.rb +16 -0
  93. data/lib/ey-core/cli/web.rb +10 -0
  94. data/lib/ey-core/cli/web/disable.rb +49 -0
  95. data/lib/ey-core/cli/web/enable.rb +46 -0
  96. data/lib/ey-core/cli/web/main.rb +21 -0
  97. data/lib/ey-core/cli/web/restart.rb +42 -0
  98. data/lib/ey-core/cli/whoami.rb +12 -0
  99. data/lib/ey-core/client.rb +469 -0
  100. data/lib/ey-core/client/mock.rb +306 -0
  101. data/lib/ey-core/client/real.rb +93 -0
  102. data/lib/ey-core/collection.rb +131 -0
  103. data/lib/ey-core/collections/account_cancellations.rb +6 -0
  104. data/lib/ey-core/collections/account_referrals.rb +10 -0
  105. data/lib/ey-core/collections/accounts.rb +8 -0
  106. data/lib/ey-core/collections/addons.rb +16 -0
  107. data/lib/ey-core/collections/addresses.rb +9 -0
  108. data/lib/ey-core/collections/alerts.rb +9 -0
  109. data/lib/ey-core/collections/application_archives.rb +9 -0
  110. data/lib/ey-core/collections/application_deployments.rb +9 -0
  111. data/lib/ey-core/collections/applications.rb +9 -0
  112. data/lib/ey-core/collections/auto_scaling_alarms.rb +8 -0
  113. data/lib/ey-core/collections/auto_scaling_groups.rb +8 -0
  114. data/lib/ey-core/collections/auto_scaling_policies.rb +33 -0
  115. data/lib/ey-core/collections/backup_files.rb +9 -0
  116. data/lib/ey-core/collections/blueprints.rb +9 -0
  117. data/lib/ey-core/collections/components.rb +9 -0
  118. data/lib/ey-core/collections/contacts.rb +9 -0
  119. data/lib/ey-core/collections/container_clusters.rb +9 -0
  120. data/lib/ey-core/collections/container_service_deployments.rb +17 -0
  121. data/lib/ey-core/collections/costs.rb +8 -0
  122. data/lib/ey-core/collections/database_plan_usages.rb +7 -0
  123. data/lib/ey-core/collections/database_server_revisions.rb +7 -0
  124. data/lib/ey-core/collections/database_server_snapshots.rb +17 -0
  125. data/lib/ey-core/collections/database_server_usages.rb +7 -0
  126. data/lib/ey-core/collections/database_servers.rb +9 -0
  127. data/lib/ey-core/collections/database_services.rb +9 -0
  128. data/lib/ey-core/collections/deployments.rb +8 -0
  129. data/lib/ey-core/collections/environment_plan_usages.rb +7 -0
  130. data/lib/ey-core/collections/environment_variables.rb +8 -0
  131. data/lib/ey-core/collections/environments.rb +15 -0
  132. data/lib/ey-core/collections/features.rb +9 -0
  133. data/lib/ey-core/collections/firewall_rules.rb +9 -0
  134. data/lib/ey-core/collections/firewalls.rb +9 -0
  135. data/lib/ey-core/collections/gems.rb +6 -0
  136. data/lib/ey-core/collections/keypair_deployments.rb +9 -0
  137. data/lib/ey-core/collections/keypairs.rb +9 -0
  138. data/lib/ey-core/collections/legacy_alerts.rb +9 -0
  139. data/lib/ey-core/collections/load_balancer_nodes.rb +9 -0
  140. data/lib/ey-core/collections/load_balancer_services.rb +9 -0
  141. data/lib/ey-core/collections/load_balancers.rb +16 -0
  142. data/lib/ey-core/collections/logical_databases.rb +16 -0
  143. data/lib/ey-core/collections/logs.rb +9 -0
  144. data/lib/ey-core/collections/memberships.rb +9 -0
  145. data/lib/ey-core/collections/messages.rb +9 -0
  146. data/lib/ey-core/collections/plan_usages.rb +7 -0
  147. data/lib/ey-core/collections/provider_locations.rb +13 -0
  148. data/lib/ey-core/collections/providers.rb +15 -0
  149. data/lib/ey-core/collections/requests.rb +10 -0
  150. data/lib/ey-core/collections/server_events.rb +9 -0
  151. data/lib/ey-core/collections/server_usages.rb +7 -0
  152. data/lib/ey-core/collections/servers.rb +13 -0
  153. data/lib/ey-core/collections/services.rb +14 -0
  154. data/lib/ey-core/collections/ssl_certificates.rb +9 -0
  155. data/lib/ey-core/collections/storage_users.rb +10 -0
  156. data/lib/ey-core/collections/storages.rb +9 -0
  157. data/lib/ey-core/collections/tasks.rb +9 -0
  158. data/lib/ey-core/collections/tokens.rb +9 -0
  159. data/lib/ey-core/collections/untracked_addresses.rb +4 -0
  160. data/lib/ey-core/collections/untracked_servers.rb +9 -0
  161. data/lib/ey-core/collections/users.rb +12 -0
  162. data/lib/ey-core/collections/volumes.rb +9 -0
  163. data/lib/ey-core/logger.rb +31 -0
  164. data/lib/ey-core/memory_cache.rb +17 -0
  165. data/lib/ey-core/mock/helper.rb +104 -0
  166. data/lib/ey-core/mock/params.rb +31 -0
  167. data/lib/ey-core/mock/resources.rb +92 -0
  168. data/lib/ey-core/mock/searching.rb +115 -0
  169. data/lib/ey-core/mock/util.rb +23 -0
  170. data/lib/ey-core/model.rb +44 -0
  171. data/lib/ey-core/models/account.rb +80 -0
  172. data/lib/ey-core/models/account_cancellation.rb +6 -0
  173. data/lib/ey-core/models/account_referral.rb +8 -0
  174. data/lib/ey-core/models/account_trial.rb +15 -0
  175. data/lib/ey-core/models/addon.rb +37 -0
  176. data/lib/ey-core/models/address.rb +59 -0
  177. data/lib/ey-core/models/alert.rb +99 -0
  178. data/lib/ey-core/models/application.rb +33 -0
  179. data/lib/ey-core/models/application_archive.rb +67 -0
  180. data/lib/ey-core/models/application_deployment.rb +18 -0
  181. data/lib/ey-core/models/auto_scaling_alarm.rb +54 -0
  182. data/lib/ey-core/models/auto_scaling_group.rb +75 -0
  183. data/lib/ey-core/models/backup_file.rb +52 -0
  184. data/lib/ey-core/models/base_auto_scaling_policy.rb +61 -0
  185. data/lib/ey-core/models/billing.rb +27 -0
  186. data/lib/ey-core/models/blueprint.rb +30 -0
  187. data/lib/ey-core/models/component.rb +11 -0
  188. data/lib/ey-core/models/contact.rb +14 -0
  189. data/lib/ey-core/models/container_service_deployment.rb +17 -0
  190. data/lib/ey-core/models/cost.rb +16 -0
  191. data/lib/ey-core/models/database_plan_usage.rb +10 -0
  192. data/lib/ey-core/models/database_server.rb +56 -0
  193. data/lib/ey-core/models/database_server_revision.rb +10 -0
  194. data/lib/ey-core/models/database_server_snapshot.rb +43 -0
  195. data/lib/ey-core/models/database_server_usage.rb +15 -0
  196. data/lib/ey-core/models/database_service.rb +52 -0
  197. data/lib/ey-core/models/deployment.rb +30 -0
  198. data/lib/ey-core/models/environment.rb +248 -0
  199. data/lib/ey-core/models/environment_plan_usage.rb +10 -0
  200. data/lib/ey-core/models/environment_variable.rb +29 -0
  201. data/lib/ey-core/models/feature.rb +33 -0
  202. data/lib/ey-core/models/firewall.rb +46 -0
  203. data/lib/ey-core/models/firewall_rule.rb +41 -0
  204. data/lib/ey-core/models/gem.rb +5 -0
  205. data/lib/ey-core/models/keypair.rb +38 -0
  206. data/lib/ey-core/models/keypair_deployment.rb +26 -0
  207. data/lib/ey-core/models/legacy_alert.rb +12 -0
  208. data/lib/ey-core/models/load_balancer.rb +43 -0
  209. data/lib/ey-core/models/load_balancer_node.rb +17 -0
  210. data/lib/ey-core/models/load_balancer_service.rb +22 -0
  211. data/lib/ey-core/models/log.rb +44 -0
  212. data/lib/ey-core/models/logical_database.rb +40 -0
  213. data/lib/ey-core/models/membership.rb +49 -0
  214. data/lib/ey-core/models/message.rb +27 -0
  215. data/lib/ey-core/models/plan_usage.rb +14 -0
  216. data/lib/ey-core/models/provider.rb +59 -0
  217. data/lib/ey-core/models/provider_location.rb +24 -0
  218. data/lib/ey-core/models/request.rb +109 -0
  219. data/lib/ey-core/models/server.rb +151 -0
  220. data/lib/ey-core/models/server_event.rb +11 -0
  221. data/lib/ey-core/models/server_usage.rb +15 -0
  222. data/lib/ey-core/models/service.rb +10 -0
  223. data/lib/ey-core/models/simple_auto_scaling_policy.rb +24 -0
  224. data/lib/ey-core/models/ssl_certificate.rb +44 -0
  225. data/lib/ey-core/models/step_auto_scaling_policy.rb +24 -0
  226. data/lib/ey-core/models/storage.rb +38 -0
  227. data/lib/ey-core/models/storage_user.rb +44 -0
  228. data/lib/ey-core/models/support_trial.rb +10 -0
  229. data/lib/ey-core/models/target_auto_scaling_policy.rb +24 -0
  230. data/lib/ey-core/models/task.rb +35 -0
  231. data/lib/ey-core/models/token.rb +24 -0
  232. data/lib/ey-core/models/untracked_address.rb +24 -0
  233. data/lib/ey-core/models/untracked_server.rb +45 -0
  234. data/lib/ey-core/models/user.rb +39 -0
  235. data/lib/ey-core/models/volume.rb +20 -0
  236. data/lib/ey-core/request.rb +21 -0
  237. data/lib/ey-core/request_failure.rb +11 -0
  238. data/lib/ey-core/requests/acknowledge_alert.rb +29 -0
  239. data/lib/ey-core/requests/apply_environment_updates.rb +54 -0
  240. data/lib/ey-core/requests/apply_server_updates.rb +52 -0
  241. data/lib/ey-core/requests/attach_address.rb +53 -0
  242. data/lib/ey-core/requests/authorized_channel.rb +22 -0
  243. data/lib/ey-core/requests/blueprint_environment.rb +72 -0
  244. data/lib/ey-core/requests/boot_environment.rb +187 -0
  245. data/lib/ey-core/requests/bootstrap_logical_database.rb +80 -0
  246. data/lib/ey-core/requests/cancel_account.rb +33 -0
  247. data/lib/ey-core/requests/change_environment_maintenance.rb +38 -0
  248. data/lib/ey-core/requests/create_account.rb +38 -0
  249. data/lib/ey-core/requests/create_addon.rb +35 -0
  250. data/lib/ey-core/requests/create_address.rb +54 -0
  251. data/lib/ey-core/requests/create_alert.rb +63 -0
  252. data/lib/ey-core/requests/create_application.rb +73 -0
  253. data/lib/ey-core/requests/create_application_archive.rb +44 -0
  254. data/lib/ey-core/requests/create_auto_scaling_alarm.rb +69 -0
  255. data/lib/ey-core/requests/create_auto_scaling_group.rb +62 -0
  256. data/lib/ey-core/requests/create_auto_scaling_policy.rb +68 -0
  257. data/lib/ey-core/requests/create_backup_file.rb +52 -0
  258. data/lib/ey-core/requests/create_database_server.rb +72 -0
  259. data/lib/ey-core/requests/create_database_service.rb +57 -0
  260. data/lib/ey-core/requests/create_database_service_snapshot.rb +69 -0
  261. data/lib/ey-core/requests/create_environment.rb +77 -0
  262. data/lib/ey-core/requests/create_environment_variable.rb +39 -0
  263. data/lib/ey-core/requests/create_firewall.rb +62 -0
  264. data/lib/ey-core/requests/create_firewall_rule.rb +60 -0
  265. data/lib/ey-core/requests/create_keypair.rb +42 -0
  266. data/lib/ey-core/requests/create_keypair_deployment.rb +36 -0
  267. data/lib/ey-core/requests/create_load_balancer.rb +62 -0
  268. data/lib/ey-core/requests/create_log.rb +53 -0
  269. data/lib/ey-core/requests/create_logical_database.rb +56 -0
  270. data/lib/ey-core/requests/create_membership.rb +47 -0
  271. data/lib/ey-core/requests/create_message.rb +35 -0
  272. data/lib/ey-core/requests/create_password_reset.rb +38 -0
  273. data/lib/ey-core/requests/create_provider.rb +90 -0
  274. data/lib/ey-core/requests/create_server.rb +121 -0
  275. data/lib/ey-core/requests/create_ssl_certificate.rb +83 -0
  276. data/lib/ey-core/requests/create_storage.rb +64 -0
  277. data/lib/ey-core/requests/create_storage_user.rb +64 -0
  278. data/lib/ey-core/requests/create_task.rb +55 -0
  279. data/lib/ey-core/requests/create_token.rb +24 -0
  280. data/lib/ey-core/requests/create_untracked_address.rb +50 -0
  281. data/lib/ey-core/requests/create_untracked_server.rb +39 -0
  282. data/lib/ey-core/requests/create_user.rb +54 -0
  283. data/lib/ey-core/requests/deploy_environment_application.rb +60 -0
  284. data/lib/ey-core/requests/deprovision_environment.rb +17 -0
  285. data/lib/ey-core/requests/destroy_addon.rb +24 -0
  286. data/lib/ey-core/requests/destroy_auto_scaling_alarm.rb +49 -0
  287. data/lib/ey-core/requests/destroy_auto_scaling_group.rb +44 -0
  288. data/lib/ey-core/requests/destroy_auto_scaling_policy.rb +49 -0
  289. data/lib/ey-core/requests/destroy_blueprint.rb +22 -0
  290. data/lib/ey-core/requests/destroy_database_server.rb +41 -0
  291. data/lib/ey-core/requests/destroy_database_server_snapshot.rb +42 -0
  292. data/lib/ey-core/requests/destroy_database_service.rb +57 -0
  293. data/lib/ey-core/requests/destroy_environment.rb +43 -0
  294. data/lib/ey-core/requests/destroy_firewall.rb +41 -0
  295. data/lib/ey-core/requests/destroy_firewall_rule.rb +41 -0
  296. data/lib/ey-core/requests/destroy_load_balancer.rb +30 -0
  297. data/lib/ey-core/requests/destroy_logical_database.rb +41 -0
  298. data/lib/ey-core/requests/destroy_provider.rb +34 -0
  299. data/lib/ey-core/requests/destroy_server.rb +48 -0
  300. data/lib/ey-core/requests/destroy_ssl_certificate.rb +28 -0
  301. data/lib/ey-core/requests/destroy_storage.rb +33 -0
  302. data/lib/ey-core/requests/destroy_storage_user.rb +38 -0
  303. data/lib/ey-core/requests/destroy_user.rb +29 -0
  304. data/lib/ey-core/requests/detach_address.rb +48 -0
  305. data/lib/ey-core/requests/disable_feature.rb +30 -0
  306. data/lib/ey-core/requests/discover_container_service_deployments.rb +71 -0
  307. data/lib/ey-core/requests/discover_database_server.rb +66 -0
  308. data/lib/ey-core/requests/discover_database_server_snapshots.rb +69 -0
  309. data/lib/ey-core/requests/discover_provider_location.rb +57 -0
  310. data/lib/ey-core/requests/discover_server.rb +60 -0
  311. data/lib/ey-core/requests/download_file.rb +25 -0
  312. data/lib/ey-core/requests/enable_feature.rb +35 -0
  313. data/lib/ey-core/requests/get_account.rb +29 -0
  314. data/lib/ey-core/requests/get_account_cancellation.rb +21 -0
  315. data/lib/ey-core/requests/get_account_referrals.rb +28 -0
  316. data/lib/ey-core/requests/get_account_trial.rb +32 -0
  317. data/lib/ey-core/requests/get_accounts.rb +42 -0
  318. data/lib/ey-core/requests/get_addon.rb +25 -0
  319. data/lib/ey-core/requests/get_addons.rb +24 -0
  320. data/lib/ey-core/requests/get_address.rb +25 -0
  321. data/lib/ey-core/requests/get_addresses.rb +27 -0
  322. data/lib/ey-core/requests/get_alert.rb +21 -0
  323. data/lib/ey-core/requests/get_alerting_environments.rb +41 -0
  324. data/lib/ey-core/requests/get_alerts.rb +44 -0
  325. data/lib/ey-core/requests/get_api_token.rb +19 -0
  326. data/lib/ey-core/requests/get_application.rb +21 -0
  327. data/lib/ey-core/requests/get_application_archive.rb +32 -0
  328. data/lib/ey-core/requests/get_application_archives.rb +29 -0
  329. data/lib/ey-core/requests/get_application_deployment.rb +21 -0
  330. data/lib/ey-core/requests/get_application_deployments.rb +28 -0
  331. data/lib/ey-core/requests/get_applications.rb +28 -0
  332. data/lib/ey-core/requests/get_auto_scaling_alarm.rb +27 -0
  333. data/lib/ey-core/requests/get_auto_scaling_alarms.rb +34 -0
  334. data/lib/ey-core/requests/get_auto_scaling_group.rb +21 -0
  335. data/lib/ey-core/requests/get_auto_scaling_groups.rb +29 -0
  336. data/lib/ey-core/requests/get_auto_scaling_policies.rb +46 -0
  337. data/lib/ey-core/requests/get_auto_scaling_policy.rb +27 -0
  338. data/lib/ey-core/requests/get_backup_file.rb +21 -0
  339. data/lib/ey-core/requests/get_backup_files.rb +28 -0
  340. data/lib/ey-core/requests/get_billing.rb +24 -0
  341. data/lib/ey-core/requests/get_blueprint.rb +21 -0
  342. data/lib/ey-core/requests/get_blueprints.rb +29 -0
  343. data/lib/ey-core/requests/get_component.rb +21 -0
  344. data/lib/ey-core/requests/get_components.rb +29 -0
  345. data/lib/ey-core/requests/get_contacts.rb +34 -0
  346. data/lib/ey-core/requests/get_costs.rb +25 -0
  347. data/lib/ey-core/requests/get_current_user.rb +19 -0
  348. data/lib/ey-core/requests/get_database_plan_usages.rb +24 -0
  349. data/lib/ey-core/requests/get_database_server.rb +21 -0
  350. data/lib/ey-core/requests/get_database_server_revisions.rb +27 -0
  351. data/lib/ey-core/requests/get_database_server_snapshot.rb +20 -0
  352. data/lib/ey-core/requests/get_database_server_snapshots.rb +39 -0
  353. data/lib/ey-core/requests/get_database_server_usages.rb +24 -0
  354. data/lib/ey-core/requests/get_database_servers.rb +30 -0
  355. data/lib/ey-core/requests/get_database_servers_firewalls.rb +30 -0
  356. data/lib/ey-core/requests/get_database_service.rb +20 -0
  357. data/lib/ey-core/requests/get_database_services.rb +55 -0
  358. data/lib/ey-core/requests/get_deployment.rb +19 -0
  359. data/lib/ey-core/requests/get_deployments.rb +29 -0
  360. data/lib/ey-core/requests/get_environment.rb +21 -0
  361. data/lib/ey-core/requests/get_environment_database_services.rb +21 -0
  362. data/lib/ey-core/requests/get_environment_logical_databases.rb +20 -0
  363. data/lib/ey-core/requests/get_environment_plan_usages.rb +24 -0
  364. data/lib/ey-core/requests/get_environment_variable.rb +19 -0
  365. data/lib/ey-core/requests/get_environment_variables.rb +29 -0
  366. data/lib/ey-core/requests/get_environments.rb +29 -0
  367. data/lib/ey-core/requests/get_feature.rb +21 -0
  368. data/lib/ey-core/requests/get_features.rb +28 -0
  369. data/lib/ey-core/requests/get_firewall.rb +21 -0
  370. data/lib/ey-core/requests/get_firewall_rule.rb +21 -0
  371. data/lib/ey-core/requests/get_firewall_rules.rb +29 -0
  372. data/lib/ey-core/requests/get_firewalls.rb +45 -0
  373. data/lib/ey-core/requests/get_gem.rb +24 -0
  374. data/lib/ey-core/requests/get_keypair.rb +21 -0
  375. data/lib/ey-core/requests/get_keypair_deployment.rb +21 -0
  376. data/lib/ey-core/requests/get_keypair_deployments.rb +29 -0
  377. data/lib/ey-core/requests/get_keypairs.rb +34 -0
  378. data/lib/ey-core/requests/get_legacy_alert.rb +21 -0
  379. data/lib/ey-core/requests/get_legacy_alerts.rb +29 -0
  380. data/lib/ey-core/requests/get_load_balancer.rb +21 -0
  381. data/lib/ey-core/requests/get_load_balancer_node.rb +21 -0
  382. data/lib/ey-core/requests/get_load_balancer_nodes.rb +30 -0
  383. data/lib/ey-core/requests/get_load_balancer_service.rb +21 -0
  384. data/lib/ey-core/requests/get_load_balancer_services.rb +30 -0
  385. data/lib/ey-core/requests/get_load_balancers.rb +29 -0
  386. data/lib/ey-core/requests/get_log.rb +21 -0
  387. data/lib/ey-core/requests/get_logical_database.rb +23 -0
  388. data/lib/ey-core/requests/get_logical_databases.rb +36 -0
  389. data/lib/ey-core/requests/get_logs.rb +37 -0
  390. data/lib/ey-core/requests/get_membership.rb +21 -0
  391. data/lib/ey-core/requests/get_memberships.rb +29 -0
  392. data/lib/ey-core/requests/get_message.rb +28 -0
  393. data/lib/ey-core/requests/get_messages.rb +27 -0
  394. data/lib/ey-core/requests/get_metadata.rb +22 -0
  395. data/lib/ey-core/requests/get_operational_contact.rb +21 -0
  396. data/lib/ey-core/requests/get_operational_contacts.rb +20 -0
  397. data/lib/ey-core/requests/get_plan_usages.rb +24 -0
  398. data/lib/ey-core/requests/get_possible_provider_locations.rb +19 -0
  399. data/lib/ey-core/requests/get_provider.rb +21 -0
  400. data/lib/ey-core/requests/get_provider_location.rb +29 -0
  401. data/lib/ey-core/requests/get_provider_locations.rb +28 -0
  402. data/lib/ey-core/requests/get_providers.rb +28 -0
  403. data/lib/ey-core/requests/get_request.rb +71 -0
  404. data/lib/ey-core/requests/get_requests.rb +29 -0
  405. data/lib/ey-core/requests/get_server.rb +34 -0
  406. data/lib/ey-core/requests/get_server_event.rb +20 -0
  407. data/lib/ey-core/requests/get_server_events.rb +28 -0
  408. data/lib/ey-core/requests/get_server_usages.rb +24 -0
  409. data/lib/ey-core/requests/get_servers.rb +26 -0
  410. data/lib/ey-core/requests/get_ssl_certificate.rb +23 -0
  411. data/lib/ey-core/requests/get_ssl_certificates.rb +28 -0
  412. data/lib/ey-core/requests/get_storage.rb +21 -0
  413. data/lib/ey-core/requests/get_storage_user.rb +21 -0
  414. data/lib/ey-core/requests/get_storage_users.rb +28 -0
  415. data/lib/ey-core/requests/get_storages.rb +28 -0
  416. data/lib/ey-core/requests/get_support_trial.rb +51 -0
  417. data/lib/ey-core/requests/get_task.rb +21 -0
  418. data/lib/ey-core/requests/get_tasks.rb +28 -0
  419. data/lib/ey-core/requests/get_token.rb +21 -0
  420. data/lib/ey-core/requests/get_token_by_login.rb +30 -0
  421. data/lib/ey-core/requests/get_tokens.rb +32 -0
  422. data/lib/ey-core/requests/get_untracked_server.rb +18 -0
  423. data/lib/ey-core/requests/get_untracked_servers.rb +24 -0
  424. data/lib/ey-core/requests/get_user.rb +21 -0
  425. data/lib/ey-core/requests/get_users.rb +42 -0
  426. data/lib/ey-core/requests/get_volume.rb +21 -0
  427. data/lib/ey-core/requests/get_volumes.rb +28 -0
  428. data/lib/ey-core/requests/reboot_server.rb +39 -0
  429. data/lib/ey-core/requests/reconcile_server.rb +39 -0
  430. data/lib/ey-core/requests/request_callback.rb +26 -0
  431. data/lib/ey-core/requests/reset_password.rb +31 -0
  432. data/lib/ey-core/requests/reset_server_state.rb +32 -0
  433. data/lib/ey-core/requests/restart_environment_app_servers.rb +38 -0
  434. data/lib/ey-core/requests/retrieve_docker_registry_credentials.rb +24 -0
  435. data/lib/ey-core/requests/run_cluster_application_action.rb +28 -0
  436. data/lib/ey-core/requests/run_environment_application_action.rb +29 -0
  437. data/lib/ey-core/requests/signup.rb +56 -0
  438. data/lib/ey-core/requests/start_server.rb +39 -0
  439. data/lib/ey-core/requests/stop_server.rb +39 -0
  440. data/lib/ey-core/requests/timeout_deployment.rb +27 -0
  441. data/lib/ey-core/requests/unassign_environment.rb +31 -0
  442. data/lib/ey-core/requests/update_addon.rb +28 -0
  443. data/lib/ey-core/requests/update_address.rb +29 -0
  444. data/lib/ey-core/requests/update_alert.rb +32 -0
  445. data/lib/ey-core/requests/update_application_archive.rb +23 -0
  446. data/lib/ey-core/requests/update_auto_scaling_alarm.rb +45 -0
  447. data/lib/ey-core/requests/update_auto_scaling_group.rb +45 -0
  448. data/lib/ey-core/requests/update_auto_scaling_policy.rb +46 -0
  449. data/lib/ey-core/requests/update_billing.rb +26 -0
  450. data/lib/ey-core/requests/update_blueprint.rb +29 -0
  451. data/lib/ey-core/requests/update_connector.rb +32 -0
  452. data/lib/ey-core/requests/update_environment.rb +17 -0
  453. data/lib/ey-core/requests/update_environment_variable.rb +25 -0
  454. data/lib/ey-core/requests/update_membership.rb +29 -0
  455. data/lib/ey-core/requests/update_provider_location.rb +29 -0
  456. data/lib/ey-core/requests/update_server.rb +29 -0
  457. data/lib/ey-core/requests/update_ssl_certificate.rb +25 -0
  458. data/lib/ey-core/requests/update_untracked_server.rb +24 -0
  459. data/lib/ey-core/requests/upload_file.rb +44 -0
  460. data/lib/ey-core/requests/upload_recipes_for_environment.rb +28 -0
  461. data/lib/ey-core/response.rb +59 -0
  462. data/lib/ey-core/response_cache.rb +29 -0
  463. data/lib/ey-core/subscribable.rb +60 -0
  464. data/lib/ey-core/test_helpers.rb +17 -0
  465. data/lib/ey-core/test_helpers/account_helpers.rb +73 -0
  466. data/lib/ey-core/test_helpers/alert_helpers.rb +16 -0
  467. data/lib/ey-core/test_helpers/auto_scaling_helpers.rb +35 -0
  468. data/lib/ey-core/test_helpers/client_helpers.rb +40 -0
  469. data/lib/ey-core/test_helpers/cucumber.rb +3 -0
  470. data/lib/ey-core/test_helpers/resource_helpers.rb +196 -0
  471. data/lib/ey-core/test_helpers/rspec.rb +5 -0
  472. data/lib/ey-core/token_authentication.rb +13 -0
  473. data/lib/ey-core/version.rb +5 -0
  474. data/spec/account_spec.rb +65 -0
  475. data/spec/account_trial_spec.rb +17 -0
  476. data/spec/accounts_referrals_spec.rb +20 -0
  477. data/spec/accounts_spec.rb +113 -0
  478. data/spec/addons_and_vars_spec.rb +62 -0
  479. data/spec/addresses_spec.rb +57 -0
  480. data/spec/alerts_spec.rb +155 -0
  481. data/spec/application_archives_spec.rb +39 -0
  482. data/spec/applications_spec.rb +65 -0
  483. data/spec/auto_scaling_alarms_spec.rb +40 -0
  484. data/spec/auto_scaling_groups_spec.rb +28 -0
  485. data/spec/auto_scaling_policies_spec.rb +94 -0
  486. data/spec/billing_spec.rb +31 -0
  487. data/spec/blueprints_spec.rb +47 -0
  488. data/spec/client_spec.rb +16 -0
  489. data/spec/collection_spec.rb +43 -0
  490. data/spec/costs_spec.rb +22 -0
  491. data/spec/database_plan_usage_spec.rb +39 -0
  492. data/spec/database_server_snapshots_spec.rb +41 -0
  493. data/spec/database_server_usage_spec.rb +49 -0
  494. data/spec/database_servers_spec.rb +61 -0
  495. data/spec/database_services_spec.rb +76 -0
  496. data/spec/deployments_spec.rb +24 -0
  497. data/spec/docker_registry_credentials_spec.rb +16 -0
  498. data/spec/environment_plan_usage_spec.rb +38 -0
  499. data/spec/environments_spec.rb +212 -0
  500. data/spec/ey-core/cli/accounts_spec.rb +20 -0
  501. data/spec/ey-core/cli/helpers/server_sieve_spec.rb +226 -0
  502. data/spec/ey-core/cli/recipes/apply_spec.rb +34 -0
  503. data/spec/ey-core/cli/recipes/download_spec.rb +93 -0
  504. data/spec/ey-core/cli/recipes/upload_spec.rb +80 -0
  505. data/spec/features_spec.rb +79 -0
  506. data/spec/firewalls_spec.rb +84 -0
  507. data/spec/gems_spec.rb +11 -0
  508. data/spec/keypair_deployments_spec.rb +33 -0
  509. data/spec/keypairs_spec.rb +51 -0
  510. data/spec/legacy_alerts_spec.rb +44 -0
  511. data/spec/load_balancers_spec.rb +31 -0
  512. data/spec/logical_databases_spec.rb +38 -0
  513. data/spec/logs_spec.rb +44 -0
  514. data/spec/memberships_spec.rb +73 -0
  515. data/spec/messages_spec.rb +27 -0
  516. data/spec/metadata_spec.rb +11 -0
  517. data/spec/plan_usage_spec.rb +65 -0
  518. data/spec/provider_locations_spec.rb +85 -0
  519. data/spec/providers_spec.rb +105 -0
  520. data/spec/requests/upload_file_spec.rb +25 -0
  521. data/spec/requests_spec.rb +23 -0
  522. data/spec/reset_password_spec.rb +22 -0
  523. data/spec/server_events_spec.rb +31 -0
  524. data/spec/server_usage_spec.rb +70 -0
  525. data/spec/servers_spec.rb +202 -0
  526. data/spec/services_spec.rb +9 -0
  527. data/spec/signups_spec.rb +45 -0
  528. data/spec/spec_helper.rb +27 -0
  529. data/spec/ssl_certificates_spec.rb +94 -0
  530. data/spec/storages_spec.rb +57 -0
  531. data/spec/support/cli_helpers.rb +47 -0
  532. data/spec/support/core.rb +23 -0
  533. data/spec/support/coverage.rb +43 -0
  534. data/spec/support/fake_kernel.rb +21 -0
  535. data/spec/support/helpers.rb +1 -0
  536. data/spec/support/timecop.rb +8 -0
  537. data/spec/support_trial_spec.rb +33 -0
  538. data/spec/tokens_spec.rb +59 -0
  539. data/spec/untracked_servers_spec.rb +59 -0
  540. data/spec/users_spec.rb +108 -0
  541. metadata +1052 -0
@@ -0,0 +1,23 @@
1
+ Cistern.formatter = Cistern::Formatter::AwesomePrint
2
+
3
+ if ENV['MOCK_CORE'] == 'true'
4
+ Ey::Core::Client.mock!
5
+ end
6
+
7
+ Ey::Core::Client::Mock.timeout = 0.1
8
+ Ey::Core::Client::Mock.poll_interval = 0
9
+
10
+ Ey::Core::Client::Real.timeout = 3
11
+ Ey::Core::Client::Real.poll_interval = 0
12
+
13
+ RSpec.configure do |config|
14
+ config.before(:each) do
15
+ if Ey::Core::Client.mocking?
16
+ Ey::Core::Client::Mock.reset!
17
+ elsif defined?(client) && client
18
+ client.reset! unless ENV["RESET"] == "false"
19
+ end
20
+ end
21
+
22
+ config.filter_run_excluding(Ey::Core::Client.mocking? ? {real_only: true} : { mock_only: true })
23
+ end
@@ -0,0 +1,43 @@
1
+ if ENV['COVERAGE'] and Kernel.respond_to? :caller_locations
2
+ require 'cistern/coverage'
3
+
4
+ SimpleCov.at_exit do
5
+ puts "Adding cistern coverage data"
6
+
7
+ result = SimpleCov.result
8
+
9
+ models = Ey::Core::Client.constants.map {|c| Ey::Core::Client.const_get c }.select {|c| c.is_a? Class}.select {|c| c.superclass == Ey::Core::Model }
10
+
11
+ models.each do |m|
12
+ coverage_details = []
13
+
14
+ coverage_details += m.attributes.values.select {|opts| opts[:coverage_hits] } rescue []
15
+ coverage_details += m.associations.values.select {|opts| opts[:coverage_hits] } rescue []
16
+
17
+ coverage_details.each do |options|
18
+ unless result_file = result.files.find {|f| f.filename == options[:coverage_file] }
19
+ raise "Coverage failed, couldn't find file '#{file}' in the coverage report"
20
+ end
21
+
22
+ # Use the actual calls to the attribute reader as the coverage metric
23
+ result_file.line(options[:coverage_line]).instance_variable_set(:@coverage, options[:coverage_hits])
24
+ end
25
+ end
26
+
27
+ result.format!
28
+ end
29
+
30
+ CodeClimate::TestReporter.start
31
+ SimpleCov.start do
32
+ add_filter 'spec'
33
+
34
+ add_group 'Collections', 'lib/ey-core/collections'
35
+ add_group 'Models', 'lib/ey-core/models'
36
+ add_group 'Requests', 'lib/ey-core/requests'
37
+ end
38
+ elsif ENV['COVERAGE']
39
+ warn <<-WARN
40
+ Coverage reporting skipped.
41
+ This ruby version lacks necessary method Kernel.caller_locations"
42
+ WARN
43
+ end
@@ -0,0 +1,21 @@
1
+ class FakeKernel
2
+ attr_reader :exit_status
3
+
4
+ def system(*args)
5
+ system_commands.push(args.join(' '))
6
+ end
7
+
8
+ def system_commands
9
+ @system_commands ||= []
10
+ end
11
+
12
+ def abort(msg)
13
+ self.exit(false)
14
+ #exit(false)
15
+ end
16
+
17
+ def exit(whatevs)
18
+ whatevs = -1 unless whatevs.is_a?(Integer)
19
+ @exit_status ||= whatevs
20
+ end
21
+ end
@@ -0,0 +1 @@
1
+ require 'ey-core/test_helpers/rspec'
@@ -0,0 +1,8 @@
1
+ RSpec.configure do |config|
2
+ config.after(:each) { Timecop.return }
3
+ config.before(:each) do |example|
4
+ if time_scale = example.metadata[:scale]
5
+ Timecop.scale(time_scale)
6
+ end
7
+ end
8
+ end
@@ -0,0 +1,33 @@
1
+ require 'spec_helper'
2
+
3
+ describe "account_trial" do
4
+ let!(:client) { create_client }
5
+
6
+ context "with an account", :mock_only do
7
+ let!(:account) { create_account(client: client) }
8
+
9
+ it "has no support trial" do
10
+ expect(account.support_trial).to be_nil
11
+ end
12
+
13
+ it "returns support_trial if it has one" do
14
+ Ey::Core::Client::Mock.support_trial_elibigle(client, account.id)
15
+ account.reload
16
+ trial = account.support_trial
17
+ expect(trial).to be
18
+ expect(trial.started_at).to be_nil
19
+ expect(trial.expires_at).to be_nil
20
+ expect(trial.account).to eq(account)
21
+ end
22
+
23
+ it "returns support_trial if it has one" do
24
+ Ey::Core::Client::Mock.support_trial_active(client, account.id)
25
+ account.reload
26
+ trial = account.support_trial
27
+ expect(trial).to be
28
+ expect(trial.started_at).to be
29
+ expect(trial.expires_at).to be
30
+ expect(trial.account).to eq(account)
31
+ end
32
+ end
33
+ end
@@ -0,0 +1,59 @@
1
+ require 'spec_helper'
2
+
3
+ describe 'tokens' do
4
+ context "with a hmac client" do
5
+ let!(:client) { create_client }
6
+
7
+ context "with a user" do
8
+ let!(:email) { Faker::Internet.email }
9
+ let!(:password) { SecureRandom.hex(5) }
10
+ let!(:user) { client.users.create!(name: Faker::Name.name, email: email, password: password) }
11
+
12
+ it "retrieves a token by login information" do
13
+ if Ey::Core::Client.mocking?
14
+ token = SecureRandom.hex(10)
15
+ client.data[:users][user.id]["token"] = token
16
+ end
17
+
18
+ expect(client.get_token_by_login(email: email, password: password).body["api_token"]).to be
19
+ end
20
+
21
+ it "does not retrieve a token with login information with an incorrect password" do
22
+ if Ey::Core::Client.mocking?
23
+ token = SecureRandom.hex(10)
24
+ client.data[:users][user.id]["token"] = token
25
+ end
26
+
27
+ expect {
28
+ client.get_token_by_login(email: email, password: "whoops")
29
+ }.to raise_error(Ey::Core::Response::Unauthorized)
30
+ end
31
+
32
+ it "generates a token" do
33
+ token = client.tokens.create!(on_behalf_of: user)
34
+ expect(token.auth_id).not_to be_nil
35
+ end
36
+
37
+ it "lists tokens" do
38
+ tokens = user.tokens.all
39
+ expect(tokens).not_to be_empty
40
+ end
41
+
42
+ it "gets a token" do
43
+ token = user.tokens.first
44
+ expect(token.reload).to be
45
+ end
46
+
47
+ context "with multiple users" do
48
+ let!(:other_user) { client.users.create(name: Faker::Name.name, email: Faker::Internet.email) }
49
+
50
+ it "only shows the correct tokens" do
51
+ expect(user.tokens.all.count).to eq(1)
52
+ expect(other_user.tokens.all.count).to eq(1)
53
+ expect(user.tokens.first.on_behalf_of).to eq(client.url_for("/users/#{user.identity}"))
54
+ expect(other_user.tokens.first.on_behalf_of).to eq(client.url_for("/users/#{other_user.identity}"))
55
+ end
56
+ end
57
+ end
58
+ end
59
+ end
@@ -0,0 +1,59 @@
1
+ require 'spec_helper'
2
+
3
+ RSpec.describe Ey::Core::Client do
4
+ let!(:client) { create_client }
5
+ let!(:account) { create_account(client: client) }
6
+ let!(:provider) { create_provider(account: account) }
7
+
8
+ # @note private
9
+ it "creates an untracked server" do
10
+ provisioner_id = SecureRandom.uuid
11
+ location = "us-west-2b"
12
+ provisioned_id = "i-#{SecureRandom.hex(4)}"
13
+ state = "found"
14
+
15
+ untracked_server = provider.untracked_servers.create(
16
+ :provisioner_id => provisioner_id,
17
+ :location => location,
18
+ :provisioned_id => provisioned_id,
19
+ :state => state,
20
+ )
21
+
22
+ expect(untracked_server.provisioner_id).to eq(provisioner_id)
23
+ expect(untracked_server.provisioned_id).to eq(provisioned_id)
24
+ expect(untracked_server.location).to eq(location)
25
+ expect(untracked_server.provider).to eq(provider)
26
+ expect(untracked_server.state).to eq(state)
27
+
28
+ untracked_server.reload
29
+
30
+ expect(untracked_server.provisioner_id).to eq(provisioner_id)
31
+ expect(untracked_server.provisioned_id).to eq(provisioned_id)
32
+ expect(untracked_server.location).to eq(location)
33
+ expect(untracked_server.provider).to eq(provider)
34
+ expect(untracked_server.state).to eq(state)
35
+
36
+ untracked_server = client.untracked_servers.get!(untracked_server.identity)
37
+
38
+ expect(untracked_server.provisioner_id).to eq(provisioner_id)
39
+ expect(untracked_server.provisioned_id).to eq(provisioned_id)
40
+ expect(untracked_server.location).to eq(location)
41
+ expect(untracked_server.provider).to eq(provider)
42
+ expect(untracked_server.state).to eq(state)
43
+ end
44
+
45
+ context "with an untracked server" do
46
+ let!(:untracked_server) { create_untracked_server(provider: provider) }
47
+
48
+ it "should update server" do
49
+ expect {
50
+ untracked_server.update(state: "killed")
51
+ }.to change { untracked_server.reload.state }.to("killed")
52
+ end
53
+
54
+ it "lists untracked servers" do
55
+ expect(client.untracked_servers.all).to contain_exactly(untracked_server)
56
+ expect(provider.untracked_servers.all).to contain_exactly(untracked_server)
57
+ end
58
+ end
59
+ end
@@ -0,0 +1,108 @@
1
+ require 'spec_helper'
2
+
3
+ describe 'users' do
4
+ context "without authentication" do
5
+ let(:client) { create_unauthenticated_client }
6
+
7
+ it "gets an api token", :mock_only do
8
+ username = ENV["EMAIL"] || "email"
9
+ password = ENV["PASSWORD"] || "password"
10
+ expect(client.get_api_token(username, password).body["api_token"]).not_to be_nil
11
+ end
12
+ end
13
+
14
+ context "when authenticated" do
15
+ let!(:client) { create_client }
16
+
17
+ it "should create a user" do
18
+ name = Faker::Name.name
19
+ email = Faker::Internet.email
20
+
21
+ user = client.users.create!(name: name, email: email)
22
+ user.name = name
23
+ user.email = email
24
+ expect(user.identity).not_to be_nil
25
+ expect(user.staff).to be_falsy
26
+ expect(user.password).to be_nil
27
+
28
+ expect(user.accounts).to be_empty
29
+
30
+ refetched = client.users.get(user.id)
31
+ expect(refetched.name).to eq name
32
+ expect(refetched.staff).to be_falsey
33
+
34
+ if Ey::Core::Client.mocking?
35
+ #Can't actually set users as staff in real core API, but apps that use core API may need to test behavior based on a user being staff
36
+ client.find(:users, user.id).merge!(:staff => true)
37
+ refetched_again = client.users.get(user.id)
38
+ expect(refetched_again.staff).to be true
39
+ end
40
+ end
41
+
42
+ context 'when email address is not available' do
43
+ it 'should raise an error' do
44
+ name = Faker::Name.name
45
+ email = Faker::Internet.email
46
+
47
+ client.users.create!(name: name, email: email)
48
+
49
+ expect {
50
+ client.users.create!(name: name, email: email)
51
+ }.to raise_exception(Ey::Core::Response::Unprocessable, /Email has already been taken/)
52
+ end
53
+ end
54
+
55
+ it "should get current user" do
56
+ expect(client.users.current).to be_a(Ey::Core::Client::User)
57
+
58
+ if Ey::Core::Client.mocking?
59
+ expect(client.users.current.id).to eq(client.current_user["id"])
60
+ end
61
+ end
62
+
63
+ it "should destroy a user" do
64
+ name = Faker::Name.name
65
+ email = Faker::Internet.email
66
+
67
+ user = create_client.users.create!(name: name, email: email)
68
+ user = client.users.get(user.identity)
69
+ expect(user.deleted_at).to be_nil
70
+
71
+ expect {
72
+ user.destroy
73
+ }.to change {client.users.all.size}.by(-1)
74
+
75
+ expect(user.reload.deleted_at).not_to be_nil
76
+
77
+ expect(client.users.all).not_to include(user)
78
+ expect(client.users.all(deleted: true)).to include(user)
79
+ expect(client.users.all(with_deleted: true)).to include(user)
80
+ end
81
+
82
+ context "for the current user" do
83
+ let!(:user) { client.users.current }
84
+
85
+ describe '#token' do
86
+ subject { user.token }
87
+
88
+ context 'for my own user' do
89
+ it { is_expected.not_to be_nil }
90
+ end
91
+
92
+ context 'for another user' do
93
+ context 'as a staff user' do
94
+ before(:each) do
95
+ client.data[:users][user.id][:staff] = true
96
+ end
97
+
98
+ it { is_expected.not_to be_nil }
99
+ end
100
+
101
+ context 'as a non-staff user' do
102
+ it { is_expected.not_to be_nil }
103
+ end
104
+ end
105
+ end
106
+ end
107
+ end
108
+ end
metadata ADDED
@@ -0,0 +1,1052 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: groove-ey-core
3
+ version: !ruby/object:Gem::Version
4
+ version: 3.6.1
5
+ platform: ruby
6
+ authors:
7
+ - Engine Yard Engineering
8
+ - Groove
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2019-08-20 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: addressable
16
+ requirement: !ruby/object:Gem::Requirement
17
+ requirements:
18
+ - - ">="
19
+ - !ruby/object:Gem::Version
20
+ version: '0'
21
+ type: :runtime
22
+ prerelease: false
23
+ version_requirements: !ruby/object:Gem::Requirement
24
+ requirements:
25
+ - - ">="
26
+ - !ruby/object:Gem::Version
27
+ version: '0'
28
+ - !ruby/object:Gem::Dependency
29
+ name: awesome_print
30
+ requirement: !ruby/object:Gem::Requirement
31
+ requirements:
32
+ - - ">="
33
+ - !ruby/object:Gem::Version
34
+ version: '0'
35
+ type: :runtime
36
+ prerelease: false
37
+ version_requirements: !ruby/object:Gem::Requirement
38
+ requirements:
39
+ - - ">="
40
+ - !ruby/object:Gem::Version
41
+ version: '0'
42
+ - !ruby/object:Gem::Dependency
43
+ name: belafonte
44
+ requirement: !ruby/object:Gem::Requirement
45
+ requirements:
46
+ - - ">="
47
+ - !ruby/object:Gem::Version
48
+ version: '0'
49
+ type: :runtime
50
+ prerelease: false
51
+ version_requirements: !ruby/object:Gem::Requirement
52
+ requirements:
53
+ - - ">="
54
+ - !ruby/object:Gem::Version
55
+ version: '0'
56
+ - !ruby/object:Gem::Dependency
57
+ name: cistern
58
+ requirement: !ruby/object:Gem::Requirement
59
+ requirements:
60
+ - - "~>"
61
+ - !ruby/object:Gem::Version
62
+ version: 0.12.3
63
+ type: :runtime
64
+ prerelease: false
65
+ version_requirements: !ruby/object:Gem::Requirement
66
+ requirements:
67
+ - - "~>"
68
+ - !ruby/object:Gem::Version
69
+ version: 0.12.3
70
+ - !ruby/object:Gem::Dependency
71
+ name: colorize
72
+ requirement: !ruby/object:Gem::Requirement
73
+ requirements:
74
+ - - ">="
75
+ - !ruby/object:Gem::Version
76
+ version: '0'
77
+ type: :runtime
78
+ prerelease: false
79
+ version_requirements: !ruby/object:Gem::Requirement
80
+ requirements:
81
+ - - ">="
82
+ - !ruby/object:Gem::Version
83
+ version: '0'
84
+ - !ruby/object:Gem::Dependency
85
+ name: ey-hmac
86
+ requirement: !ruby/object:Gem::Requirement
87
+ requirements:
88
+ - - "~>"
89
+ - !ruby/object:Gem::Version
90
+ version: '2.0'
91
+ type: :runtime
92
+ prerelease: false
93
+ version_requirements: !ruby/object:Gem::Requirement
94
+ requirements:
95
+ - - "~>"
96
+ - !ruby/object:Gem::Version
97
+ version: '2.0'
98
+ - !ruby/object:Gem::Dependency
99
+ name: escape
100
+ requirement: !ruby/object:Gem::Requirement
101
+ requirements:
102
+ - - ">="
103
+ - !ruby/object:Gem::Version
104
+ version: '0'
105
+ type: :runtime
106
+ prerelease: false
107
+ version_requirements: !ruby/object:Gem::Requirement
108
+ requirements:
109
+ - - ">="
110
+ - !ruby/object:Gem::Version
111
+ version: '0'
112
+ - !ruby/object:Gem::Dependency
113
+ name: faraday
114
+ requirement: !ruby/object:Gem::Requirement
115
+ requirements:
116
+ - - "~>"
117
+ - !ruby/object:Gem::Version
118
+ version: '0.9'
119
+ type: :runtime
120
+ prerelease: false
121
+ version_requirements: !ruby/object:Gem::Requirement
122
+ requirements:
123
+ - - "~>"
124
+ - !ruby/object:Gem::Version
125
+ version: '0.9'
126
+ - !ruby/object:Gem::Dependency
127
+ name: faraday_middleware
128
+ requirement: !ruby/object:Gem::Requirement
129
+ requirements:
130
+ - - "~>"
131
+ - !ruby/object:Gem::Version
132
+ version: '0.9'
133
+ type: :runtime
134
+ prerelease: false
135
+ version_requirements: !ruby/object:Gem::Requirement
136
+ requirements:
137
+ - - "~>"
138
+ - !ruby/object:Gem::Version
139
+ version: '0.9'
140
+ - !ruby/object:Gem::Dependency
141
+ name: rack
142
+ requirement: !ruby/object:Gem::Requirement
143
+ requirements:
144
+ - - ">="
145
+ - !ruby/object:Gem::Version
146
+ version: '0'
147
+ type: :runtime
148
+ prerelease: false
149
+ version_requirements: !ruby/object:Gem::Requirement
150
+ requirements:
151
+ - - ">="
152
+ - !ruby/object:Gem::Version
153
+ version: '0'
154
+ - !ruby/object:Gem::Dependency
155
+ name: faye
156
+ requirement: !ruby/object:Gem::Requirement
157
+ requirements:
158
+ - - ">="
159
+ - !ruby/object:Gem::Version
160
+ version: '0'
161
+ type: :runtime
162
+ prerelease: false
163
+ version_requirements: !ruby/object:Gem::Requirement
164
+ requirements:
165
+ - - ">="
166
+ - !ruby/object:Gem::Version
167
+ version: '0'
168
+ - !ruby/object:Gem::Dependency
169
+ name: highline
170
+ requirement: !ruby/object:Gem::Requirement
171
+ requirements:
172
+ - - ">="
173
+ - !ruby/object:Gem::Version
174
+ version: '0'
175
+ type: :runtime
176
+ prerelease: false
177
+ version_requirements: !ruby/object:Gem::Requirement
178
+ requirements:
179
+ - - ">="
180
+ - !ruby/object:Gem::Version
181
+ version: '0'
182
+ - !ruby/object:Gem::Dependency
183
+ name: json
184
+ requirement: !ruby/object:Gem::Requirement
185
+ requirements:
186
+ - - "<"
187
+ - !ruby/object:Gem::Version
188
+ version: '2.0'
189
+ type: :runtime
190
+ prerelease: false
191
+ version_requirements: !ruby/object:Gem::Requirement
192
+ requirements:
193
+ - - "<"
194
+ - !ruby/object:Gem::Version
195
+ version: '2.0'
196
+ - !ruby/object:Gem::Dependency
197
+ name: mime-types
198
+ requirement: !ruby/object:Gem::Requirement
199
+ requirements:
200
+ - - ">="
201
+ - !ruby/object:Gem::Version
202
+ version: '0'
203
+ type: :runtime
204
+ prerelease: false
205
+ version_requirements: !ruby/object:Gem::Requirement
206
+ requirements:
207
+ - - ">="
208
+ - !ruby/object:Gem::Version
209
+ version: '0'
210
+ - !ruby/object:Gem::Dependency
211
+ name: oj
212
+ requirement: !ruby/object:Gem::Requirement
213
+ requirements:
214
+ - - ">="
215
+ - !ruby/object:Gem::Version
216
+ version: '0'
217
+ type: :runtime
218
+ prerelease: false
219
+ version_requirements: !ruby/object:Gem::Requirement
220
+ requirements:
221
+ - - ">="
222
+ - !ruby/object:Gem::Version
223
+ version: '0'
224
+ - !ruby/object:Gem::Dependency
225
+ name: oj_mimic_json
226
+ requirement: !ruby/object:Gem::Requirement
227
+ requirements:
228
+ - - ">="
229
+ - !ruby/object:Gem::Version
230
+ version: '0'
231
+ type: :runtime
232
+ prerelease: false
233
+ version_requirements: !ruby/object:Gem::Requirement
234
+ requirements:
235
+ - - ">="
236
+ - !ruby/object:Gem::Version
237
+ version: '0'
238
+ - !ruby/object:Gem::Dependency
239
+ name: pry
240
+ requirement: !ruby/object:Gem::Requirement
241
+ requirements:
242
+ - - ">="
243
+ - !ruby/object:Gem::Version
244
+ version: '0'
245
+ type: :runtime
246
+ prerelease: false
247
+ version_requirements: !ruby/object:Gem::Requirement
248
+ requirements:
249
+ - - ">="
250
+ - !ruby/object:Gem::Version
251
+ version: '0'
252
+ - !ruby/object:Gem::Dependency
253
+ name: sshkey
254
+ requirement: !ruby/object:Gem::Requirement
255
+ requirements:
256
+ - - "~>"
257
+ - !ruby/object:Gem::Version
258
+ version: '1.6'
259
+ type: :runtime
260
+ prerelease: false
261
+ version_requirements: !ruby/object:Gem::Requirement
262
+ requirements:
263
+ - - "~>"
264
+ - !ruby/object:Gem::Version
265
+ version: '1.6'
266
+ - !ruby/object:Gem::Dependency
267
+ name: table_print
268
+ requirement: !ruby/object:Gem::Requirement
269
+ requirements:
270
+ - - ">="
271
+ - !ruby/object:Gem::Version
272
+ version: '0'
273
+ type: :runtime
274
+ prerelease: false
275
+ version_requirements: !ruby/object:Gem::Requirement
276
+ requirements:
277
+ - - ">="
278
+ - !ruby/object:Gem::Version
279
+ version: '0'
280
+ - !ruby/object:Gem::Dependency
281
+ name: pry-nav
282
+ requirement: !ruby/object:Gem::Requirement
283
+ requirements:
284
+ - - ">="
285
+ - !ruby/object:Gem::Version
286
+ version: '0'
287
+ type: :development
288
+ prerelease: false
289
+ version_requirements: !ruby/object:Gem::Requirement
290
+ requirements:
291
+ - - ">="
292
+ - !ruby/object:Gem::Version
293
+ version: '0'
294
+ - !ruby/object:Gem::Dependency
295
+ name: rspec
296
+ requirement: !ruby/object:Gem::Requirement
297
+ requirements:
298
+ - - "~>"
299
+ - !ruby/object:Gem::Version
300
+ version: '3.0'
301
+ type: :development
302
+ prerelease: false
303
+ version_requirements: !ruby/object:Gem::Requirement
304
+ requirements:
305
+ - - "~>"
306
+ - !ruby/object:Gem::Version
307
+ version: '3.0'
308
+ - !ruby/object:Gem::Dependency
309
+ name: ffaker
310
+ requirement: !ruby/object:Gem::Requirement
311
+ requirements:
312
+ - - ">="
313
+ - !ruby/object:Gem::Version
314
+ version: '0'
315
+ type: :development
316
+ prerelease: false
317
+ version_requirements: !ruby/object:Gem::Requirement
318
+ requirements:
319
+ - - ">="
320
+ - !ruby/object:Gem::Version
321
+ version: '0'
322
+ - !ruby/object:Gem::Dependency
323
+ name: rake
324
+ requirement: !ruby/object:Gem::Requirement
325
+ requirements:
326
+ - - ">="
327
+ - !ruby/object:Gem::Version
328
+ version: '0'
329
+ type: :development
330
+ prerelease: false
331
+ version_requirements: !ruby/object:Gem::Requirement
332
+ requirements:
333
+ - - ">="
334
+ - !ruby/object:Gem::Version
335
+ version: '0'
336
+ - !ruby/object:Gem::Dependency
337
+ name: aruba
338
+ requirement: !ruby/object:Gem::Requirement
339
+ requirements:
340
+ - - "~>"
341
+ - !ruby/object:Gem::Version
342
+ version: '0.11'
343
+ type: :development
344
+ prerelease: false
345
+ version_requirements: !ruby/object:Gem::Requirement
346
+ requirements:
347
+ - - "~>"
348
+ - !ruby/object:Gem::Version
349
+ version: '0.11'
350
+ - !ruby/object:Gem::Dependency
351
+ name: cucumber
352
+ requirement: !ruby/object:Gem::Requirement
353
+ requirements:
354
+ - - "~>"
355
+ - !ruby/object:Gem::Version
356
+ version: '2.1'
357
+ type: :development
358
+ prerelease: false
359
+ version_requirements: !ruby/object:Gem::Requirement
360
+ requirements:
361
+ - - "~>"
362
+ - !ruby/object:Gem::Version
363
+ version: '2.1'
364
+ - !ruby/object:Gem::Dependency
365
+ name: factis
366
+ requirement: !ruby/object:Gem::Requirement
367
+ requirements:
368
+ - - "~>"
369
+ - !ruby/object:Gem::Version
370
+ version: '1.0'
371
+ type: :development
372
+ prerelease: false
373
+ version_requirements: !ruby/object:Gem::Requirement
374
+ requirements:
375
+ - - "~>"
376
+ - !ruby/object:Gem::Version
377
+ version: '1.0'
378
+ description: Engine Yard Core API Ruby Client
379
+ email:
380
+ - engineering@engineyard.com
381
+ executables:
382
+ - ey-core
383
+ extensions: []
384
+ extra_rdoc_files: []
385
+ files:
386
+ - ".gitignore"
387
+ - ".ruby-gemset"
388
+ - ".ruby-version"
389
+ - ".travis.yml"
390
+ - CHANGELOG.md
391
+ - Gemfile
392
+ - Guardfile
393
+ - LICENSE.txt
394
+ - README.md
395
+ - Rakefile
396
+ - bin/ey-core
397
+ - examples/add_instance.rb
398
+ - examples/boot_env.rb
399
+ - examples/console/README.md
400
+ - examples/console/address.md
401
+ - examples/stop_env.rb
402
+ - examples/terminate_instance.rb
403
+ - ey-core.gemspec
404
+ - features/accounts.feature
405
+ - features/applications.feature
406
+ - features/current_user.feature
407
+ - features/docker_registry_credentials.feature
408
+ - features/environment_variables.feature
409
+ - features/environments.feature
410
+ - features/init.feature
411
+ - features/login.feature
412
+ - features/scp.feature
413
+ - features/step_definitions/accounts_steps.rb
414
+ - features/step_definitions/applications_steps.rb
415
+ - features/step_definitions/current_user_steps.rb
416
+ - features/step_definitions/deprecated_command_steps.rb
417
+ - features/step_definitions/docker_registry_credentials_steps.rb
418
+ - features/step_definitions/environment_variables_steps.rb
419
+ - features/step_definitions/environments_steps.rb
420
+ - features/step_definitions/version_steps.rb
421
+ - features/support/account_helpers.rb
422
+ - features/support/app_helpers.rb
423
+ - features/support/aruba.rb
424
+ - features/support/boilerplate.rb
425
+ - features/support/client_helpers.rb
426
+ - features/support/config_file_helpers.rb
427
+ - features/support/core.rb
428
+ - features/support/deployment_helpers.rb
429
+ - features/support/env.rb
430
+ - features/support/environment_helpers.rb
431
+ - features/support/environment_variable_helpers.rb
432
+ - features/support/fake_kernel.rb
433
+ - features/support/io.rb
434
+ - features/support/mock_api.rb
435
+ - features/support/output_helpers.rb
436
+ - features/support/resource_helpers.rb
437
+ - features/support/server_helpers.rb
438
+ - features/version.feature
439
+ - features/whoami.feature
440
+ - lib/ey-core.rb
441
+ - lib/ey-core/associations.rb
442
+ - lib/ey-core/cli.rb
443
+ - lib/ey-core/cli/accounts.rb
444
+ - lib/ey-core/cli/applications.rb
445
+ - lib/ey-core/cli/console.rb
446
+ - lib/ey-core/cli/current_user.rb
447
+ - lib/ey-core/cli/deploy.rb
448
+ - lib/ey-core/cli/docker_registry_login.rb
449
+ - lib/ey-core/cli/environment_variables.rb
450
+ - lib/ey-core/cli/environments.rb
451
+ - lib/ey-core/cli/errors.rb
452
+ - lib/ey-core/cli/help.rb
453
+ - lib/ey-core/cli/helpers/archive.rb
454
+ - lib/ey-core/cli/helpers/chef.rb
455
+ - lib/ey-core/cli/helpers/core.rb
456
+ - lib/ey-core/cli/helpers/deprecated.rb
457
+ - lib/ey-core/cli/helpers/log_streaming.rb
458
+ - lib/ey-core/cli/helpers/server_sieve.rb
459
+ - lib/ey-core/cli/helpers/stream_printer.rb
460
+ - lib/ey-core/cli/init.rb
461
+ - lib/ey-core/cli/login.rb
462
+ - lib/ey-core/cli/logout.rb
463
+ - lib/ey-core/cli/logs.rb
464
+ - lib/ey-core/cli/main.rb
465
+ - lib/ey-core/cli/recipes.rb
466
+ - lib/ey-core/cli/recipes/apply.rb
467
+ - lib/ey-core/cli/recipes/download.rb
468
+ - lib/ey-core/cli/recipes/main.rb
469
+ - lib/ey-core/cli/recipes/upload.rb
470
+ - lib/ey-core/cli/scp.rb
471
+ - lib/ey-core/cli/servers.rb
472
+ - lib/ey-core/cli/ssh.rb
473
+ - lib/ey-core/cli/status.rb
474
+ - lib/ey-core/cli/subcommand.rb
475
+ - lib/ey-core/cli/timeout_deploy.rb
476
+ - lib/ey-core/cli/version.rb
477
+ - lib/ey-core/cli/web.rb
478
+ - lib/ey-core/cli/web/disable.rb
479
+ - lib/ey-core/cli/web/enable.rb
480
+ - lib/ey-core/cli/web/main.rb
481
+ - lib/ey-core/cli/web/restart.rb
482
+ - lib/ey-core/cli/whoami.rb
483
+ - lib/ey-core/client.rb
484
+ - lib/ey-core/client/mock.rb
485
+ - lib/ey-core/client/real.rb
486
+ - lib/ey-core/collection.rb
487
+ - lib/ey-core/collections/account_cancellations.rb
488
+ - lib/ey-core/collections/account_referrals.rb
489
+ - lib/ey-core/collections/accounts.rb
490
+ - lib/ey-core/collections/addons.rb
491
+ - lib/ey-core/collections/addresses.rb
492
+ - lib/ey-core/collections/alerts.rb
493
+ - lib/ey-core/collections/application_archives.rb
494
+ - lib/ey-core/collections/application_deployments.rb
495
+ - lib/ey-core/collections/applications.rb
496
+ - lib/ey-core/collections/auto_scaling_alarms.rb
497
+ - lib/ey-core/collections/auto_scaling_groups.rb
498
+ - lib/ey-core/collections/auto_scaling_policies.rb
499
+ - lib/ey-core/collections/backup_files.rb
500
+ - lib/ey-core/collections/blueprints.rb
501
+ - lib/ey-core/collections/components.rb
502
+ - lib/ey-core/collections/contacts.rb
503
+ - lib/ey-core/collections/container_clusters.rb
504
+ - lib/ey-core/collections/container_service_deployments.rb
505
+ - lib/ey-core/collections/costs.rb
506
+ - lib/ey-core/collections/database_plan_usages.rb
507
+ - lib/ey-core/collections/database_server_revisions.rb
508
+ - lib/ey-core/collections/database_server_snapshots.rb
509
+ - lib/ey-core/collections/database_server_usages.rb
510
+ - lib/ey-core/collections/database_servers.rb
511
+ - lib/ey-core/collections/database_services.rb
512
+ - lib/ey-core/collections/deployments.rb
513
+ - lib/ey-core/collections/environment_plan_usages.rb
514
+ - lib/ey-core/collections/environment_variables.rb
515
+ - lib/ey-core/collections/environments.rb
516
+ - lib/ey-core/collections/features.rb
517
+ - lib/ey-core/collections/firewall_rules.rb
518
+ - lib/ey-core/collections/firewalls.rb
519
+ - lib/ey-core/collections/gems.rb
520
+ - lib/ey-core/collections/keypair_deployments.rb
521
+ - lib/ey-core/collections/keypairs.rb
522
+ - lib/ey-core/collections/legacy_alerts.rb
523
+ - lib/ey-core/collections/load_balancer_nodes.rb
524
+ - lib/ey-core/collections/load_balancer_services.rb
525
+ - lib/ey-core/collections/load_balancers.rb
526
+ - lib/ey-core/collections/logical_databases.rb
527
+ - lib/ey-core/collections/logs.rb
528
+ - lib/ey-core/collections/memberships.rb
529
+ - lib/ey-core/collections/messages.rb
530
+ - lib/ey-core/collections/plan_usages.rb
531
+ - lib/ey-core/collections/provider_locations.rb
532
+ - lib/ey-core/collections/providers.rb
533
+ - lib/ey-core/collections/requests.rb
534
+ - lib/ey-core/collections/server_events.rb
535
+ - lib/ey-core/collections/server_usages.rb
536
+ - lib/ey-core/collections/servers.rb
537
+ - lib/ey-core/collections/services.rb
538
+ - lib/ey-core/collections/ssl_certificates.rb
539
+ - lib/ey-core/collections/storage_users.rb
540
+ - lib/ey-core/collections/storages.rb
541
+ - lib/ey-core/collections/tasks.rb
542
+ - lib/ey-core/collections/tokens.rb
543
+ - lib/ey-core/collections/untracked_addresses.rb
544
+ - lib/ey-core/collections/untracked_servers.rb
545
+ - lib/ey-core/collections/users.rb
546
+ - lib/ey-core/collections/volumes.rb
547
+ - lib/ey-core/logger.rb
548
+ - lib/ey-core/memory_cache.rb
549
+ - lib/ey-core/mock/helper.rb
550
+ - lib/ey-core/mock/params.rb
551
+ - lib/ey-core/mock/resources.rb
552
+ - lib/ey-core/mock/searching.rb
553
+ - lib/ey-core/mock/util.rb
554
+ - lib/ey-core/model.rb
555
+ - lib/ey-core/models/account.rb
556
+ - lib/ey-core/models/account_cancellation.rb
557
+ - lib/ey-core/models/account_referral.rb
558
+ - lib/ey-core/models/account_trial.rb
559
+ - lib/ey-core/models/addon.rb
560
+ - lib/ey-core/models/address.rb
561
+ - lib/ey-core/models/alert.rb
562
+ - lib/ey-core/models/application.rb
563
+ - lib/ey-core/models/application_archive.rb
564
+ - lib/ey-core/models/application_deployment.rb
565
+ - lib/ey-core/models/auto_scaling_alarm.rb
566
+ - lib/ey-core/models/auto_scaling_group.rb
567
+ - lib/ey-core/models/backup_file.rb
568
+ - lib/ey-core/models/base_auto_scaling_policy.rb
569
+ - lib/ey-core/models/billing.rb
570
+ - lib/ey-core/models/blueprint.rb
571
+ - lib/ey-core/models/component.rb
572
+ - lib/ey-core/models/contact.rb
573
+ - lib/ey-core/models/container_service_deployment.rb
574
+ - lib/ey-core/models/cost.rb
575
+ - lib/ey-core/models/database_plan_usage.rb
576
+ - lib/ey-core/models/database_server.rb
577
+ - lib/ey-core/models/database_server_revision.rb
578
+ - lib/ey-core/models/database_server_snapshot.rb
579
+ - lib/ey-core/models/database_server_usage.rb
580
+ - lib/ey-core/models/database_service.rb
581
+ - lib/ey-core/models/deployment.rb
582
+ - lib/ey-core/models/environment.rb
583
+ - lib/ey-core/models/environment_plan_usage.rb
584
+ - lib/ey-core/models/environment_variable.rb
585
+ - lib/ey-core/models/feature.rb
586
+ - lib/ey-core/models/firewall.rb
587
+ - lib/ey-core/models/firewall_rule.rb
588
+ - lib/ey-core/models/gem.rb
589
+ - lib/ey-core/models/keypair.rb
590
+ - lib/ey-core/models/keypair_deployment.rb
591
+ - lib/ey-core/models/legacy_alert.rb
592
+ - lib/ey-core/models/load_balancer.rb
593
+ - lib/ey-core/models/load_balancer_node.rb
594
+ - lib/ey-core/models/load_balancer_service.rb
595
+ - lib/ey-core/models/log.rb
596
+ - lib/ey-core/models/logical_database.rb
597
+ - lib/ey-core/models/membership.rb
598
+ - lib/ey-core/models/message.rb
599
+ - lib/ey-core/models/plan_usage.rb
600
+ - lib/ey-core/models/provider.rb
601
+ - lib/ey-core/models/provider_location.rb
602
+ - lib/ey-core/models/request.rb
603
+ - lib/ey-core/models/server.rb
604
+ - lib/ey-core/models/server_event.rb
605
+ - lib/ey-core/models/server_usage.rb
606
+ - lib/ey-core/models/service.rb
607
+ - lib/ey-core/models/simple_auto_scaling_policy.rb
608
+ - lib/ey-core/models/ssl_certificate.rb
609
+ - lib/ey-core/models/step_auto_scaling_policy.rb
610
+ - lib/ey-core/models/storage.rb
611
+ - lib/ey-core/models/storage_user.rb
612
+ - lib/ey-core/models/support_trial.rb
613
+ - lib/ey-core/models/target_auto_scaling_policy.rb
614
+ - lib/ey-core/models/task.rb
615
+ - lib/ey-core/models/token.rb
616
+ - lib/ey-core/models/untracked_address.rb
617
+ - lib/ey-core/models/untracked_server.rb
618
+ - lib/ey-core/models/user.rb
619
+ - lib/ey-core/models/volume.rb
620
+ - lib/ey-core/request.rb
621
+ - lib/ey-core/request_failure.rb
622
+ - lib/ey-core/requests/acknowledge_alert.rb
623
+ - lib/ey-core/requests/apply_environment_updates.rb
624
+ - lib/ey-core/requests/apply_server_updates.rb
625
+ - lib/ey-core/requests/attach_address.rb
626
+ - lib/ey-core/requests/authorized_channel.rb
627
+ - lib/ey-core/requests/blueprint_environment.rb
628
+ - lib/ey-core/requests/boot_environment.rb
629
+ - lib/ey-core/requests/bootstrap_logical_database.rb
630
+ - lib/ey-core/requests/cancel_account.rb
631
+ - lib/ey-core/requests/change_environment_maintenance.rb
632
+ - lib/ey-core/requests/create_account.rb
633
+ - lib/ey-core/requests/create_addon.rb
634
+ - lib/ey-core/requests/create_address.rb
635
+ - lib/ey-core/requests/create_alert.rb
636
+ - lib/ey-core/requests/create_application.rb
637
+ - lib/ey-core/requests/create_application_archive.rb
638
+ - lib/ey-core/requests/create_auto_scaling_alarm.rb
639
+ - lib/ey-core/requests/create_auto_scaling_group.rb
640
+ - lib/ey-core/requests/create_auto_scaling_policy.rb
641
+ - lib/ey-core/requests/create_backup_file.rb
642
+ - lib/ey-core/requests/create_database_server.rb
643
+ - lib/ey-core/requests/create_database_service.rb
644
+ - lib/ey-core/requests/create_database_service_snapshot.rb
645
+ - lib/ey-core/requests/create_environment.rb
646
+ - lib/ey-core/requests/create_environment_variable.rb
647
+ - lib/ey-core/requests/create_firewall.rb
648
+ - lib/ey-core/requests/create_firewall_rule.rb
649
+ - lib/ey-core/requests/create_keypair.rb
650
+ - lib/ey-core/requests/create_keypair_deployment.rb
651
+ - lib/ey-core/requests/create_load_balancer.rb
652
+ - lib/ey-core/requests/create_log.rb
653
+ - lib/ey-core/requests/create_logical_database.rb
654
+ - lib/ey-core/requests/create_membership.rb
655
+ - lib/ey-core/requests/create_message.rb
656
+ - lib/ey-core/requests/create_password_reset.rb
657
+ - lib/ey-core/requests/create_provider.rb
658
+ - lib/ey-core/requests/create_server.rb
659
+ - lib/ey-core/requests/create_ssl_certificate.rb
660
+ - lib/ey-core/requests/create_storage.rb
661
+ - lib/ey-core/requests/create_storage_user.rb
662
+ - lib/ey-core/requests/create_task.rb
663
+ - lib/ey-core/requests/create_token.rb
664
+ - lib/ey-core/requests/create_untracked_address.rb
665
+ - lib/ey-core/requests/create_untracked_server.rb
666
+ - lib/ey-core/requests/create_user.rb
667
+ - lib/ey-core/requests/deploy_environment_application.rb
668
+ - lib/ey-core/requests/deprovision_environment.rb
669
+ - lib/ey-core/requests/destroy_addon.rb
670
+ - lib/ey-core/requests/destroy_auto_scaling_alarm.rb
671
+ - lib/ey-core/requests/destroy_auto_scaling_group.rb
672
+ - lib/ey-core/requests/destroy_auto_scaling_policy.rb
673
+ - lib/ey-core/requests/destroy_blueprint.rb
674
+ - lib/ey-core/requests/destroy_database_server.rb
675
+ - lib/ey-core/requests/destroy_database_server_snapshot.rb
676
+ - lib/ey-core/requests/destroy_database_service.rb
677
+ - lib/ey-core/requests/destroy_environment.rb
678
+ - lib/ey-core/requests/destroy_firewall.rb
679
+ - lib/ey-core/requests/destroy_firewall_rule.rb
680
+ - lib/ey-core/requests/destroy_load_balancer.rb
681
+ - lib/ey-core/requests/destroy_logical_database.rb
682
+ - lib/ey-core/requests/destroy_provider.rb
683
+ - lib/ey-core/requests/destroy_server.rb
684
+ - lib/ey-core/requests/destroy_ssl_certificate.rb
685
+ - lib/ey-core/requests/destroy_storage.rb
686
+ - lib/ey-core/requests/destroy_storage_user.rb
687
+ - lib/ey-core/requests/destroy_user.rb
688
+ - lib/ey-core/requests/detach_address.rb
689
+ - lib/ey-core/requests/disable_feature.rb
690
+ - lib/ey-core/requests/discover_container_service_deployments.rb
691
+ - lib/ey-core/requests/discover_database_server.rb
692
+ - lib/ey-core/requests/discover_database_server_snapshots.rb
693
+ - lib/ey-core/requests/discover_provider_location.rb
694
+ - lib/ey-core/requests/discover_server.rb
695
+ - lib/ey-core/requests/download_file.rb
696
+ - lib/ey-core/requests/enable_feature.rb
697
+ - lib/ey-core/requests/get_account.rb
698
+ - lib/ey-core/requests/get_account_cancellation.rb
699
+ - lib/ey-core/requests/get_account_referrals.rb
700
+ - lib/ey-core/requests/get_account_trial.rb
701
+ - lib/ey-core/requests/get_accounts.rb
702
+ - lib/ey-core/requests/get_addon.rb
703
+ - lib/ey-core/requests/get_addons.rb
704
+ - lib/ey-core/requests/get_address.rb
705
+ - lib/ey-core/requests/get_addresses.rb
706
+ - lib/ey-core/requests/get_alert.rb
707
+ - lib/ey-core/requests/get_alerting_environments.rb
708
+ - lib/ey-core/requests/get_alerts.rb
709
+ - lib/ey-core/requests/get_api_token.rb
710
+ - lib/ey-core/requests/get_application.rb
711
+ - lib/ey-core/requests/get_application_archive.rb
712
+ - lib/ey-core/requests/get_application_archives.rb
713
+ - lib/ey-core/requests/get_application_deployment.rb
714
+ - lib/ey-core/requests/get_application_deployments.rb
715
+ - lib/ey-core/requests/get_applications.rb
716
+ - lib/ey-core/requests/get_auto_scaling_alarm.rb
717
+ - lib/ey-core/requests/get_auto_scaling_alarms.rb
718
+ - lib/ey-core/requests/get_auto_scaling_group.rb
719
+ - lib/ey-core/requests/get_auto_scaling_groups.rb
720
+ - lib/ey-core/requests/get_auto_scaling_policies.rb
721
+ - lib/ey-core/requests/get_auto_scaling_policy.rb
722
+ - lib/ey-core/requests/get_backup_file.rb
723
+ - lib/ey-core/requests/get_backup_files.rb
724
+ - lib/ey-core/requests/get_billing.rb
725
+ - lib/ey-core/requests/get_blueprint.rb
726
+ - lib/ey-core/requests/get_blueprints.rb
727
+ - lib/ey-core/requests/get_component.rb
728
+ - lib/ey-core/requests/get_components.rb
729
+ - lib/ey-core/requests/get_contacts.rb
730
+ - lib/ey-core/requests/get_costs.rb
731
+ - lib/ey-core/requests/get_current_user.rb
732
+ - lib/ey-core/requests/get_database_plan_usages.rb
733
+ - lib/ey-core/requests/get_database_server.rb
734
+ - lib/ey-core/requests/get_database_server_revisions.rb
735
+ - lib/ey-core/requests/get_database_server_snapshot.rb
736
+ - lib/ey-core/requests/get_database_server_snapshots.rb
737
+ - lib/ey-core/requests/get_database_server_usages.rb
738
+ - lib/ey-core/requests/get_database_servers.rb
739
+ - lib/ey-core/requests/get_database_servers_firewalls.rb
740
+ - lib/ey-core/requests/get_database_service.rb
741
+ - lib/ey-core/requests/get_database_services.rb
742
+ - lib/ey-core/requests/get_deployment.rb
743
+ - lib/ey-core/requests/get_deployments.rb
744
+ - lib/ey-core/requests/get_environment.rb
745
+ - lib/ey-core/requests/get_environment_database_services.rb
746
+ - lib/ey-core/requests/get_environment_logical_databases.rb
747
+ - lib/ey-core/requests/get_environment_plan_usages.rb
748
+ - lib/ey-core/requests/get_environment_variable.rb
749
+ - lib/ey-core/requests/get_environment_variables.rb
750
+ - lib/ey-core/requests/get_environments.rb
751
+ - lib/ey-core/requests/get_feature.rb
752
+ - lib/ey-core/requests/get_features.rb
753
+ - lib/ey-core/requests/get_firewall.rb
754
+ - lib/ey-core/requests/get_firewall_rule.rb
755
+ - lib/ey-core/requests/get_firewall_rules.rb
756
+ - lib/ey-core/requests/get_firewalls.rb
757
+ - lib/ey-core/requests/get_gem.rb
758
+ - lib/ey-core/requests/get_keypair.rb
759
+ - lib/ey-core/requests/get_keypair_deployment.rb
760
+ - lib/ey-core/requests/get_keypair_deployments.rb
761
+ - lib/ey-core/requests/get_keypairs.rb
762
+ - lib/ey-core/requests/get_legacy_alert.rb
763
+ - lib/ey-core/requests/get_legacy_alerts.rb
764
+ - lib/ey-core/requests/get_load_balancer.rb
765
+ - lib/ey-core/requests/get_load_balancer_node.rb
766
+ - lib/ey-core/requests/get_load_balancer_nodes.rb
767
+ - lib/ey-core/requests/get_load_balancer_service.rb
768
+ - lib/ey-core/requests/get_load_balancer_services.rb
769
+ - lib/ey-core/requests/get_load_balancers.rb
770
+ - lib/ey-core/requests/get_log.rb
771
+ - lib/ey-core/requests/get_logical_database.rb
772
+ - lib/ey-core/requests/get_logical_databases.rb
773
+ - lib/ey-core/requests/get_logs.rb
774
+ - lib/ey-core/requests/get_membership.rb
775
+ - lib/ey-core/requests/get_memberships.rb
776
+ - lib/ey-core/requests/get_message.rb
777
+ - lib/ey-core/requests/get_messages.rb
778
+ - lib/ey-core/requests/get_metadata.rb
779
+ - lib/ey-core/requests/get_operational_contact.rb
780
+ - lib/ey-core/requests/get_operational_contacts.rb
781
+ - lib/ey-core/requests/get_plan_usages.rb
782
+ - lib/ey-core/requests/get_possible_provider_locations.rb
783
+ - lib/ey-core/requests/get_provider.rb
784
+ - lib/ey-core/requests/get_provider_location.rb
785
+ - lib/ey-core/requests/get_provider_locations.rb
786
+ - lib/ey-core/requests/get_providers.rb
787
+ - lib/ey-core/requests/get_request.rb
788
+ - lib/ey-core/requests/get_requests.rb
789
+ - lib/ey-core/requests/get_server.rb
790
+ - lib/ey-core/requests/get_server_event.rb
791
+ - lib/ey-core/requests/get_server_events.rb
792
+ - lib/ey-core/requests/get_server_usages.rb
793
+ - lib/ey-core/requests/get_servers.rb
794
+ - lib/ey-core/requests/get_ssl_certificate.rb
795
+ - lib/ey-core/requests/get_ssl_certificates.rb
796
+ - lib/ey-core/requests/get_storage.rb
797
+ - lib/ey-core/requests/get_storage_user.rb
798
+ - lib/ey-core/requests/get_storage_users.rb
799
+ - lib/ey-core/requests/get_storages.rb
800
+ - lib/ey-core/requests/get_support_trial.rb
801
+ - lib/ey-core/requests/get_task.rb
802
+ - lib/ey-core/requests/get_tasks.rb
803
+ - lib/ey-core/requests/get_token.rb
804
+ - lib/ey-core/requests/get_token_by_login.rb
805
+ - lib/ey-core/requests/get_tokens.rb
806
+ - lib/ey-core/requests/get_untracked_server.rb
807
+ - lib/ey-core/requests/get_untracked_servers.rb
808
+ - lib/ey-core/requests/get_user.rb
809
+ - lib/ey-core/requests/get_users.rb
810
+ - lib/ey-core/requests/get_volume.rb
811
+ - lib/ey-core/requests/get_volumes.rb
812
+ - lib/ey-core/requests/reboot_server.rb
813
+ - lib/ey-core/requests/reconcile_server.rb
814
+ - lib/ey-core/requests/request_callback.rb
815
+ - lib/ey-core/requests/reset_password.rb
816
+ - lib/ey-core/requests/reset_server_state.rb
817
+ - lib/ey-core/requests/restart_environment_app_servers.rb
818
+ - lib/ey-core/requests/retrieve_docker_registry_credentials.rb
819
+ - lib/ey-core/requests/run_cluster_application_action.rb
820
+ - lib/ey-core/requests/run_environment_application_action.rb
821
+ - lib/ey-core/requests/signup.rb
822
+ - lib/ey-core/requests/start_server.rb
823
+ - lib/ey-core/requests/stop_server.rb
824
+ - lib/ey-core/requests/timeout_deployment.rb
825
+ - lib/ey-core/requests/unassign_environment.rb
826
+ - lib/ey-core/requests/update_addon.rb
827
+ - lib/ey-core/requests/update_address.rb
828
+ - lib/ey-core/requests/update_alert.rb
829
+ - lib/ey-core/requests/update_application_archive.rb
830
+ - lib/ey-core/requests/update_auto_scaling_alarm.rb
831
+ - lib/ey-core/requests/update_auto_scaling_group.rb
832
+ - lib/ey-core/requests/update_auto_scaling_policy.rb
833
+ - lib/ey-core/requests/update_billing.rb
834
+ - lib/ey-core/requests/update_blueprint.rb
835
+ - lib/ey-core/requests/update_connector.rb
836
+ - lib/ey-core/requests/update_environment.rb
837
+ - lib/ey-core/requests/update_environment_variable.rb
838
+ - lib/ey-core/requests/update_membership.rb
839
+ - lib/ey-core/requests/update_provider_location.rb
840
+ - lib/ey-core/requests/update_server.rb
841
+ - lib/ey-core/requests/update_ssl_certificate.rb
842
+ - lib/ey-core/requests/update_untracked_server.rb
843
+ - lib/ey-core/requests/upload_file.rb
844
+ - lib/ey-core/requests/upload_recipes_for_environment.rb
845
+ - lib/ey-core/response.rb
846
+ - lib/ey-core/response_cache.rb
847
+ - lib/ey-core/subscribable.rb
848
+ - lib/ey-core/test_helpers.rb
849
+ - lib/ey-core/test_helpers/account_helpers.rb
850
+ - lib/ey-core/test_helpers/alert_helpers.rb
851
+ - lib/ey-core/test_helpers/auto_scaling_helpers.rb
852
+ - lib/ey-core/test_helpers/client_helpers.rb
853
+ - lib/ey-core/test_helpers/cucumber.rb
854
+ - lib/ey-core/test_helpers/resource_helpers.rb
855
+ - lib/ey-core/test_helpers/rspec.rb
856
+ - lib/ey-core/token_authentication.rb
857
+ - lib/ey-core/version.rb
858
+ - spec/account_spec.rb
859
+ - spec/account_trial_spec.rb
860
+ - spec/accounts_referrals_spec.rb
861
+ - spec/accounts_spec.rb
862
+ - spec/addons_and_vars_spec.rb
863
+ - spec/addresses_spec.rb
864
+ - spec/alerts_spec.rb
865
+ - spec/application_archives_spec.rb
866
+ - spec/applications_spec.rb
867
+ - spec/auto_scaling_alarms_spec.rb
868
+ - spec/auto_scaling_groups_spec.rb
869
+ - spec/auto_scaling_policies_spec.rb
870
+ - spec/billing_spec.rb
871
+ - spec/blueprints_spec.rb
872
+ - spec/client_spec.rb
873
+ - spec/collection_spec.rb
874
+ - spec/costs_spec.rb
875
+ - spec/database_plan_usage_spec.rb
876
+ - spec/database_server_snapshots_spec.rb
877
+ - spec/database_server_usage_spec.rb
878
+ - spec/database_servers_spec.rb
879
+ - spec/database_services_spec.rb
880
+ - spec/deployments_spec.rb
881
+ - spec/docker_registry_credentials_spec.rb
882
+ - spec/environment_plan_usage_spec.rb
883
+ - spec/environments_spec.rb
884
+ - spec/ey-core/cli/accounts_spec.rb
885
+ - spec/ey-core/cli/helpers/server_sieve_spec.rb
886
+ - spec/ey-core/cli/recipes/apply_spec.rb
887
+ - spec/ey-core/cli/recipes/download_spec.rb
888
+ - spec/ey-core/cli/recipes/upload_spec.rb
889
+ - spec/features_spec.rb
890
+ - spec/firewalls_spec.rb
891
+ - spec/gems_spec.rb
892
+ - spec/keypair_deployments_spec.rb
893
+ - spec/keypairs_spec.rb
894
+ - spec/legacy_alerts_spec.rb
895
+ - spec/load_balancers_spec.rb
896
+ - spec/logical_databases_spec.rb
897
+ - spec/logs_spec.rb
898
+ - spec/memberships_spec.rb
899
+ - spec/messages_spec.rb
900
+ - spec/metadata_spec.rb
901
+ - spec/plan_usage_spec.rb
902
+ - spec/provider_locations_spec.rb
903
+ - spec/providers_spec.rb
904
+ - spec/requests/upload_file_spec.rb
905
+ - spec/requests_spec.rb
906
+ - spec/reset_password_spec.rb
907
+ - spec/server_events_spec.rb
908
+ - spec/server_usage_spec.rb
909
+ - spec/servers_spec.rb
910
+ - spec/services_spec.rb
911
+ - spec/signups_spec.rb
912
+ - spec/spec_helper.rb
913
+ - spec/ssl_certificates_spec.rb
914
+ - spec/storages_spec.rb
915
+ - spec/support/cli_helpers.rb
916
+ - spec/support/core.rb
917
+ - spec/support/coverage.rb
918
+ - spec/support/fake_kernel.rb
919
+ - spec/support/helpers.rb
920
+ - spec/support/timecop.rb
921
+ - spec/support_trial_spec.rb
922
+ - spec/tokens_spec.rb
923
+ - spec/untracked_servers_spec.rb
924
+ - spec/users_spec.rb
925
+ homepage: ''
926
+ licenses:
927
+ - MIT
928
+ metadata: {}
929
+ post_install_message:
930
+ rdoc_options: []
931
+ require_paths:
932
+ - lib
933
+ required_ruby_version: !ruby/object:Gem::Requirement
934
+ requirements:
935
+ - - ">="
936
+ - !ruby/object:Gem::Version
937
+ version: 2.6.3
938
+ required_rubygems_version: !ruby/object:Gem::Requirement
939
+ requirements:
940
+ - - ">="
941
+ - !ruby/object:Gem::Version
942
+ version: '0'
943
+ requirements: []
944
+ rubygems_version: 3.0.3
945
+ signing_key:
946
+ specification_version: 4
947
+ summary: Client library providing real and mock functionality for accessing Engine
948
+ Yard's Core API
949
+ test_files:
950
+ - features/accounts.feature
951
+ - features/applications.feature
952
+ - features/current_user.feature
953
+ - features/docker_registry_credentials.feature
954
+ - features/environment_variables.feature
955
+ - features/environments.feature
956
+ - features/init.feature
957
+ - features/login.feature
958
+ - features/scp.feature
959
+ - features/step_definitions/accounts_steps.rb
960
+ - features/step_definitions/applications_steps.rb
961
+ - features/step_definitions/current_user_steps.rb
962
+ - features/step_definitions/deprecated_command_steps.rb
963
+ - features/step_definitions/docker_registry_credentials_steps.rb
964
+ - features/step_definitions/environment_variables_steps.rb
965
+ - features/step_definitions/environments_steps.rb
966
+ - features/step_definitions/version_steps.rb
967
+ - features/support/account_helpers.rb
968
+ - features/support/app_helpers.rb
969
+ - features/support/aruba.rb
970
+ - features/support/boilerplate.rb
971
+ - features/support/client_helpers.rb
972
+ - features/support/config_file_helpers.rb
973
+ - features/support/core.rb
974
+ - features/support/deployment_helpers.rb
975
+ - features/support/env.rb
976
+ - features/support/environment_helpers.rb
977
+ - features/support/environment_variable_helpers.rb
978
+ - features/support/fake_kernel.rb
979
+ - features/support/io.rb
980
+ - features/support/mock_api.rb
981
+ - features/support/output_helpers.rb
982
+ - features/support/resource_helpers.rb
983
+ - features/support/server_helpers.rb
984
+ - features/version.feature
985
+ - features/whoami.feature
986
+ - spec/account_spec.rb
987
+ - spec/account_trial_spec.rb
988
+ - spec/accounts_referrals_spec.rb
989
+ - spec/accounts_spec.rb
990
+ - spec/addons_and_vars_spec.rb
991
+ - spec/addresses_spec.rb
992
+ - spec/alerts_spec.rb
993
+ - spec/application_archives_spec.rb
994
+ - spec/applications_spec.rb
995
+ - spec/auto_scaling_alarms_spec.rb
996
+ - spec/auto_scaling_groups_spec.rb
997
+ - spec/auto_scaling_policies_spec.rb
998
+ - spec/billing_spec.rb
999
+ - spec/blueprints_spec.rb
1000
+ - spec/client_spec.rb
1001
+ - spec/collection_spec.rb
1002
+ - spec/costs_spec.rb
1003
+ - spec/database_plan_usage_spec.rb
1004
+ - spec/database_server_snapshots_spec.rb
1005
+ - spec/database_server_usage_spec.rb
1006
+ - spec/database_servers_spec.rb
1007
+ - spec/database_services_spec.rb
1008
+ - spec/deployments_spec.rb
1009
+ - spec/docker_registry_credentials_spec.rb
1010
+ - spec/environment_plan_usage_spec.rb
1011
+ - spec/environments_spec.rb
1012
+ - spec/ey-core/cli/accounts_spec.rb
1013
+ - spec/ey-core/cli/helpers/server_sieve_spec.rb
1014
+ - spec/ey-core/cli/recipes/apply_spec.rb
1015
+ - spec/ey-core/cli/recipes/download_spec.rb
1016
+ - spec/ey-core/cli/recipes/upload_spec.rb
1017
+ - spec/features_spec.rb
1018
+ - spec/firewalls_spec.rb
1019
+ - spec/gems_spec.rb
1020
+ - spec/keypair_deployments_spec.rb
1021
+ - spec/keypairs_spec.rb
1022
+ - spec/legacy_alerts_spec.rb
1023
+ - spec/load_balancers_spec.rb
1024
+ - spec/logical_databases_spec.rb
1025
+ - spec/logs_spec.rb
1026
+ - spec/memberships_spec.rb
1027
+ - spec/messages_spec.rb
1028
+ - spec/metadata_spec.rb
1029
+ - spec/plan_usage_spec.rb
1030
+ - spec/provider_locations_spec.rb
1031
+ - spec/providers_spec.rb
1032
+ - spec/requests/upload_file_spec.rb
1033
+ - spec/requests_spec.rb
1034
+ - spec/reset_password_spec.rb
1035
+ - spec/server_events_spec.rb
1036
+ - spec/server_usage_spec.rb
1037
+ - spec/servers_spec.rb
1038
+ - spec/services_spec.rb
1039
+ - spec/signups_spec.rb
1040
+ - spec/spec_helper.rb
1041
+ - spec/ssl_certificates_spec.rb
1042
+ - spec/storages_spec.rb
1043
+ - spec/support/cli_helpers.rb
1044
+ - spec/support/core.rb
1045
+ - spec/support/coverage.rb
1046
+ - spec/support/fake_kernel.rb
1047
+ - spec/support/helpers.rb
1048
+ - spec/support/timecop.rb
1049
+ - spec/support_trial_spec.rb
1050
+ - spec/tokens_spec.rb
1051
+ - spec/untracked_servers_spec.rb
1052
+ - spec/users_spec.rb