cloudsmith-api 2.0.1 → 2.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (415) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +7 -7
  3. data/README.md +59 -12
  4. data/build.json +1 -1
  5. data/docs/AllocatedLimitRaw.md +11 -0
  6. data/docs/Eula.md +1 -1
  7. data/docs/HexPackageUpload.md +75 -0
  8. data/docs/HexPackageUploadRequest.md +10 -0
  9. data/docs/History.md +1 -1
  10. data/docs/HistoryFieldset.md +1 -1
  11. data/docs/HistoryFieldsetRaw.md +10 -0
  12. data/docs/NestedLicensePolicy.md +17 -0
  13. data/docs/NestedVulnerabilityPolicy.md +17 -0
  14. data/docs/NestedVulnerabilityScanResults.md +14 -0
  15. data/docs/OrganizationGroupSync.md +1 -1
  16. data/docs/OrganizationGroupSyncRequest.md +1 -1
  17. data/docs/OrganizationPackageLicensePolicy.md +16 -0
  18. data/docs/OrganizationPackageLicensePolicyRequest.md +13 -0
  19. data/docs/OrganizationPackageLicensePolicyRequestPatch.md +13 -0
  20. data/docs/OrganizationPackageVulnerabilityPolicy.md +16 -0
  21. data/docs/OrganizationPackageVulnerabilityPolicyRequest.md +13 -0
  22. data/docs/OrganizationPackageVulnerabilityPolicyRequestPatch.md +13 -0
  23. data/docs/OrgsApi.md +1087 -247
  24. data/docs/PackageDependencies.md +1 -1
  25. data/docs/PackageLicensePolicyViolationLog.md +11 -0
  26. data/docs/PackageLicensePolicyViolationLogCursorPage.md +10 -0
  27. data/docs/PackageTagRequest.md +1 -1
  28. data/docs/PackageVulnerabilityPolicyViolationLog.md +12 -0
  29. data/docs/PackageVulnerabilityPolicyViolationLogCursorPage.md +10 -0
  30. data/docs/PackagesApi.md +127 -4
  31. data/docs/ReposApi.md +196 -10
  32. data/docs/RepositoryGeoIpCidr.md +9 -0
  33. data/docs/RepositoryGeoIpCountryCode.md +9 -0
  34. data/docs/RepositoryGeoIpRules.md +9 -0
  35. data/docs/RepositoryGeoIpRulesRequest.md +9 -0
  36. data/docs/RepositoryGeoIpRulesRequestPatch.md +9 -0
  37. data/docs/RepositoryGeoIpTestAddress.md +8 -0
  38. data/docs/RepositoryGeoIpTestAddressResponse.md +8 -0
  39. data/docs/RepositoryGeoIpTestAddressResponseDict.md +11 -0
  40. data/docs/RepositoryToken.md +2 -2
  41. data/docs/RepositoryTokenRefresh.md +2 -2
  42. data/docs/RepositoryTokenRefreshRequest.md +1 -1
  43. data/docs/RepositoryTokenRequest.md +1 -1
  44. data/docs/RepositoryTokenRequestPatch.md +1 -1
  45. data/docs/RepositoryWebhook.md +1 -1
  46. data/docs/{RespositoryGeoIPEnableDisable.md → RespositoryGeoIpEnableDisable.md} +1 -1
  47. data/docs/{RespositoryGeoIPEnableDisableRequest.md → RespositoryGeoIpEnableDisableRequest.md} +1 -1
  48. data/docs/ServiceTeams.md +1 -1
  49. data/docs/StatusBasic.md +1 -1
  50. data/docs/StorageAllocatedLimit.md +12 -0
  51. data/docs/StorageAllocatedLimitRaw.md +12 -0
  52. data/docs/StorageUsage.md +11 -0
  53. data/docs/StorageUsageRaw.md +11 -0
  54. data/docs/UsageFieldset.md +1 -1
  55. data/docs/UsageLimits.md +1 -1
  56. data/docs/UsageLimitsRaw.md +9 -0
  57. data/docs/UsageRaw.md +10 -0
  58. data/docs/VulnerabilitiesApi.md +8 -8
  59. data/docs/VulnerabilityScanResults.md +1 -1
  60. data/docs/VulnerabilityScanResultsList.md +1 -1
  61. data/lib/cloudsmith-api/api/orgs_api.rb +1289 -451
  62. data/lib/cloudsmith-api/api/packages_api.rb +127 -4
  63. data/lib/cloudsmith-api/api/repos_api.rb +197 -11
  64. data/lib/cloudsmith-api/api/vulnerabilities_api.rb +13 -13
  65. data/lib/cloudsmith-api/models/allocated_limit_raw.rb +211 -0
  66. data/lib/cloudsmith-api/models/eula.rb +0 -5
  67. data/lib/cloudsmith-api/models/hex_package_upload.rb +850 -0
  68. data/lib/cloudsmith-api/models/hex_package_upload_request.rb +210 -0
  69. data/lib/cloudsmith-api/models/history.rb +1 -1
  70. data/lib/cloudsmith-api/models/history_fieldset.rb +1 -1
  71. data/lib/cloudsmith-api/models/history_fieldset_raw.rb +217 -0
  72. data/lib/cloudsmith-api/models/nested_license_policy.rb +272 -0
  73. data/lib/cloudsmith-api/models/nested_vulnerability_policy.rb +302 -0
  74. data/lib/cloudsmith-api/models/nested_vulnerability_scan_results.rb +287 -0
  75. data/lib/cloudsmith-api/models/organization_group_sync.rb +34 -1
  76. data/lib/cloudsmith-api/models/organization_group_sync_request.rb +34 -1
  77. data/lib/cloudsmith-api/models/organization_package_license_policy.rb +268 -0
  78. data/lib/cloudsmith-api/models/organization_package_license_policy_request.rb +241 -0
  79. data/lib/cloudsmith-api/models/organization_package_license_policy_request_patch.rb +231 -0
  80. data/lib/cloudsmith-api/models/organization_package_vulnerability_policy.rb +298 -0
  81. data/lib/cloudsmith-api/models/organization_package_vulnerability_policy_request.rb +271 -0
  82. data/lib/cloudsmith-api/models/organization_package_vulnerability_policy_request_patch.rb +266 -0
  83. data/lib/cloudsmith-api/models/package_dependencies.rb +0 -5
  84. data/lib/cloudsmith-api/models/package_license_policy_violation_log.rb +228 -0
  85. data/lib/cloudsmith-api/models/package_license_policy_violation_log_cursor_page.rb +209 -0
  86. data/lib/cloudsmith-api/models/package_tag_request.rb +37 -1
  87. data/lib/cloudsmith-api/models/package_vulnerability_policy_violation_log.rb +242 -0
  88. data/lib/cloudsmith-api/models/package_vulnerability_policy_violation_log_cursor_page.rb +209 -0
  89. data/lib/cloudsmith-api/models/{inline_response_200_country_code.rb → repository_geo_ip_cidr.rb} +13 -1
  90. data/lib/cloudsmith-api/models/repository_geo_ip_country_code.rb +209 -0
  91. data/lib/cloudsmith-api/models/repository_geo_ip_rules.rb +203 -0
  92. data/lib/cloudsmith-api/models/repository_geo_ip_rules_request.rb +203 -0
  93. data/lib/cloudsmith-api/models/{repository_geo_ip_list.rb → repository_geo_ip_rules_request_patch.rb} +3 -5
  94. data/lib/cloudsmith-api/models/{inline_response_200.rb → repository_geo_ip_test_address.rb} +16 -17
  95. data/lib/cloudsmith-api/models/repository_geo_ip_test_address_response.rb +192 -0
  96. data/lib/cloudsmith-api/models/repository_geo_ip_test_address_response_dict.rb +235 -0
  97. data/lib/cloudsmith-api/models/repository_token.rb +2 -1
  98. data/lib/cloudsmith-api/models/repository_token_refresh.rb +2 -1
  99. data/lib/cloudsmith-api/models/repository_token_refresh_request.rb +1 -1
  100. data/lib/cloudsmith-api/models/repository_token_request.rb +1 -1
  101. data/lib/cloudsmith-api/models/repository_token_request_patch.rb +1 -1
  102. data/lib/cloudsmith-api/models/repository_webhook.rb +1 -0
  103. data/lib/cloudsmith-api/models/respository_geo_ip_enable_disable.rb +1 -1
  104. data/lib/cloudsmith-api/models/respository_geo_ip_enable_disable_request.rb +1 -1
  105. data/lib/cloudsmith-api/models/service_teams.rb +5 -0
  106. data/lib/cloudsmith-api/models/status_basic.rb +1 -1
  107. data/lib/cloudsmith-api/models/storage_allocated_limit.rb +220 -0
  108. data/lib/cloudsmith-api/models/storage_allocated_limit_raw.rb +220 -0
  109. data/lib/cloudsmith-api/models/storage_usage.rb +211 -0
  110. data/lib/cloudsmith-api/models/storage_usage_raw.rb +211 -0
  111. data/lib/cloudsmith-api/models/usage_fieldset.rb +1 -1
  112. data/lib/cloudsmith-api/models/usage_limits.rb +1 -1
  113. data/lib/cloudsmith-api/models/usage_limits_raw.rb +203 -0
  114. data/lib/cloudsmith-api/models/usage_raw.rb +202 -0
  115. data/lib/cloudsmith-api/models/vulnerability_scan_results.rb +1 -0
  116. data/lib/cloudsmith-api/models/vulnerability_scan_results_list.rb +1 -0
  117. data/lib/cloudsmith-api/version.rb +1 -1
  118. data/lib/cloudsmith-api.rb +31 -3
  119. data/spec/api/orgs_api_spec.rb +190 -0
  120. data/spec/api/packages_api_spec.rb +30 -2
  121. data/spec/api/repos_api_spec.rb +47 -5
  122. data/spec/api/vulnerabilities_api_spec.rb +3 -3
  123. data/spec/models/allocated_limit_raw_spec.rb +59 -0
  124. data/spec/models/hex_package_upload_request_spec.rb +53 -0
  125. data/spec/models/hex_package_upload_spec.rb +447 -0
  126. data/spec/models/history_fieldset_raw_spec.rb +53 -0
  127. data/spec/models/nested_license_policy_spec.rb +95 -0
  128. data/spec/models/nested_vulnerability_policy_spec.rb +99 -0
  129. data/spec/models/nested_vulnerability_scan_results_spec.rb +81 -0
  130. data/spec/models/organization_group_sync_request_spec.rb +4 -0
  131. data/spec/models/organization_group_sync_spec.rb +4 -0
  132. data/spec/models/organization_package_license_policy_request_patch_spec.rb +71 -0
  133. data/spec/models/organization_package_license_policy_request_spec.rb +71 -0
  134. data/spec/models/organization_package_license_policy_spec.rb +89 -0
  135. data/spec/models/organization_package_vulnerability_policy_request_patch_spec.rb +75 -0
  136. data/spec/models/organization_package_vulnerability_policy_request_spec.rb +75 -0
  137. data/spec/models/organization_package_vulnerability_policy_spec.rb +93 -0
  138. data/spec/models/package_license_policy_violation_log_cursor_page_spec.rb +53 -0
  139. data/spec/models/package_license_policy_violation_log_spec.rb +59 -0
  140. data/spec/models/package_tag_request_spec.rb +4 -0
  141. data/spec/models/package_vulnerability_policy_violation_log_cursor_page_spec.rb +53 -0
  142. data/spec/models/package_vulnerability_policy_violation_log_spec.rb +65 -0
  143. data/spec/models/{inline_response_200_country_code_spec.rb → repository_geo_ip_cidr_spec.rb} +6 -6
  144. data/spec/models/repository_geo_ip_country_code_spec.rb +47 -0
  145. data/spec/models/repository_geo_ip_rules_request_patch_spec.rb +47 -0
  146. data/spec/models/{inline_response_200_spec.rb → repository_geo_ip_rules_request_spec.rb} +8 -8
  147. data/spec/models/{repository_geo_ip_list_spec.rb → repository_geo_ip_rules_spec.rb} +6 -6
  148. data/spec/models/repository_geo_ip_test_address_response_dict_spec.rb +59 -0
  149. data/spec/models/repository_geo_ip_test_address_response_spec.rb +41 -0
  150. data/spec/models/repository_geo_ip_test_address_spec.rb +41 -0
  151. data/spec/models/respository_geo_ip_enable_disable_request_spec.rb +6 -6
  152. data/spec/models/respository_geo_ip_enable_disable_spec.rb +6 -6
  153. data/spec/models/storage_allocated_limit_raw_spec.rb +65 -0
  154. data/spec/models/storage_allocated_limit_spec.rb +65 -0
  155. data/spec/models/storage_usage_raw_spec.rb +59 -0
  156. data/spec/models/storage_usage_spec.rb +59 -0
  157. data/spec/models/usage_limits_raw_spec.rb +47 -0
  158. data/spec/models/usage_raw_spec.rb +53 -0
  159. data/vendor/bundle/ruby/2.6.0/cache/addressable-2.8.4.gem +0 -0
  160. data/vendor/bundle/ruby/2.6.0/cache/rspec-core-3.12.2.gem +0 -0
  161. data/vendor/bundle/ruby/2.6.0/cache/rspec-expectations-3.12.3.gem +0 -0
  162. data/vendor/bundle/ruby/2.6.0/cache/rspec-mocks-3.12.5.gem +0 -0
  163. data/vendor/bundle/ruby/2.6.0/cache/sys-uname-1.2.3.gem +0 -0
  164. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/autotest-fsevent-0.2.20/gem_make.out +1 -1
  165. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/ffi-1.15.5/gem_make.out +2 -2
  166. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.6.3/gem_make.out +1 -1
  167. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.6.3/mkmf.log +1 -1
  168. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.1 → addressable-2.8.4}/CHANGELOG.md +22 -2
  169. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.1 → addressable-2.8.4}/Rakefile +2 -1
  170. data/vendor/bundle/ruby/2.6.0/gems/addressable-2.8.4/addressable.gemspec +28 -0
  171. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.1 → addressable-2.8.4}/lib/addressable/idna/native.rb +8 -2
  172. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.1 → addressable-2.8.4}/lib/addressable/idna/pure.rb +10 -182
  173. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.1 → addressable-2.8.4}/lib/addressable/template.rb +9 -10
  174. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.1 → addressable-2.8.4}/lib/addressable/uri.rb +112 -96
  175. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.1 → addressable-2.8.4}/lib/addressable/version.rb +1 -1
  176. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.1 → addressable-2.8.4}/spec/addressable/idna_spec.rb +6 -5
  177. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.1 → addressable-2.8.4}/spec/addressable/template_spec.rb +60 -264
  178. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.1 → addressable-2.8.4}/spec/addressable/uri_spec.rb +56 -0
  179. data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/Makefile +2 -2
  180. data/vendor/bundle/ruby/2.6.0/gems/json-2.6.3/ext/json/Makefile +2 -2
  181. data/vendor/bundle/ruby/2.6.0/gems/json-2.6.3/ext/json/ext/generator/Makefile +2 -2
  182. data/vendor/bundle/ruby/2.6.0/gems/json-2.6.3/ext/json/ext/parser/Makefile +2 -2
  183. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/Changelog.md +16 -1
  184. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/README.md +2 -2
  185. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/configuration.rb +2 -2
  186. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/example_status_persister.rb +2 -2
  187. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/formatters/exception_presenter.rb +2 -2
  188. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/formatters/html_snippet_extractor.rb +2 -2
  189. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/metadata_filter.rb +1 -1
  190. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/project_initializer/spec/spec_helper.rb +1 -1
  191. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/reporter.rb +1 -1
  192. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/version.rb +1 -1
  193. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/Changelog.md +20 -5
  194. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/expectations/failure_aggregator.rb +1 -1
  195. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/expectations/version.rb +1 -1
  196. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/matchers/aliased_matcher.rb +3 -3
  197. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/compound.rb +1 -1
  198. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/exist.rb +1 -1
  199. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/include.rb +9 -2
  200. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/matchers/composable.rb +1 -1
  201. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/matchers/dsl.rb +7 -7
  202. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/matchers.rb +1 -1
  203. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/Changelog.md +36 -1
  204. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/lib/rspec/mocks/any_instance/proxy.rb +12 -3
  205. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/lib/rspec/mocks/argument_list_matcher.rb +3 -1
  206. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/lib/rspec/mocks/matchers/receive.rb +2 -1
  207. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/lib/rspec/mocks/minitest_integration.rb +1 -1
  208. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/lib/rspec/mocks/mutate_const.rb +1 -1
  209. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/lib/rspec/mocks/proxy.rb +1 -0
  210. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/lib/rspec/mocks/verifying_double.rb +2 -0
  211. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/lib/rspec/mocks/verifying_proxy.rb +4 -3
  212. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/lib/rspec/mocks/version.rb +1 -1
  213. data/vendor/bundle/ruby/2.6.0/gems/{sys-uname-1.2.2 → sys-uname-1.2.3}/CHANGES.md +7 -0
  214. data/vendor/bundle/ruby/2.6.0/gems/sys-uname-1.2.3/Gemfile +2 -0
  215. data/vendor/bundle/ruby/2.6.0/gems/{sys-uname-1.2.2 → sys-uname-1.2.3}/README.md +21 -6
  216. data/vendor/bundle/ruby/2.6.0/gems/{sys-uname-1.2.2 → sys-uname-1.2.3}/Rakefile +4 -2
  217. data/vendor/bundle/ruby/2.6.0/gems/{sys-uname-1.2.2 → sys-uname-1.2.3}/doc/uname.rdoc +1 -1
  218. data/vendor/bundle/ruby/2.6.0/gems/{sys-uname-1.2.2 → sys-uname-1.2.3}/lib/sys/platform.rb +17 -13
  219. data/vendor/bundle/ruby/2.6.0/gems/{sys-uname-1.2.2 → sys-uname-1.2.3}/lib/sys/uname.rb +3 -1
  220. data/vendor/bundle/ruby/2.6.0/gems/{sys-uname-1.2.2 → sys-uname-1.2.3}/lib/sys/unix/uname.rb +20 -35
  221. data/vendor/bundle/ruby/2.6.0/gems/sys-uname-1.2.3/lib/sys/windows/uname.rb +499 -0
  222. data/vendor/bundle/ruby/2.6.0/gems/sys-uname-1.2.3/lib/sys-uname.rb +3 -0
  223. data/vendor/bundle/ruby/2.6.0/gems/sys-uname-1.2.3/spec/spec_helper.rb +12 -0
  224. data/vendor/bundle/ruby/2.6.0/gems/sys-uname-1.2.3/spec/sys_platform_spec.rb +69 -0
  225. data/vendor/bundle/ruby/2.6.0/gems/{sys-uname-1.2.2 → sys-uname-1.2.3}/spec/sys_uname_spec.rb +140 -136
  226. data/vendor/bundle/ruby/2.6.0/gems/{sys-uname-1.2.2 → sys-uname-1.2.3}/sys-uname.gemspec +11 -7
  227. data/vendor/bundle/ruby/2.6.0/specifications/{addressable-2.8.1.gemspec → addressable-2.8.4.gemspec} +3 -3
  228. data/vendor/bundle/ruby/2.6.0/specifications/{rspec-core-3.12.0.gemspec → rspec-core-3.12.2.gemspec} +5 -5
  229. data/vendor/bundle/ruby/2.6.0/specifications/{rspec-expectations-3.12.1.gemspec → rspec-expectations-3.12.3.gemspec} +5 -5
  230. data/vendor/bundle/ruby/2.6.0/specifications/{rspec-mocks-3.12.1.gemspec → rspec-mocks-3.12.5.gemspec} +7 -7
  231. data/vendor/bundle/ruby/2.6.0/specifications/{sys-uname-1.2.2.gemspec → sys-uname-1.2.3.gemspec} +8 -4
  232. metadata +364 -250
  233. data/docs/InlineResponse200.md +0 -9
  234. data/docs/InlineResponse200CountryCode.md +0 -9
  235. data/docs/RepositoryGeoIPList.md +0 -9
  236. data/vendor/bundle/ruby/2.6.0/cache/addressable-2.8.1.gem +0 -0
  237. data/vendor/bundle/ruby/2.6.0/cache/rspec-core-3.12.0.gem +0 -0
  238. data/vendor/bundle/ruby/2.6.0/cache/rspec-expectations-3.12.1.gem +0 -0
  239. data/vendor/bundle/ruby/2.6.0/cache/rspec-mocks-3.12.1.gem +0 -0
  240. data/vendor/bundle/ruby/2.6.0/cache/sys-uname-1.2.2.gem +0 -0
  241. data/vendor/bundle/ruby/2.6.0/gems/sys-uname-1.2.2/Gemfile +0 -7
  242. data/vendor/bundle/ruby/2.6.0/gems/sys-uname-1.2.2/lib/sys/windows/uname.rb +0 -515
  243. data/vendor/bundle/ruby/2.6.0/gems/sys-uname-1.2.2/lib/sys-uname.rb +0 -1
  244. data/vendor/bundle/ruby/2.6.0/gems/sys-uname-1.2.2/spec/sys_platform_spec.rb +0 -75
  245. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.1 → addressable-2.8.4}/Gemfile +0 -0
  246. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.1 → addressable-2.8.4}/LICENSE.txt +0 -0
  247. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.1 → addressable-2.8.4}/README.md +0 -0
  248. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.1 → addressable-2.8.4}/data/unicode.data +0 -0
  249. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.1 → addressable-2.8.4}/lib/addressable/idna.rb +0 -0
  250. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.1 → addressable-2.8.4}/lib/addressable.rb +0 -0
  251. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.1 → addressable-2.8.4}/spec/addressable/net_http_compat_spec.rb +0 -0
  252. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.1 → addressable-2.8.4}/spec/addressable/security_spec.rb +0 -0
  253. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.1 → addressable-2.8.4}/spec/spec_helper.rb +0 -0
  254. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.1 → addressable-2.8.4}/tasks/clobber.rake +0 -0
  255. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.1 → addressable-2.8.4}/tasks/gem.rake +0 -0
  256. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.1 → addressable-2.8.4}/tasks/git.rake +0 -0
  257. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.1 → addressable-2.8.4}/tasks/metrics.rake +0 -0
  258. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.1 → addressable-2.8.4}/tasks/profile.rake +0 -0
  259. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.1 → addressable-2.8.4}/tasks/rspec.rake +0 -0
  260. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.1 → addressable-2.8.4}/tasks/yard.rake +0 -0
  261. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/.document +0 -0
  262. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/.yardopts +0 -0
  263. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/LICENSE.md +0 -0
  264. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/exe/rspec +0 -0
  265. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/autorun.rb +0 -0
  266. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/backtrace_formatter.rb +0 -0
  267. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/bisect/coordinator.rb +0 -0
  268. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/bisect/example_minimizer.rb +0 -0
  269. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/bisect/fork_runner.rb +0 -0
  270. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/bisect/server.rb +0 -0
  271. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/bisect/shell_command.rb +0 -0
  272. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/bisect/shell_runner.rb +0 -0
  273. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/bisect/utilities.rb +0 -0
  274. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/configuration_options.rb +0 -0
  275. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/did_you_mean.rb +0 -0
  276. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/drb.rb +0 -0
  277. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/dsl.rb +0 -0
  278. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/example.rb +0 -0
  279. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/example_group.rb +0 -0
  280. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/filter_manager.rb +0 -0
  281. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/flat_map.rb +0 -0
  282. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/formatters/base_bisect_formatter.rb +0 -0
  283. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/formatters/base_formatter.rb +0 -0
  284. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/formatters/base_text_formatter.rb +0 -0
  285. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/formatters/bisect_drb_formatter.rb +0 -0
  286. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/formatters/bisect_progress_formatter.rb +0 -0
  287. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/formatters/console_codes.rb +0 -0
  288. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/formatters/deprecation_formatter.rb +0 -0
  289. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/formatters/documentation_formatter.rb +0 -0
  290. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/formatters/failure_list_formatter.rb +0 -0
  291. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/formatters/fallback_message_formatter.rb +0 -0
  292. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/formatters/helpers.rb +0 -0
  293. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/formatters/html_formatter.rb +0 -0
  294. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/formatters/html_printer.rb +0 -0
  295. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/formatters/json_formatter.rb +0 -0
  296. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/formatters/profile_formatter.rb +0 -0
  297. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/formatters/progress_formatter.rb +0 -0
  298. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/formatters/protocol.rb +0 -0
  299. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/formatters/snippet_extractor.rb +0 -0
  300. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/formatters/syntax_highlighter.rb +0 -0
  301. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/formatters.rb +0 -0
  302. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/hooks.rb +0 -0
  303. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/invocations.rb +0 -0
  304. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/memoized_helpers.rb +0 -0
  305. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/metadata.rb +0 -0
  306. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/minitest_assertions_adapter.rb +0 -0
  307. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/mocking_adapters/flexmock.rb +0 -0
  308. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/mocking_adapters/mocha.rb +0 -0
  309. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/mocking_adapters/null.rb +0 -0
  310. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/mocking_adapters/rr.rb +0 -0
  311. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/mocking_adapters/rspec.rb +0 -0
  312. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/notifications.rb +0 -0
  313. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/option_parser.rb +0 -0
  314. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/ordering.rb +0 -0
  315. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/output_wrapper.rb +0 -0
  316. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/pending.rb +0 -0
  317. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/profiler.rb +0 -0
  318. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/project_initializer/.rspec +0 -0
  319. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/project_initializer.rb +0 -0
  320. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/rake_task.rb +0 -0
  321. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/ruby_project.rb +0 -0
  322. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/runner.rb +0 -0
  323. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/sandbox.rb +0 -0
  324. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/set.rb +0 -0
  325. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/shared_context.rb +0 -0
  326. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/shared_example_group.rb +0 -0
  327. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/shell_escape.rb +0 -0
  328. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/test_unit_assertions_adapter.rb +0 -0
  329. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/warnings.rb +0 -0
  330. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/world.rb +0 -0
  331. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core.rb +0 -0
  332. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/.document +0 -0
  333. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/.yardopts +0 -0
  334. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/LICENSE.md +0 -0
  335. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/README.md +0 -0
  336. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/expectations/block_snippet_extractor.rb +0 -0
  337. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/expectations/configuration.rb +0 -0
  338. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/expectations/expectation_target.rb +0 -0
  339. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/expectations/fail_with.rb +0 -0
  340. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/expectations/handler.rb +0 -0
  341. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/expectations/minitest_integration.rb +0 -0
  342. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/expectations/syntax.rb +0 -0
  343. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/expectations.rb +0 -0
  344. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/all.rb +0 -0
  345. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/base_matcher.rb +0 -0
  346. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/be.rb +0 -0
  347. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/be_between.rb +0 -0
  348. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/be_instance_of.rb +0 -0
  349. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/be_kind_of.rb +0 -0
  350. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/be_within.rb +0 -0
  351. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/change.rb +0 -0
  352. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/contain_exactly.rb +0 -0
  353. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/count_expectation.rb +0 -0
  354. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/cover.rb +0 -0
  355. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/eq.rb +0 -0
  356. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/eql.rb +0 -0
  357. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/equal.rb +0 -0
  358. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/has.rb +0 -0
  359. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/have_attributes.rb +0 -0
  360. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/match.rb +0 -0
  361. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/operators.rb +0 -0
  362. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/output.rb +0 -0
  363. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/raise_error.rb +0 -0
  364. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/respond_to.rb +0 -0
  365. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/satisfy.rb +0 -0
  366. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/start_or_end_with.rb +0 -0
  367. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/throw_symbol.rb +0 -0
  368. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/yield.rb +0 -0
  369. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in.rb +0 -0
  370. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/matchers/english_phrasing.rb +0 -0
  371. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/matchers/expecteds_for_multiple_diffs.rb +0 -0
  372. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/matchers/fail_matchers.rb +0 -0
  373. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/matchers/generated_descriptions.rb +0 -0
  374. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/matchers/matcher_delegator.rb +0 -0
  375. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/matchers/matcher_protocol.rb +0 -0
  376. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/.document +0 -0
  377. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/.yardopts +0 -0
  378. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/LICENSE.md +0 -0
  379. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/README.md +0 -0
  380. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/lib/rspec/mocks/any_instance/chain.rb +0 -0
  381. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/lib/rspec/mocks/any_instance/error_generator.rb +0 -0
  382. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/lib/rspec/mocks/any_instance/expect_chain_chain.rb +0 -0
  383. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/lib/rspec/mocks/any_instance/expectation_chain.rb +0 -0
  384. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/lib/rspec/mocks/any_instance/message_chains.rb +0 -0
  385. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/lib/rspec/mocks/any_instance/recorder.rb +0 -0
  386. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/lib/rspec/mocks/any_instance/stub_chain.rb +0 -0
  387. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/lib/rspec/mocks/any_instance/stub_chain_chain.rb +0 -0
  388. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/lib/rspec/mocks/any_instance.rb +0 -0
  389. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/lib/rspec/mocks/argument_matchers.rb +0 -0
  390. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/lib/rspec/mocks/configuration.rb +0 -0
  391. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/lib/rspec/mocks/error_generator.rb +0 -0
  392. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/lib/rspec/mocks/example_methods.rb +0 -0
  393. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/lib/rspec/mocks/instance_method_stasher.rb +0 -0
  394. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/lib/rspec/mocks/marshal_extension.rb +0 -0
  395. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/lib/rspec/mocks/matchers/expectation_customization.rb +0 -0
  396. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/lib/rspec/mocks/matchers/have_received.rb +0 -0
  397. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/lib/rspec/mocks/matchers/receive_message_chain.rb +0 -0
  398. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/lib/rspec/mocks/matchers/receive_messages.rb +0 -0
  399. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/lib/rspec/mocks/message_chain.rb +0 -0
  400. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/lib/rspec/mocks/message_expectation.rb +0 -0
  401. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/lib/rspec/mocks/method_double.rb +0 -0
  402. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/lib/rspec/mocks/method_reference.rb +0 -0
  403. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/lib/rspec/mocks/object_reference.rb +0 -0
  404. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/lib/rspec/mocks/order_group.rb +0 -0
  405. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/lib/rspec/mocks/space.rb +1 -1
  406. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/lib/rspec/mocks/standalone.rb +0 -0
  407. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/lib/rspec/mocks/syntax.rb +0 -0
  408. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/lib/rspec/mocks/targets.rb +0 -0
  409. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/lib/rspec/mocks/test_double.rb +0 -0
  410. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/lib/rspec/mocks/verifying_message_expectation.rb +0 -0
  411. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/lib/rspec/mocks.rb +0 -0
  412. /data/vendor/bundle/ruby/2.6.0/gems/{sys-uname-1.2.2 → sys-uname-1.2.3}/LICENSE +0 -0
  413. /data/vendor/bundle/ruby/2.6.0/gems/{sys-uname-1.2.2 → sys-uname-1.2.3}/MANIFEST.md +0 -0
  414. /data/vendor/bundle/ruby/2.6.0/gems/{sys-uname-1.2.2 → sys-uname-1.2.3}/certs/djberg96_pub.pem +0 -0
  415. /data/vendor/bundle/ruby/2.6.0/gems/{sys-uname-1.2.2 → sys-uname-1.2.3}/examples/uname_test.rb +0 -0
