cloudsmith-api 1.142.3 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1314) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +17 -17
  3. data/README.md +129 -103
  4. data/build.json +1 -1
  5. data/cloudsmith-api.gemspec +1 -1
  6. data/docs/AllocatedLimit.md +11 -0
  7. data/docs/AlpinePackageUpload.md +13 -13
  8. data/docs/AlpinePackageUploadRequest.md +11 -0
  9. data/docs/Architecture.md +9 -0
  10. data/docs/AuditLogApi.md +14 -14
  11. data/docs/BadgesApi.md +26 -26
  12. data/docs/CargoPackageUpload.md +75 -0
  13. data/docs/CargoPackageUploadRequest.md +10 -0
  14. data/docs/CocoapodsPackageUpload.md +75 -0
  15. data/docs/CocoapodsPackageUploadRequest.md +10 -0
  16. data/docs/CommonBandwidthMetrics.md +11 -0
  17. data/docs/CommonBandwidthMetricsValue.md +10 -0
  18. data/docs/CommonDownloadsMetrics.md +11 -0
  19. data/docs/CommonDownloadsMetricsValue.md +8 -0
  20. data/docs/CommonMetrics.md +12 -0
  21. data/docs/ComposerPackageUpload.md +75 -0
  22. data/docs/ComposerPackageUploadRequest.md +10 -0
  23. data/docs/ConanPackageUpload.md +13 -13
  24. data/docs/ConanPackageUploadRequest.md +17 -0
  25. data/docs/CondaPackageUpload.md +75 -0
  26. data/docs/CondaPackageUploadRequest.md +10 -0
  27. data/docs/CranPackageUpload.md +75 -0
  28. data/docs/CranPackageUploadRequest.md +10 -0
  29. data/docs/DartPackageUpload.md +75 -0
  30. data/docs/DartPackageUploadRequest.md +10 -0
  31. data/docs/DebPackageUpload.md +75 -0
  32. data/docs/DebPackageUploadRequest.md +13 -0
  33. data/docs/Distribution.md +0 -3
  34. data/docs/DistributionFull.md +14 -0
  35. data/docs/DistributionVersion.md +9 -0
  36. data/docs/DistrosApi.md +8 -8
  37. data/docs/DockerPackageUpload.md +75 -0
  38. data/docs/DockerPackageUploadRequest.md +10 -0
  39. data/docs/EntitlementUsageMetrics.md +1 -1
  40. data/docs/EntitlementsApi.md +44 -38
  41. data/docs/ErrorDetail.md +8 -0
  42. data/docs/Eula.md +9 -0
  43. data/docs/FilesApi.md +14 -14
  44. data/docs/Format.md +2 -2
  45. data/docs/FormatSupport.md +12 -0
  46. data/docs/FormatsApi.md +4 -4
  47. data/docs/GeoIpLocation.md +14 -0
  48. data/docs/GoPackageUpload.md +75 -0
  49. data/docs/GoPackageUploadRequest.md +10 -0
  50. data/docs/HelmPackageUpload.md +75 -0
  51. data/docs/HelmPackageUploadRequest.md +10 -0
  52. data/docs/History.md +13 -0
  53. data/docs/HistoryFieldset.md +10 -0
  54. data/docs/LuarocksPackageUpload.md +75 -0
  55. data/docs/LuarocksPackageUploadRequest.md +10 -0
  56. data/docs/MavenPackageUpload.md +13 -13
  57. data/docs/MavenPackageUploadRequest.md +18 -0
  58. data/docs/MetricsApi.md +16 -16
  59. data/docs/NamespaceAuditLog.md +2 -2
  60. data/docs/NamespacesApi.md +4 -4
  61. data/docs/NpmPackageUpload.md +75 -0
  62. data/docs/NpmPackageUploadRequest.md +11 -0
  63. data/docs/NugetPackageUpload.md +75 -0
  64. data/docs/NugetPackageUploadRequest.md +11 -0
  65. data/docs/Organization.md +1 -1
  66. data/docs/OrganizationGroupSync.md +1 -1
  67. data/docs/OrganizationGroupSyncRequest.md +12 -0
  68. data/docs/OrganizationInvite.md +4 -4
  69. data/docs/OrganizationInviteExtend.md +16 -0
  70. data/docs/OrganizationInviteRequest.md +10 -0
  71. data/docs/OrganizationInviteUpdate.md +8 -0
  72. data/docs/OrganizationInviteUpdateRequestPatch.md +8 -0
  73. data/docs/OrganizationMembership.md +5 -4
  74. data/docs/OrganizationTeam.md +1 -1
  75. data/docs/OrganizationTeamMembers.md +1 -1
  76. data/docs/OrganizationTeamMembership.md +9 -0
  77. data/docs/OrganizationTeamRequest.md +11 -0
  78. data/docs/OrganizationTeamRequestPatch.md +11 -0
  79. data/docs/OrgsApi.md +531 -63
  80. data/docs/P2PackageUpload.md +75 -0
  81. data/docs/P2PackageUploadRequest.md +10 -0
  82. data/docs/Package.md +14 -14
  83. data/docs/PackageCopy.md +14 -14
  84. data/docs/PackageCopyRequest.md +9 -0
  85. data/docs/PackageDependencies.md +1 -1
  86. data/docs/PackageDependency.md +11 -0
  87. data/docs/PackageFile.md +21 -0
  88. data/docs/PackageFileUploadRequest.md +11 -0
  89. data/docs/PackageMove.md +14 -14
  90. data/docs/PackageMoveRequest.md +8 -0
  91. data/docs/PackageQuarantine.md +76 -0
  92. data/docs/PackageQuarantineRequest.md +8 -0
  93. data/docs/PackageResync.md +76 -0
  94. data/docs/PackageStatus.md +3 -3
  95. data/docs/PackageTag.md +76 -0
  96. data/docs/PackageTagRequest.md +10 -0
  97. data/docs/PackageUsageMetrics.md +1 -1
  98. data/docs/PackageVersionBadge.md +7 -0
  99. data/docs/PackageVulnerability.md +11 -0
  100. data/docs/PackagesApi.md +208 -208
  101. data/docs/PythonPackageUpload.md +75 -0
  102. data/docs/PythonPackageUploadRequest.md +10 -0
  103. data/docs/Quota.md +1 -1
  104. data/docs/QuotaApi.md +8 -8
  105. data/docs/QuotaHistory.md +1 -1
  106. data/docs/RateCheck.md +13 -0
  107. data/docs/RatesApi.md +2 -2
  108. data/docs/RawPackageUpload.md +13 -13
  109. data/docs/RawPackageUploadRequest.md +15 -0
  110. data/docs/ReposApi.md +97 -97
  111. data/docs/Repository.md +15 -15
  112. data/docs/RepositoryAuditLog.md +2 -2
  113. data/docs/RepositoryCreate.md +15 -15
  114. data/docs/RepositoryCreateRequest.md +43 -0
  115. data/docs/RepositoryGpgKey.md +1 -1
  116. data/docs/RepositoryGpgKeyCreate.md +9 -0
  117. data/docs/RepositoryPrivilegeDict.md +11 -0
  118. data/docs/RepositoryPrivilegeInput.md +1 -1
  119. data/docs/RepositoryPrivilegeInputRequest.md +8 -0
  120. data/docs/RepositoryPrivilegeInputRequestPatch.md +8 -0
  121. data/docs/RepositoryRequestPatch.md +42 -0
  122. data/docs/RepositoryRsaKey.md +1 -1
  123. data/docs/RepositoryRsaKeyCreate.md +9 -0
  124. data/docs/RepositoryToken.md +9 -9
  125. data/docs/RepositoryTokenAction.md +7 -0
  126. data/docs/RepositoryTokenRefresh.md +9 -9
  127. data/docs/RepositoryTokenRefreshRequest.md +21 -0
  128. data/docs/RepositoryTokenRequest.md +22 -0
  129. data/docs/RepositoryTokenRequestPatch.md +22 -0
  130. data/docs/RepositoryTokenSync.md +1 -1
  131. data/docs/RepositoryTokenSyncRequest.md +8 -0
  132. data/docs/RepositoryWebhook.md +4 -4
  133. data/docs/RepositoryWebhookRequest.md +19 -0
  134. data/docs/RepositoryWebhookRequestPatch.md +19 -0
  135. data/docs/ResourcesRateCheck.md +1 -1
  136. data/docs/RpmPackageUpload.md +75 -0
  137. data/docs/RpmPackageUploadRequest.md +11 -0
  138. data/docs/RubyPackageUpload.md +75 -0
  139. data/docs/RubyPackageUploadRequest.md +10 -0
  140. data/docs/Service.md +13 -0
  141. data/docs/ServiceRequest.md +11 -0
  142. data/docs/ServiceRequestPatch.md +11 -0
  143. data/docs/ServiceTeams.md +9 -0
  144. data/docs/StatusApi.md +2 -2
  145. data/docs/StatusBasic.md +2 -2
  146. data/docs/StorageRegionsApi.md +4 -4
  147. data/docs/Tags.md +7 -0
  148. data/docs/TerraformPackageUpload.md +75 -0
  149. data/docs/TerraformPackageUploadRequest.md +10 -0
  150. data/docs/Usage.md +10 -0
  151. data/docs/UsageFieldset.md +9 -0
  152. data/docs/UsageLimits.md +9 -0
  153. data/docs/UserApi.md +5 -5
  154. data/docs/UserAuthTokenRequest.md +9 -0
  155. data/docs/UserProfile.md +1 -1
  156. data/docs/UsersApi.md +2 -2
  157. data/docs/VagrantPackageUpload.md +13 -13
  158. data/docs/VagrantPackageUploadRequest.md +13 -0
  159. data/docs/VulnerabilitiesApi.md +50 -50
  160. data/docs/Vulnerability.md +16 -0
  161. data/docs/VulnerabilityScan.md +10 -0
  162. data/docs/VulnerabilityScanResults.md +4 -4
  163. data/docs/VulnerabilityScanResultsList.md +3 -3
  164. data/docs/VulnerabilityScanVersion.md +13 -0
  165. data/docs/WebhookTemplate.md +9 -0
  166. data/docs/WebhooksApi.md +12 -12
  167. data/lib/cloudsmith-api/api/audit_log_api.rb +22 -14
  168. data/lib/cloudsmith-api/api/badges_api.rb +19 -15
  169. data/lib/cloudsmith-api/api/distros_api.rb +15 -7
  170. data/lib/cloudsmith-api/api/entitlements_api.rb +57 -16
  171. data/lib/cloudsmith-api/api/files_api.rb +21 -9
  172. data/lib/cloudsmith-api/api/formats_api.rb +9 -1
  173. data/lib/cloudsmith-api/api/metrics_api.rb +26 -14
  174. data/lib/cloudsmith-api/api/namespaces_api.rb +9 -1
  175. data/lib/cloudsmith-api/api/orgs_api.rb +575 -29
  176. data/lib/cloudsmith-api/api/packages_api.rb +291 -163
  177. data/lib/cloudsmith-api/api/quota_api.rb +17 -1
  178. data/lib/cloudsmith-api/api/rates_api.rb +5 -1
  179. data/lib/cloudsmith-api/api/repos_api.rb +117 -69
  180. data/lib/cloudsmith-api/api/status_api.rb +5 -1
  181. data/lib/cloudsmith-api/api/storage_regions_api.rb +9 -1
  182. data/lib/cloudsmith-api/api/user_api.rb +9 -3
  183. data/lib/cloudsmith-api/api/users_api.rb +5 -1
  184. data/lib/cloudsmith-api/api/vulnerabilities_api.rb +84 -68
  185. data/lib/cloudsmith-api/api/webhooks_api.rb +21 -5
  186. data/lib/cloudsmith-api/api_client.rb +1 -1
  187. data/lib/cloudsmith-api/api_error.rb +1 -1
  188. data/lib/cloudsmith-api/configuration.rb +1 -1
  189. data/lib/cloudsmith-api/models/allocated_limit.rb +211 -0
  190. data/lib/cloudsmith-api/models/alpine_package_upload.rb +578 -621
  191. data/lib/cloudsmith-api/models/alpine_package_upload_request.rb +225 -0
  192. data/lib/cloudsmith-api/models/architecture.rb +198 -0
  193. data/lib/cloudsmith-api/models/cargo_package_upload.rb +850 -0
  194. data/lib/cloudsmith-api/models/cargo_package_upload_request.rb +210 -0
  195. data/lib/cloudsmith-api/models/cocoapods_package_upload.rb +850 -0
  196. data/lib/cloudsmith-api/models/cocoapods_package_upload_request.rb +210 -0
  197. data/lib/cloudsmith-api/models/common_bandwidth_metrics.rb +231 -0
  198. data/lib/cloudsmith-api/models/common_bandwidth_metrics_value.rb +214 -0
  199. data/lib/cloudsmith-api/models/common_downloads_metrics.rb +231 -0
  200. data/lib/cloudsmith-api/models/common_downloads_metrics_value.rb +189 -0
  201. data/lib/cloudsmith-api/models/common_metrics.rb +230 -0
  202. data/lib/cloudsmith-api/models/composer_package_upload.rb +850 -0
  203. data/lib/cloudsmith-api/models/composer_package_upload_request.rb +210 -0
  204. data/lib/cloudsmith-api/models/conan_package_upload.rb +594 -637
  205. data/lib/cloudsmith-api/models/conan_package_upload_request.rb +295 -0
  206. data/lib/cloudsmith-api/models/conda_package_upload.rb +850 -0
  207. data/lib/cloudsmith-api/models/conda_package_upload_request.rb +210 -0
  208. data/lib/cloudsmith-api/models/cran_package_upload.rb +850 -0
  209. data/lib/cloudsmith-api/models/cran_package_upload_request.rb +210 -0
  210. data/lib/cloudsmith-api/models/dart_package_upload.rb +850 -0
  211. data/lib/cloudsmith-api/models/dart_package_upload_request.rb +210 -0
  212. data/lib/cloudsmith-api/models/deb_package_upload.rb +850 -0
  213. data/lib/cloudsmith-api/models/deb_package_upload_request.rb +245 -0
  214. data/lib/cloudsmith-api/models/distribution.rb +80 -114
  215. data/lib/cloudsmith-api/models/distribution_full.rb +247 -0
  216. data/lib/cloudsmith-api/models/distribution_version.rb +196 -0
  217. data/lib/cloudsmith-api/models/docker_package_upload.rb +850 -0
  218. data/lib/cloudsmith-api/models/docker_package_upload_request.rb +210 -0
  219. data/lib/cloudsmith-api/models/entitlement_usage_metrics.rb +58 -59
  220. data/lib/cloudsmith-api/models/error_detail.rb +190 -0
  221. data/lib/cloudsmith-api/models/eula.rb +200 -0
  222. data/lib/cloudsmith-api/models/format.rb +152 -153
  223. data/lib/cloudsmith-api/models/format_support.rb +251 -0
  224. data/lib/cloudsmith-api/models/geo_ip_location.rb +258 -0
  225. data/lib/cloudsmith-api/models/go_package_upload.rb +850 -0
  226. data/lib/cloudsmith-api/models/go_package_upload_request.rb +210 -0
  227. data/lib/cloudsmith-api/models/helm_package_upload.rb +850 -0
  228. data/lib/cloudsmith-api/models/helm_package_upload_request.rb +210 -0
  229. data/lib/cloudsmith-api/models/history.rb +254 -0
  230. data/lib/cloudsmith-api/models/history_fieldset.rb +217 -0
  231. data/lib/cloudsmith-api/models/luarocks_package_upload.rb +850 -0
  232. data/lib/cloudsmith-api/models/luarocks_package_upload_request.rb +210 -0
  233. data/lib/cloudsmith-api/models/maven_package_upload.rb +602 -645
  234. data/lib/cloudsmith-api/models/maven_package_upload_request.rb +290 -0
  235. data/lib/cloudsmith-api/models/namespace.rb +75 -79
  236. data/lib/cloudsmith-api/models/namespace_audit_log.rb +227 -243
  237. data/lib/cloudsmith-api/models/npm_package_upload.rb +850 -0
  238. data/lib/cloudsmith-api/models/npm_package_upload_request.rb +222 -0
  239. data/lib/cloudsmith-api/models/nuget_package_upload.rb +850 -0
  240. data/lib/cloudsmith-api/models/nuget_package_upload_request.rb +220 -0
  241. data/lib/cloudsmith-api/models/organization.rb +100 -104
  242. data/lib/cloudsmith-api/models/organization_group_sync.rb +97 -99
  243. data/lib/cloudsmith-api/models/organization_group_sync_request.rb +243 -0
  244. data/lib/cloudsmith-api/models/organization_invite.rb +139 -143
  245. data/lib/cloudsmith-api/models/organization_invite_extend.rb +296 -0
  246. data/lib/cloudsmith-api/models/organization_invite_request.rb +241 -0
  247. data/lib/cloudsmith-api/models/organization_invite_update.rb +221 -0
  248. data/lib/cloudsmith-api/models/organization_invite_update_request_patch.rb +221 -0
  249. data/lib/cloudsmith-api/models/organization_membership.rb +176 -159
  250. data/lib/cloudsmith-api/models/organization_team.rb +117 -120
  251. data/lib/cloudsmith-api/models/organization_team_members.rb +60 -60
  252. data/lib/cloudsmith-api/models/organization_team_membership.rb +238 -0
  253. data/lib/cloudsmith-api/models/organization_team_request.rb +252 -0
  254. data/lib/cloudsmith-api/models/organization_team_request_patch.rb +247 -0
  255. data/lib/cloudsmith-api/models/p2_package_upload.rb +850 -0
  256. data/lib/cloudsmith-api/models/p2_package_upload_request.rb +210 -0
  257. data/lib/cloudsmith-api/models/package.rb +585 -629
  258. data/lib/cloudsmith-api/models/package_copy.rb +586 -629
  259. data/lib/cloudsmith-api/models/package_copy_request.rb +199 -0
  260. data/lib/cloudsmith-api/models/package_dependencies.rb +59 -60
  261. data/lib/cloudsmith-api/models/package_dependency.rb +268 -0
  262. data/lib/cloudsmith-api/models/package_file.rb +303 -0
  263. data/lib/cloudsmith-api/models/package_file_parts_upload.rb +73 -73
  264. data/lib/cloudsmith-api/models/package_file_upload.rb +91 -91
  265. data/lib/cloudsmith-api/models/package_file_upload_request.rb +256 -0
  266. data/lib/cloudsmith-api/models/package_move.rb +586 -629
  267. data/lib/cloudsmith-api/models/package_move_request.rb +189 -0
  268. data/lib/cloudsmith-api/models/package_quarantine.rb +859 -0
  269. data/lib/cloudsmith-api/models/package_quarantine_request.rb +185 -0
  270. data/lib/cloudsmith-api/models/package_resync.rb +859 -0
  271. data/lib/cloudsmith-api/models/package_status.rb +184 -194
  272. data/lib/cloudsmith-api/models/package_tag.rb +862 -0
  273. data/lib/cloudsmith-api/models/package_tag_request.rb +208 -0
  274. data/lib/cloudsmith-api/models/package_usage_metrics.rb +58 -59
  275. data/lib/cloudsmith-api/models/package_version_badge.rb +175 -0
  276. data/lib/cloudsmith-api/models/package_vulnerability.rb +218 -0
  277. data/lib/cloudsmith-api/models/python_package_upload.rb +850 -0
  278. data/lib/cloudsmith-api/models/python_package_upload_request.rb +210 -0
  279. data/lib/cloudsmith-api/models/quota.rb +58 -59
  280. data/lib/cloudsmith-api/models/quota_history.rb +59 -60
  281. data/lib/cloudsmith-api/models/rate_check.rb +235 -0
  282. data/lib/cloudsmith-api/models/raw_package_upload.rb +578 -621
  283. data/lib/cloudsmith-api/models/raw_package_upload_request.rb +260 -0
  284. data/lib/cloudsmith-api/models/repository.rb +623 -607
  285. data/lib/cloudsmith-api/models/repository_audit_log.rb +185 -198
  286. data/lib/cloudsmith-api/models/repository_create.rb +625 -597
  287. data/lib/cloudsmith-api/models/repository_create_request.rb +706 -0
  288. data/lib/cloudsmith-api/models/repository_gpg_key.rb +105 -108
  289. data/lib/cloudsmith-api/models/repository_gpg_key_create.rb +200 -0
  290. data/lib/cloudsmith-api/models/repository_privilege_dict.rb +254 -0
  291. data/lib/cloudsmith-api/models/repository_privilege_input.rb +60 -60
  292. data/lib/cloudsmith-api/models/repository_privilege_input_request.rb +192 -0
  293. data/lib/cloudsmith-api/models/repository_privilege_input_request_patch.rb +187 -0
  294. data/lib/cloudsmith-api/models/repository_request_patch.rb +689 -0
  295. data/lib/cloudsmith-api/models/repository_rsa_key.rb +93 -95
  296. data/lib/cloudsmith-api/models/repository_rsa_key_create.rb +200 -0
  297. data/lib/cloudsmith-api/models/repository_token.rb +380 -401
  298. data/lib/cloudsmith-api/models/repository_token_action.rb +175 -0
  299. data/lib/cloudsmith-api/models/repository_token_refresh.rb +376 -397
  300. data/lib/cloudsmith-api/models/repository_token_refresh_request.rb +361 -0
  301. data/lib/cloudsmith-api/models/repository_token_request.rb +375 -0
  302. data/lib/cloudsmith-api/models/repository_token_request_patch.rb +370 -0
  303. data/lib/cloudsmith-api/models/repository_token_sync.rb +56 -56
  304. data/lib/cloudsmith-api/models/repository_token_sync_request.rb +190 -0
  305. data/lib/cloudsmith-api/models/repository_webhook.rb +304 -301
  306. data/lib/cloudsmith-api/models/repository_webhook_request.rb +334 -0
  307. data/lib/cloudsmith-api/models/repository_webhook_request_patch.rb +319 -0
  308. data/lib/cloudsmith-api/models/resources_rate_check.rb +56 -54
  309. data/lib/cloudsmith-api/models/rpm_package_upload.rb +850 -0
  310. data/lib/cloudsmith-api/models/rpm_package_upload_request.rb +225 -0
  311. data/lib/cloudsmith-api/models/ruby_package_upload.rb +850 -0
  312. data/lib/cloudsmith-api/models/ruby_package_upload_request.rb +210 -0
  313. data/lib/cloudsmith-api/models/service.rb +277 -0
  314. data/lib/cloudsmith-api/models/service_request.rb +257 -0
  315. data/lib/cloudsmith-api/models/service_request_patch.rb +252 -0
  316. data/lib/cloudsmith-api/models/service_teams.rb +231 -0
  317. data/lib/cloudsmith-api/models/status_basic.rb +68 -64
  318. data/lib/cloudsmith-api/models/storage_region.rb +72 -72
  319. data/lib/cloudsmith-api/models/tags.rb +176 -0
  320. data/lib/cloudsmith-api/models/terraform_package_upload.rb +850 -0
  321. data/lib/cloudsmith-api/models/terraform_package_upload_request.rb +210 -0
  322. data/lib/cloudsmith-api/models/usage.rb +202 -0
  323. data/lib/cloudsmith-api/models/usage_fieldset.rb +203 -0
  324. data/lib/cloudsmith-api/models/usage_limits.rb +203 -0
  325. data/lib/cloudsmith-api/models/user_auth_token.rb +55 -55
  326. data/lib/cloudsmith-api/models/user_auth_token_request.rb +195 -0
  327. data/lib/cloudsmith-api/models/user_brief.rb +101 -104
  328. data/lib/cloudsmith-api/models/user_profile.rb +130 -139
  329. data/lib/cloudsmith-api/models/vagrant_package_upload.rb +598 -641
  330. data/lib/cloudsmith-api/models/vagrant_package_upload_request.rb +255 -0
  331. data/lib/cloudsmith-api/models/vulnerability.rb +334 -0
  332. data/lib/cloudsmith-api/models/vulnerability_scan.rb +219 -0
  333. data/lib/cloudsmith-api/models/vulnerability_scan_results.rb +147 -151
  334. data/lib/cloudsmith-api/models/vulnerability_scan_results_list.rb +136 -139
  335. data/lib/cloudsmith-api/models/vulnerability_scan_version.rb +250 -0
  336. data/lib/cloudsmith-api/models/webhook_template.rb +198 -0
  337. data/lib/cloudsmith-api/version.rb +2 -2
  338. data/lib/cloudsmith-api.rb +105 -87
  339. data/spec/api/audit_log_api_spec.rb +5 -5
  340. data/spec/api/badges_api_spec.rb +2 -2
  341. data/spec/api/distros_api_spec.rb +3 -3
  342. data/spec/api/entitlements_api_spec.rb +8 -5
  343. data/spec/api/files_api_spec.rb +5 -5
  344. data/spec/api/formats_api_spec.rb +1 -1
  345. data/spec/api/metrics_api_spec.rb +5 -5
  346. data/spec/api/namespaces_api_spec.rb +1 -1
  347. data/spec/api/orgs_api_spec.rb +117 -12
  348. data/spec/api/packages_api_spec.rb +71 -71
  349. data/spec/api/quota_api_spec.rb +1 -1
  350. data/spec/api/rates_api_spec.rb +1 -1
  351. data/spec/api/repos_api_spec.rb +22 -22
  352. data/spec/api/status_api_spec.rb +1 -1
  353. data/spec/api/storage_regions_api_spec.rb +1 -1
  354. data/spec/api/user_api_spec.rb +2 -2
  355. data/spec/api/users_api_spec.rb +1 -1
  356. data/spec/api/vulnerabilities_api_spec.rb +20 -20
  357. data/spec/api/webhooks_api_spec.rb +3 -3
  358. data/spec/api_client_spec.rb +1 -1
  359. data/spec/configuration_spec.rb +1 -1
  360. data/spec/models/allocated_limit_spec.rb +59 -0
  361. data/spec/models/alpine_package_upload_request_spec.rb +59 -0
  362. data/spec/models/alpine_package_upload_spec.rb +1 -1
  363. data/spec/models/architecture_spec.rb +47 -0
  364. data/spec/models/cargo_package_upload_request_spec.rb +53 -0
  365. data/spec/models/cargo_package_upload_spec.rb +447 -0
  366. data/spec/models/cocoapods_package_upload_request_spec.rb +53 -0
  367. data/spec/models/cocoapods_package_upload_spec.rb +447 -0
  368. data/spec/models/common_bandwidth_metrics_spec.rb +59 -0
  369. data/spec/models/common_bandwidth_metrics_value_spec.rb +53 -0
  370. data/spec/models/common_downloads_metrics_spec.rb +59 -0
  371. data/spec/models/common_downloads_metrics_value_spec.rb +41 -0
  372. data/spec/models/common_metrics_spec.rb +65 -0
  373. data/spec/models/composer_package_upload_request_spec.rb +53 -0
  374. data/spec/models/composer_package_upload_spec.rb +447 -0
  375. data/spec/models/conan_package_upload_request_spec.rb +95 -0
  376. data/spec/models/conan_package_upload_spec.rb +1 -1
  377. data/spec/models/conda_package_upload_request_spec.rb +53 -0
  378. data/spec/models/conda_package_upload_spec.rb +447 -0
  379. data/spec/models/cran_package_upload_request_spec.rb +53 -0
  380. data/spec/models/cran_package_upload_spec.rb +447 -0
  381. data/spec/models/dart_package_upload_request_spec.rb +53 -0
  382. data/spec/models/dart_package_upload_spec.rb +447 -0
  383. data/spec/models/deb_package_upload_request_spec.rb +71 -0
  384. data/spec/models/deb_package_upload_spec.rb +447 -0
  385. data/spec/models/distribution_full_spec.rb +77 -0
  386. data/spec/models/distribution_spec.rb +1 -19
  387. data/spec/models/distribution_version_spec.rb +47 -0
  388. data/spec/models/docker_package_upload_request_spec.rb +53 -0
  389. data/spec/models/docker_package_upload_spec.rb +447 -0
  390. data/spec/models/entitlement_usage_metrics_spec.rb +1 -1
  391. data/spec/models/error_detail_spec.rb +41 -0
  392. data/spec/models/eula_spec.rb +47 -0
  393. data/spec/models/format_spec.rb +1 -1
  394. data/spec/models/format_support_spec.rb +65 -0
  395. data/spec/models/geo_ip_location_spec.rb +77 -0
  396. data/spec/models/go_package_upload_request_spec.rb +53 -0
  397. data/spec/models/go_package_upload_spec.rb +447 -0
  398. data/spec/models/helm_package_upload_request_spec.rb +53 -0
  399. data/spec/models/helm_package_upload_spec.rb +447 -0
  400. data/spec/models/history_fieldset_spec.rb +53 -0
  401. data/spec/models/history_spec.rb +71 -0
  402. data/spec/models/luarocks_package_upload_request_spec.rb +53 -0
  403. data/spec/models/luarocks_package_upload_spec.rb +447 -0
  404. data/spec/models/maven_package_upload_request_spec.rb +101 -0
  405. data/spec/models/maven_package_upload_spec.rb +1 -1
  406. data/spec/models/namespace_audit_log_spec.rb +1 -1
  407. data/spec/models/namespace_spec.rb +1 -1
  408. data/spec/models/npm_package_upload_request_spec.rb +59 -0
  409. data/spec/models/npm_package_upload_spec.rb +447 -0
  410. data/spec/models/nuget_package_upload_request_spec.rb +59 -0
  411. data/spec/models/nuget_package_upload_spec.rb +447 -0
  412. data/spec/models/organization_group_sync_request_spec.rb +65 -0
  413. data/spec/models/organization_group_sync_spec.rb +1 -1
  414. data/spec/models/organization_invite_extend_spec.rb +93 -0
  415. data/spec/models/organization_invite_request_spec.rb +57 -0
  416. data/spec/models/organization_invite_spec.rb +1 -1
  417. data/spec/models/organization_invite_update_request_patch_spec.rb +45 -0
  418. data/spec/models/organization_invite_update_spec.rb +45 -0
  419. data/spec/models/organization_membership_spec.rb +11 -1
  420. data/spec/models/organization_spec.rb +1 -1
  421. data/spec/models/organization_team_members_spec.rb +1 -1
  422. data/spec/models/organization_team_membership_spec.rb +51 -0
  423. data/spec/models/organization_team_request_patch_spec.rb +63 -0
  424. data/spec/models/organization_team_request_spec.rb +63 -0
  425. data/spec/models/organization_team_spec.rb +1 -1
  426. data/spec/models/p2_package_upload_request_spec.rb +53 -0
  427. data/spec/models/p2_package_upload_spec.rb +447 -0
  428. data/spec/models/package_copy_request_spec.rb +47 -0
  429. data/spec/models/package_copy_spec.rb +1 -1
  430. data/spec/models/package_dependencies_spec.rb +1 -1
  431. data/spec/models/package_dependency_spec.rb +67 -0
  432. data/spec/models/package_file_parts_upload_spec.rb +1 -1
  433. data/spec/models/package_file_spec.rb +119 -0
  434. data/spec/models/package_file_upload_request_spec.rb +63 -0
  435. data/spec/models/package_file_upload_spec.rb +1 -1
  436. data/spec/models/package_move_request_spec.rb +41 -0
  437. data/spec/models/package_move_spec.rb +1 -1
  438. data/spec/models/package_quarantine_request_spec.rb +41 -0
  439. data/spec/models/package_quarantine_spec.rb +453 -0
  440. data/spec/models/package_resync_spec.rb +453 -0
  441. data/spec/models/package_spec.rb +1 -1
  442. data/spec/models/package_status_spec.rb +1 -1
  443. data/spec/models/package_tag_request_spec.rb +53 -0
  444. data/spec/models/package_tag_spec.rb +453 -0
  445. data/spec/models/package_usage_metrics_spec.rb +1 -1
  446. data/spec/models/package_version_badge_spec.rb +35 -0
  447. data/spec/models/package_vulnerability_spec.rb +59 -0
  448. data/spec/models/python_package_upload_request_spec.rb +53 -0
  449. data/spec/models/python_package_upload_spec.rb +447 -0
  450. data/spec/models/quota_history_spec.rb +1 -1
  451. data/spec/models/quota_spec.rb +1 -1
  452. data/spec/models/rate_check_spec.rb +71 -0
  453. data/spec/models/raw_package_upload_request_spec.rb +83 -0
  454. data/spec/models/raw_package_upload_spec.rb +1 -1
  455. data/spec/models/repository_audit_log_spec.rb +1 -1
  456. data/spec/models/repository_create_request_spec.rb +291 -0
  457. data/spec/models/repository_create_spec.rb +5 -1
  458. data/spec/models/repository_gpg_key_create_spec.rb +47 -0
  459. data/spec/models/repository_gpg_key_spec.rb +1 -1
  460. data/spec/models/repository_privilege_dict_spec.rb +63 -0
  461. data/spec/models/repository_privilege_input_request_patch_spec.rb +41 -0
  462. data/spec/models/repository_privilege_input_request_spec.rb +41 -0
  463. data/spec/models/repository_privilege_input_spec.rb +1 -1
  464. data/spec/models/repository_request_patch_spec.rb +285 -0
  465. data/spec/models/repository_rsa_key_create_spec.rb +47 -0
  466. data/spec/models/repository_rsa_key_spec.rb +1 -1
  467. data/spec/models/repository_spec.rb +2 -2
  468. data/spec/models/repository_token_action_spec.rb +35 -0
  469. data/spec/models/repository_token_refresh_request_spec.rb +127 -0
  470. data/spec/models/repository_token_refresh_spec.rb +1 -1
  471. data/spec/models/repository_token_request_patch_spec.rb +133 -0
  472. data/spec/models/repository_token_request_spec.rb +133 -0
  473. data/spec/models/repository_token_spec.rb +1 -1
  474. data/spec/models/repository_token_sync_request_spec.rb +41 -0
  475. data/spec/models/repository_token_sync_spec.rb +1 -1
  476. data/spec/models/repository_webhook_request_patch_spec.rb +111 -0
  477. data/spec/models/repository_webhook_request_spec.rb +111 -0
  478. data/spec/models/repository_webhook_spec.rb +5 -1
  479. data/spec/models/resources_rate_check_spec.rb +1 -1
  480. data/spec/models/rpm_package_upload_request_spec.rb +59 -0
  481. data/spec/models/rpm_package_upload_spec.rb +447 -0
  482. data/spec/models/ruby_package_upload_request_spec.rb +53 -0
  483. data/spec/models/ruby_package_upload_spec.rb +447 -0
  484. data/spec/models/service_request_patch_spec.rb +63 -0
  485. data/spec/models/service_request_spec.rb +63 -0
  486. data/spec/models/service_spec.rb +75 -0
  487. data/spec/models/service_teams_spec.rb +51 -0
  488. data/spec/models/status_basic_spec.rb +1 -1
  489. data/spec/models/storage_region_spec.rb +1 -1
  490. data/spec/models/tags_spec.rb +35 -0
  491. data/spec/models/terraform_package_upload_request_spec.rb +53 -0
  492. data/spec/models/terraform_package_upload_spec.rb +447 -0
  493. data/spec/models/usage_fieldset_spec.rb +47 -0
  494. data/spec/models/usage_limits_spec.rb +47 -0
  495. data/spec/models/usage_spec.rb +53 -0
  496. data/spec/models/user_auth_token_request_spec.rb +47 -0
  497. data/spec/models/user_auth_token_spec.rb +1 -1
  498. data/spec/models/user_brief_spec.rb +1 -1
  499. data/spec/models/user_profile_spec.rb +1 -1
  500. data/spec/models/vagrant_package_upload_request_spec.rb +71 -0
  501. data/spec/models/vagrant_package_upload_spec.rb +1 -1
  502. data/spec/models/vulnerability_scan_results_list_spec.rb +1 -1
  503. data/spec/models/vulnerability_scan_results_spec.rb +1 -1
  504. data/spec/models/vulnerability_scan_spec.rb +53 -0
  505. data/spec/models/vulnerability_scan_version_spec.rb +71 -0
  506. data/spec/models/vulnerability_spec.rb +93 -0
  507. data/spec/models/webhook_template_spec.rb +47 -0
  508. data/spec/spec_helper.rb +1 -1
  509. data/vendor/bundle/ruby/2.6.0/cache/autotest-fsevent-0.2.20.gem +0 -0
  510. data/vendor/bundle/ruby/2.6.0/cache/ethon-0.16.0.gem +0 -0
  511. data/vendor/bundle/ruby/2.6.0/cache/json-2.6.3.gem +0 -0
  512. data/vendor/bundle/ruby/2.6.0/cache/public_suffix-5.0.1.gem +0 -0
  513. data/vendor/bundle/ruby/2.6.0/cache/rspec-3.12.0.gem +0 -0
  514. data/vendor/bundle/ruby/2.6.0/cache/rspec-core-3.12.0.gem +0 -0
  515. data/vendor/bundle/ruby/2.6.0/cache/rspec-expectations-3.12.0.gem +0 -0
  516. data/vendor/bundle/ruby/2.6.0/cache/rspec-mocks-3.12.1.gem +0 -0
  517. data/vendor/bundle/ruby/2.6.0/cache/rspec-support-3.12.0.gem +0 -0
  518. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/{autotest-fsevent-0.2.19 → autotest-fsevent-0.2.20}/gem.build_complete +0 -0
  519. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/autotest-fsevent-0.2.20/gem_make.out +14 -0
  520. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/ffi-1.15.5/gem_make.out +2 -2
  521. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/{json-2.6.2 → json-2.6.3}/gem.build_complete +0 -0
  522. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.6.3/gem_make.out +13 -0
  523. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.6.3/json/ext/generator.so +0 -0
  524. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.6.3/json/ext/parser.so +0 -0
  525. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.6.3/mkmf.log +128 -0
  526. data/vendor/bundle/ruby/2.6.0/gems/autotest-fsevent-0.2.20/CHANGELOG.md +144 -0
  527. data/vendor/bundle/ruby/2.6.0/gems/{autotest-fsevent-0.2.19 → autotest-fsevent-0.2.20}/LICENSE.txt +0 -0
  528. data/vendor/bundle/ruby/2.6.0/gems/{autotest-fsevent-0.2.19 → autotest-fsevent-0.2.20}/README.md +0 -0
  529. data/vendor/bundle/ruby/2.6.0/gems/{autotest-fsevent-0.2.19 → autotest-fsevent-0.2.20}/ext/fsevent/Makefile +0 -0
  530. data/vendor/bundle/ruby/2.6.0/gems/{autotest-fsevent-0.2.19 → autotest-fsevent-0.2.20}/ext/fsevent/extconf.rb +0 -0
  531. data/vendor/bundle/ruby/2.6.0/gems/{autotest-fsevent-0.2.19 → autotest-fsevent-0.2.20}/ext/fsevent/fsevent.dll +0 -0
  532. data/vendor/bundle/ruby/2.6.0/gems/{autotest-fsevent-0.2.19 → autotest-fsevent-0.2.20}/ext/fsevent/fsevent.so +0 -0
  533. data/vendor/bundle/ruby/2.6.0/gems/{autotest-fsevent-0.2.19 → autotest-fsevent-0.2.20}/ext/fsevent/fsevent_sleep.c +0 -0
  534. data/vendor/bundle/ruby/2.6.0/gems/{autotest-fsevent-0.2.19 → autotest-fsevent-0.2.20}/ext/fsevent/make +0 -0
  535. data/vendor/bundle/ruby/2.6.0/gems/{autotest-fsevent-0.2.19 → autotest-fsevent-0.2.20}/ext/fsevent/nmake.bat +0 -0
  536. data/vendor/bundle/ruby/2.6.0/gems/{autotest-fsevent-0.2.19 → autotest-fsevent-0.2.20}/lib/autotest/fsevent.rb +0 -0
  537. data/vendor/bundle/ruby/2.6.0/gems/autotest-fsevent-0.2.20/lib/autotest-fsevent/version.rb +5 -0
  538. data/vendor/bundle/ruby/2.6.0/gems/{autotest-fsevent-0.2.19 → autotest-fsevent-0.2.20}/lib/autotest-fsevent.rb +0 -0
  539. data/vendor/bundle/ruby/2.6.0/gems/{autotest-fsevent-0.2.19 → autotest-fsevent-0.2.20}/post-install.txt +0 -0
  540. data/vendor/bundle/ruby/2.6.0/gems/{autotest-fsevent-0.2.19 → autotest-fsevent-0.2.20}/prebuilt/fsevent_sleep +0 -0
  541. data/vendor/bundle/ruby/2.6.0/gems/ethon-0.16.0/.github/workflows/ruby.yml +41 -0
  542. data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.16.0}/.gitignore +0 -0
  543. data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.16.0}/.rspec +0 -0
  544. data/vendor/bundle/ruby/2.6.0/gems/ethon-0.16.0/CHANGELOG.md +375 -0
  545. data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.16.0}/Gemfile +0 -0
  546. data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.16.0}/Guardfile +0 -0
  547. data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.16.0}/LICENSE +0 -0
  548. data/vendor/bundle/ruby/2.6.0/gems/ethon-0.16.0/README.md +118 -0
  549. data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.16.0}/Rakefile +0 -0
  550. data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.16.0}/ethon.gemspec +0 -0
  551. data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/curl.rb +0 -0
  552. data/vendor/bundle/ruby/2.6.0/gems/ethon-0.16.0/lib/ethon/curls/classes.rb +65 -0
  553. data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/curls/codes.rb +0 -0
  554. data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/curls/constants.rb +0 -0
  555. data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/curls/form_options.rb +0 -0
  556. data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/curls/functions.rb +0 -0
  557. data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/curls/infos.rb +0 -0
  558. data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/curls/messages.rb +0 -0
  559. data/vendor/bundle/ruby/2.6.0/gems/ethon-0.16.0/lib/ethon/curls/options.rb +503 -0
  560. data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/curls/settings.rb +0 -0
  561. data/vendor/bundle/ruby/2.6.0/gems/ethon-0.16.0/lib/ethon/easy/callbacks.rb +149 -0
  562. data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/debug_info.rb +0 -0
  563. data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/features.rb +0 -0
  564. data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/form.rb +0 -0
  565. data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/header.rb +0 -0
  566. data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/http/actionable.rb +0 -0
  567. data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/http/custom.rb +0 -0
  568. data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/http/delete.rb +0 -0
  569. data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/http/get.rb +0 -0
  570. data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/http/head.rb +0 -0
  571. data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/http/options.rb +0 -0
  572. data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/http/patch.rb +0 -0
  573. data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/http/post.rb +0 -0
  574. data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/http/postable.rb +0 -0
  575. data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/http/put.rb +0 -0
  576. data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/http/putable.rb +0 -0
  577. data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/http.rb +0 -0
  578. data/vendor/bundle/ruby/2.6.0/gems/ethon-0.16.0/lib/ethon/easy/informations.rb +116 -0
  579. data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/mirror.rb +0 -0
  580. data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/operations.rb +0 -0
  581. data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/options.rb +0 -0
  582. data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/params.rb +0 -0
  583. data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/queryable.rb +0 -0
  584. data/vendor/bundle/ruby/2.6.0/gems/ethon-0.16.0/lib/ethon/easy/response_callbacks.rb +136 -0
  585. data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/util.rb +0 -0
  586. data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy.rb +0 -0
  587. data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/errors/ethon_error.rb +0 -0
  588. data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/errors/global_init.rb +0 -0
  589. data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/errors/invalid_option.rb +0 -0
  590. data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/errors/invalid_value.rb +0 -0
  591. data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/errors/multi_add.rb +0 -0
  592. data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/errors/multi_fdset.rb +0 -0
  593. data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/errors/multi_remove.rb +0 -0
  594. data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/errors/multi_timeout.rb +0 -0
  595. data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/errors/select.rb +0 -0
  596. data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/errors.rb +0 -0
  597. data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/libc.rb +0 -0
  598. data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/loggable.rb +0 -0
  599. data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/multi/operations.rb +0 -0
  600. data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/multi/options.rb +0 -0
  601. data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/multi/stack.rb +0 -0
  602. data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/multi.rb +0 -0
  603. data/vendor/bundle/ruby/2.6.0/gems/ethon-0.16.0/lib/ethon/version.rb +6 -0
  604. data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon.rb +0 -0
  605. data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.16.0}/profile/benchmarks.rb +0 -0
  606. data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.16.0}/profile/memory_leaks.rb +0 -0
  607. data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.16.0}/profile/perf_spec_helper.rb +0 -0
  608. data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.16.0}/profile/support/memory_test_helpers.rb +0 -0
  609. data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.16.0}/profile/support/os_memory_leak_tracker.rb +0 -0
  610. data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.16.0}/profile/support/ruby_object_leak_tracker.rb +0 -0
  611. data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/curl_spec.rb +0 -0
  612. data/vendor/bundle/ruby/2.6.0/gems/ethon-0.16.0/spec/ethon/easy/callbacks_spec.rb +81 -0
  613. data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/easy/debug_info_spec.rb +0 -0
  614. data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/easy/features_spec.rb +0 -0
  615. data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/easy/form_spec.rb +0 -0
  616. data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/easy/header_spec.rb +0 -0
  617. data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/easy/http/custom_spec.rb +0 -0
  618. data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/easy/http/delete_spec.rb +0 -0
  619. data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/easy/http/get_spec.rb +0 -0
  620. data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/easy/http/head_spec.rb +0 -0
  621. data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/easy/http/options_spec.rb +0 -0
  622. data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/easy/http/patch_spec.rb +0 -0
  623. data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/easy/http/post_spec.rb +0 -0
  624. data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/easy/http/put_spec.rb +0 -0
  625. data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/easy/http_spec.rb +0 -0
  626. data/vendor/bundle/ruby/2.6.0/gems/ethon-0.16.0/spec/ethon/easy/informations_spec.rb +126 -0
  627. data/vendor/bundle/ruby/2.6.0/gems/ethon-0.16.0/spec/ethon/easy/mirror_spec.rb +47 -0
  628. data/vendor/bundle/ruby/2.6.0/gems/ethon-0.16.0/spec/ethon/easy/operations_spec.rb +271 -0
  629. data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/easy/options_spec.rb +0 -0
  630. data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/easy/queryable_spec.rb +0 -0
  631. data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/easy/response_callbacks_spec.rb +0 -0
  632. data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/easy/util_spec.rb +0 -0
  633. data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/easy_spec.rb +0 -0
  634. data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/libc_spec.rb +0 -0
  635. data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/loggable_spec.rb +0 -0
  636. data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/multi/operations_spec.rb +0 -0
  637. data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/multi/options_spec.rb +0 -0
  638. data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/multi/stack_spec.rb +0 -0
  639. data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/multi_spec.rb +0 -0
  640. data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/spec_helper.rb +0 -0
  641. data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/support/localhost_server.rb +0 -0
  642. data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/support/server.rb +0 -0
  643. data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/Makefile +2 -2
  644. data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.2 → json-2.6.3}/CHANGES.md +0 -0
  645. data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.2 → json-2.6.3}/LICENSE +0 -0
  646. data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.2 → json-2.6.3}/README.md +0 -0
  647. data/vendor/bundle/ruby/2.6.0/gems/json-2.6.3/VERSION +1 -0
  648. data/vendor/bundle/ruby/2.6.0/gems/json-2.6.3/ext/json/Makefile +202 -0
  649. data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.2 → json-2.6.3}/ext/json/ext/fbuffer/fbuffer.h +0 -0
  650. data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.2 → json-2.6.3}/ext/json/ext/generator/.sitearchdir.-.json.-.ext.time +0 -0
  651. data/vendor/bundle/ruby/2.6.0/gems/json-2.6.3/ext/json/ext/generator/Makefile +267 -0
  652. data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.2 → json-2.6.3}/ext/json/ext/generator/depend +0 -0
  653. data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.2 → json-2.6.3}/ext/json/ext/generator/extconf.rb +0 -0
  654. data/vendor/bundle/ruby/2.6.0/gems/json-2.6.3/ext/json/ext/generator/generator.c +1608 -0
  655. data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.2 → json-2.6.3}/ext/json/ext/generator/generator.h +0 -0
  656. data/vendor/bundle/ruby/2.6.0/gems/json-2.6.3/ext/json/ext/generator/generator.o +0 -0
  657. data/vendor/bundle/ruby/2.6.0/gems/json-2.6.3/ext/json/ext/generator/generator.so +0 -0
  658. data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.2 → json-2.6.3}/ext/json/ext/parser/.sitearchdir.-.json.-.ext.time +0 -0
  659. data/vendor/bundle/ruby/2.6.0/gems/json-2.6.3/ext/json/ext/parser/Makefile +267 -0
  660. data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.2 → json-2.6.3}/ext/json/ext/parser/depend +0 -0
  661. data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.2 → json-2.6.3}/ext/json/ext/parser/extconf.rb +0 -0
  662. data/vendor/bundle/ruby/2.6.0/gems/json-2.6.3/ext/json/ext/parser/parser.c +3347 -0
  663. data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.2 → json-2.6.3}/ext/json/ext/parser/parser.h +0 -0
  664. data/vendor/bundle/ruby/2.6.0/gems/json-2.6.3/ext/json/ext/parser/parser.o +0 -0
  665. data/vendor/bundle/ruby/2.6.0/gems/json-2.6.3/ext/json/ext/parser/parser.rl +986 -0
  666. data/vendor/bundle/ruby/2.6.0/gems/json-2.6.3/ext/json/ext/parser/parser.so +0 -0
  667. data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.2 → json-2.6.3}/ext/json/extconf.rb +0 -0
  668. data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.2 → json-2.6.3}/json.gemspec +0 -0
  669. data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.2 → json-2.6.3}/lib/json/add/bigdecimal.rb +0 -0
  670. data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.2 → json-2.6.3}/lib/json/add/complex.rb +0 -0
  671. data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.2 → json-2.6.3}/lib/json/add/core.rb +0 -0
  672. data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.2 → json-2.6.3}/lib/json/add/date.rb +0 -0
  673. data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.2 → json-2.6.3}/lib/json/add/date_time.rb +0 -0
  674. data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.2 → json-2.6.3}/lib/json/add/exception.rb +0 -0
  675. data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.2 → json-2.6.3}/lib/json/add/ostruct.rb +0 -0
  676. data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.2 → json-2.6.3}/lib/json/add/range.rb +0 -0
  677. data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.2 → json-2.6.3}/lib/json/add/rational.rb +0 -0
  678. data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.2 → json-2.6.3}/lib/json/add/regexp.rb +0 -0
  679. data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.2 → json-2.6.3}/lib/json/add/set.rb +0 -0
  680. data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.2 → json-2.6.3}/lib/json/add/struct.rb +0 -0
  681. data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.2 → json-2.6.3}/lib/json/add/symbol.rb +0 -0
  682. data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.2 → json-2.6.3}/lib/json/add/time.rb +0 -0
  683. data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.2 → json-2.6.3}/lib/json/common.rb +0 -0
  684. data/vendor/bundle/ruby/2.6.0/gems/json-2.6.3/lib/json/ext/generator.so +0 -0
  685. data/vendor/bundle/ruby/2.6.0/gems/json-2.6.3/lib/json/ext/parser.so +0 -0
  686. data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.2 → json-2.6.3}/lib/json/ext.rb +0 -0
  687. data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.2 → json-2.6.3}/lib/json/generic_object.rb +0 -0
  688. data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.2 → json-2.6.3}/lib/json/pure/generator.rb +0 -0
  689. data/vendor/bundle/ruby/2.6.0/gems/json-2.6.3/lib/json/pure/parser.rb +337 -0
  690. data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.2 → json-2.6.3}/lib/json/pure.rb +0 -0
  691. data/vendor/bundle/ruby/2.6.0/gems/json-2.6.3/lib/json/version.rb +9 -0
  692. data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.2 → json-2.6.3}/lib/json.rb +0 -0
  693. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-5.0.0 → public_suffix-5.0.1}/.github/FUNDING.yml +0 -0
  694. data/vendor/bundle/ruby/2.6.0/gems/public_suffix-5.0.1/.github/dependabot.yml +19 -0
  695. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-5.0.0 → public_suffix-5.0.1}/.github/workflows/psl-update.yml +0 -0
  696. data/vendor/bundle/ruby/2.6.0/gems/public_suffix-5.0.1/.github/workflows/release.yml +18 -0
  697. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-5.0.0 → public_suffix-5.0.1}/.github/workflows/tests.yml +0 -0
  698. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-5.0.0 → public_suffix-5.0.1}/.gitignore +0 -0
  699. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-5.0.0 → public_suffix-5.0.1}/.rubocop.yml +0 -0
  700. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-5.0.0 → public_suffix-5.0.1}/.rubocop_opinionated.yml +0 -0
  701. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-5.0.0 → public_suffix-5.0.1}/.yardopts +0 -0
  702. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-5.0.0 → public_suffix-5.0.1}/2.0-Upgrade.md +0 -0
  703. data/vendor/bundle/ruby/2.6.0/gems/public_suffix-5.0.1/CHANGELOG.md +432 -0
  704. data/vendor/bundle/ruby/2.6.0/gems/public_suffix-5.0.1/Gemfile +14 -0
  705. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-5.0.0 → public_suffix-5.0.1}/LICENSE.txt +0 -0
  706. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-5.0.0 → public_suffix-5.0.1}/README.md +0 -0
  707. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-5.0.0 → public_suffix-5.0.1}/Rakefile +0 -0
  708. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-5.0.0 → public_suffix-5.0.1}/SECURITY.md +0 -0
  709. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-5.0.0 → public_suffix-5.0.1}/bin/console +0 -0
  710. data/vendor/bundle/ruby/2.6.0/gems/public_suffix-5.0.1/data/list.txt +14189 -0
  711. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-5.0.0 → public_suffix-5.0.1}/lib/public_suffix/domain.rb +0 -0
  712. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-5.0.0 → public_suffix-5.0.1}/lib/public_suffix/errors.rb +0 -0
  713. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-5.0.0 → public_suffix-5.0.1}/lib/public_suffix/list.rb +0 -0
  714. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-5.0.0 → public_suffix-5.0.1}/lib/public_suffix/rule.rb +0 -0
  715. data/vendor/bundle/ruby/2.6.0/gems/public_suffix-5.0.1/lib/public_suffix/version.rb +15 -0
  716. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-5.0.0 → public_suffix-5.0.1}/lib/public_suffix.rb +0 -0
  717. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-5.0.0 → public_suffix-5.0.1}/public_suffix.gemspec +0 -0
  718. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-5.0.0 → public_suffix-5.0.1}/test/.empty +0 -0
  719. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-5.0.0 → public_suffix-5.0.1}/test/acceptance_test.rb +0 -0
  720. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-5.0.0 → public_suffix-5.0.1}/test/benchmarks/bm_find.rb +0 -0
  721. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-5.0.0 → public_suffix-5.0.1}/test/benchmarks/bm_find_all.rb +0 -0
  722. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-5.0.0 → public_suffix-5.0.1}/test/benchmarks/bm_names.rb +0 -0
  723. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-5.0.0 → public_suffix-5.0.1}/test/benchmarks/bm_select.rb +0 -0
  724. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-5.0.0 → public_suffix-5.0.1}/test/benchmarks/bm_select_incremental.rb +0 -0
  725. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-5.0.0 → public_suffix-5.0.1}/test/benchmarks/bm_valid.rb +0 -0
  726. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-5.0.0 → public_suffix-5.0.1}/test/profilers/domain_profiler.rb +0 -0
  727. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-5.0.0 → public_suffix-5.0.1}/test/profilers/find_profiler.rb +0 -0
  728. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-5.0.0 → public_suffix-5.0.1}/test/profilers/find_profiler_jp.rb +0 -0
  729. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-5.0.0 → public_suffix-5.0.1}/test/profilers/initialization_profiler.rb +0 -0
  730. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-5.0.0 → public_suffix-5.0.1}/test/profilers/list_profsize.rb +0 -0
  731. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-5.0.0 → public_suffix-5.0.1}/test/profilers/object_binsize.rb +0 -0
  732. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-5.0.0 → public_suffix-5.0.1}/test/psl_test.rb +0 -0
  733. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-5.0.0 → public_suffix-5.0.1}/test/test_helper.rb +0 -0
  734. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-5.0.0 → public_suffix-5.0.1}/test/tests.txt +0 -0
  735. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-5.0.0 → public_suffix-5.0.1}/test/unit/domain_test.rb +0 -0
  736. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-5.0.0 → public_suffix-5.0.1}/test/unit/errors_test.rb +0 -0
  737. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-5.0.0 → public_suffix-5.0.1}/test/unit/list_test.rb +0 -0
  738. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-5.0.0 → public_suffix-5.0.1}/test/unit/public_suffix_test.rb +0 -0
  739. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-5.0.0 → public_suffix-5.0.1}/test/unit/rule_test.rb +0 -0
  740. data/vendor/bundle/ruby/2.6.0/gems/{rspec-3.11.0 → rspec-3.12.0}/LICENSE.md +0 -0
  741. data/vendor/bundle/ruby/2.6.0/gems/{rspec-3.11.0 → rspec-3.12.0}/README.md +0 -0
  742. data/vendor/bundle/ruby/2.6.0/gems/rspec-3.12.0/lib/rspec/version.rb +5 -0
  743. data/vendor/bundle/ruby/2.6.0/gems/{rspec-3.11.0 → rspec-3.12.0}/lib/rspec.rb +0 -0
  744. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/.document +0 -0
  745. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/.yardopts +0 -0
  746. data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.12.0/Changelog.md +2360 -0
  747. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/LICENSE.md +0 -0
  748. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/README.md +0 -0
  749. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/exe/rspec +0 -0
  750. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/autorun.rb +0 -0
  751. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/backtrace_formatter.rb +0 -0
  752. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/bisect/coordinator.rb +0 -0
  753. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/bisect/example_minimizer.rb +0 -0
  754. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/bisect/fork_runner.rb +0 -0
  755. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/bisect/server.rb +0 -0
  756. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/bisect/shell_command.rb +0 -0
  757. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/bisect/shell_runner.rb +0 -0
  758. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/bisect/utilities.rb +0 -0
  759. data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.12.0/lib/rspec/core/configuration.rb +2385 -0
  760. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/configuration_options.rb +0 -0
  761. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/did_you_mean.rb +0 -0
  762. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/drb.rb +0 -0
  763. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/dsl.rb +0 -0
  764. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/example.rb +0 -0
  765. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/example_group.rb +0 -0
  766. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/example_status_persister.rb +0 -0
  767. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/filter_manager.rb +0 -0
  768. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/flat_map.rb +0 -0
  769. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/formatters/base_bisect_formatter.rb +0 -0
  770. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/formatters/base_formatter.rb +0 -0
  771. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/formatters/base_text_formatter.rb +0 -0
  772. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/formatters/bisect_drb_formatter.rb +0 -0
  773. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/formatters/bisect_progress_formatter.rb +0 -0
  774. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/formatters/console_codes.rb +0 -0
  775. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/formatters/deprecation_formatter.rb +0 -0
  776. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/formatters/documentation_formatter.rb +0 -0
  777. data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.12.0/lib/rspec/core/formatters/exception_presenter.rb +525 -0
  778. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/formatters/failure_list_formatter.rb +0 -0
  779. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/formatters/fallback_message_formatter.rb +0 -0
  780. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/formatters/helpers.rb +0 -0
  781. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/formatters/html_formatter.rb +0 -0
  782. data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.12.0/lib/rspec/core/formatters/html_printer.rb +412 -0
  783. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/formatters/html_snippet_extractor.rb +0 -0
  784. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/formatters/json_formatter.rb +0 -0
  785. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/formatters/profile_formatter.rb +0 -0
  786. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/formatters/progress_formatter.rb +0 -0
  787. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/formatters/protocol.rb +0 -0
  788. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/formatters/snippet_extractor.rb +0 -0
  789. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/formatters/syntax_highlighter.rb +0 -0
  790. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/formatters.rb +0 -0
  791. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/hooks.rb +0 -0
  792. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/invocations.rb +0 -0
  793. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/memoized_helpers.rb +0 -0
  794. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/metadata.rb +0 -0
  795. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/metadata_filter.rb +0 -0
  796. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/minitest_assertions_adapter.rb +0 -0
  797. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/mocking_adapters/flexmock.rb +0 -0
  798. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/mocking_adapters/mocha.rb +0 -0
  799. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/mocking_adapters/null.rb +0 -0
  800. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/mocking_adapters/rr.rb +0 -0
  801. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/mocking_adapters/rspec.rb +0 -0
  802. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/notifications.rb +0 -0
  803. data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.12.0/lib/rspec/core/option_parser.rb +323 -0
  804. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/ordering.rb +0 -0
  805. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/output_wrapper.rb +0 -0
  806. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/pending.rb +0 -0
  807. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/profiler.rb +0 -0
  808. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/project_initializer/.rspec +0 -0
  809. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/project_initializer/spec/spec_helper.rb +0 -0
  810. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/project_initializer.rb +0 -0
  811. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/rake_task.rb +0 -0
  812. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/reporter.rb +0 -0
  813. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/ruby_project.rb +0 -0
  814. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/runner.rb +0 -0
  815. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/sandbox.rb +0 -0
  816. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/set.rb +0 -0
  817. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/shared_context.rb +0 -0
  818. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/shared_example_group.rb +0 -0
  819. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/shell_escape.rb +0 -0
  820. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/test_unit_assertions_adapter.rb +0 -0
  821. data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.12.0/lib/rspec/core/version.rb +9 -0
  822. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/warnings.rb +0 -0
  823. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/world.rb +0 -0
  824. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core.rb +0 -0
  825. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/.document +0 -0
  826. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/.yardopts +0 -0
  827. data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.12.0/Changelog.md +1285 -0
  828. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/LICENSE.md +0 -0
  829. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/README.md +0 -0
  830. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/expectations/block_snippet_extractor.rb +0 -0
  831. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/expectations/configuration.rb +0 -0
  832. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/expectations/expectation_target.rb +0 -0
  833. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/expectations/fail_with.rb +0 -0
  834. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/expectations/failure_aggregator.rb +0 -0
  835. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/expectations/handler.rb +0 -0
  836. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/expectations/minitest_integration.rb +0 -0
  837. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/expectations/syntax.rb +0 -0
  838. data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.12.0/lib/rspec/expectations/version.rb +8 -0
  839. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/expectations.rb +0 -0
  840. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/matchers/aliased_matcher.rb +0 -0
  841. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/all.rb +0 -0
  842. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/base_matcher.rb +0 -0
  843. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/be.rb +0 -0
  844. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/be_between.rb +0 -0
  845. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/be_instance_of.rb +0 -0
  846. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/be_kind_of.rb +0 -0
  847. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/be_within.rb +0 -0
  848. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/change.rb +0 -0
  849. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/compound.rb +0 -0
  850. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/contain_exactly.rb +0 -0
  851. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/count_expectation.rb +0 -0
  852. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/cover.rb +0 -0
  853. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/eq.rb +0 -0
  854. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/eql.rb +0 -0
  855. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/equal.rb +0 -0
  856. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/exist.rb +0 -0
  857. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/has.rb +0 -0
  858. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/have_attributes.rb +0 -0
  859. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/include.rb +0 -0
  860. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/match.rb +0 -0
  861. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/operators.rb +0 -0
  862. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/output.rb +0 -0
  863. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/raise_error.rb +0 -0
  864. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/respond_to.rb +0 -0
  865. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/satisfy.rb +0 -0
  866. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/start_or_end_with.rb +0 -0
  867. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/throw_symbol.rb +0 -0
  868. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/yield.rb +0 -0
  869. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in.rb +0 -0
  870. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/matchers/composable.rb +0 -0
  871. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/matchers/dsl.rb +0 -0
  872. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/matchers/english_phrasing.rb +0 -0
  873. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/matchers/expecteds_for_multiple_diffs.rb +0 -0
  874. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/matchers/fail_matchers.rb +0 -0
  875. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/matchers/generated_descriptions.rb +0 -0
  876. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/matchers/matcher_delegator.rb +0 -0
  877. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/matchers/matcher_protocol.rb +0 -0
  878. data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.12.0/lib/rspec/matchers.rb +1044 -0
  879. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.1}/.document +0 -0
  880. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.1}/.yardopts +0 -0
  881. data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.12.1/Changelog.md +1227 -0
  882. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.1}/LICENSE.md +0 -0
  883. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.1}/README.md +0 -0
  884. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.1}/lib/rspec/mocks/any_instance/chain.rb +0 -0
  885. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.1}/lib/rspec/mocks/any_instance/error_generator.rb +0 -0
  886. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.1}/lib/rspec/mocks/any_instance/expect_chain_chain.rb +0 -0
  887. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.1}/lib/rspec/mocks/any_instance/expectation_chain.rb +0 -0
  888. data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.12.1/lib/rspec/mocks/any_instance/message_chains.rb +83 -0
  889. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.1}/lib/rspec/mocks/any_instance/proxy.rb +0 -0
  890. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.1}/lib/rspec/mocks/any_instance/recorder.rb +0 -0
  891. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.1}/lib/rspec/mocks/any_instance/stub_chain.rb +0 -0
  892. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.1}/lib/rspec/mocks/any_instance/stub_chain_chain.rb +0 -0
  893. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.1}/lib/rspec/mocks/any_instance.rb +0 -0
  894. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.1}/lib/rspec/mocks/argument_list_matcher.rb +0 -0
  895. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.1}/lib/rspec/mocks/argument_matchers.rb +0 -0
  896. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.1}/lib/rspec/mocks/configuration.rb +0 -0
  897. data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.12.1/lib/rspec/mocks/error_generator.rb +390 -0
  898. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.1}/lib/rspec/mocks/example_methods.rb +0 -0
  899. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.1}/lib/rspec/mocks/instance_method_stasher.rb +0 -0
  900. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.1}/lib/rspec/mocks/marshal_extension.rb +0 -0
  901. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.1}/lib/rspec/mocks/matchers/expectation_customization.rb +0 -0
  902. data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.12.1/lib/rspec/mocks/matchers/have_received.rb +134 -0
  903. data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.12.1/lib/rspec/mocks/matchers/receive.rb +133 -0
  904. data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.12.1/lib/rspec/mocks/matchers/receive_message_chain.rb +82 -0
  905. data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.12.1/lib/rspec/mocks/matchers/receive_messages.rb +77 -0
  906. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.1}/lib/rspec/mocks/message_chain.rb +0 -0
  907. data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.12.1/lib/rspec/mocks/message_expectation.rb +820 -0
  908. data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.12.1/lib/rspec/mocks/method_double.rb +309 -0
  909. data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.12.1/lib/rspec/mocks/method_reference.rb +214 -0
  910. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.1}/lib/rspec/mocks/minitest_integration.rb +0 -0
  911. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.1}/lib/rspec/mocks/mutate_const.rb +0 -0
  912. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.1}/lib/rspec/mocks/object_reference.rb +0 -0
  913. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.1}/lib/rspec/mocks/order_group.rb +0 -0
  914. data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.12.1/lib/rspec/mocks/proxy.rb +519 -0
  915. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.1}/lib/rspec/mocks/space.rb +0 -0
  916. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.1}/lib/rspec/mocks/standalone.rb +0 -0
  917. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.1}/lib/rspec/mocks/syntax.rb +0 -0
  918. data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.12.1/lib/rspec/mocks/targets.rb +124 -0
  919. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.1}/lib/rspec/mocks/test_double.rb +0 -0
  920. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.1}/lib/rspec/mocks/verifying_double.rb +0 -0
  921. data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.12.1/lib/rspec/mocks/verifying_message_expectation.rb +55 -0
  922. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.1}/lib/rspec/mocks/verifying_proxy.rb +0 -0
  923. data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.12.1/lib/rspec/mocks/version.rb +9 -0
  924. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.1}/lib/rspec/mocks.rb +0 -0
  925. data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.12.0/Changelog.md +364 -0
  926. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.1 → rspec-support-3.12.0}/LICENSE.md +0 -0
  927. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.1 → rspec-support-3.12.0}/README.md +0 -0
  928. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.1 → rspec-support-3.12.0}/lib/rspec/support/caller_filter.rb +0 -0
  929. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.1 → rspec-support-3.12.0}/lib/rspec/support/comparable_version.rb +0 -0
  930. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.1 → rspec-support-3.12.0}/lib/rspec/support/differ.rb +0 -0
  931. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.1 → rspec-support-3.12.0}/lib/rspec/support/directory_maker.rb +0 -0
  932. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.1 → rspec-support-3.12.0}/lib/rspec/support/encoded_string.rb +0 -0
  933. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.1 → rspec-support-3.12.0}/lib/rspec/support/fuzzy_matcher.rb +0 -0
  934. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.1 → rspec-support-3.12.0}/lib/rspec/support/hunk_generator.rb +0 -0
  935. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.1 → rspec-support-3.12.0}/lib/rspec/support/matcher_definition.rb +0 -0
  936. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.1 → rspec-support-3.12.0}/lib/rspec/support/method_signature_verifier.rb +0 -0
  937. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.1 → rspec-support-3.12.0}/lib/rspec/support/mutex.rb +0 -0
  938. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.1 → rspec-support-3.12.0}/lib/rspec/support/object_formatter.rb +0 -0
  939. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.1 → rspec-support-3.12.0}/lib/rspec/support/recursive_const_methods.rb +0 -0
  940. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.1 → rspec-support-3.12.0}/lib/rspec/support/reentrant_mutex.rb +0 -0
  941. data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.12.0/lib/rspec/support/ruby_features.rb +198 -0
  942. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.1 → rspec-support-3.12.0}/lib/rspec/support/source/location.rb +0 -0
  943. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.1 → rspec-support-3.12.0}/lib/rspec/support/source/node.rb +0 -0
  944. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.1 → rspec-support-3.12.0}/lib/rspec/support/source/token.rb +0 -0
  945. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.1 → rspec-support-3.12.0}/lib/rspec/support/source.rb +0 -0
  946. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.1 → rspec-support-3.12.0}/lib/rspec/support/spec/deprecation_helpers.rb +0 -0
  947. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.1 → rspec-support-3.12.0}/lib/rspec/support/spec/diff_helpers.rb +0 -0
  948. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.1 → rspec-support-3.12.0}/lib/rspec/support/spec/formatting_support.rb +0 -0
  949. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.1 → rspec-support-3.12.0}/lib/rspec/support/spec/in_sub_process.rb +0 -0
  950. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.1 → rspec-support-3.12.0}/lib/rspec/support/spec/library_wide_checks.rb +0 -0
  951. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.1 → rspec-support-3.12.0}/lib/rspec/support/spec/shell_out.rb +0 -0
  952. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.1 → rspec-support-3.12.0}/lib/rspec/support/spec/stderr_splitter.rb +0 -0
  953. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.1 → rspec-support-3.12.0}/lib/rspec/support/spec/string_matcher.rb +0 -0
  954. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.1 → rspec-support-3.12.0}/lib/rspec/support/spec/with_isolated_directory.rb +0 -0
  955. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.1 → rspec-support-3.12.0}/lib/rspec/support/spec/with_isolated_stderr.rb +0 -0
  956. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.1 → rspec-support-3.12.0}/lib/rspec/support/spec.rb +0 -0
  957. data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.12.0/lib/rspec/support/version.rb +7 -0
  958. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.1 → rspec-support-3.12.0}/lib/rspec/support/warnings.rb +0 -0
  959. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.1 → rspec-support-3.12.0}/lib/rspec/support/with_keywords_when_needed.rb +0 -0
  960. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.1 → rspec-support-3.12.0}/lib/rspec/support.rb +0 -0
  961. data/vendor/bundle/ruby/2.6.0/specifications/autotest-fsevent-0.2.20.gemspec +44 -0
  962. data/vendor/bundle/ruby/2.6.0/specifications/ethon-0.16.0.gemspec +30 -0
  963. data/vendor/bundle/ruby/2.6.0/specifications/json-2.6.3.gemspec +0 -0
  964. data/vendor/bundle/ruby/2.6.0/specifications/public_suffix-5.0.1.gemspec +24 -0
  965. data/vendor/bundle/ruby/2.6.0/specifications/rspec-3.12.0.gemspec +39 -0
  966. data/vendor/bundle/ruby/2.6.0/specifications/rspec-core-3.12.0.gemspec +53 -0
  967. data/vendor/bundle/ruby/2.6.0/specifications/rspec-expectations-3.12.0.gemspec +44 -0
  968. data/vendor/bundle/ruby/2.6.0/specifications/rspec-mocks-3.12.1.gemspec +44 -0
  969. data/vendor/bundle/ruby/2.6.0/specifications/rspec-support-3.12.0.gemspec +36 -0
  970. metadata +877 -805
  971. data/docs/DistrosVersions.md +0 -9
  972. data/docs/EntitlementsCreate.md +0 -22
  973. data/docs/EntitlementsPartialUpdate.md +0 -22
  974. data/docs/EntitlementsRefresh.md +0 -21
  975. data/docs/EntitlementsSync.md +0 -8
  976. data/docs/FilesAbort.md +0 -11
  977. data/docs/FilesComplete.md +0 -11
  978. data/docs/FilesCreate.md +0 -11
  979. data/docs/FilesValidate.md +0 -11
  980. data/docs/FormatsDistributions.md +0 -11
  981. data/docs/OrganizationTeamMembersMembers.md +0 -9
  982. data/docs/OrgsInvitesCreate.md +0 -12
  983. data/docs/OrgsInvitesExtend.md +0 -11
  984. data/docs/OrgsSamlgroupsyncCreate.md +0 -12
  985. data/docs/OrgsTeamsCreate.md +0 -11
  986. data/docs/OrgsTeamsMembersCreate.md +0 -8
  987. data/docs/OrgsTeamsMembersUpdate.md +0 -8
  988. data/docs/OrgsTeamsPartialUpdate.md +0 -11
  989. data/docs/PackageDependenciesDependencies.md +0 -11
  990. data/docs/PackagesCopy.md +0 -9
  991. data/docs/PackagesMove.md +0 -8
  992. data/docs/PackagesQuarantine.md +0 -8
  993. data/docs/PackagesTag.md +0 -10
  994. data/docs/PackagesUploadAlpine.md +0 -11
  995. data/docs/PackagesUploadCargo.md +0 -10
  996. data/docs/PackagesUploadCocoapods.md +0 -10
  997. data/docs/PackagesUploadComposer.md +0 -10
  998. data/docs/PackagesUploadConan.md +0 -17
  999. data/docs/PackagesUploadConda.md +0 -10
  1000. data/docs/PackagesUploadCran.md +0 -10
  1001. data/docs/PackagesUploadDart.md +0 -10
  1002. data/docs/PackagesUploadDeb.md +0 -13
  1003. data/docs/PackagesUploadDocker.md +0 -10
  1004. data/docs/PackagesUploadGo.md +0 -10
  1005. data/docs/PackagesUploadHelm.md +0 -10
  1006. data/docs/PackagesUploadLuarocks.md +0 -10
  1007. data/docs/PackagesUploadMaven.md +0 -18
  1008. data/docs/PackagesUploadNpm.md +0 -11
  1009. data/docs/PackagesUploadNuget.md +0 -11
  1010. data/docs/PackagesUploadP2.md +0 -10
  1011. data/docs/PackagesUploadPython.md +0 -10
  1012. data/docs/PackagesUploadRaw.md +0 -15
  1013. data/docs/PackagesUploadRpm.md +0 -11
  1014. data/docs/PackagesUploadRuby.md +0 -10
  1015. data/docs/PackagesUploadTerraform.md +0 -10
  1016. data/docs/PackagesUploadVagrant.md +0 -13
  1017. data/docs/PackagesValidateuploadAlpine.md +0 -11
  1018. data/docs/PackagesValidateuploadCargo.md +0 -10
  1019. data/docs/PackagesValidateuploadCocoapods.md +0 -10
  1020. data/docs/PackagesValidateuploadComposer.md +0 -10
  1021. data/docs/PackagesValidateuploadConan.md +0 -17
  1022. data/docs/PackagesValidateuploadConda.md +0 -10
  1023. data/docs/PackagesValidateuploadCran.md +0 -10
  1024. data/docs/PackagesValidateuploadDart.md +0 -10
  1025. data/docs/PackagesValidateuploadDeb.md +0 -13
  1026. data/docs/PackagesValidateuploadDocker.md +0 -10
  1027. data/docs/PackagesValidateuploadGo.md +0 -10
  1028. data/docs/PackagesValidateuploadHelm.md +0 -10
  1029. data/docs/PackagesValidateuploadLuarocks.md +0 -10
  1030. data/docs/PackagesValidateuploadMaven.md +0 -18
  1031. data/docs/PackagesValidateuploadNpm.md +0 -11
  1032. data/docs/PackagesValidateuploadNuget.md +0 -11
  1033. data/docs/PackagesValidateuploadP2.md +0 -10
  1034. data/docs/PackagesValidateuploadPython.md +0 -10
  1035. data/docs/PackagesValidateuploadRaw.md +0 -15
  1036. data/docs/PackagesValidateuploadRpm.md +0 -11
  1037. data/docs/PackagesValidateuploadRuby.md +0 -10
  1038. data/docs/PackagesValidateuploadTerraform.md +0 -10
  1039. data/docs/PackagesValidateuploadVagrant.md +0 -13
  1040. data/docs/PackagesownerrepoArchitectures.md +0 -9
  1041. data/docs/PackagesownerrepoFiles.md +0 -21
  1042. data/docs/QuotaHistoryHistory.md +0 -13
  1043. data/docs/ReposCreate.md +0 -43
  1044. data/docs/ReposGpgCreate.md +0 -9
  1045. data/docs/ReposGpgKeys.md +0 -14
  1046. data/docs/ReposPartialUpdate.md +0 -42
  1047. data/docs/ReposPrivilegesPartialUpdate.md +0 -8
  1048. data/docs/ReposPrivilegesUpdate.md +0 -8
  1049. data/docs/ReposRsaCreate.md +0 -9
  1050. data/docs/RepositoryPrivilegeInputPrivileges.md +0 -10
  1051. data/docs/RepositoryTokenSyncTokens.md +0 -46
  1052. data/docs/Status.md +0 -8
  1053. data/docs/UserTokenCreate.md +0 -9
  1054. data/docs/WebhooksCreate.md +0 -19
  1055. data/docs/WebhooksPartialUpdate.md +0 -19
  1056. data/docs/WebhooksownerrepoTemplates.md +0 -9
  1057. data/lib/cloudsmith-api/models/distros_versions.rb +0 -195
  1058. data/lib/cloudsmith-api/models/entitlements_create.rb +0 -376
  1059. data/lib/cloudsmith-api/models/entitlements_partial_update.rb +0 -371
  1060. data/lib/cloudsmith-api/models/entitlements_refresh.rb +0 -361
  1061. data/lib/cloudsmith-api/models/entitlements_sync.rb +0 -190
  1062. data/lib/cloudsmith-api/models/files_abort.rb +0 -254
  1063. data/lib/cloudsmith-api/models/files_complete.rb +0 -254
  1064. data/lib/cloudsmith-api/models/files_create.rb +0 -254
  1065. data/lib/cloudsmith-api/models/files_validate.rb +0 -254
  1066. data/lib/cloudsmith-api/models/formats_distributions.rb +0 -215
  1067. data/lib/cloudsmith-api/models/organization_team_members_members.rb +0 -195
  1068. data/lib/cloudsmith-api/models/orgs_invites_create.rb +0 -259
  1069. data/lib/cloudsmith-api/models/orgs_invites_extend.rb +0 -249
  1070. data/lib/cloudsmith-api/models/orgs_samlgroupsync_create.rb +0 -245
  1071. data/lib/cloudsmith-api/models/orgs_teams_create.rb +0 -254
  1072. data/lib/cloudsmith-api/models/orgs_teams_members_create.rb +0 -192
  1073. data/lib/cloudsmith-api/models/orgs_teams_members_update.rb +0 -192
  1074. data/lib/cloudsmith-api/models/orgs_teams_partial_update.rb +0 -249
  1075. data/lib/cloudsmith-api/models/package_dependencies_dependencies.rb +0 -215
  1076. data/lib/cloudsmith-api/models/packages_copy.rb +0 -200
  1077. data/lib/cloudsmith-api/models/packages_move.rb +0 -190
  1078. data/lib/cloudsmith-api/models/packages_quarantine.rb +0 -185
  1079. data/lib/cloudsmith-api/models/packages_tag.rb +0 -241
  1080. data/lib/cloudsmith-api/models/packages_upload_alpine.rb +0 -225
  1081. data/lib/cloudsmith-api/models/packages_upload_cargo.rb +0 -210
  1082. data/lib/cloudsmith-api/models/packages_upload_cocoapods.rb +0 -210
  1083. data/lib/cloudsmith-api/models/packages_upload_composer.rb +0 -210
  1084. data/lib/cloudsmith-api/models/packages_upload_conan.rb +0 -295
  1085. data/lib/cloudsmith-api/models/packages_upload_conda.rb +0 -210
  1086. data/lib/cloudsmith-api/models/packages_upload_cran.rb +0 -210
  1087. data/lib/cloudsmith-api/models/packages_upload_dart.rb +0 -210
  1088. data/lib/cloudsmith-api/models/packages_upload_deb.rb +0 -245
  1089. data/lib/cloudsmith-api/models/packages_upload_docker.rb +0 -210
  1090. data/lib/cloudsmith-api/models/packages_upload_go.rb +0 -210
  1091. data/lib/cloudsmith-api/models/packages_upload_helm.rb +0 -210
  1092. data/lib/cloudsmith-api/models/packages_upload_luarocks.rb +0 -210
  1093. data/lib/cloudsmith-api/models/packages_upload_maven.rb +0 -290
  1094. data/lib/cloudsmith-api/models/packages_upload_npm.rb +0 -220
  1095. data/lib/cloudsmith-api/models/packages_upload_nuget.rb +0 -220
  1096. data/lib/cloudsmith-api/models/packages_upload_p2.rb +0 -210
  1097. data/lib/cloudsmith-api/models/packages_upload_python.rb +0 -210
  1098. data/lib/cloudsmith-api/models/packages_upload_raw.rb +0 -260
  1099. data/lib/cloudsmith-api/models/packages_upload_rpm.rb +0 -225
  1100. data/lib/cloudsmith-api/models/packages_upload_ruby.rb +0 -210
  1101. data/lib/cloudsmith-api/models/packages_upload_terraform.rb +0 -210
  1102. data/lib/cloudsmith-api/models/packages_upload_vagrant.rb +0 -255
  1103. data/lib/cloudsmith-api/models/packages_validateupload_alpine.rb +0 -225
  1104. data/lib/cloudsmith-api/models/packages_validateupload_cargo.rb +0 -210
  1105. data/lib/cloudsmith-api/models/packages_validateupload_cocoapods.rb +0 -210
  1106. data/lib/cloudsmith-api/models/packages_validateupload_composer.rb +0 -210
  1107. data/lib/cloudsmith-api/models/packages_validateupload_conan.rb +0 -295
  1108. data/lib/cloudsmith-api/models/packages_validateupload_conda.rb +0 -210
  1109. data/lib/cloudsmith-api/models/packages_validateupload_cran.rb +0 -210
  1110. data/lib/cloudsmith-api/models/packages_validateupload_dart.rb +0 -210
  1111. data/lib/cloudsmith-api/models/packages_validateupload_deb.rb +0 -245
  1112. data/lib/cloudsmith-api/models/packages_validateupload_docker.rb +0 -210
  1113. data/lib/cloudsmith-api/models/packages_validateupload_go.rb +0 -210
  1114. data/lib/cloudsmith-api/models/packages_validateupload_helm.rb +0 -210
  1115. data/lib/cloudsmith-api/models/packages_validateupload_luarocks.rb +0 -210
  1116. data/lib/cloudsmith-api/models/packages_validateupload_maven.rb +0 -290
  1117. data/lib/cloudsmith-api/models/packages_validateupload_npm.rb +0 -220
  1118. data/lib/cloudsmith-api/models/packages_validateupload_nuget.rb +0 -220
  1119. data/lib/cloudsmith-api/models/packages_validateupload_p2.rb +0 -210
  1120. data/lib/cloudsmith-api/models/packages_validateupload_python.rb +0 -210
  1121. data/lib/cloudsmith-api/models/packages_validateupload_raw.rb +0 -260
  1122. data/lib/cloudsmith-api/models/packages_validateupload_rpm.rb +0 -225
  1123. data/lib/cloudsmith-api/models/packages_validateupload_ruby.rb +0 -210
  1124. data/lib/cloudsmith-api/models/packages_validateupload_terraform.rb +0 -210
  1125. data/lib/cloudsmith-api/models/packages_validateupload_vagrant.rb +0 -255
  1126. data/lib/cloudsmith-api/models/packagesownerrepo_architectures.rb +0 -195
  1127. data/lib/cloudsmith-api/models/packagesownerrepo_files.rb +0 -315
  1128. data/lib/cloudsmith-api/models/quota_history_history.rb +0 -235
  1129. data/lib/cloudsmith-api/models/repos_create.rb +0 -672
  1130. data/lib/cloudsmith-api/models/repos_gpg_create.rb +0 -200
  1131. data/lib/cloudsmith-api/models/repos_gpg_keys.rb +0 -245
  1132. data/lib/cloudsmith-api/models/repos_partial_update.rb +0 -669
  1133. data/lib/cloudsmith-api/models/repos_privileges_partial_update.rb +0 -187
  1134. data/lib/cloudsmith-api/models/repos_privileges_update.rb +0 -192
  1135. data/lib/cloudsmith-api/models/repos_rsa_create.rb +0 -200
  1136. data/lib/cloudsmith-api/models/repository_privilege_input_privileges.rb +0 -205
  1137. data/lib/cloudsmith-api/models/repository_token_sync_tokens.rb +0 -565
  1138. data/lib/cloudsmith-api/models/status.rb +0 -190
  1139. data/lib/cloudsmith-api/models/user_token_create.rb +0 -195
  1140. data/lib/cloudsmith-api/models/webhooks_create.rb +0 -314
  1141. data/lib/cloudsmith-api/models/webhooks_partial_update.rb +0 -299
  1142. data/lib/cloudsmith-api/models/webhooksownerrepo_templates.rb +0 -195
  1143. data/spec/models/distros_versions_spec.rb +0 -47
  1144. data/spec/models/entitlements_create_spec.rb +0 -133
  1145. data/spec/models/entitlements_partial_update_spec.rb +0 -133
  1146. data/spec/models/entitlements_refresh_spec.rb +0 -127
  1147. data/spec/models/entitlements_sync_spec.rb +0 -41
  1148. data/spec/models/files_abort_spec.rb +0 -63
  1149. data/spec/models/files_complete_spec.rb +0 -63
  1150. data/spec/models/files_create_spec.rb +0 -63
  1151. data/spec/models/files_validate_spec.rb +0 -63
  1152. data/spec/models/formats_distributions_spec.rb +0 -59
  1153. data/spec/models/organization_team_members_members_spec.rb +0 -47
  1154. data/spec/models/orgs_invites_create_spec.rb +0 -69
  1155. data/spec/models/orgs_invites_extend_spec.rb +0 -63
  1156. data/spec/models/orgs_samlgroupsync_create_spec.rb +0 -65
  1157. data/spec/models/orgs_teams_create_spec.rb +0 -63
  1158. data/spec/models/orgs_teams_members_create_spec.rb +0 -41
  1159. data/spec/models/orgs_teams_members_update_spec.rb +0 -41
  1160. data/spec/models/orgs_teams_partial_update_spec.rb +0 -63
  1161. data/spec/models/package_dependencies_dependencies_spec.rb +0 -59
  1162. data/spec/models/packages_copy_spec.rb +0 -47
  1163. data/spec/models/packages_move_spec.rb +0 -41
  1164. data/spec/models/packages_quarantine_spec.rb +0 -41
  1165. data/spec/models/packages_tag_spec.rb +0 -57
  1166. data/spec/models/packages_upload_alpine_spec.rb +0 -59
  1167. data/spec/models/packages_upload_cargo_spec.rb +0 -53
  1168. data/spec/models/packages_upload_cocoapods_spec.rb +0 -53
  1169. data/spec/models/packages_upload_composer_spec.rb +0 -53
  1170. data/spec/models/packages_upload_conan_spec.rb +0 -95
  1171. data/spec/models/packages_upload_conda_spec.rb +0 -53
  1172. data/spec/models/packages_upload_cran_spec.rb +0 -53
  1173. data/spec/models/packages_upload_dart_spec.rb +0 -53
  1174. data/spec/models/packages_upload_deb_spec.rb +0 -71
  1175. data/spec/models/packages_upload_docker_spec.rb +0 -53
  1176. data/spec/models/packages_upload_go_spec.rb +0 -53
  1177. data/spec/models/packages_upload_helm_spec.rb +0 -53
  1178. data/spec/models/packages_upload_luarocks_spec.rb +0 -53
  1179. data/spec/models/packages_upload_maven_spec.rb +0 -101
  1180. data/spec/models/packages_upload_npm_spec.rb +0 -59
  1181. data/spec/models/packages_upload_nuget_spec.rb +0 -59
  1182. data/spec/models/packages_upload_p2_spec.rb +0 -53
  1183. data/spec/models/packages_upload_python_spec.rb +0 -53
  1184. data/spec/models/packages_upload_raw_spec.rb +0 -83
  1185. data/spec/models/packages_upload_rpm_spec.rb +0 -59
  1186. data/spec/models/packages_upload_ruby_spec.rb +0 -53
  1187. data/spec/models/packages_upload_terraform_spec.rb +0 -53
  1188. data/spec/models/packages_upload_vagrant_spec.rb +0 -71
  1189. data/spec/models/packages_validateupload_alpine_spec.rb +0 -59
  1190. data/spec/models/packages_validateupload_cargo_spec.rb +0 -53
  1191. data/spec/models/packages_validateupload_cocoapods_spec.rb +0 -53
  1192. data/spec/models/packages_validateupload_composer_spec.rb +0 -53
  1193. data/spec/models/packages_validateupload_conan_spec.rb +0 -95
  1194. data/spec/models/packages_validateupload_conda_spec.rb +0 -53
  1195. data/spec/models/packages_validateupload_cran_spec.rb +0 -53
  1196. data/spec/models/packages_validateupload_dart_spec.rb +0 -53
  1197. data/spec/models/packages_validateupload_deb_spec.rb +0 -71
  1198. data/spec/models/packages_validateupload_docker_spec.rb +0 -53
  1199. data/spec/models/packages_validateupload_go_spec.rb +0 -53
  1200. data/spec/models/packages_validateupload_helm_spec.rb +0 -53
  1201. data/spec/models/packages_validateupload_luarocks_spec.rb +0 -53
  1202. data/spec/models/packages_validateupload_maven_spec.rb +0 -101
  1203. data/spec/models/packages_validateupload_npm_spec.rb +0 -59
  1204. data/spec/models/packages_validateupload_nuget_spec.rb +0 -59
  1205. data/spec/models/packages_validateupload_p2_spec.rb +0 -53
  1206. data/spec/models/packages_validateupload_python_spec.rb +0 -53
  1207. data/spec/models/packages_validateupload_raw_spec.rb +0 -83
  1208. data/spec/models/packages_validateupload_rpm_spec.rb +0 -59
  1209. data/spec/models/packages_validateupload_ruby_spec.rb +0 -53
  1210. data/spec/models/packages_validateupload_terraform_spec.rb +0 -53
  1211. data/spec/models/packages_validateupload_vagrant_spec.rb +0 -71
  1212. data/spec/models/packagesownerrepo_architectures_spec.rb +0 -47
  1213. data/spec/models/packagesownerrepo_files_spec.rb +0 -119
  1214. data/spec/models/quota_history_history_spec.rb +0 -71
  1215. data/spec/models/repos_create_spec.rb +0 -287
  1216. data/spec/models/repos_gpg_create_spec.rb +0 -47
  1217. data/spec/models/repos_gpg_keys_spec.rb +0 -77
  1218. data/spec/models/repos_partial_update_spec.rb +0 -285
  1219. data/spec/models/repos_privileges_partial_update_spec.rb +0 -41
  1220. data/spec/models/repos_privileges_update_spec.rb +0 -41
  1221. data/spec/models/repos_rsa_create_spec.rb +0 -47
  1222. data/spec/models/repository_privilege_input_privileges_spec.rb +0 -53
  1223. data/spec/models/repository_token_sync_tokens_spec.rb +0 -269
  1224. data/spec/models/status_spec.rb +0 -41
  1225. data/spec/models/user_token_create_spec.rb +0 -47
  1226. data/spec/models/webhooks_create_spec.rb +0 -107
  1227. data/spec/models/webhooks_partial_update_spec.rb +0 -107
  1228. data/spec/models/webhooksownerrepo_templates_spec.rb +0 -47
  1229. data/vendor/bundle/ruby/2.6.0/cache/autotest-fsevent-0.2.19.gem +0 -0
  1230. data/vendor/bundle/ruby/2.6.0/cache/ethon-0.15.0.gem +0 -0
  1231. data/vendor/bundle/ruby/2.6.0/cache/json-2.6.2.gem +0 -0
  1232. data/vendor/bundle/ruby/2.6.0/cache/public_suffix-5.0.0.gem +0 -0
  1233. data/vendor/bundle/ruby/2.6.0/cache/rspec-3.11.0.gem +0 -0
  1234. data/vendor/bundle/ruby/2.6.0/cache/rspec-core-3.11.0.gem +0 -0
  1235. data/vendor/bundle/ruby/2.6.0/cache/rspec-expectations-3.11.1.gem +0 -0
  1236. data/vendor/bundle/ruby/2.6.0/cache/rspec-mocks-3.11.1.gem +0 -0
  1237. data/vendor/bundle/ruby/2.6.0/cache/rspec-support-3.11.1.gem +0 -0
  1238. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/autotest-fsevent-0.2.19/gem_make.out +0 -14
  1239. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.6.2/gem_make.out +0 -13
  1240. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.6.2/json/ext/generator.so +0 -0
  1241. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.6.2/json/ext/parser.so +0 -0
  1242. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.6.2/mkmf.log +0 -128
  1243. data/vendor/bundle/ruby/2.6.0/gems/autotest-fsevent-0.2.19/CHANGELOG.md +0 -135
  1244. data/vendor/bundle/ruby/2.6.0/gems/autotest-fsevent-0.2.19/lib/autotest-fsevent/version.rb +0 -5
  1245. data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/.github/workflows/ruby.yml +0 -41
  1246. data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/CHANGELOG.md +0 -372
  1247. data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/README.md +0 -95
  1248. data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/lib/ethon/curls/classes.rb +0 -55
  1249. data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/lib/ethon/curls/options.rb +0 -502
  1250. data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/lib/ethon/easy/callbacks.rb +0 -148
  1251. data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/lib/ethon/easy/informations.rb +0 -113
  1252. data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/lib/ethon/easy/response_callbacks.rb +0 -131
  1253. data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/lib/ethon/version.rb +0 -6
  1254. data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/spec/ethon/easy/callbacks_spec.rb +0 -59
  1255. data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/spec/ethon/easy/informations_spec.rb +0 -120
  1256. data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/spec/ethon/easy/mirror_spec.rb +0 -47
  1257. data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/spec/ethon/easy/operations_spec.rb +0 -268
  1258. data/vendor/bundle/ruby/2.6.0/gems/json-2.6.2/VERSION +0 -1
  1259. data/vendor/bundle/ruby/2.6.0/gems/json-2.6.2/ext/json/Makefile +0 -202
  1260. data/vendor/bundle/ruby/2.6.0/gems/json-2.6.2/ext/json/ext/generator/Makefile +0 -267
  1261. data/vendor/bundle/ruby/2.6.0/gems/json-2.6.2/ext/json/ext/generator/generator.c +0 -1608
  1262. data/vendor/bundle/ruby/2.6.0/gems/json-2.6.2/ext/json/ext/generator/generator.o +0 -0
  1263. data/vendor/bundle/ruby/2.6.0/gems/json-2.6.2/ext/json/ext/generator/generator.so +0 -0
  1264. data/vendor/bundle/ruby/2.6.0/gems/json-2.6.2/ext/json/ext/parser/Makefile +0 -267
  1265. data/vendor/bundle/ruby/2.6.0/gems/json-2.6.2/ext/json/ext/parser/parser.c +0 -3347
  1266. data/vendor/bundle/ruby/2.6.0/gems/json-2.6.2/ext/json/ext/parser/parser.o +0 -0
  1267. data/vendor/bundle/ruby/2.6.0/gems/json-2.6.2/ext/json/ext/parser/parser.rl +0 -986
  1268. data/vendor/bundle/ruby/2.6.0/gems/json-2.6.2/ext/json/ext/parser/parser.so +0 -0
  1269. data/vendor/bundle/ruby/2.6.0/gems/json-2.6.2/lib/json/ext/generator.so +0 -0
  1270. data/vendor/bundle/ruby/2.6.0/gems/json-2.6.2/lib/json/ext/parser.so +0 -0
  1271. data/vendor/bundle/ruby/2.6.0/gems/json-2.6.2/lib/json/pure/parser.rb +0 -337
  1272. data/vendor/bundle/ruby/2.6.0/gems/json-2.6.2/lib/json/version.rb +0 -9
  1273. data/vendor/bundle/ruby/2.6.0/gems/public_suffix-5.0.0/.github/dependabot.yml +0 -8
  1274. data/vendor/bundle/ruby/2.6.0/gems/public_suffix-5.0.0/.github/workflows/release.yml +0 -18
  1275. data/vendor/bundle/ruby/2.6.0/gems/public_suffix-5.0.0/CHANGELOG.md +0 -426
  1276. data/vendor/bundle/ruby/2.6.0/gems/public_suffix-5.0.0/Gemfile +0 -14
  1277. data/vendor/bundle/ruby/2.6.0/gems/public_suffix-5.0.0/data/list.txt +0 -14066
  1278. data/vendor/bundle/ruby/2.6.0/gems/public_suffix-5.0.0/lib/public_suffix/version.rb +0 -15
  1279. data/vendor/bundle/ruby/2.6.0/gems/rspec-3.11.0/lib/rspec/version.rb +0 -5
  1280. data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.11.0/Changelog.md +0 -2355
  1281. data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.11.0/lib/rspec/core/configuration.rb +0 -2383
  1282. data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.11.0/lib/rspec/core/formatters/exception_presenter.rb +0 -521
  1283. data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.11.0/lib/rspec/core/formatters/html_printer.rb +0 -414
  1284. data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.11.0/lib/rspec/core/option_parser.rb +0 -325
  1285. data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.11.0/lib/rspec/core/version.rb +0 -9
  1286. data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.11.1/Changelog.md +0 -1277
  1287. data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.11.1/lib/rspec/expectations/version.rb +0 -8
  1288. data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.11.1/lib/rspec/matchers.rb +0 -1041
  1289. data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.11.1/Changelog.md +0 -1193
  1290. data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.11.1/lib/rspec/mocks/any_instance/message_chains.rb +0 -83
  1291. data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.11.1/lib/rspec/mocks/error_generator.rb +0 -369
  1292. data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.11.1/lib/rspec/mocks/matchers/have_received.rb +0 -134
  1293. data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.11.1/lib/rspec/mocks/matchers/receive.rb +0 -133
  1294. data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.11.1/lib/rspec/mocks/matchers/receive_message_chain.rb +0 -82
  1295. data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.11.1/lib/rspec/mocks/matchers/receive_messages.rb +0 -77
  1296. data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.11.1/lib/rspec/mocks/message_expectation.rb +0 -822
  1297. data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.11.1/lib/rspec/mocks/method_double.rb +0 -291
  1298. data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.11.1/lib/rspec/mocks/method_reference.rb +0 -202
  1299. data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.11.1/lib/rspec/mocks/proxy.rb +0 -525
  1300. data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.11.1/lib/rspec/mocks/targets.rb +0 -124
  1301. data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.11.1/lib/rspec/mocks/verifying_message_expectation.rb +0 -54
  1302. data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.11.1/lib/rspec/mocks/version.rb +0 -9
  1303. data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.11.1/Changelog.md +0 -357
  1304. data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.11.1/lib/rspec/support/ruby_features.rb +0 -194
  1305. data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.11.1/lib/rspec/support/version.rb +0 -7
  1306. data/vendor/bundle/ruby/2.6.0/specifications/autotest-fsevent-0.2.19.gemspec +0 -44
  1307. data/vendor/bundle/ruby/2.6.0/specifications/ethon-0.15.0.gemspec +0 -30
  1308. data/vendor/bundle/ruby/2.6.0/specifications/json-2.6.2.gemspec +0 -0
  1309. data/vendor/bundle/ruby/2.6.0/specifications/public_suffix-5.0.0.gemspec +0 -24
  1310. data/vendor/bundle/ruby/2.6.0/specifications/rspec-3.11.0.gemspec +0 -39
  1311. data/vendor/bundle/ruby/2.6.0/specifications/rspec-core-3.11.0.gemspec +0 -53
  1312. data/vendor/bundle/ruby/2.6.0/specifications/rspec-expectations-3.11.1.gemspec +0 -44
  1313. data/vendor/bundle/ruby/2.6.0/specifications/rspec-mocks-3.11.1.gemspec +0 -44
  1314. data/vendor/bundle/ruby/2.6.0/specifications/rspec-support-3.11.1.gemspec +0 -36
