auth0 4.4.0 → 5.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (289) hide show
  1. checksums.yaml +4 -4
  2. data/.bundle/config +3 -2
  3. data/.circleci/config.yml +44 -0
  4. data/.env.example +2 -0
  5. data/.github/CODEOWNERS +1 -0
  6. data/.github/ISSUE_TEMPLATE/config.yml +8 -0
  7. data/.github/ISSUE_TEMPLATE/feature_request.md +39 -0
  8. data/.github/ISSUE_TEMPLATE/report_a_bug.md +55 -0
  9. data/.github/PULL_REQUEST_TEMPLATE.md +35 -0
  10. data/.github/stale.yml +20 -0
  11. data/.gitignore +1 -2
  12. data/.rubocop.yml +2 -0
  13. data/.yardoc/checksums +22 -0
  14. data/.yardoc/complete +0 -0
  15. data/.yardoc/object_types +0 -0
  16. data/.yardoc/objects/root.dat +0 -0
  17. data/.yardoc/proxy_types +0 -0
  18. data/CHANGELOG.md +334 -19
  19. data/CODE_OF_CONDUCT.md +3 -0
  20. data/DEPLOYMENT.md +56 -9
  21. data/Gemfile +10 -3
  22. data/README.md +260 -37
  23. data/Rakefile +4 -23
  24. data/auth0.gemspec +10 -9
  25. data/codecov.yml +22 -0
  26. data/examples/ruby-api/.gitignore +0 -6
  27. data/lib/auth0/algorithm.rb +5 -0
  28. data/lib/auth0/api/authentication_endpoints.rb +244 -237
  29. data/lib/auth0/api/v2/anomaly.rb +36 -0
  30. data/lib/auth0/api/v2/branding.rb +66 -0
  31. data/lib/auth0/api/v2/client_grants.rb +14 -5
  32. data/lib/auth0/api/v2/clients.rb +9 -6
  33. data/lib/auth0/api/v2/connections.rb +19 -7
  34. data/lib/auth0/api/v2/device_credentials.rb +5 -4
  35. data/lib/auth0/api/v2/guardian.rb +142 -0
  36. data/lib/auth0/api/v2/jobs.rb +77 -13
  37. data/lib/auth0/api/v2/log_streams.rb +78 -0
  38. data/lib/auth0/api/v2/logs.rb +11 -11
  39. data/lib/auth0/api/v2/organizations.rb +335 -0
  40. data/lib/auth0/api/v2/prompts.rb +70 -0
  41. data/lib/auth0/api/v2/resource_servers.rb +32 -8
  42. data/lib/auth0/api/v2/roles.rb +172 -0
  43. data/lib/auth0/api/v2/rules.rb +6 -2
  44. data/lib/auth0/api/v2/tickets.rb +55 -8
  45. data/lib/auth0/api/v2/users.rb +168 -28
  46. data/lib/auth0/api/v2/users_by_email.rb +3 -2
  47. data/lib/auth0/api/v2.rb +16 -2
  48. data/lib/auth0/client.rb +1 -1
  49. data/lib/auth0/exception.rb +34 -9
  50. data/lib/auth0/mixins/access_token_struct.rb +20 -0
  51. data/lib/auth0/mixins/api_token_struct.rb +10 -0
  52. data/lib/auth0/mixins/headers.rb +35 -0
  53. data/lib/auth0/mixins/httpproxy.rb +37 -14
  54. data/lib/auth0/mixins/initializer.rb +10 -26
  55. data/lib/auth0/mixins/permission_struct.rb +3 -0
  56. data/lib/auth0/mixins/validation.rb +346 -0
  57. data/lib/auth0/mixins.rb +9 -1
  58. data/lib/auth0/version.rb +1 -1
  59. data/lib/auth0.rb +1 -0
  60. data/spec/fixtures/vcr_cassettes/Auth0_Api_AuthenticationEndpoints/_change_password/should_trigger_a_password_reset.yml +63 -0
  61. data/spec/fixtures/vcr_cassettes/Auth0_Api_AuthenticationEndpoints/_login_with_resource_owner/should_fail_with_an_incorrect_email.yml +54 -0
  62. data/spec/fixtures/vcr_cassettes/Auth0_Api_AuthenticationEndpoints/_login_with_resource_owner/should_fail_with_an_incorrect_password.yml +54 -0
  63. data/spec/fixtures/vcr_cassettes/Auth0_Api_AuthenticationEndpoints/_login_with_resource_owner/should_fail_with_an_invalid_audience.yml +55 -0
  64. data/spec/fixtures/vcr_cassettes/Auth0_Api_AuthenticationEndpoints/_login_with_resource_owner/should_login_successfully_with_a_custom_audience.yml +117 -0
  65. data/spec/fixtures/vcr_cassettes/Auth0_Api_AuthenticationEndpoints/_login_with_resource_owner/should_login_successfully_with_a_default_scope.yml +119 -0
  66. data/spec/fixtures/vcr_cassettes/Auth0_Api_AuthenticationEndpoints/_saml_metadata/should_retrieve_SAML_metadata.yml +57 -0
  67. data/spec/fixtures/vcr_cassettes/Auth0_Api_AuthenticationEndpoints/_userinfo/should_fail_as_not_authorized.yml +55 -0
  68. data/spec/fixtures/vcr_cassettes/Auth0_Api_AuthenticationEndpoints/_userinfo/should_return_the_userinfo.yml +118 -0
  69. data/spec/fixtures/vcr_cassettes/Auth0_Api_AuthenticationEndpoints/_wsfed_metadata/should_retrieve_WSFED_metadata.yml +55 -0
  70. data/spec/fixtures/vcr_cassettes/Auth0_Api_AuthenticationEndpoints/create_test_user.yml +58 -0
  71. data/spec/fixtures/vcr_cassettes/Auth0_Api_AuthenticationEndpoints/delete_test_user.yml +54 -0
  72. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Anomaly/_check_if_ip_is_blocked/should_return_200_response_code.yml +65 -0
  73. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Anomaly/_remove_ip_block/should_remove_an_IP_successfully.yml +60 -0
  74. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Blacklists/_add_token_to_blacklist/should_add_a_token_to_the_blacklist.yml +56 -0
  75. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Blacklists/_blacklisted_tokens/should_get_the_added_token_from_the_blacklist.yml +59 -0
  76. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_ClientGrants/_client_grants/should_return_at_least_1_result.yml +62 -0
  77. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_ClientGrants/_client_grants/should_return_the_first_page_of_one_result.yml +66 -0
  78. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_ClientGrants/_client_grants/should_return_the_test_client_grant.yml +62 -0
  79. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_ClientGrants/_delete_client_grant/should_delete_the_test_client_grant.yml +54 -0
  80. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_ClientGrants/_patch_client_grant/should_update_the_test_client_grant.yml +64 -0
  81. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_ClientGrants/create_test_client.yml +118 -0
  82. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_ClientGrants/create_test_client_grant.yml +64 -0
  83. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_ClientGrants/delete_test_client.yml +54 -0
  84. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_ClientGrants/delete_test_client_grant.yml +54 -0
  85. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Clients/_client/_filters/should_exclude_and_include_fields_properly.yml +91 -0
  86. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Clients/_client/_filters/should_include_the_specified_fields.yml +63 -0
  87. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Clients/_client/should_get_the_test_client.yml +92 -0
  88. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Clients/_clients/_filters/should_exclude_fields_not_specified.yml +60 -0
  89. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Clients/_clients/_filters/should_exclude_the_specified_fields.yml +132 -0
  90. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Clients/_clients/_filters/should_include_the_specified_fields.yml +63 -0
  91. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Clients/_clients/_filters/should_paginate_results.yml +65 -0
  92. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Clients/_clients/should_get_at_least_one_client.yml +132 -0
  93. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Clients/_delete_client/should_delete_the_test_client_without_an_error.yml +54 -0
  94. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Clients/_patch_client/should_update_the_client_with_the_correct_attributes.yml +94 -0
  95. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Clients/create_test_client.yml +118 -0
  96. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Connections/_connection/_filters/should_exclude_the_fields_indicated.yml +63 -0
  97. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Connections/_connection/_filters/should_include_the_fields_indicated.yml +61 -0
  98. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Connections/_connection/should_find_the_correct_connection.yml +63 -0
  99. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Connections/_connections/_filters/should_include_previously-created_connection_when_filtered.yml +59 -0
  100. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Connections/_connections/_filters/should_should_exclude_the_fields_indicated_from_filtered_results.yml +59 -0
  101. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Connections/_connections/_filters/should_should_include_the_fields_indicated_from_filtered_results.yml +59 -0
  102. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Connections/_connections/should_include_the_previously_created_connection.yml +59 -0
  103. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Connections/_connections/should_not_be_empty.yml +59 -0
  104. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Connections/_delete_connection/should_delete_the_connection.yml +54 -0
  105. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Connections/_delete_connection_user/should_delete_the_user_created.yml +110 -0
  106. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Connections/_update_connection/should_update_the_connection.yml +66 -0
  107. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Connections/create_test_connection.yml +65 -0
  108. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Connections/create_test_user.yml +68 -0
  109. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_DeviceCredentials/_delete_device_credential/should_delete_the_test_credential_without_an_error.yml +54 -0
  110. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_DeviceCredentials/_device_credentials/_filter_by_type/should_exclude_the_test_credential.yml +59 -0
  111. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_DeviceCredentials/_device_credentials/should_have_at_least_1_entry.yml +62 -0
  112. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_DeviceCredentials/_device_credentials/should_include_the_test_credential.yml +62 -0
  113. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_DeviceCredentials/create_test_credential.yml +62 -0
  114. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_DeviceCredentials/create_test_user.yml +68 -0
  115. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_DeviceCredentials/delete_test_credential.yml +54 -0
  116. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_DeviceCredentials/delete_test_user.yml +54 -0
  117. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Emails/_configure_provider/should_configure_a_new_email_provider.yml +63 -0
  118. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Emails/_delete_provider/should_delete_the_existing_email_provider_without_an_error.yml +54 -0
  119. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Emails/_delete_provider/should_throw_an_error_trying_to_get_the_email_provider.yml +51 -0
  120. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Emails/_get_provider/_filters/should_get_the_existing_email_provider_with_specific_fields.yml +60 -0
  121. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Emails/_get_provider/_filters/should_get_the_existing_email_provider_without_specific_fields.yml +61 -0
  122. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Emails/_get_provider/should_get_the_existing_email_provider.yml +61 -0
  123. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Emails/_update_provider/should_update_the_existing_email_provider.yml +63 -0
  124. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Emails/delete_existing_provider.yml +54 -0
  125. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Jobs/_export_users_and_get_job/should_create_an_export_users_job_successfully.yml +61 -0
  126. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Jobs/_export_users_and_get_job/should_get_the_export_users_job.yml +117 -0
  127. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Jobs/_import_users_and_get_job/should_create_an_import_users_job_successfully.yml +60 -0
  128. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Jobs/_import_users_and_get_job/should_get_the_import_users_job.yml +116 -0
  129. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Jobs/_send_verification_email_and_get_job/should_create_a_new_verification_email_job.yml +119 -0
  130. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Jobs/_send_verification_email_and_get_job/should_get_the_completed_verification_email.yml +175 -0
  131. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Jobs/_send_verification_email_and_get_job/should_reject_an_invalid_client_id.yml +109 -0
  132. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Jobs/delete_imported_user.yml +110 -0
  133. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Jobs/search_for_connection_id.yml +59 -0
  134. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Logs/_log/should_match_the_created_log_entry.yml +265 -0
  135. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Logs/_log/should_not_be_empty.yml +265 -0
  136. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Logs/_logs/_filters/should_exclude_fields_not_specified.yml +61 -0
  137. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Logs/_logs/_filters/should_exclude_the_specified_fields.yml +75 -0
  138. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Logs/_logs/_filters/should_have_one_log_entry.yml +76 -0
  139. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Logs/_logs/_filters/should_include_the_specified_fields.yml +62 -0
  140. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Logs/_logs/_from/should_take_one_log_entry.yml +258 -0
  141. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Logs/create_test_user.yml +68 -0
  142. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Logs/delete_test_disabled_rule.yml +54 -0
  143. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Logs/delete_test_enabled_rule.yml +54 -0
  144. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Logs/delete_test_user.yml +54 -0
  145. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_ResourceServers/_delete_resource_server/should_delete_the_test_server_without_an_error.yml +54 -0
  146. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_ResourceServers/_patch_resource_server/should_update_the_resource_server_with_the_correct_attributes.yml +61 -0
  147. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_ResourceServers/_resource_server/should_get_the_test_server.yml +59 -0
  148. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_ResourceServers/_resource_servers/should_get_the_test_server.yml +59 -0
  149. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_ResourceServers/_resource_servers/should_return_at_least_1_result.yml +59 -0
  150. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_ResourceServers/_resource_servers/should_return_the_first_page_of_one_result.yml +64 -0
  151. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_ResourceServers/create_test_server.yml +61 -0
  152. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_ResourceServers/delete_test_server.yml +54 -0
  153. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Roles/_add_role_permissions/should_add_a_Permission_to_the_Role_successfully.yml +69 -0
  154. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Roles/_add_role_users/should_add_a_User_to_the_Role_successfully.yml +69 -0
  155. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Roles/_delete_role/should_delete_the_Role_successfully.yml +62 -0
  156. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Roles/_get_role/should_get_the_Role_successfully.yml +67 -0
  157. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Roles/_get_role_permissions/should_get_exactly_1_Permission.yml +67 -0
  158. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Roles/_get_role_permissions/should_get_the_added_Permission_from_the_Role_successfully.yml +67 -0
  159. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Roles/_get_role_users/should_get_exactly_1_User.yml +67 -0
  160. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Roles/_get_role_users/should_get_the_added_User_from_the_Role_successfully.yml +67 -0
  161. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Roles/_get_roles/should_get_the_Role_successfully.yml +67 -0
  162. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Roles/_remove_role_permissions/should_remove_a_Permission_from_the_Role_successfully.yml +64 -0
  163. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Roles/_update_role/should_update_the_Role_successfully.yml +69 -0
  164. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Roles/create_test_api.yml +69 -0
  165. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Roles/create_test_role.yml +69 -0
  166. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Roles/create_test_user.yml +69 -0
  167. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Roles/delete_test_api.yml +62 -0
  168. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Roles/delete_test_user.yml +62 -0
  169. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Rules/_delete_rule/should_delete_the_test_disabled_rule_without_an_error.yml +54 -0
  170. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Rules/_delete_rule/should_delete_the_test_enabled_rule_without_an_error.yml +54 -0
  171. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Rules/_rule/_filters/should_exclude_the_fields_not_specified.yml +62 -0
  172. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Rules/_rule/_filters/should_exclude_the_specified_fields.yml +62 -0
  173. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Rules/_rule/_filters/should_include_the_specified_fields.yml +61 -0
  174. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Rules/_rule/should_get_a_specific_rule.yml +62 -0
  175. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Rules/_rules/_filters/should_exclude_fields_not_specified.yml +60 -0
  176. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Rules/_rules/_filters/should_include_the_specified_fields.yml +61 -0
  177. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Rules/_rules/_filters/should_return_at_least_1_disabled_rule.yml +63 -0
  178. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Rules/_rules/_filters/should_return_at_least_1_enabled_rule.yml +62 -0
  179. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Rules/_rules/_filters/should_return_paginated_results.yml +128 -0
  180. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Rules/_rules/should_return_at_least_1_rule.yml +64 -0
  181. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Rules/_update_rule/should_update_the_disabled_rule_to_be_enabled.yml +64 -0
  182. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Rules/create_test_disabled_rule.yml +65 -0
  183. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Rules/create_test_enabled_rule.yml +65 -0
  184. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Stats/_active_users/should_have_at_least_one_active_user.yml +59 -0
  185. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Stats/_daily_stats/should_have_at_least_one_stats_entry_for_the_timeframe.yml +63 -0
  186. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Tenants/_get_tenant_settings/should_get_the_tenant_settings.yml +95 -0
  187. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Tenants/_get_tenant_settings_with_specific_fields/should_exclude_a_field_not_requested.yml +61 -0
  188. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Tenants/_get_tenant_settings_with_specific_fields/should_include_the_field_requested.yml +61 -0
  189. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Tenants/_update_tenant_settings/should_revert_the_tenant_name.yml +96 -0
  190. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Tenants/_update_tenant_settings/should_update_the_tenant_settings_with_a_new_tenant_name.yml +96 -0
  191. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Tickets/_post_email_verification/should_create_an_email_verification_ticket.yml +63 -0
  192. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Tickets/_post_password_change/should_create_a_password_change_ticket.yml +63 -0
  193. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Tickets/create_test_user.yml +68 -0
  194. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Tickets/delete_test_user.yml +54 -0
  195. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_add_user_permissions/should_add_a_Permissions_for_a_User_successfully.yml +67 -0
  196. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_add_user_roles/should_add_a_Role_to_a_User_successfully.yml +62 -0
  197. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_delete_user/should_delete_the_User_successfully.yml +60 -0
  198. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_delete_user/should_delete_the_secondary_User_successfully.yml +60 -0
  199. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_delete_user_provider/should_attempt_to_delete_the_MFA_provider_for_the_User.yml +60 -0
  200. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_get_enrollments/should_get_Enrollments_for_a_User_successfully.yml +65 -0
  201. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_get_user_permissions/should_get_exactly_1_Permission_for_a_User_successfully.yml +65 -0
  202. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_get_user_permissions/should_get_the_correct_Permission_for_a_User_successfully.yml +65 -0
  203. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_get_user_roles/should_get_Roles_for_a_User_successfully.yml +65 -0
  204. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_invalidate_browsers/should_invalidate_MFA_browsers_for_the_User_successfully.yml +62 -0
  205. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_link_user_account/should_link_two_Users_successfully.yml +67 -0
  206. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_patch_user/should_patch_the_User_successfully.yml +68 -0
  207. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_remove_user_permissions/should_remove_a_Permission_from_a_User_successfully.yml +62 -0
  208. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_remove_user_roles/should_remove_a_Role_from_a_User_successfully.yml +62 -0
  209. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_unlink_user_account/should_unlink_two_Users_successfully.yml +65 -0
  210. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_user/_filters/should_exclude_fields_not_indicated.yml +65 -0
  211. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_user/_filters/should_exclude_the_fields_indicated.yml +65 -0
  212. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_user/_filters/should_include_the_fields_indicated.yml +65 -0
  213. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_user/should_retrieve_the_created_user.yml +65 -0
  214. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_user_logs/should_get_Logs_for_a_User_successfully.yml +69 -0
  215. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_users/_filters/is_expected_to_find_a_user_with_a_v2_search_engine_query.yml +65 -0
  216. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_users/_filters/is_expected_to_find_a_user_with_a_v3_search_engine_query.yml +65 -0
  217. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_users/_filters/should_exclude_the_indicated_fields_when_paginated.yml +65 -0
  218. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_users/_filters/should_include_the_indicated_fields_when_paginated.yml +65 -0
  219. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_users/_filters/should_not_include_other_fields_when_paginated.yml +65 -0
  220. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_users/_filters/should_return_the_correct_number_of_results_when_paginated.yml +65 -0
  221. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/_users/should_have_at_least_one_user.yml +65 -0
  222. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/create_secondary_test_user.yml +67 -0
  223. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/create_test_api.yml +67 -0
  224. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/create_test_role.yml +67 -0
  225. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/create_test_user.yml +67 -0
  226. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/delete_test_api.yml +60 -0
  227. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Users/delete_test_role.yml +60 -0
  228. data/spec/integration/lib/auth0/api/api_authentication_spec.rb +96 -54
  229. data/spec/integration/lib/auth0/api/v2/api_anomaly_spec.rb +17 -0
  230. data/spec/integration/lib/auth0/api/v2/api_blacklist_spec.rb +18 -5
  231. data/spec/integration/lib/auth0/api/v2/api_client_grants_spec.rb +46 -33
  232. data/spec/integration/lib/auth0/api/v2/api_clients_spec.rb +115 -61
  233. data/spec/integration/lib/auth0/api/v2/api_connections_spec.rb +117 -103
  234. data/spec/integration/lib/auth0/api/v2/api_device_credentials_spec.rb +101 -58
  235. data/spec/integration/lib/auth0/api/v2/api_email_spec.rb +72 -77
  236. data/spec/integration/lib/auth0/api/v2/api_jobs_spec.rb +113 -60
  237. data/spec/integration/lib/auth0/api/v2/api_logs_spec.rb +46 -38
  238. data/spec/integration/lib/auth0/api/v2/api_resource_servers_spec.rb +110 -40
  239. data/spec/integration/lib/auth0/api/v2/api_roles_spec.rb +145 -0
  240. data/spec/integration/lib/auth0/api/v2/api_rules_spec.rb +119 -62
  241. data/spec/integration/lib/auth0/api/v2/api_stats_spec.rb +11 -14
  242. data/spec/integration/lib/auth0/api/v2/api_tenants_spec.rb +40 -34
  243. data/spec/integration/lib/auth0/api/v2/api_tickets_spec.rb +42 -28
  244. data/spec/integration/lib/auth0/api/v2/api_user_blocks_spec.rb +1 -1
  245. data/spec/integration/lib/auth0/api/v2/api_users_spec.rb +252 -120
  246. data/spec/integration/lib/auth0/auth0_client_spec.rb +32 -26
  247. data/spec/lib/auth0/api/v2/anomaly_spec.rb +26 -0
  248. data/spec/lib/auth0/api/v2/branding_spec.rb +70 -0
  249. data/spec/lib/auth0/api/v2/client_grants_spec.rb +34 -2
  250. data/spec/lib/auth0/api/v2/clients_spec.rb +50 -5
  251. data/spec/lib/auth0/api/v2/connections_spec.rb +49 -1
  252. data/spec/lib/auth0/api/v2/guardian_spec.rb +154 -0
  253. data/spec/lib/auth0/api/v2/jobs_spec.rb +109 -6
  254. data/spec/lib/auth0/api/v2/log_streams_spec.rb +84 -0
  255. data/spec/lib/auth0/api/v2/organizations_spec.rb +593 -0
  256. data/spec/lib/auth0/api/v2/prompts_spec.rb +88 -0
  257. data/spec/lib/auth0/api/v2/resource_servers_spec.rb +23 -0
  258. data/spec/lib/auth0/api/v2/roles_spec.rb +362 -0
  259. data/spec/lib/auth0/api/v2/rules_spec.rb +23 -1
  260. data/spec/lib/auth0/api/v2/tickets_spec.rb +95 -5
  261. data/spec/lib/auth0/api/v2/users_spec.rb +465 -61
  262. data/spec/lib/auth0/client_spec.rb +196 -18
  263. data/spec/lib/auth0/mixins/httpproxy_spec.rb +83 -4
  264. data/spec/lib/auth0/mixins/initializer_spec.rb +1 -0
  265. data/spec/lib/auth0/mixins/validation_spec.rb +498 -0
  266. data/spec/spec_helper.rb +54 -11
  267. data/spec/support/credentials.rb +6 -18
  268. data/spec/support/dummy_class.rb +7 -3
  269. data/spec/support/dummy_class_for_proxy.rb +1 -0
  270. data/spec/support/stub_response.rb +1 -1
  271. metadata +497 -53
  272. data/.travis.yml +0 -18
  273. data/build_travis.sh +0 -7
  274. data/deploy_documentation.sh +0 -29
  275. data/doc_config/templates/default/fulldoc/html/css/full_list.css +0 -79
  276. data/doc_config/templates/default/fulldoc/html/css/style.css +0 -546
  277. data/doc_config/templates/default/layout/html/breadcrumb.erb +0 -11
  278. data/doc_config/templates/default/layout/html/footer.erb +0 -115
  279. data/doc_config/templates/default/layout/html/headers.erb +0 -17
  280. data/doc_config/templates/default/layout/html/layout.erb +0 -27
  281. data/lib/auth0/api/v1/clients.rb +0 -48
  282. data/lib/auth0/api/v1/connections.rb +0 -53
  283. data/lib/auth0/api/v1/logs.rb +0 -34
  284. data/lib/auth0/api/v1/rules.rb +0 -45
  285. data/lib/auth0/api/v1/users.rb +0 -164
  286. data/lib/auth0/api/v1.rb +0 -19
  287. data/spec/lib/auth0/api/authentication_endpoints_spec.rb +0 -348
  288. data/spec/spec_helper_full.rb +0 -45
  289. data/spec/spec_helper_unit.rb +0 -3