@@ -152,8 +152,8 @@ module CloudsmithApi
152
152
  end
153
153
  return data, status_code, headers
154
154
  end
155
- # Get the direct (non-transitive) dependencies list for a package.
156
- # Get the direct (non-transitive) dependencies list for a package.
155
+ # Get the list of dependencies for a package. Transitive dependencies are included where supported.
156
+ # Get the list of dependencies for a package. Transitive dependencies are included where supported.
157
157
  # @param owner
158
158
  # @param repo
159
159
  # @param identifier
@@ -164,8 +164,8 @@ module CloudsmithApi
164
164
  data
165
165
  end
166
166
 
167
- # Get the direct (non-transitive) dependencies list for a package.
168
- # Get the direct (non-transitive) dependencies list for a package.
167
+ # Get the list of dependencies for a package. Transitive dependencies are included where supported.
168
+ # Get the list of dependencies for a package. Transitive dependencies are included where supported.
169
169
  # @param owner
170
170
  # @param repo
171
171
  # @param identifier
@@ -1502,6 +1502,68 @@ module CloudsmithApi
1502
1502
  end
1503
1503
  return data, status_code, headers
1504
1504
  end
1505
+ # Create a new Hex package
1506
+ # Create a new Hex package
1507
+ # @param owner
1508
+ # @param repo
1509
+ # @param [Hash] opts the optional parameters
1510
+ # @option opts [HexPackageUploadRequest] :data
1511
+ # @return [HexPackageUpload]
1512
+ def packages_upload_hex(owner, repo, opts = {})
1513
+ data, _status_code, _headers = packages_upload_hex_with_http_info(owner, repo, opts)
1514
+ data
1515
+ end
1516
+
1517
+ # Create a new Hex package
1518
+ # Create a new Hex package
1519
+ # @param owner
1520
+ # @param repo
1521
+ # @param [Hash] opts the optional parameters
1522
+ # @option opts [HexPackageUploadRequest] :data
1523
+ # @return [Array<(HexPackageUpload, Fixnum, Hash)>] HexPackageUpload data, response status code and response headers
1524
+ def packages_upload_hex_with_http_info(owner, repo, opts = {})
1525
+ if @api_client.config.debugging
1526
+ @api_client.config.logger.debug 'Calling API: PackagesApi.packages_upload_hex ...'
1527
+ end
1528
+ # verify the required parameter 'owner' is set
1529
+ if @api_client.config.client_side_validation && owner.nil?
1530
+ fail ArgumentError, "Missing the required parameter 'owner' when calling PackagesApi.packages_upload_hex"
1531
+ end
1532
+ # verify the required parameter 'repo' is set
1533
+ if @api_client.config.client_side_validation && repo.nil?
1534
+ fail ArgumentError, "Missing the required parameter 'repo' when calling PackagesApi.packages_upload_hex"
1535
+ end
1536
+ # resource path
1537
+ local_var_path = '/packages/{owner}/{repo}/upload/hex/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s)
1538
+
1539
+ # query parameters
1540
+ query_params = {}
1541
+
1542
+ # header parameters
1543
+ header_params = {}
1544
+ # HTTP header 'Accept' (if needed)
1545
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1546
+ # HTTP header 'Content-Type'
1547
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
1548
+
1549
+ # form parameters
1550
+ form_params = {}
1551
+
1552
+ # http body (model)
1553
+ post_body = @api_client.object_to_http_body(opts[:'data'])
1554
+ auth_names = ['apikey']
1555
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
1556
+ :header_params => header_params,
1557
+ :query_params => query_params,
1558
+ :form_params => form_params,
1559
+ :body => post_body,
1560
+ :auth_names => auth_names,
1561
+ :return_type => 'HexPackageUpload')
1562
+ if @api_client.config.debugging
1563
+ @api_client.config.logger.debug "API called: PackagesApi#packages_upload_hex\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1564
+ end
1565
+ return data, status_code, headers
1566
+ end
1505
1567
  # Create a new LuaRocks package