@@ -1,822 +0,0 @@
1
- RSpec::Support.require_rspec_support 'mutex'
2
-
3
- module RSpec
4
- module Mocks
5
- # A message expectation that only allows concrete return values to be set
6
- # for a message. While this same effect can be achieved using a standard
7
- # MessageExpectation, this version is much faster and so can be used as an
8
- # optimization.
9
- #
10
- # @private
11
- class SimpleMessageExpectation
12
- def initialize(message, response, error_generator, backtrace_line=nil)
13
- @message, @response, @error_generator, @backtrace_line = message.to_sym, response, error_generator, backtrace_line
14
- @received = false
15
- end
16
-
17
- def invoke(*_)
18
- @received = true
19
- @response
20
- end
21
-
22
- def matches?(message, *_)
23
- @message == message.to_sym
24
- end
25
-
26
- def called_max_times?
27
- false
28
- end
29
-
30
- def verify_messages_received
31
- return if @received
32
- @error_generator.raise_expectation_error(
33
- @message, 1, ArgumentListMatcher::MATCH_ALL, 0, nil, [], @backtrace_line
34
- )
35
- end
36
-
37
- def unadvise(_)
38
- end
39
- end
40
-
41
- # Represents an individual method stub or message expectation. The methods
42
- # defined here can be used to configure how it behaves. The methods return
43
- # `self` so that they can be chained together to form a fluent interface.
44
- class MessageExpectation
45
- # @!group Configuring Responses
46
-
47
- # @overload and_return(value)
48
- # @overload and_return(first_value, second_value)
49
- #
50
- # Tells the object to return a value when it receives the message. Given
51
- # more than one value, the first value is returned the first time the
52
- # message is received, the second value is returned the next time, etc,
53
- # etc.
54
- #
55
- # If the message is received more times than there are values, the last
56
- # value is returned for every subsequent call.
57
- #
58
- # @return [nil] No further chaining is supported after this.
59
- # @example
60
- # allow(counter).to receive(:count).and_return(1)
61
- # counter.count # => 1
62
- # counter.count # => 1
63
- #
64
- # allow(counter).to receive(:count).and_return(1,2,3)
65
- # counter.count # => 1
66
- # counter.count # => 2
67
- # counter.count # => 3
68
- # counter.count # => 3
69
- # counter.count # => 3
70
- # # etc
71
- def and_return(first_value, *values)
72
- raise_already_invoked_error_if_necessary(__method__)
73
- if negative?
74
- raise "`and_return` is not supported with negative message expectations"
75
- end
76
-
77
- if block_given?
78
- raise ArgumentError, "Implementation blocks aren't supported with `and_return`"
79
- end
80
-
81
- values.unshift(first_value)
82
- @expected_received_count = [@expected_received_count, values.size].max unless ignoring_args? || (@expected_received_count == 0 && @at_least)
83
- self.terminal_implementation_action = AndReturnImplementation.new(values)
84
-
85
- nil
86
- end
87
-
88
- # Tells the object to invoke a Proc when it receives the message. Given
89
- # more than one value, the result of the first Proc is returned the first
90
- # time the message is received, the result of the second Proc is returned
91
- # the next time, etc, etc.
92
- #
93
- # If the message is received more times than there are Procs, the result of
94
- # the last Proc is returned for every subsequent call.
95
- #
96
- # @return [nil] No further chaining is supported after this.
97
- # @example
98
- # allow(api).to receive(:get_foo).and_invoke(-> { raise ApiTimeout })
99
- # api.get_foo # => raises ApiTimeout
100
- # api.get_foo # => raises ApiTimeout
101
- #
102
- # allow(api).to receive(:get_foo).and_invoke(-> { raise ApiTimeout }, -> { raise ApiTimeout }, -> { :a_foo })
103
- # api.get_foo # => raises ApiTimeout
104
- # api.get_foo # => rasies ApiTimeout
105
- # api.get_foo # => :a_foo
106
- # api.get_foo # => :a_foo
107
- # api.get_foo # => :a_foo
108
- # # etc
109
- def and_invoke(first_proc, *procs)
110
- raise_already_invoked_error_if_necessary(__method__)
111
- if negative?
112
- raise "`and_invoke` is not supported with negative message expectations"
113
- end
114
-
115
- if block_given?
116
- raise ArgumentError, "Implementation blocks aren't supported with `and_invoke`"
117
- end
118
-
119
- procs.unshift(first_proc)
120
- if procs.any? { |p| !p.respond_to?(:call) }
121
- raise ArgumentError, "Arguments to `and_invoke` must be callable."
122
- end
123
-
124
- @expected_received_count = [@expected_received_count, procs.size].max unless ignoring_args? || (@expected_received_count == 0 && @at_least)
125
- self.terminal_implementation_action = AndInvokeImplementation.new(procs)
126
-
127
- nil
128
- end
129
-
130
- # Tells the object to delegate to the original unmodified method
131
- # when it receives the message.
132
- #
133
- # @note This is only available on partial doubles.
134
- #
135
- # @return [nil] No further chaining is supported after this.
136
- # @example
137
- # expect(counter).to receive(:increment).and_call_original
138
- # original_count = counter.count
139
- # counter.increment
140
- # expect(counter.count).to eq(original_count + 1)
141
- def and_call_original
142
- block = lambda do |original, *args, &b|
143
- original.call(*args, &b)
144
- end
145
- block = block.ruby2_keywords if block.respond_to?(:ruby2_keywords)
146
-
147
- wrap_original(__method__, &block)
148
- end
149
-
150
- # Decorates the stubbed method with the supplied block. The original
151
- # unmodified method is passed to the block along with any method call
152
- # arguments so you can delegate to it, whilst still being able to
153
- # change what args are passed to it and/or change the return value.
154
- #
155
- # @note This is only available on partial doubles.
156
- #
157
- # @return [nil] No further chaining is supported after this.
158
- # @example
159
- # expect(api).to receive(:large_list).and_wrap_original do |original_method, *args, &block|
160
- # original_method.call(*args, &block).first(10)
161
- # end
162
- def and_wrap_original(&block)
163
- wrap_original(__method__, &block)
164
- end
165
-
166
- # @overload and_raise
167
- # @overload and_raise(ExceptionClass)
168
- # @overload and_raise(ExceptionClass, message)
169
- # @overload and_raise(exception_instance)
170
- #
171
- # Tells the object to raise an exception when the message is received.
172
- #
173
- # @return [nil] No further chaining is supported after this.
174
- # @note
175
- # When you pass an exception class, the MessageExpectation will raise
176
- # an instance of it, creating it with `exception` and passing `message`
177
- # if specified. If the exception class initializer requires more than
178
- # one parameters, you must pass in an instance and not the class,
179
- # otherwise this method will raise an ArgumentError exception.
180
- #
181
- # @example
182
- # allow(car).to receive(:go).and_raise
183
- # allow(car).to receive(:go).and_raise(OutOfGas)
184
- # allow(car).to receive(:go).and_raise(OutOfGas, "At least 2 oz of gas needed to drive")
185
- # allow(car).to receive(:go).and_raise(OutOfGas.new(2, :oz))
186
- def and_raise(*args)
187
- raise_already_invoked_error_if_necessary(__method__)
188
- self.terminal_implementation_action = Proc.new { raise(*args) }
189
- nil
190
- end
191
-
192
- # @overload and_throw(symbol)
193
- # @overload and_throw(symbol, object)
194
- #
195
- # Tells the object to throw a symbol (with the object if that form is
196
- # used) when the message is received.
197
- #
198
- # @return [nil] No further chaining is supported after this.
199
- # @example
200
- # allow(car).to receive(:go).and_throw(:out_of_gas)
201
- # allow(car).to receive(:go).and_throw(:out_of_gas, :level => 0.1)
202
- def and_throw(*args)
203
- raise_already_invoked_error_if_necessary(__method__)
204
- self.terminal_implementation_action = Proc.new { throw(*args) }
205
- nil
206
- end
207
-
208
- # Tells the object to yield one or more args to a block when the message
209
- # is received.
210
- #
211
- # @return [MessageExpectation] self, to support further chaining.
212
- # @example
213
- # stream.stub(:open).and_yield(StringIO.new)
214
- def and_yield(*args, &block)
215
- raise_already_invoked_error_if_necessary(__method__)
216
- yield @eval_context = Object.new if block
217
-
218
- # Initialize args to yield now that it's being used, see also: comment
219
- # in constructor.
220
- @args_to_yield ||= []
221
-
222
- @args_to_yield << args
223
- self.initial_implementation_action = AndYieldImplementation.new(@args_to_yield, @eval_context, @error_generator)
224
- self
225
- end
226
- # @!endgroup
227
-
228
- # @!group Constraining Receive Counts
229
-
230
- # Constrain a message expectation to be received a specific number of
231
- # times.
232
- #
233
- # @return [MessageExpectation] self, to support further chaining.
234
- # @example
235
- # expect(dealer).to receive(:deal_card).exactly(10).times
236
- def exactly(n, &block)
237
- raise_already_invoked_error_if_necessary(__method__)
238
- self.inner_implementation_action = block
239
- set_expected_received_count :exactly, n
240
- self
241
- end
242
-
243
- # Constrain a message expectation to be received at least a specific
244
- # number of times.
245
- #
246
- # @return [MessageExpectation] self, to support further chaining.
247
- # @example
248
- # expect(dealer).to receive(:deal_card).at_least(9).times
249
- def at_least(n, &block)
250
- raise_already_invoked_error_if_necessary(__method__)
251
- set_expected_received_count :at_least, n
252
-
253
- if n == 0
254
- raise "at_least(0) has been removed, use allow(...).to receive(:message) instead"
255
- end
256
-
257
- self.inner_implementation_action = block
258
-
259
- self
260
- end
261
-
262
- # Constrain a message expectation to be received at most a specific
263
- # number of times.
264
- #
265
- # @return [MessageExpectation] self, to support further chaining.
266
- # @example
267
- # expect(dealer).to receive(:deal_card).at_most(10).times
268
- def at_most(n, &block)
269
- raise_already_invoked_error_if_necessary(__method__)
270
- self.inner_implementation_action = block
271
- set_expected_received_count :at_most, n
272
- self
273
- end
274
-
275
- # Syntactic sugar for `exactly`, `at_least` and `at_most`
276
- #
277
- # @return [MessageExpectation] self, to support further chaining.
278
- # @example
279
- # expect(dealer).to receive(:deal_card).exactly(10).times
280
- # expect(dealer).to receive(:deal_card).at_least(10).times
281
- # expect(dealer).to receive(:deal_card).at_most(10).times
282
- def times(&block)
283
- self.inner_implementation_action = block
284
- self
285
- end
286
- alias time times
287
-
288
- # Expect a message not to be received at all.
289
- #
290
- # @return [MessageExpectation] self, to support further chaining.
291
- # @example
292
- # expect(car).to receive(:stop).never
293
- def never
294
- error_generator.raise_double_negation_error("expect(obj)") if negative?
295
- @expected_received_count = 0
296
- self
297
- end
298
-
299
- # Expect a message to be received exactly one time.
300
- #
301
- # @return [MessageExpectation] self, to support further chaining.
302
- # @example
303
- # expect(car).to receive(:go).once
304
- def once(&block)
305
- self.inner_implementation_action = block
306
- set_expected_received_count :exactly, 1
307
- self
308
- end
309
-
310
- # Expect a message to be received exactly two times.
311
- #
312
- # @return [MessageExpectation] self, to support further chaining.
313
- # @example
314
- # expect(car).to receive(:go).twice
315
- def twice(&block)
316
- self.inner_implementation_action = block
317
- set_expected_received_count :exactly, 2
318
- self
319
- end
320
-
321
- # Expect a message to be received exactly three times.
322
- #
323
- # @return [MessageExpectation] self, to support further chaining.
324
- # @example
325
- # expect(car).to receive(:go).thrice
326
- def thrice(&block)
327
- self.inner_implementation_action = block
328
- set_expected_received_count :exactly, 3
329
- self
330
- end
331
- # @!endgroup
332
-
333
- # @!group Other Constraints
334
-
335
- # Constrains a stub or message expectation to invocations with specific
336
- # arguments.
337
- #
338
- # With a stub, if the message might be received with other args as well,
339
- # you should stub a default value first, and then stub or mock the same
340
- # message using `with` to constrain to specific arguments.
341
- #
342
- # A message expectation will fail if the message is received with different
343
- # arguments.
344
- #
345
- # @return [MessageExpectation] self, to support further chaining.
346
- # @example
347
- # allow(cart).to receive(:add) { :failure }
348
- # allow(cart).to receive(:add).with(Book.new(:isbn => 1934356379)) { :success }
349
- # cart.add(Book.new(:isbn => 1234567890))
350
- # # => :failure
351
- # cart.add(Book.new(:isbn => 1934356379))
352
- # # => :success
353
- #
354
- # expect(cart).to receive(:add).with(Book.new(:isbn => 1934356379)) { :success }
355
- # cart.add(Book.new(:isbn => 1234567890))
356
- # # => failed expectation
357
- # cart.add(Book.new(:isbn => 1934356379))
358
- # # => passes
359
- def with(*args, &block)
360
- raise_already_invoked_error_if_necessary(__method__)
361
- if args.empty?
362
- raise ArgumentError,
363
- "`with` must have at least one argument. Use `no_args` matcher to set the expectation of receiving no arguments."
364
- end
365
-
366
- self.inner_implementation_action = block
367
- @argument_list_matcher = ArgumentListMatcher.new(*args)
368
- self
369
- end
370
- ruby2_keywords(:with) if respond_to?(:ruby2_keywords, true)
371
-
372
- # Expect messages to be received in a specific order.
373
- #
374
- # @return [MessageExpectation] self, to support further chaining.
375
- # @example
376
- # expect(api).to receive(:prepare).ordered
377
- # expect(api).to receive(:run).ordered
378
- # expect(api).to receive(:finish).ordered
379
- def ordered(&block)
380
- if type == :stub
381
- RSpec.warning(
382
- "`allow(...).to receive(..).ordered` is not supported and will " \
383
- "have no effect, use `and_return(*ordered_values)` instead."
384
- )
385
- end
386
-
387
- self.inner_implementation_action = block
388
- additional_expected_calls.times do
389
- @order_group.register(self)
390
- end
391
- @ordered = true
392
- self
393
- end
394
-
395
- # @return [String] a nice representation of the message expectation
396
- def to_s
397
- args_description = error_generator.method_call_args_description(@argument_list_matcher.expected_args, "", "") { true }
398
- args_description = "(#{args_description})" unless args_description.start_with?("(")
399
- "#<#{self.class} #{error_generator.intro}.#{message}#{args_description}>"
400
- end
401
- alias inspect to_s
402
-
403
- # @private
404
- # Contains the parts of `MessageExpectation` that aren't part of
405
- # rspec-mocks' public API. The class is very big and could really use
406
- # some collaborators it delegates to for this stuff but for now this was
407
- # the simplest way to split the public from private stuff to make it
408
- # easier to publish the docs for the APIs we want published.
409
- # rubocop:disable Metrics/ModuleLength
410
- module ImplementationDetails
411
- attr_accessor :error_generator, :implementation
412
- attr_reader :message
413
- attr_reader :orig_object
414
- attr_writer :expected_received_count, :expected_from, :argument_list_matcher
415
- protected :expected_received_count=, :expected_from=, :error_generator=, :implementation=
416
-
417
- # @private
418
- attr_reader :type
419
-
420
- # rubocop:disable Metrics/ParameterLists
421
- def initialize(error_generator, expectation_ordering, expected_from, method_double,
422
- type=:expectation, opts={}, &implementation_block)
423
- @type = type
424
- @error_generator = error_generator
425
- @error_generator.opts = error_generator.opts.merge(opts)
426
- @expected_from = expected_from
427
- @method_double = method_double
428
- @orig_object = @method_double.object
429
- @message = @method_double.method_name
430
- @actual_received_count = 0
431
- @actual_received_count_write_mutex = Support::Mutex.new
432
- @expected_received_count = type == :expectation ? 1 : :any
433
- @argument_list_matcher = ArgumentListMatcher::MATCH_ALL
434
- @order_group = expectation_ordering
435
- @order_group.register(self) unless type == :stub
436
- @expectation_type = type
437
- @ordered = false
438
- @at_least = @at_most = @exactly = nil
439
-
440
- # Initialized to nil so that we don't allocate an array for every
441
- # mock or stub. See also comment in `and_yield`.
442
- @args_to_yield = nil
443
- @eval_context = nil
444
- @yield_receiver_to_implementation_block = false
445
-
446
- @implementation = Implementation.new
447
- self.inner_implementation_action = implementation_block
448
- end
449
- # rubocop:enable Metrics/ParameterLists
450
-
451
- def expected_args
452
- @argument_list_matcher.expected_args
453
- end
454
-
455
- def and_yield_receiver_to_implementation
456
- @yield_receiver_to_implementation_block = true
457
- self
458
- end
459
-
460
- def yield_receiver_to_implementation_block?
461
- @yield_receiver_to_implementation_block
462
- end
463
-
464
- def matches?(message, *args)
465
- @message == message && @argument_list_matcher.args_match?(*args)
466
- end
467
- ruby2_keywords :matches? if respond_to?(:ruby2_keywords, true)
468
-
469
- def safe_invoke(parent_stub, *args, &block)
470
- invoke_incrementing_actual_calls_by(1, false, parent_stub, *args, &block)
471
- end
472
- ruby2_keywords :safe_invoke if respond_to?(:ruby2_keywords, true)
473
-
474
- def invoke(parent_stub, *args, &block)
475
- invoke_incrementing_actual_calls_by(1, true, parent_stub, *args, &block)
476
- end
477
- ruby2_keywords :invoke if respond_to?(:ruby2_keywords, true)
478
-
479
- def invoke_without_incrementing_received_count(parent_stub, *args, &block)
480
- invoke_incrementing_actual_calls_by(0, true, parent_stub, *args, &block)
481
- end
482
- ruby2_keywords :invoke_without_incrementing_received_count if respond_to?(:ruby2_keywords, true)
483
-
484
- def negative?
485
- @expected_received_count == 0 && !@at_least
486
- end
487
-
488
- def called_max_times?
489
- @expected_received_count != :any &&
490
- !@at_least &&
491
- @expected_received_count > 0 &&
492
- @actual_received_count >= @expected_received_count
493
- end
494
-
495
- def matches_name_but_not_args(message, *args)
496
- @message == message && !@argument_list_matcher.args_match?(*args)
497
- end
498
-
499
- def verify_messages_received
500
- return if expected_messages_received?
501
- generate_error
502
- end
503
-
504
- def expected_messages_received?
505
- ignoring_args? || matches_exact_count? || matches_at_least_count? || matches_at_most_count?
506
- end
507
-
508
- def ensure_expected_ordering_received!
509
- @order_group.verify_invocation_order(self) if @ordered
510
- true
511
- end
512
-
513
- def ignoring_args?
514
- @expected_received_count == :any
515
- end
516
-
517
- def matches_at_least_count?
518
- @at_least && @actual_received_count >= @expected_received_count
519
- end
520
-
521
- def matches_at_most_count?
522
- @at_most && @actual_received_count <= @expected_received_count
523
- end
524
-
525
- def matches_exact_count?
526
- @expected_received_count == @actual_received_count
527
- end
528
-
529
- def similar_messages
530
- @similar_messages ||= []
531
- end
532
-
533
- def advise(*args)
534
- similar_messages << args
535
- end
536
-
537
- def unadvise(args)
538
- similar_messages.delete_if { |message| args.include?(message) }
539
- end
540
-
541
- def generate_error
542
- if similar_messages.empty?
543
- @error_generator.raise_expectation_error(
544
- @message, @expected_received_count, @argument_list_matcher,
545
- @actual_received_count, expectation_count_type, expected_args,
546
- @expected_from, exception_source_id
547
- )
548
- else
549
- @error_generator.raise_similar_message_args_error(
550
- self, @similar_messages, @expected_from
551
- )
552
- end
553
- end
554
-
555
- def raise_unexpected_message_args_error(args_for_multiple_calls)
556
- @error_generator.raise_unexpected_message_args_error(self, args_for_multiple_calls, exception_source_id)
557
- end
558
-
559
- def expectation_count_type
560
- return :at_least if @at_least
561
- return :at_most if @at_most
562
- nil
563
- end
564
-
565
- def description_for(verb)
566
- @error_generator.describe_expectation(
567
- verb, @message, @expected_received_count,
568
- @actual_received_count, expected_args
569
- )
570
- end
571
-
572
- def raise_out_of_order_error
573
- @error_generator.raise_out_of_order_error @message
574
- end
575
-
576
- def additional_expected_calls
577
- return 0 if @expectation_type == :stub || !@exactly
578
- @expected_received_count - 1
579
- end
580
-
581
- def ordered?
582
- @ordered
583
- end
584
-
585
- def negative_expectation_for?(message)
586
- @message == message && negative?
587
- end
588
-
589
- def actual_received_count_matters?
590
- @at_least || @at_most || @exactly
591
- end
592
-
593
- def increase_actual_received_count!
594
- @actual_received_count_write_mutex.synchronize do
595
- @actual_received_count += 1
596
- end
597
- end
598
-
599
- private
600
-
601
- def exception_source_id
602
- @exception_source_id ||= "#{self.class.name} #{__id__}"
603
- end
604
-
605
- def invoke_incrementing_actual_calls_by(increment, allowed_to_fail, parent_stub, *args, &block)
606
- args.unshift(orig_object) if yield_receiver_to_implementation_block?
607
-
608
- if negative? || (allowed_to_fail && (@exactly || @at_most) && (@actual_received_count == @expected_received_count))
609
- # args are the args we actually received, @argument_list_matcher is the
610
- # list of args we were expecting
611
- @error_generator.raise_expectation_error(
612
- @message, @expected_received_count,
613
- @argument_list_matcher,
614
- @actual_received_count + increment,
615
- expectation_count_type, args, nil, exception_source_id
616
- )
617
- end
618
-
619
- @order_group.handle_order_constraint self
620
-
621
- if implementation.present?
622
- implementation.call(*args, &block)
623
- elsif parent_stub
624
- parent_stub.invoke(nil, *args, &block)
625
- end
626
- ensure
627
- @actual_received_count_write_mutex.synchronize do
628
- @actual_received_count += increment
629
- end
630
- end
631
- ruby2_keywords :invoke_incrementing_actual_calls_by if respond_to?(:ruby2_keywords, true)
632
-
633
- def has_been_invoked?
634
- @actual_received_count > 0
635
- end
636
-
637
- def raise_already_invoked_error_if_necessary(calling_customization)
638
- return unless has_been_invoked?
639
-
640
- error_generator.raise_already_invoked_error(message, calling_customization)
641
- end
642
-
643
- def set_expected_received_count(relativity, n)
644
- raise "`count` is not supported with negative message expectations" if negative?
645
- @at_least = (relativity == :at_least)
646
- @at_most = (relativity == :at_most)
647
- @exactly = (relativity == :exactly)
648
- @expected_received_count = case n
649
- when Numeric then n
650
- when :once then 1
651
- when :twice then 2
652
- when :thrice then 3
653
- end
654
- end
655
-
656
- def initial_implementation_action=(action)
657
- implementation.initial_action = action
658
- end
659
-
660
- def inner_implementation_action=(action)
661
- return unless action
662
- warn_about_stub_override if implementation.inner_action
663
- implementation.inner_action = action
664
- end
665
-
666
- def terminal_implementation_action=(action)
667
- implementation.terminal_action = action
668
- end
669
-
670
- def warn_about_stub_override
671
- RSpec.warning(
672
- "You're overriding a previous stub implementation of `#{@message}`. " \
673
- "Called from #{CallerFilter.first_non_rspec_line}."
674
- )
675
- end
676
-
677
- def wrap_original(method_name, &block)
678
- if RSpec::Mocks::TestDouble === @method_double.object
679
- @error_generator.raise_only_valid_on_a_partial_double(method_name)
680
- else
681
- warn_about_stub_override if implementation.inner_action
682
- @implementation = AndWrapOriginalImplementation.new(@method_double.original_implementation_callable, block)
683
- @yield_receiver_to_implementation_block = false
684
- end
685
-
686
- nil
687
- end
688
- end
689
- # rubocop:enable Metrics/ModuleLength
690
-
691
- include ImplementationDetails
692
- end
693
-
694
- # Handles the implementation of an `and_yield` declaration.
695
- # @private
696
- class AndYieldImplementation
697
- def initialize(args_to_yield, eval_context, error_generator)
698
- @args_to_yield = args_to_yield
699
- @eval_context = eval_context
700
- @error_generator = error_generator
701
- end
702
-
703
- def call(*_args_to_ignore, &block)
704
- return if @args_to_yield.empty? && @eval_context.nil?
705
-
706
- @error_generator.raise_missing_block_error @args_to_yield unless block
707
- value = nil
708
- block_signature = Support::BlockSignature.new(block)
709
-
710
- @args_to_yield.each do |args|
711
- unless Support::StrictSignatureVerifier.new(block_signature, args).valid?
712
- @error_generator.raise_wrong_arity_error(args, block_signature)
713
- end
714
-
715
- value = @eval_context ? @eval_context.instance_exec(*args, &block) : yield(*args)
716
- end
717
- value
718
- end
719
- end
720
-
721
- # Handles the implementation of an `and_return` implementation.
722
- # @private
723
- class AndReturnImplementation
724
- def initialize(values_to_return)
725
- @values_to_return = values_to_return
726
- end
727
-
728
- def call(*_args_to_ignore, &_block)
729
- if @values_to_return.size > 1
730
- @values_to_return.shift
731
- else
732
- @values_to_return.first
733
- end
734
- end
735
- end
736
-
737
- # Handles the implementation of an `and_invoke` implementation.
738
- # @private
739
- class AndInvokeImplementation
740
- def initialize(procs_to_invoke)
741
- @procs_to_invoke = procs_to_invoke
742
- end
743
-
744
- def call(*args, &block)
745
- proc = if @procs_to_invoke.size > 1
746
- @procs_to_invoke.shift
747
- else
748
- @procs_to_invoke.first
749
- end
750
-
751
- proc.call(*args, &block)
752
- end
753
- end
754
-
755
- # Represents a configured implementation. Takes into account
756
- # any number of sub-implementations.
757
- # @private
758
- class Implementation
759
- attr_accessor :initial_action, :inner_action, :terminal_action
760
-
761
- def call(*args, &block)
762
- actions.map do |action|
763
- action.call(*args, &block)
764
- end.last
765
- end
766
- ruby2_keywords :call if respond_to?(:ruby2_keywords, true)
767
-
768
- def present?
769
- actions.any?
770
- end
771
-
772
- private
773
-
774
- def actions
775
- [initial_action, inner_action, terminal_action].compact
776
- end
777
- end
778
-
779
- # Represents an `and_call_original` implementation.
780
- # @private
781
- class AndWrapOriginalImplementation
782
- def initialize(method, block)
783
- @method = method
784
- @block = block
785
- end
786
-
787
- CannotModifyFurtherError = Class.new(StandardError)
788
-
789
- def initial_action=(_value)
790
- raise cannot_modify_further_error
791
- end
792
-
793
- def inner_action=(_value)
794
- raise cannot_modify_further_error
795
- end
796
-
797
- def terminal_action=(_value)
798
- raise cannot_modify_further_error
799
- end
800
-
801
- def present?
802
- true
803
- end
804
-
805
- def inner_action
806
- true
807
- end
808
-
809
- def call(*args, &block)
810
- @block.call(@method, *args, &block)
811
- end
812
- ruby2_keywords :call if respond_to?(:ruby2_keywords, true)
813
-
814
- private
815
-
816
- def cannot_modify_further_error
817
- CannotModifyFurtherError.new "This method has already been configured " \
818
- "to call the original implementation, and cannot be modified further."
819
- end
820
- end
821
- end
822
- end