data/.travis.yml DELETED
@@ -1,18 +0,0 @@
1
- ---
2
- language: ruby
3
- sudo: false
4
- cache: bundler
5
- rvm:
6
- - 2.1.9
7
- - 2.2.5
8
- - 2.3.1
9
- script: "./build_travis.sh"
10
- after_success: "./deploy_documentation.sh"
11
- deploy:
12
- provider: rubygems
13
- api_key: ${RUBYGEMS_API_KEY}
14
- gemspec: auth0.gemspec
15
- on:
16
- tags: true
17
- repo: auth0/ruby-auth0
18
- branch: master
data/build_travis.sh DELETED
@@ -1,7 +0,0 @@
1
- #!/bin/bash
2
-
3
- if [ "$TRAVIS_SECURE_ENV_VARS" == "true" ]; then
4
- MODE=full bundle exec rake all
5
- else
6
- bundle exec rake spec
7
- fi
@@ -1,29 +0,0 @@
1
- #!/bin/bash
2
- # exit with nonzero exit code if anything fails
3
- set -e
4
-
5
- # clear and re-create the out directory
6
- rm -rf doc || exit 0;
7
- mkdir doc;
8
-
9
- # build documentation
10
- bundle exec rake documentation
11
-
12
- # go to the out directory and create a *new* Git repo
13
- cd doc
14
- git init
15
-
16
- # inside this git repo we'll pretend to be a new user
17
- git config user.name "Travis CI"
18
- git config user.email "build-documentation@auth0.com"
19
-
20
- # The first and only commit to this new Git repo contains all the
21
- # files present with the commit message "Deploy to GitHub Pages".
22
- git add .
23
- git commit -m "Deploy to GitHub Pages"
24
-
25
- # Force push from the current repo's master branch to the remote
26
- # repo's gh-pages branch. (All previous history on the gh-pages branch
27
- # will be lost, since we are overwriting it.) We redirect any output to
28
- # /dev/null to hide any sensitive credential data that might otherwise be exposed.
29
- git push --force --quiet "https://${GH_TOKEN}@${GH_REF}" master:gh-pages > /dev/null 2>&1
@@ -1,79 +0,0 @@
1
- body {
2
- padding: 0 20px;
3
- font-size: 14px;
4
- -webkit-font-smoothing: antialiased;
5
- -moz-font-smoothing: antialiased;
6
- font-family: "avenir-next-web", Avenir, "Helvetica Neue", Hevetica, sans-serif;
7
- color: #4d4d4d;
8
- }
9
-
10
- h1, h2, h3, h4, h5 {
11
- line-height: 1.5;
12
- font-family: "avenir-next-web", Avenir, "Helvetica Neue", Hevetica, sans-serif;
13
- color: #000;
14
- font-weight: 400;
15
- }
16
- h1 {
17
- font-size: 3rem;
18
- }
19
- h2 {
20
- font-size: 2rem;
21
- }
22
- h3 {
23
- font-size: 1.5rem;
24
- }
25
- h4 {
26
- font-size: 1.3rem;
27
- }
28
- h5 {
29
- font-size: 16px;
30
- }
31
-
32
- .clear { clear: both; }
33
- #search { position: absolute; right: 5px; top: 9px; padding-left: 24px; }
34
- #content.insearch #search, #content.insearch #noresults { background: url(data:image/gif;base64,R0lGODlhEAAQAPYAAP///wAAAPr6+pKSkoiIiO7u7sjIyNjY2J6engAAAI6OjsbGxjIyMlJSUuzs7KamppSUlPLy8oKCghwcHLKysqSkpJqamvT09Pj4+KioqM7OzkRERAwMDGBgYN7e3ujo6Ly8vCoqKjY2NkZGRtTU1MTExDw8PE5OTj4+PkhISNDQ0MrKylpaWrS0tOrq6nBwcKysrLi4uLq6ul5eXlxcXGJiYoaGhuDg4H5+fvz8/KKiohgYGCwsLFZWVgQEBFBQUMzMzDg4OFhYWBoaGvDw8NbW1pycnOLi4ubm5kBAQKqqqiQkJCAgIK6urnJyckpKSjQ0NGpqatLS0sDAwCYmJnx8fEJCQlRUV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AAAEAAQAAAHZ4AAgoOEhYaCJSWHgxGDJCSMhREZGIYYGY2ElYebi56fhyWQniSKAKKfpaCLFlAPhl0gXYNGEwkhGYREUywag1wJwSkHNDU3D0kJYIMZQwk8MjPBLx9eXwuETVEyAC/BOKsuEjYFhoEAIfkECQgAAAAsAAAAABAAEAAAB2eAAIKDhIWGgiUlh4MRgyQkjIURGRiGGBmNhJWHm4ueICImip6CIQkJKJ4kigynKaqKCyMnKqSEK05StgAGQRxPYZaENqccFgIID4KXmQBhXFkzDgOnFYLNgltaSAAEpxa7BQoQF4aBACH5BAkIAAAALAAAAAAQABAAAAdogACCg4SFggJiPUqCJSWGgkZjCUwZACQkgxGEXAmdT4UYGZqCGWQ+IjKGGIUwPzGPhAc0NTewhDOdL7Ykji+dOLuOLhI2BbaFETICx4MlQitdqoUsCQ2vhKGjglNfU0SWmILaj43M5oEAOwAAAAAAAAAAAA==) no-repeat center left; }
35
- #full_list { padding: 0; list-style: none; margin-left: 0; }
36
- #full_list ul { padding: 0; }
37
- #full_list li { padding: 5px; padding-left: 12px; margin: 0; font-size: 1.1em; list-style: none; }
38
- #noresults { padding: 7px 12px; }
39
- #content.insearch #noresults { margin-left: 7px; }
40
- ul.collapsed ul, ul.collapsed li { display: none; }
41
- ul.collapsed.search_uncollapsed { display: block; }
42
- ul.collapsed.search_uncollapsed li { display: list-item; }
43
- li a.toggle { cursor: default; position: relative; left: -5px; top: 4px; text-indent: -999px; width: 10px; height: 9px; margin-left: -10px; display: block; float: left; background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAASCAYAAABb0P4QAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAK8AAACvABQqw0mAAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTM5jWRgMAAAAVdEVYdENyZWF0aW9uIFRpbWUAMy8xNC8wOeNZPpQAAAE2SURBVDiNrZTBccIwEEXfelIAHUA6CZ24BGaWO+FuzZAK4k6gg5QAdGAq+Bxs2Yqx7BzyL7Llp/VfzZeQhCTc/ezuGzKKnKSzpCxXJM8fwNXda3df5RZETlIt6YUzSQDs93sl8w3wBZxCCE10GM1OcWbWjB2mWgEH4Mfdyxm3PSepBHibgQE2wLe7r4HjEidpnXMYdQPKEMJcsZ4zs2POYQOcaPfwMVOo58zsAdMt18BuoVDPxUJRacELbXv3hUIX2vYmOUvi8C8ydz/ThjXrqKqqLbDIAdsCKBd+Wo7GWa7o9qzOQHVVVXeAbs+yHHCH4aTsaCOQqunmUy1yBUAXkdMIfMlgF5EXLo2OpV/c/Up7jG4hhHcYLgWzAZXUc2b2ixsfvc/RmNNfOXD3Q/oeL9axJE1yT9IOoUu6MGUkAAAAAElFTkSuQmCC) no-repeat bottom left; }
44
- li.collapsed a.toggle { opacity: 0.5; cursor: default; background-position: top left; }
45
- li { color: #888; cursor: pointer; }
46
- li.deprecated { text-decoration: line-through; font-style: italic; }
47
- /*li.r1 { background: #f0f0f0; }
48
- li.r2 { background: #fafafa; }*/
49
- li:hover { background: #ddd; }
50
- li small:before { content: "("; }
51
- li small:after { content: ")"; }
52
- li small.search_info { display: none; }
53
- a:link, a:visited { text-decoration: none; color: #777; }
54
- li.clicked { background: #777; color: #ccc; }
55
- li.clicked a:link, li.clicked a:visited { color: #eee; }
56
- li.clicked a.toggle { opacity: 0.5; background-position: bottom right; }
57
- li.collapsed.clicked a.toggle { background-position: top right; }
58
- #search input { border: 1px solid #bbb; -moz-border-radius: 3px; -webkit-border-radius: 3px; }
59
- #nav { margin-left: 10px; font-size: 0.9em; display: none; color: #aaa; }
60
- #nav a:link, #nav a:visited { color: #358; }
61
- #nav a:hover { background: transparent; color: #5af; }
62
- .frames #nav span:after { content: ' | '; }
63
- .frames #nav span:last-child:after { content: ''; }
64
-
65
- .frames #content h1 { margin-top: 0; }
66
- .frames li { white-space: nowrap; cursor: normal; }
67
- .frames li small { display: block; font-size: 0.8em; }
68
- .frames li small:before { content: ""; }
69
- .frames li small:after { content: ""; }
70
- .frames li small.search_info { display: none; }
71
- .frames #search { width: 170px; position: static; margin: 3px; margin-left: 10px; font-size: 0.9em; color: #888; padding-left: 0; padding-right: 24px; }
72
- .frames #content.insearch #search { background-position: center right; }
73
- .frames #search input { width: 110px; }
74
- .frames #nav { display: block; }
75
-
76
- #full_list.insearch li { display: none; }
77
- #full_list.insearch li.found { display: list-item; padding-left: 10px; }
78
- #full_list.insearch li a.toggle { display: none; }
79
- #full_list.insearch li small.search_info { display: block; }
@@ -1,546 +0,0 @@
1
- html {
2
- font-family: sans-serif;
3
- -webkit-text-size-adjust: 100%;
4
- -ms-text-size-adjust: 100%;
5
- }
6
- body {
7
- margin: 0;
8
- }
9
- article,
10
- aside,
11
- details,
12
- figcaption,
13
- figure,
14
- footer,
15
- header,
16
- hgroup,
17
- main,
18
- menu,
19
- nav,
20
- section,
21
- summary {
22
- display: block;
23
- }
24
- audio,
25
- canvas,
26
- progress,
27
- video {
28
- display: inline-block;
29
- vertical-align: baseline;
30
- }
31
- audio:not([controls]) {
32
- display: none;
33
- height: 0;
34
- }
35
- [hidden],
36
- template {
37
- display: none;
38
- }
39
- a {
40
- background-color: transparent;
41
- }
42
- a:active,
43
- a:hover {
44
- outline: 0;
45
- }
46
- abbr[title] {
47
- border-bottom: 1px dotted;
48
- }
49
- b,
50
- strong {
51
- font-weight: bold;
52
- }
53
- dfn {
54
- font-style: italic;
55
- }
56
- h1 {
57
- margin: .67em 0;
58
- font-size: 2em;
59
- }
60
- mark {
61
- color: #000;
62
- background: #ff0;
63
- }
64
- small {
65
- font-size: 80%;
66
- }
67
- sub,
68
- sup {
69
- position: relative;
70
- font-size: 75%;
71
- line-height: 0;
72
- vertical-align: baseline;
73
- }
74
- sup {
75
- top: -.5em;
76
- }
77
- sub {
78
- bottom: -.25em;
79
- }
80
- img {
81
- border: 0;
82
- }
83
- svg:not(:root) {
84
- overflow: hidden;
85
- }
86
- figure {
87
- margin: 1em 40px;
88
- }
89
- hr {
90
- height: 0;
91
- -webkit-box-sizing: content-box;
92
- -moz-box-sizing: content-box;
93
- box-sizing: content-box;
94
- }
95
- pre {
96
- overflow: auto;
97
- }
98
- code,
99
- kbd,
100
- pre,
101
- samp {
102
- font-family: monospace, monospace;
103
- font-size: 1em;
104
- }
105
- button,
106
- input,
107
- optgroup,
108
- select,
109
- textarea {
110
- margin: 0;
111
- font: inherit;
112
- color: inherit;
113
- }
114
- button {
115
- overflow: visible;
116
- }
117
- button,
118
- select {
119
- text-transform: none;
120
- }
121
- button,
122
- html input[type="button"],
123
- input[type="reset"],
124
- input[type="submit"] {
125
- -webkit-appearance: button;
126
- cursor: pointer;
127
- }
128
- button[disabled],
129
- html input[disabled] {
130
- cursor: default;
131
- }
132
- button::-moz-focus-inner,
133
- input::-moz-focus-inner {
134
- padding: 0;
135
- border: 0;
136
- }
137
- input {
138
- line-height: normal;
139
- }
140
- input[type="checkbox"],
141
- input[type="radio"] {
142
- -webkit-box-sizing: border-box;
143
- -moz-box-sizing: border-box;
144
- box-sizing: border-box;
145
- padding: 0;
146
- }
147
- input[type="number"]::-webkit-inner-spin-button,
148
- input[type="number"]::-webkit-outer-spin-button {
149
- height: auto;
150
- }
151
- input[type="search"] {
152
- -webkit-box-sizing: content-box;
153
- -moz-box-sizing: content-box;
154
- box-sizing: content-box;
155
- -webkit-appearance: textfield;
156
- }
157
- input[type="search"]::-webkit-search-cancel-button,
158
- input[type="search"]::-webkit-search-decoration {
159
- -webkit-appearance: none;
160
- }
161
- fieldset {
162
- padding: .35em .625em .75em;
163
- margin: 0 2px;
164
- border: 1px solid #c0c0c0;
165
- }
166
- legend {
167
- padding: 0;
168
- border: 0;
169
- }
170
- textarea {
171
- overflow: auto;
172
- }
173
- optgroup {
174
- font-weight: bold;
175
- }
176
- table {
177
- border-spacing: 0;
178
- border-collapse: collapse;
179
- }
180
- td,
181
- th {
182
- padding: 0;
183
- }
184
- body {
185
- padding: 0 20px;
186
- font-size: 14px;
187
- -webkit-font-smoothing: antialiased;
188
- -moz-font-smoothing: antialiased;
189
- font-family: "avenir-next-web", Avenir, "Helvetica Neue", Hevetica, sans-serif;
190
- color: #4d4d4d;
191
- }
192
- body.frames { padding: 0 5px; }
193
- h1, h2, h3, h4, h5 {
194
- line-height: 1.5;
195
- font-family: "avenir-next-web", Avenir, "Helvetica Neue", Hevetica, sans-serif;
196
- color: #000;
197
- font-weight: 400;
198
- }
199
- h1 {
200
- font-size: 3rem;
201
- }
202
- h2 {
203
- font-size: 2rem;
204
- }
205
- h3 {
206
- font-size: 1.5rem;
207
- }
208
- h4 {
209
- font-size: 1.3rem;
210
- }
211
- h5 {
212
- font-size: 16px;
213
- }
214
-
215
- .clear { clear: both; }
216
- .inline { display: inline; }
217
- .inline p:first-child { display: inline; }
218
- .docstring h1, .docstring h2, .docstring h3, .docstring h4 { padding: 0; border: 0; border-bottom: 1px dotted #bbb; }
219
- .docstring h1 { font-size: 1.2em; }
220
- .docstring h2 { font-size: 1.1em; }
221
- .docstring h3, .docstring h4 { font-size: 1em; border-bottom: 0; padding-top: 10px; }
222
- .summary_desc .object_link, .docstring .object_link { font-family: monospace; }
223
- .rdoc-term { padding-right: 25px; font-weight: bold; }
224
- .rdoc-list p { margin: 0; padding: 0; margin-bottom: 4px; }
225
-
226
- /* style for <table> */
227
- #filecontents table, .docstring table { border-collapse: collapse; }
228
- #filecontents table th, #filecontents table td,
229
- .docstring table th, .docstring table td { border: 1px solid #ccc; padding: 8px; padding-right: 17px; }
230
- #filecontents table tr:nth-child(odd),
231
- .docstring table tr:nth-child(odd) { background: #eee; }
232
- #filecontents table tr:nth-child(even),
233
- .docstring table tr:nth-child(even) { background: #fff; }
234
- #filecontents table th, .docstring table th { background: #fff; }
235
-
236
- /* style for <ul> */
237
- #filecontents li > p, .docstring li > p { margin: 0px; }
238
- #filecontents ul, .docstring ul { padding-left: 20px; }
239
- /* style for <dl> */
240
- #filecontents dl, .docstring dl { border: 1px solid #ccc; }
241
- #filecontents dt, .docstring dt { background: #ddd; font-weight: bold; padding: 3px 5px; }
242
- #filecontents dd, .docstring dd { padding: 5px 0px; margin-left: 18px; }
243
- #filecontents dd > p, .docstring dd > p { margin: 0px; }
244
-
245
- .note {
246
- color: #222;
247
- -moz-border-radius: 3px; -webkit-border-radius: 3px;
248
- background: #e3e4e3; border: 1px solid #d5d5d5; padding: 7px 10px;
249
- display: block;
250
- }
251
- .note.todo { background: #ffffc5; border-color: #ececaa; }
252
- .note.returns_void { background: #efefef; }
253
- .note.deprecated { background: #ffe5e5; border-color: #e9dada; }
254
- .note.private { background: #ffffc5; border-color: #ececaa; }
255
- .note.title { padding: 1px 5px; font-size: 0.9em; font-family: "Lucida Sans", "Lucida Grande", Verdana, Arial, sans-serif; display: inline; }
256
- .summary_signature + .note.title { margin-left: 7px; }
257
- h1 .note.title { font-size: 0.5em; font-weight: normal; padding: 3px 5px; position: relative; top: -3px; text-transform: capitalize; }
258
- .note.title.constructor { color: #fff; background: #6a98d6; border-color: #6689d6; }
259
- .note.title.writeonly { color: #fff; background: #45a638; border-color: #2da31d; }
260
- .note.title.readonly { color: #fff; background: #6a98d6; border-color: #6689d6; }
261
- .note.title.private { background: #d5d5d5; border-color: #c5c5c5; }
262
- .note.title.not_defined_here { background: transparent; border: none; font-style: italic; }
263
- .discussion .note { margin-top: 6px; }
264
- .discussion .note:first-child { margin-top: 0; }
265
-
266
- h3.inherited {
267
- font-style: italic;
268
- font-family: "Lucida Sans", "Lucida Grande", Verdana, Arial, sans-serif;
269
- font-weight: normal;
270
- padding: 0;
271
- margin: 0;
272
- margin-top: 12px;
273
- margin-bottom: 3px;
274
- font-size: 13px;
275
- }
276
- p.inherited {
277
- padding: 0;
278
- margin: 0;
279
- margin-left: 25px;
280
- }
281
-
282
- #filecontents dl.box, dl.box {
283
- border: 0;
284
- width: 520px;
285
- font-size: 1em;
286
- }
287
- #filecontents dl.box dt, dl.box dt {
288
- float: left;
289
- display: block;
290
- width: 100px;
291
- margin: 0;
292
- text-align: right;
293
- font-weight: bold;
294
- background: transparent;
295
- border: 1px solid #aaa;
296
- border-width: 1px 0px 0px 1px;
297
- padding: 6px 0;
298
- padding-right: 10px;
299
- }
300
- #filecontents dl.box dd, dl.box dd {
301
- float: left;
302
- display: block;
303
- width: 380px;
304
- margin: 0;
305
- padding: 6px 0;
306
- padding-right: 20px;
307
- border: 1px solid #aaa;
308
- border-width: 1px 1px 0 0;
309
- }
310
- #filecontents dl.box .last, dl.box .last {
311
- border-bottom: 1px solid #aaa;
312
- }
313
- #filecontents dl.box .r1, dl.box .r1 { background: #eee; }
314
-
315
- dl.box * {
316
- box-sizing: content-box;
317
- }
318
-
319
- ul.toplevel { list-style: none; padding-left: 0; font-size: 1.1em; }
320
- .index_inline_list { padding-left: 0; font-size: 1.1em; }
321
- .index_inline_list li { list-style: none; display: inline; padding: 7px 12px; line-height: 35px; }
322
-
323
- dl.constants { margin-left: 40px; }
324
- dl.constants dt { font-weight: bold; font-size: 1.1em; margin-bottom: 5px; }
325
- dl.constants dd { width: 75%; white-space: pre; font-family: monospace; margin-bottom: 18px; }
326
-
327
- .summary_desc { margin-left: 32px; display: block; font-family: sans-serif; }
328
- .summary_desc tt { font-size: 0.9em; }
329
- dl.constants .note { padding: 2px 6px; padding-right: 12px; margin-top: 6px; }
330
- dl.constants .docstring { margin-left: 32px; font-size: 0.9em; font-weight: normal; }
331
- dl.constants .tags { padding-left: 32px; font-size: 0.9em; line-height: 0.8em; }
332
- dl.constants .discussion *:first-child { margin-top: 0; }
333
- dl.constants .discussion *:last-child { margin-bottom: 0; }
334
-
335
- .method_details { border-top: 1px dotted #aaa; margin-top: 15px; padding-top: 0; }
336
- .method_details.first { border: 0; }
337
- p.signature, h3.signature {
338
- font-size: 1.1em; font-weight: normal; font-family: Monaco, Consolas, Courier, monospace;
339
- padding: 6px 10px;
340
- margin-top: 18px;
341
- color: #fff;
342
- background: #2f383d;
343
- }
344
- p.signature tt,
345
- h3.signature tt { font-family: Monaco, Consolas, Courier, monospace; }
346
- p.signature .overload,
347
- h3.signature .overload { display: block; }
348
- p.signature .extras,
349
- h3.signature .extras { font-weight: normal; font-family: sans-serif; color: #444; font-size: 1em; }
350
- p.signature .not_defined_here,
351
- h3.signature .not_defined_here,
352
- p.signature .aliases,
353
- h3.signature .aliases { display: block; font-weight: normal; font-size: 0.9em; font-family: sans-serif; margin-top: 0px; color: #555; }
354
- p.signature .aliases .names,
355
- h3.signature .aliases .names { font-family: Monaco, Consolas, Courier, monospace; font-weight: bold; color: #000; font-size: 1.2em; }
356
-
357
- .tags .tag_title { font-size: 1em; margin-bottom: 0; font-weight: bold; }
358
- .tags ul { margin-top: 5px; padding-left: 30px; list-style: square; }
359
- .tags ul li { margin-bottom: 3px; }
360
- .tags ul .name { font-family: monospace; font-weight: bold; }
361
- .tags ul .note { padding: 3px 6px; }
362
- .tags { margin-bottom: 12px; }
363
-
364
- .tags .examples .tag_title { margin-bottom: 10px; font-weight: bold; }
365
- .tags .examples .inline p { padding: 0; margin: 0; margin-left: 15px; font-weight: bold; font-size: 0.9em; }
366
-
367
- .tags .overload .overload_item { list-style: none; margin-bottom: 25px; }
368
- .tags .overload .overload_item .signature {
369
- padding: 2px 8px;
370
- background: #e5e8ff; border: 1px solid #d8d8e5; -moz-border-radius: 3px; -webkit-border-radius: 3px;
371
- }
372
- .tags .overload .signature { margin-left: -15px; font-family: monospace; display: block; font-size: 1.1em; }
373
- .tags .overload .docstring { margin-top: 15px; }
374
-
375
- .defines { display: none; }
376
-
377
- #method_missing_details .notice.this { position: relative; top: -8px; color: #888; padding: 0; margin: 0; }
378
-
379
- .showSource { font-size: 0.9em; }
380
- .showSource a:link, .showSource a:visited { text-decoration: none; color: #666; }
381
-
382
- #content a:link, #content a:visited { text-decoration: none; color: #000; }
383
- #content a:hover { color: #5c666f; }
384
- div.docstring, p.docstring { margin-right: 6em; }
385
-
386
- ul.summary {
387
- list-style: none;
388
- font-family: monospace;
389
- font-size: 1em;
390
- line-height: 1.5em;
391
- }
392
- ul.summary a:link, ul.summary a:visited {
393
- text-decoration: none; font-size: 1.1em;
394
- }
395
- ul.summary li { margin-bottom: 5px; }
396
- .summary .summary_signature {
397
- padding: 1px 10px;
398
- }
399
- .summary_signature:hover {cursor: pointer; }
400
- ul.summary.compact li { display: inline-block; margin: 0px 5px 0px 0px; line-height: 2.6em;}
401
- ul.summary.compact .summary_signature { padding: 5px 7px; padding-right: 4px; }
402
- #content .summary_signature:hover a:link,
403
- #content .summary_signature:hover a:visited {
404
- color: #5c666f;
405
- }
406
-
407
- p.inherited a { font-family: monospace; font-size: 0.9em; }
408
- p.inherited { word-spacing: 5px; font-size: 1.2em; }
409
-
410
- p.children { font-size: 1.2em; }
411
- p.children a { font-size: 0.9em; }
412
- p.children strong { font-size: 0.8em; }
413
- p.children strong.modules { padding-left: 5px; }
414
-
415
- ul.fullTree { display: none; padding-left: 0; list-style: none; margin-left: 0; margin-bottom: 10px; }
416
- ul.fullTree ul { margin-left: 0; padding-left: 0; list-style: none; }
417
- ul.fullTree li { text-align: center; padding-top: 18px; padding-bottom: 12px; background: url(data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZABRG8lc88SuuEOcqAAB4mbI8uSQ5RYFbCC1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916SUBFbo8CzD1idXrLErw1mQttgXtyrOcQ/Ny5p4Qh+2XqLYYazsPWNTiuMkRxa4vcV+evuNAUOLIx5+c2hyzv7hNQC67Q+/HHmlEwAAAABJRU5ErkJggg==) no-repeat top center; }
418
- ul.fullTree li:first-child { padding-top: 0; background: transparent; }
419
- ul.fullTree li:last-child { padding-bottom: 0; }
420
- .showAll ul.fullTree { display: block; }
421
- .showAll .inheritName { display: none; }
422
-
423
- #search { float: right; top:30px; }
424
- #search a:link, #search a:visited {
425
- display: block;
426
- float: left;
427
- margin-right: 4px;
428
- padding: 8px 10px;
429
- text-decoration: none;
430
- border-radius: 3px;
431
- color: #777;
432
- }
433
- #search a.active {
434
- padding-bottom: 20px;
435
- -moz-border-radius-topleft: 5px; -moz-border-radius-topright: 5px;
436
- -webkit-border-top-left-radius: 5px; -webkit-border-top-right-radius: 5px;
437
- }
438
- #search a.inactive { color: #999; }
439
- .frames #search { display: none; }
440
- .inheritanceTree, .toggleDefines { float: right; }
441
-
442
- #menu { font-size: 1.3em; color: #bbb; top: -5px; position: relative; float: left; clear: none; }
443
- #menu .title, #menu a { font-size: 0.7em; }
444
- #menu .title a { font-size: 1em; }
445
- #menu .title { color: #555; }
446
- #menu a:link, #menu a:visited { text-decoration: none; border-bottom: 1px dotted #bbd; color: #5c666f; }
447
- #menu a:hover { color: #05a; }
448
- #menu .noframes { display: inline; }
449
- .frames #menu .noframes { display: inline; float: right; }
450
-
451
- #footer { margin-top: 15px; border-top: 1px solid #ccc; text-align: center; padding: 7px 0; color: #999; }
452
- #footer a:link, #footer a:visited { color: #444; text-decoration: none; border-bottom: 1px dotted #bbd; }
453
- #footer a:hover { color: #05a; }
454
-
455
- #listing ul.alpha { font-size: 1.1em; }
456
- #listing ul.alpha { margin: 0; padding: 0; padding-bottom: 10px; list-style: none; }
457
- #listing ul.alpha li.letter { font-size: 1.4em; padding-bottom: 10px; }
458
- #listing ul.alpha ul { margin: 0; padding-left: 15px; }
459
- #listing ul small { color: #666; font-size: 0.7em; }
460
-
461
- li.r1 { background: #f0f0f0; }
462
- li.r2 { background: #fafafa; }
463
-
464
- #search_frame {
465
- z-index: 9999;
466
- background: #fff;
467
- display: none;
468
- position: absolute;
469
- top: 125px;
470
- right: 18px;
471
- width: 500px;
472
- height: 80%;
473
- overflow-y: scroll;
474
- border: 1px solid #999;
475
- border-collapse: collapse;
476
- -webkit-box-shadow: -7px 5px 25px #aaa;
477
- -moz-box-shadow: -7px 5px 25px #aaa;
478
- -moz-border-radius: 2px;
479
- -webkit-border-radius: 2px;
480
- }
481
-
482
- #content ul.summary li.deprecated .summary_signature a:link,
483
- #content ul.summary li.deprecated .summary_signature a:visited { text-decoration: line-through; font-style: italic; }
484
-
485
- #toc {
486
- padding: 20px;
487
- padding-right: 30px;
488
- border: 1px solid #ddd;
489
- float: right;
490
- margin-left: 20px;
491
- margin-bottom: 20px;
492
- max-width: 300px;
493
- z-index: 5000;
494
- position: relative;
495
- overflow-x: auto;
496
- background: #f3f3f4;
497
- color: #5c666f;
498
- }
499
- #toc.nofloat { float: none; max-width: none; border: none; padding: 0; margin: 20px 0; -webkit-box-shadow: none; -moz-box-shadow: none; }
500
- #toc.nofloat.hidden { padding: 0; background: 0; margin-bottom: 5px; }
501
- #toc .title { margin: 0; }
502
- #toc ol { padding-left: 1.8em; }
503
- #toc li { font-size: 1.1em; line-height: 1.7em; }
504
- #toc > ol > li { font-size: 1.1em; font-weight: bold; }
505
- #toc ol > ol { font-size: 0.9em; }
506
- #toc ol ol > ol { padding-left: 2.3em; }
507
- #toc ol + li { margin-top: 0.3em; }
508
- #toc.hidden { padding: 10px; background: #f6f6f6; -webkit-box-shadow: none; -moz-box-shadow: none; }
509
- #filecontents h1 + #toc.nofloat { margin-top: 0; }
510
-
511
- /* syntax highlighting */
512
- .source_code {
513
- display: none;
514
- padding: 3px 8px;
515
- margin-top: 5px;
516
- }
517
- #filecontents pre.code, .docstring pre.code, .source_code pre { font-family: monospace; }
518
- #filecontents pre.code, .docstring pre.code { display: block; }
519
- .source_code .lines { padding-right: 12px; color: #fff; text-align: right; }
520
- #filecontents pre.code, .docstring pre.code,
521
- .tags pre.example { padding: 5px 12px; margin-top: 4px; border: 1px solid #eef; background: #2f383d; }
522
- pre.code { color: #fff; background: #2f383d;}
523
- pre.code .info.file { color: #555; }
524
- pre.code .val { color: #036A07; }
525
- pre.code .tstring_content,
526
- pre.code .heredoc_beg, pre.code .heredoc_end,
527
- pre.code .qwords_beg, pre.code .qwords_end,
528
- pre.code .tstring, pre.code .dstring { color: #00fbca; }
529
- pre.code .fid, pre.code .rubyid_new, pre.code .rubyid_to_s,
530
- pre.code .rubyid_to_sym, pre.code .rubyid_to_f,
531
- pre.code .dot + pre.code .id,
532
- pre.code .rubyid_to_i pre.code .rubyid_each { color: #ff9a56; }
533
- pre.code .comment { color: #0066FF; }
534
- pre.code .const, pre.code .constant { color: #42c7f4; }
535
- pre.code .label,
536
- pre.code .symbol { color: #fff; }
537
- pre.code .kw,
538
- pre.code .rubyid_require,
539
- pre.code .rubyid_extend,
540
- pre.code .rubyid_include { color: #ff9a56; }
541
- pre.code .ivar { color: #318495; }
542
- pre.code .gvar,
543
- pre.code .rubyid_backref,
544
- pre.code .rubyid_nth_ref { color: #6D79DE; }
545
- pre.code .regexp, .dregexp { color: #036A07; }
546
- pre.code a { border-bottom: 1px dotted #bbf; }
@@ -1,11 +0,0 @@
1
- <div id="menu">
2
- <% if @contents || @file %>
3
- <% if object != '_index.html' %><a href="<%= url_for_index.gsub! '_index.html', 'index.html' %>">Index</a> &raquo; <% end %>
4
- <span class="title"><%= @breadcrumb_title %></span>
5
- <% elsif object.is_a?(CodeObjects::Base) %>
6
- <a href="<%= url_for_index.gsub! '_index.html', 'index.html' %>"><% if object.root? || object.type == :method %>Index<% else %>Index (<%= object.name.to_s[0,1] %>)<% end %></a> &raquo;
7
- <%= @breadcrumb.map {|obj| "<span class='title'>" + linkify(obj, obj.name) + "</span>" }.join(" &raquo; ") %>
8
- <%= @breadcrumb.size > 0 ? " &raquo; " : "" %>
9
- <span class="title"><%= object.root? ? "Top Level Namespace" : object.name(true) %></span>
10
- <% end %>
11
- </div>