1506
1568
  # Create a new LuaRocks package
1507
1569
  # @param owner
@@ -2916,6 +2978,67 @@ module CloudsmithApi
2916
2978
  end
2917
2979
  return data, status_code, headers
2918
2980
  end
2981
+ # Validate parameters for create Hex package
2982
+ # Validate parameters for create Hex package
2983
+ # @param owner
2984
+ # @param repo
2985
+ # @param [Hash] opts the optional parameters
2986
+ # @option opts [HexPackageUploadRequest] :data
2987
+ # @return [nil]
2988
+ def packages_validate_upload_hex(owner, repo, opts = {})
2989
+ packages_validate_upload_hex_with_http_info(owner, repo, opts)
2990
+ nil
2991
+ end
2992
+
2993
+ # Validate parameters for create Hex package
2994
+ # Validate parameters for create Hex package
2995
+ # @param owner
2996
+ # @param repo
2997
+ # @param [Hash] opts the optional parameters
2998
+ # @option opts [HexPackageUploadRequest] :data
2999
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
3000
+ def packages_validate_upload_hex_with_http_info(owner, repo, opts = {})
3001
+ if @api_client.config.debugging
3002
+ @api_client.config.logger.debug 'Calling API: PackagesApi.packages_validate_upload_hex ...'
3003
+ end
3004
+ # verify the required parameter 'owner' is set
3005
+ if @api_client.config.client_side_validation && owner.nil?
3006
+ fail ArgumentError, "Missing the required parameter 'owner' when calling PackagesApi.packages_validate_upload_hex"
3007
+ end
3008
+ # verify the required parameter 'repo' is set
3009
+ if @api_client.config.client_side_validation && repo.nil?
3010
+ fail ArgumentError, "Missing the required parameter 'repo' when calling PackagesApi.packages_validate_upload_hex"
3011
+ end
3012
+ # resource path
3013
+ local_var_path = '/packages/{owner}/{repo}/validate-upload/hex/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s)
3014
+
3015
+ # query parameters
3016
+ query_params = {}
3017
+
3018
+ # header parameters
3019
+ header_params = {}
3020
+ # HTTP header 'Accept' (if needed)
3021
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
3022
+ # HTTP header 'Content-Type'
3023
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
3024
+
3025
+ # form parameters
3026
+ form_params = {}
3027
+
3028
+ # http body (model)
3029
+ post_body = @api_client.object_to_http_body(opts[:'data'])
3030
+ auth_names = ['apikey']
3031
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
3032
+ :header_params => header_params,
3033
+ :query_params => query_params,
3034
+ :form_params => form_params,
3035
+ :body => post_body,
3036
+ :auth_names => auth_names)
3037
+ if @api_client.config.debugging
3038
+ @api_client.config.logger.debug "API called: PackagesApi#packages_validate_upload_hex\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
3039
+ end
3040
+ return data, status_code, headers
3041
+ end
2919
3042
  # Validate parameters for create LuaRocks package
2920
3043
  # Validate parameters for create LuaRocks package
2921
3044
  # @param owner
@@ -139,7 +139,7 @@ module CloudsmithApi
139
139
  # @param owner
140
140
  # @param identifier
141
141
  # @param [Hash] opts the optional parameters
142
- # @option opts [RespositoryGeoIPEnableDisableRequest] :data
142
+ # @option opts [RespositoryGeoIpEnableDisableRequest] :data
143
143
  # @return [nil]
144
144
  def repos_geoip_disable(owner, identifier, opts = {})
145
145
  repos_geoip_disable_with_http_info(owner, identifier, opts)
@@ -151,7 +151,7 @@ module CloudsmithApi
151
151
  # @param owner
152
152
  # @param identifier
153
153
  # @param [Hash] opts the optional parameters
154
- # @option opts [RespositoryGeoIPEnableDisableRequest] :data
154
+ # @option opts [RespositoryGeoIpEnableDisableRequest] :data
155
155
  # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
156
156
  def repos_geoip_disable_with_http_info(owner, identifier, opts = {})
157
157
  if @api_client.config.debugging
@@ -200,7 +200,7 @@ module CloudsmithApi
200
200
  # @param owner
201
201
  # @param identifier
202
202
  # @param [Hash] opts the optional parameters
203
- # @option opts [RespositoryGeoIPEnableDisableRequest] :data
203
+ # @option opts [RespositoryGeoIpEnableDisableRequest] :data
204
204
  # @return [nil]
205
205
  def repos_geoip_enable(owner, identifier, opts = {})
206
206
  repos_geoip_enable_with_http_info(owner, identifier, opts)
@@ -212,7 +212,7 @@ module CloudsmithApi
212
212
  # @param owner
213
213
  # @param identifier
214
214
  # @param [Hash] opts the optional parameters
215
- # @option opts [RespositoryGeoIPEnableDisableRequest] :data
215
+ # @option opts [RespositoryGeoIpEnableDisableRequest] :data
216
216
  # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
217
217
  def repos_geoip_enable_with_http_info(owner, identifier, opts = {})
218
218
  if @api_client.config.debugging
@@ -256,23 +256,85 @@ module CloudsmithApi
256
256
  end
257
257
  return data, status_code, headers
258
258
  end
259
- # List all created GeoIP rules for the repository.
260
- # List all created GeoIP rules for the repository.
259
+ # Partially update repository geoip rules.
260
+ # Partially update repository geoip rules.
261
261
  # @param owner
262
262
  # @param identifier
263
263
  # @param [Hash] opts the optional parameters
264
- # @return [InlineResponse200]
264
+ # @option opts [RepositoryGeoIpRulesRequestPatch] :data
265
+ # @return [RepositoryGeoIpRules]
266
+ def repos_geoip_partial_update(owner, identifier, opts = {})
267
+ data, _status_code, _headers = repos_geoip_partial_update_with_http_info(owner, identifier, opts)
268
+ data
269
+ end
270
+
271
+ # Partially update repository geoip rules.
272
+ # Partially update repository geoip rules.
273
+ # @param owner
274
+ # @param identifier
275
+ # @param [Hash] opts the optional parameters
276
+ # @option opts [RepositoryGeoIpRulesRequestPatch] :data
277
+ # @return [Array<(RepositoryGeoIpRules, Fixnum, Hash)>] RepositoryGeoIpRules data, response status code and response headers
278
+ def repos_geoip_partial_update_with_http_info(owner, identifier, opts = {})
279
+ if @api_client.config.debugging
280
+ @api_client.config.logger.debug 'Calling API: ReposApi.repos_geoip_partial_update ...'
281
+ end
282
+ # verify the required parameter 'owner' is set
283
+ if @api_client.config.client_side_validation && owner.nil?
284
+ fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_geoip_partial_update"
285
+ end
286
+ # verify the required parameter 'identifier' is set
287
+ if @api_client.config.client_side_validation && identifier.nil?
288
+ fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_geoip_partial_update"
289
+ end
290
+ # resource path
291
+ local_var_path = '/repos/{owner}/{identifier}/geoip'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s)
292
+
293
+ # query parameters
294
+ query_params = {}
295
+
296
+ # header parameters
297
+ header_params = {}
298
+ # HTTP header 'Accept' (if needed)
299
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
300
+ # HTTP header 'Content-Type'
301
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
302
+
303
+ # form parameters
304
+ form_params = {}
305
+
306
+ # http body (model)
307
+ post_body = @api_client.object_to_http_body(opts[:'data'])
308
+ auth_names = ['apikey']
309
+ data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
310
+ :header_params => header_params,
311
+ :query_params => query_params,
312
+ :form_params => form_params,
313
+ :body => post_body,
314
+ :auth_names => auth_names,
315
+ :return_type => 'RepositoryGeoIpRules')
316
+ if @api_client.config.debugging
317
+ @api_client.config.logger.debug "API called: ReposApi#repos_geoip_partial_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
318
+ end
319
+ return data, status_code, headers
320
+ end
321
+ # List all repository geoip rules.
322
+ # List all repository geoip rules.
323
+ # @param owner
324
+ # @param identifier
325
+ # @param [Hash] opts the optional parameters
326
+ # @return [RepositoryGeoIpRules]
265
327
  def repos_geoip_read(owner, identifier, opts = {})
266
328
  data, _status_code, _headers = repos_geoip_read_with_http_info(owner, identifier, opts)
267
329
  data
268
330
  end
269
331
 
270
- # List all created GeoIP rules for the repository.
271
- # List all created GeoIP rules for the repository.
332
+ # List all repository geoip rules.
333
+ # List all repository geoip rules.
272
334
  # @param owner
273
335
  # @param identifier
274
336
  # @param [Hash] opts the optional parameters
275
- # @return [Array<(InlineResponse200, Fixnum, Hash)>] InlineResponse200 data, response status code and response headers
337
+ # @return [Array<(RepositoryGeoIpRules, Fixnum, Hash)>] RepositoryGeoIpRules data, response status code and response headers
276
338
  def repos_geoip_read_with_http_info(owner, identifier, opts = {})
277
339
  if @api_client.config.debugging
278
340
  @api_client.config.logger.debug 'Calling API: ReposApi.repos_geoip_read ...'
@@ -310,12 +372,136 @@ module CloudsmithApi
310
372
  :form_params => form_params,
311
373
  :body => post_body,
312
374
  :auth_names => auth_names,
313
- :return_type => 'InlineResponse200')
375
+ :return_type => 'RepositoryGeoIpRules')
314
376
  if @api_client.config.debugging
315
377
  @api_client.config.logger.debug "API called: ReposApi#repos_geoip_read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
316
378
  end
317
379
  return data, status_code, headers
318
380
  end
381
+ # Test a list of IP addresses against the repository's current GeoIP rules.
382
+ # Test a list of IP addresses against the repository's current GeoIP rules.
383
+ # @param owner
384
+ # @param identifier
385
+ # @param [Hash] opts the optional parameters
386
+ # @option opts [RepositoryGeoIpTestAddress] :data
387
+ # @return [RepositoryGeoIpTestAddressResponse]
388
+ def repos_geoip_test(owner, identifier, opts = {})
389
+ data, _status_code, _headers = repos_geoip_test_with_http_info(owner, identifier, opts)
390
+ data
391
+ end
392
+
393
+ # Test a list of IP addresses against the repository&#39;s current GeoIP rules.
394
+ # Test a list of IP addresses against the repository&#39;s current GeoIP rules.
395
+ # @param owner
396
+ # @param identifier
397
+ # @param [Hash] opts the optional parameters
398
+ # @option opts [RepositoryGeoIpTestAddress] :data
399
+ # @return [Array<(RepositoryGeoIpTestAddressResponse, Fixnum, Hash)>] RepositoryGeoIpTestAddressResponse data, response status code and response headers
400
+ def repos_geoip_test_with_http_info(owner, identifier, opts = {})
401
+ if @api_client.config.debugging
402
+ @api_client.config.logger.debug 'Calling API: ReposApi.repos_geoip_test ...'
403
+ end
404
+ # verify the required parameter 'owner' is set
405
+ if @api_client.config.client_side_validation && owner.nil?
406
+ fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_geoip_test"
407
+ end
408
+ # verify the required parameter 'identifier' is set
409
+ if @api_client.config.client_side_validation && identifier.nil?
410
+ fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_geoip_test"
411
+ end
412
+ # resource path
413
+ local_var_path = '/repos/{owner}/{identifier}/geoip/test/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s)
414
+
415
+ # query parameters
416
+ query_params = {}
417
+
418
+ # header parameters
419
+ header_params = {}
420
+ # HTTP header 'Accept' (if needed)
421
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
422
+ # HTTP header 'Content-Type'
423
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
424
+
425
+ # form parameters
426
+ form_params = {}
427
+
428
+ # http body (model)
429
+ post_body = @api_client.object_to_http_body(opts[:'data'])
430
+ auth_names = ['apikey']
431
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
432
+ :header_params => header_params,
433
+ :query_params => query_params,
434
+ :form_params => form_params,
435
+ :body => post_body,
436
+ :auth_names => auth_names,
437
+ :return_type => 'RepositoryGeoIpTestAddressResponse')
438
+ if @api_client.config.debugging
439
+ @api_client.config.logger.debug "API called: ReposApi#repos_geoip_test\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
440
+ end
441
+ return data, status_code, headers
442
+ end
443
+ # Replace repository geoip rules.
444
+ # Replace repository geoip rules.
445
+ # @param owner
446
+ # @param identifier
447
+ # @param [Hash] opts the optional parameters
448
+ # @option opts [RepositoryGeoIpRulesRequest] :data
449
+ # @return [RepositoryGeoIpRules]
450
+ def repos_geoip_update(owner, identifier, opts = {})
451
+ data, _status_code, _headers = repos_geoip_update_with_http_info(owner, identifier, opts)
452
+ data
453
+ end
454
+
455
+ # Replace repository geoip rules.
456
+ # Replace repository geoip rules.
457
+ # @param owner
458
+ # @param identifier
459
+ # @param [Hash] opts the optional parameters
460
+ # @option opts [RepositoryGeoIpRulesRequest] :data
461
+ # @return [Array<(RepositoryGeoIpRules, Fixnum, Hash)>] RepositoryGeoIpRules data, response status code and response headers
462
+ def repos_geoip_update_with_http_info(owner, identifier, opts = {})
463
+ if @api_client.config.debugging
464
+ @api_client.config.logger.debug 'Calling API: ReposApi.repos_geoip_update ...'
465
+ end
466
+ # verify the required parameter 'owner' is set
467
+ if @api_client.config.client_side_validation && owner.nil?
468
+ fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_geoip_update"
469
+ end
470
+ # verify the required parameter 'identifier' is set
471
+ if @api_client.config.client_side_validation && identifier.nil?
472
+ fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_geoip_update"
473
+ end
474
+ # resource path
475
+ local_var_path = '/repos/{owner}/{identifier}/geoip'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s)
476
+
477
+ # query parameters
478
+ query_params = {}
479
+
480
+ # header parameters
481
+ header_params = {}
482
+ # HTTP header 'Accept' (if needed)
483
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
484
+ # HTTP header 'Content-Type'
485
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
486
+
487
+ # form parameters
488
+ form_params = {}
489
+
490
+ # http body (model)
491
+ post_body = @api_client.object_to_http_body(opts[:'data'])
492
+ auth_names = ['apikey']
493
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
494
+ :header_params => header_params,
495
+ :query_params => query_params,
496
+ :form_params => form_params,
497
+ :body => post_body,
498
+ :auth_names => auth_names,
499
+ :return_type => 'RepositoryGeoIpRules')
500
+ if @api_client.config.debugging
501
+ @api_client.config.logger.debug "API called: ReposApi#repos_geoip_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
502
+ end
503
+ return data, status_code, headers
504
+ end
319
505
  # Set the active GPG key for the Repository.
320
506
  # Set the active GPG key for the Repository.
321
507
  # @param owner
@@ -151,28 +151,28 @@ module CloudsmithApi
151
151
  end
152
152
  return data, status_code, headers
153
153
  end
154
- # Returns a Scan Result.
155
- # Returns a Scan Result.
154
+ # Get a scan result.
155
+ # Get a scan result.
156
156
  # @param owner
157
157
  # @param repo
158
158
  # @param package
159
- # @param scan_id
159
+ # @param identifier
160
160
  # @param [Hash] opts the optional parameters
161
161
  # @return [VulnerabilityScanResults]
162
- def vulnerabilities_read(owner, repo, package, scan_id, opts = {})
163
- data, _status_code, _headers = vulnerabilities_read_with_http_info(owner, repo, package, scan_id, opts)
162
+ def vulnerabilities_read(owner, repo, package, identifier, opts = {})
163
+ data, _status_code, _headers = vulnerabilities_read_with_http_info(owner, repo, package, identifier, opts)
164
164
  data
165
165
  end
166
166
 
167
- # Returns a Scan Result.
168
- # Returns a Scan Result.
167
+ # Get a scan result.
168
+ # Get a scan result.
169
169
  # @param owner
170
170
  # @param repo
171
171
  # @param package
172
- # @param scan_id
172
+ # @param identifier
173
173
  # @param [Hash] opts the optional parameters
174
174
  # @return [Array<(VulnerabilityScanResults, Fixnum, Hash)>] VulnerabilityScanResults data, response status code and response headers
175
- def vulnerabilities_read_with_http_info(owner, repo, package, scan_id, opts = {})
175
+ def vulnerabilities_read_with_http_info(owner, repo, package, identifier, opts = {})
176
176
  if @api_client.config.debugging
177
177
  @api_client.config.logger.debug 'Calling API: VulnerabilitiesApi.vulnerabilities_read ...'
178
178
  end
@@ -188,12 +188,12 @@ module CloudsmithApi
188
188
  if @api_client.config.client_side_validation && package.nil?
189
189
  fail ArgumentError, "Missing the required parameter 'package' when calling VulnerabilitiesApi.vulnerabilities_read"
190
190
  end
191
- # verify the required parameter 'scan_id' is set
192
- if @api_client.config.client_side_validation && scan_id.nil?
193
- fail ArgumentError, "Missing the required parameter 'scan_id' when calling VulnerabilitiesApi.vulnerabilities_read"
191
+ # verify the required parameter 'identifier' is set
192
+ if @api_client.config.client_side_validation && identifier.nil?
193
+ fail ArgumentError, "Missing the required parameter 'identifier' when calling VulnerabilitiesApi.vulnerabilities_read"
194
194
  end
195
195
  # resource path
196
- local_var_path = '/vulnerabilities/{owner}/{repo}/{package}/{scan_id}/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s).sub('{' + 'package' + '}', package.to_s).sub('{' + 'scan_id' + '}', scan_id.to_s)
196
+ local_var_path = '/vulnerabilities/{owner}/{repo}/{package}/{identifier}/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s).sub('{' + 'package' + '}', package.to_s).sub('{' + 'identifier' + '}', identifier.to_s)
197
197
 
198
198
  # query parameters
199
199
  query_params = {}
@@ -0,0 +1,211 @@
1
+ =begin
2
+ #Cloudsmith API (v1)
3
+
4
+ #The API to the Cloudsmith Service
5
+
6
+ OpenAPI spec version: v1
7
+ Contact: support@cloudsmith.io
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.4.26
10
+
11
+ =end
12
+
13
+ require 'date'
14
+
15
+ module CloudsmithApi
16
+ class AllocatedLimitRaw
17
+ attr_accessor :configured
18
+
19
+ attr_accessor :percentage_used
20
+
21
+ attr_accessor :plan_limit
22
+
23
+ attr_accessor :used
24
+
25
+ # Attribute mapping from ruby-style variable name to JSON key.
26
+ def self.attribute_map
27
+ {
28
+ :'configured' => :'configured',
29
+ :'percentage_used' => :'percentage_used',
30
+ :'plan_limit' => :'plan_limit',
31
+ :'used' => :'used'
32
+ }
33
+ end
34
+
35
+ # Attribute type mapping.
36
+ def self.swagger_types
37
+ {
38
+ :'configured' => :'Integer',
39
+ :'percentage_used' => :'String',
40
+ :'plan_limit' => :'Integer',
41
+ :'used' => :'Integer'
42
+ }
43
+ end
44
+
45
+ # Initializes the object
46
+ # @param [Hash] attributes Model attributes in the form of hash
47
+ def initialize(attributes = {})
48
+ return unless attributes.is_a?(Hash)
49
+
50
+ # convert string to symbol for hash key
51
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
52
+
53
+ if attributes.has_key?(:'configured')
54
+ self.configured = attributes[:'configured']
55
+ end
56
+
57
+ if attributes.has_key?(:'percentage_used')
58
+ self.percentage_used = attributes[:'percentage_used']
59
+ end
60
+
61
+ if attributes.has_key?(:'plan_limit')
62
+ self.plan_limit = attributes[:'plan_limit']
63
+ end
64
+
65
+ if attributes.has_key?(:'used')
66
+ self.used = attributes[:'used']
67
+ end
68
+ end
69
+
70
+ # Show invalid properties with the reasons. Usually used together with valid?
71
+ # @return Array for valid properties with the reasons
72
+ def list_invalid_properties
73
+ invalid_properties = Array.new
74
+ invalid_properties
75
+ end
76
+
77
+ # Check to see if the all the properties in the model are valid
78
+ # @return true if the model is valid
79
+ def valid?
80
+ true
81
+ end
82
+
83
+ # Checks equality by comparing each attribute.
84
+ # @param [Object] Object to be compared
85
+ def ==(o)
86
+ return true if self.equal?(o)
87
+ self.class == o.class &&
88
+ configured == o.configured &&
89
+ percentage_used == o.percentage_used &&
90
+ plan_limit == o.plan_limit &&
91
+ used == o.used
92
+ end
93
+
94
+ # @see the `==` method
95
+ # @param [Object] Object to be compared
96
+ def eql?(o)
97
+ self == o
98
+ end
99
+
100
+ # Calculates hash code according to all attributes.
101
+ # @return [Fixnum] Hash code
102
+ def hash
103
+ [configured, percentage_used, plan_limit, used].hash
104
+ end
105
+
106
+ # Builds the object from hash
107
+ # @param [Hash] attributes Model attributes in the form of hash
108
+ # @return [Object] Returns the model itself
109
+ def build_from_hash(attributes)
110
+ return nil unless attributes.is_a?(Hash)
111
+ self.class.swagger_types.each_pair do |key, type|
112
+ if type =~ /\AArray<(.*)>/i
113
+ # check to ensure the input is an array given that the attribute
114
+ # is documented as an array but the input is not
115
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
116
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
117
+ end
118
+ elsif !attributes[self.class.attribute_map[key]].nil?
119
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
120
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
121
+ end
122
+
123
+ self
124
+ end
125
+
126
+ # Deserializes the data based on type
127
+ # @param string type Data type
128
+ # @param string value Value to be deserialized
129
+ # @return [Object] Deserialized data
130
+ def _deserialize(type, value)
131
+ case type.to_sym
132
+ when :DateTime
133
+ DateTime.parse(value)
134
+ when :Date
135
+ Date.parse(value)
136
+ when :String
137
+ value.to_s
138
+ when :Integer
139
+ value.to_i
140
+ when :Float
141
+ value.to_f
142
+ when :BOOLEAN
143
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
144
+ true
145
+ else
146
+ false
147
+ end
148
+ when :Object
149
+ # generic object (usually a Hash), return directly
150
+ value
151
+ when /\AArray<(?<inner_type>.+)>\z/
152
+ inner_type = Regexp.last_match[:inner_type]
153
+ value.map { |v| _deserialize(inner_type, v) }
154
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
155
+ k_type = Regexp.last_match[:k_type]
156
+ v_type = Regexp.last_match[:v_type]
157
+ {}.tap do |hash|
158
+ value.each do |k, v|
159
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
160
+ end
161
+ end
162
+ else # model
163
+ temp_model = CloudsmithApi.const_get(type).new
164
+ temp_model.build_from_hash(value)
165
+ end
166
+ end
167
+
168
+ # Returns the string representation of the object
169
+ # @return [String] String presentation of the object
170
+ def to_s
171
+ to_hash.to_s
172
+ end
173
+
174
+ # to_body is an alias to to_hash (backward compatibility)
175
+ # @return [Hash] Returns the object in the form of hash
176
+ def to_body
177
+ to_hash
178
+ end
179
+
180
+ # Returns the object in the form of hash
181
+ # @return [Hash] Returns the object in the form of hash
182
+ def to_hash
183
+ hash = {}
184
+ self.class.attribute_map.each_pair do |attr, param|
185
+ value = self.send(attr)
186
+ next if value.nil?
187
+ hash[param] = _to_hash(value)
188
+ end
189
+ hash
190
+ end
191
+
192
+ # Outputs non-array value in the form of hash
193
+ # For object, use to_hash. Otherwise, just return the value
194
+ # @param [Object] value Any valid value
195
+ # @return [Hash] Returns the value in the form of hash
196
+ def _to_hash(value)
197
+ if value.is_a?(Array)
198
+ value.compact.map { |v| _to_hash(v) }
199
+ elsif value.is_a?(Hash)
200
+ {}.tap do |hash|
201
+ value.each { |k, v| hash[k] = _to_hash(v) }
202
+ end
203
+ elsif value.respond_to? :to_hash
204
+ value.to_hash
205
+ else
206
+ value
207
+ end
208
+ end
209
+
210
+ end
211
+ end