cloudsmith-api 1.61.3 → 1.142.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +7 -7
- data/README.md +62 -31
- data/build.json +1 -1
- data/docs/AlpinePackageUpload.md +2 -0
- data/docs/AuditLogApi.md +137 -0
- data/docs/ConanPackageUpload.md +2 -0
- data/docs/FilesApi.md +13 -6
- data/docs/MavenPackageUpload.md +2 -0
- data/docs/NamespaceAuditLog.md +23 -0
- data/docs/OrganizationGroupSync.md +12 -0
- data/docs/OrganizationInvite.md +16 -0
- data/docs/OrganizationTeam.md +12 -0
- data/docs/OrganizationTeamMembers.md +8 -0
- data/docs/OrganizationTeamMembersMembers.md +9 -0
- data/docs/OrgsApi.md +958 -8
- data/docs/OrgsInvitesCreate.md +12 -0
- data/docs/OrgsInvitesExtend.md +11 -0
- data/docs/OrgsSamlgroupsyncCreate.md +12 -0
- data/docs/OrgsTeamsCreate.md +11 -0
- data/docs/OrgsTeamsMembersCreate.md +8 -0
- data/docs/OrgsTeamsMembersUpdate.md +8 -0
- data/docs/OrgsTeamsPartialUpdate.md +11 -0
- data/docs/Package.md +2 -0
- data/docs/PackageCopy.md +2 -0
- data/docs/PackageMove.md +2 -0
- data/docs/RawPackageUpload.md +2 -0
- data/docs/ReposApi.md +542 -0
- data/docs/ReposCreate.md +31 -1
- data/docs/ReposGpgCreate.md +9 -0
- data/docs/ReposPartialUpdate.md +30 -0
- data/docs/ReposPrivilegesPartialUpdate.md +8 -0
- data/docs/ReposPrivilegesUpdate.md +8 -0
- data/docs/ReposRsaCreate.md +9 -0
- data/docs/Repository.md +30 -0
- data/docs/RepositoryAuditLog.md +20 -0
- data/docs/RepositoryCreate.md +31 -1
- data/docs/RepositoryGpgKey.md +14 -0
- data/docs/RepositoryPrivilegeInput.md +8 -0
- data/docs/RepositoryPrivilegeInputPrivileges.md +10 -0
- data/docs/RepositoryRsaKey.md +13 -0
- data/docs/VagrantPackageUpload.md +2 -0
- data/lib/cloudsmith-api/api/audit_log_api.rb +147 -0
- data/lib/cloudsmith-api/api/files_api.rb +17 -7
- data/lib/cloudsmith-api/api/orgs_api.rb +910 -10
- data/lib/cloudsmith-api/api/repos_api.rb +524 -0
- data/lib/cloudsmith-api/models/alpine_package_upload.rb +55 -1
- data/lib/cloudsmith-api/models/conan_package_upload.rb +55 -1
- data/lib/cloudsmith-api/models/entitlements_create.rb +46 -0
- data/lib/cloudsmith-api/models/entitlements_partial_update.rb +46 -0
- data/lib/cloudsmith-api/models/entitlements_refresh.rb +46 -0
- data/lib/cloudsmith-api/models/files_abort.rb +34 -0
- data/lib/cloudsmith-api/models/files_complete.rb +34 -0
- data/lib/cloudsmith-api/models/files_create.rb +34 -0
- data/lib/cloudsmith-api/models/files_validate.rb +34 -0
- data/lib/cloudsmith-api/models/maven_package_upload.rb +55 -1
- data/lib/cloudsmith-api/models/namespace_audit_log.rb +395 -0
- data/lib/cloudsmith-api/models/organization_group_sync.rb +240 -0
- data/lib/cloudsmith-api/models/organization_invite.rb +299 -0
- data/lib/cloudsmith-api/models/organization_membership.rb +46 -0
- data/lib/cloudsmith-api/models/organization_team.rb +264 -0
- data/lib/cloudsmith-api/models/organization_team_members.rb +192 -0
- data/lib/cloudsmith-api/models/organization_team_members_members.rb +195 -0
- data/lib/cloudsmith-api/models/orgs_invites_create.rb +259 -0
- data/lib/cloudsmith-api/models/orgs_invites_extend.rb +249 -0
- data/lib/cloudsmith-api/models/orgs_samlgroupsync_create.rb +245 -0
- data/lib/cloudsmith-api/models/orgs_teams_create.rb +254 -0
- data/lib/cloudsmith-api/models/orgs_teams_members_create.rb +192 -0
- data/lib/cloudsmith-api/models/orgs_teams_members_update.rb +192 -0
- data/lib/cloudsmith-api/models/orgs_teams_partial_update.rb +249 -0
- data/lib/cloudsmith-api/models/package.rb +55 -1
- data/lib/cloudsmith-api/models/package_copy.rb +55 -1
- data/lib/cloudsmith-api/models/package_move.rb +55 -1
- data/lib/cloudsmith-api/models/packages_tag.rb +34 -0
- data/lib/cloudsmith-api/models/raw_package_upload.rb +55 -1
- data/lib/cloudsmith-api/models/repos_create.rb +437 -5
- data/lib/cloudsmith-api/models/repos_gpg_create.rb +200 -0
- data/lib/cloudsmith-api/models/repos_partial_update.rb +448 -4
- data/lib/cloudsmith-api/models/repos_privileges_partial_update.rb +187 -0
- data/lib/cloudsmith-api/models/repos_privileges_update.rb +192 -0
- data/lib/cloudsmith-api/models/repos_rsa_create.rb +200 -0
- data/lib/cloudsmith-api/models/repository.rb +448 -4
- data/lib/cloudsmith-api/models/repository_audit_log.rb +355 -0
- data/lib/cloudsmith-api/models/repository_create.rb +437 -5
- data/lib/cloudsmith-api/models/repository_gpg_key.rb +250 -0
- data/lib/cloudsmith-api/models/repository_privilege_input.rb +192 -0
- data/lib/cloudsmith-api/models/repository_privilege_input_privileges.rb +205 -0
- data/lib/cloudsmith-api/models/repository_rsa_key.rb +235 -0
- data/lib/cloudsmith-api/models/repository_token.rb +46 -0
- data/lib/cloudsmith-api/models/repository_token_refresh.rb +46 -0
- data/lib/cloudsmith-api/models/vagrant_package_upload.rb +55 -1
- data/lib/cloudsmith-api/models/vulnerability_scan_results.rb +34 -0
- data/lib/cloudsmith-api/models/vulnerability_scan_results_list.rb +34 -0
- data/lib/cloudsmith-api/version.rb +1 -1
- data/lib/cloudsmith-api.rb +23 -0
- data/spec/api/audit_log_api_spec.rb +66 -0
- data/spec/api/files_api_spec.rb +4 -2
- data/spec/api/orgs_api_spec.rb +218 -3
- data/spec/api/repos_api_spec.rb +123 -0
- data/spec/models/alpine_package_upload_spec.rb +16 -0
- data/spec/models/conan_package_upload_spec.rb +16 -0
- data/spec/models/entitlements_create_spec.rb +8 -0
- data/spec/models/entitlements_partial_update_spec.rb +8 -0
- data/spec/models/entitlements_refresh_spec.rb +8 -0
- data/spec/models/files_abort_spec.rb +4 -0
- data/spec/models/files_complete_spec.rb +4 -0
- data/spec/models/files_create_spec.rb +4 -0
- data/spec/models/files_validate_spec.rb +4 -0
- data/spec/models/maven_package_upload_spec.rb +16 -0
- data/spec/models/namespace_audit_log_spec.rb +131 -0
- data/spec/models/organization_group_sync_spec.rb +65 -0
- data/spec/models/organization_invite_spec.rb +93 -0
- data/spec/models/organization_membership_spec.rb +8 -0
- data/spec/models/organization_team_members_members_spec.rb +47 -0
- data/spec/models/organization_team_members_spec.rb +41 -0
- data/spec/models/organization_team_spec.rb +69 -0
- data/spec/models/orgs_invites_create_spec.rb +69 -0
- data/spec/models/orgs_invites_extend_spec.rb +63 -0
- data/spec/models/orgs_samlgroupsync_create_spec.rb +65 -0
- data/spec/models/orgs_teams_create_spec.rb +63 -0
- data/spec/models/orgs_teams_members_create_spec.rb +41 -0
- data/spec/models/orgs_teams_members_update_spec.rb +41 -0
- data/spec/models/orgs_teams_partial_update_spec.rb +63 -0
- data/spec/models/package_copy_spec.rb +16 -0
- data/spec/models/package_move_spec.rb +16 -0
- data/spec/models/package_spec.rb +16 -0
- data/spec/models/packages_tag_spec.rb +4 -0
- data/spec/models/raw_package_upload_spec.rb +16 -0
- data/spec/models/repos_create_spec.rb +216 -0
- data/spec/models/repos_gpg_create_spec.rb +47 -0
- data/spec/models/repos_partial_update_spec.rb +220 -0
- data/spec/models/repos_privileges_partial_update_spec.rb +41 -0
- data/spec/models/repos_privileges_update_spec.rb +41 -0
- data/spec/models/repos_rsa_create_spec.rb +47 -0
- data/spec/models/repository_audit_log_spec.rb +113 -0
- data/spec/models/repository_create_spec.rb +216 -0
- data/spec/models/repository_gpg_key_spec.rb +77 -0
- data/spec/models/repository_privilege_input_privileges_spec.rb +53 -0
- data/spec/models/repository_privilege_input_spec.rb +41 -0
- data/spec/models/repository_rsa_key_spec.rb +71 -0
- data/spec/models/repository_spec.rb +220 -0
- data/spec/models/repository_token_refresh_spec.rb +8 -0
- data/spec/models/repository_token_spec.rb +8 -0
- data/spec/models/vagrant_package_upload_spec.rb +16 -0
- data/spec/models/vulnerability_scan_results_list_spec.rb +4 -0
- data/spec/models/vulnerability_scan_results_spec.rb +4 -0
- data/vendor/bundle/ruby/2.6.0/bin/htmldiff +3 -3
- data/vendor/bundle/ruby/2.6.0/bin/ldiff +3 -3
- data/vendor/bundle/ruby/2.6.0/bin/multigem +3 -3
- data/vendor/bundle/ruby/2.6.0/bin/multiruby +3 -3
- data/vendor/bundle/ruby/2.6.0/bin/rake +2 -0
- data/vendor/bundle/ruby/2.6.0/bin/rspec +2 -0
- data/vendor/bundle/ruby/2.6.0/bin/unit_diff +3 -3
- data/vendor/bundle/ruby/2.6.0/bin/zentest +3 -3
- data/vendor/bundle/ruby/2.6.0/cache/addressable-2.8.1.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/public_suffix-5.0.0.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/rspec-expectations-3.11.1.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/rspec-support-3.11.1.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/autotest-fsevent-0.2.19/gem_make.out +4 -4
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/ffi-1.15.5/ffi_c.so +0 -0
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/ffi-1.15.5/gem_make.out +5 -5
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/ffi-1.15.5/mkmf.log +9 -9
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.6.2/gem_make.out +4 -4
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.6.2/json/ext/generator.so +0 -0
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.6.2/json/ext/parser.so +0 -0
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.6.2/mkmf.log +7 -7
- data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/CHANGELOG.md +16 -0
- data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/Gemfile +4 -2
- data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/LICENSE.txt +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/README.md +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/Rakefile +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/data/unicode.data +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/lib/addressable/idna/native.rb +0 -1
- data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/lib/addressable/idna/pure.rb +0 -1
- data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/lib/addressable/idna.rb +0 -1
- data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/lib/addressable/template.rb +3 -4
- data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/lib/addressable/uri.rb +57 -53
- data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/lib/addressable/version.rb +1 -2
- data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/lib/addressable.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/spec/addressable/idna_spec.rb +0 -1
- data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/spec/addressable/net_http_compat_spec.rb +0 -1
- data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/spec/addressable/security_spec.rb +0 -1
- data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/spec/addressable/template_spec.rb +9 -1
- data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/spec/addressable/uri_spec.rb +81 -1
- data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/spec/spec_helper.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/tasks/clobber.rake +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/tasks/gem.rake +5 -2
- data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/tasks/git.rake +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/tasks/metrics.rake +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/tasks/profile.rake +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/tasks/rspec.rake +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/tasks/yard.rake +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/AbstractMemory.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/ArrayType.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/Buffer.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/Call.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/ClosurePool.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/DynamicLibrary.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/Function.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/FunctionInfo.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/LastError.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/LongDouble.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/Makefile +3 -3
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/MappedType.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/MemoryPointer.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/MethodHandle.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/Platform.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/Pointer.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/Struct.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/StructByValue.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/StructLayout.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/Thread.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/Type.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/Types.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/Variadic.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/ffi.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/ffi_c.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/lib/ffi_c.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.6.2/ext/json/Makefile +3 -3
- data/vendor/bundle/ruby/2.6.0/gems/json-2.6.2/ext/json/ext/generator/Makefile +3 -3
- data/vendor/bundle/ruby/2.6.0/gems/json-2.6.2/ext/json/ext/generator/generator.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.6.2/ext/json/ext/generator/generator.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.6.2/ext/json/ext/parser/Makefile +3 -3
- data/vendor/bundle/ruby/2.6.0/gems/json-2.6.2/ext/json/ext/parser/parser.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.6.2/ext/json/ext/parser/parser.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.6.2/lib/json/ext/generator.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.6.2/lib/json/ext/parser.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/.github/FUNDING.yml +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/.github/dependabot.yml +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/public_suffix-5.0.0/.github/workflows/psl-update.yml +38 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/.github/workflows/release.yml +4 -2
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/.github/workflows/tests.yml +8 -7
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/.gitignore +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/.rubocop.yml +1 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/.rubocop_opinionated.yml +0 -28
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/.yardopts +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/2.0-Upgrade.md +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/CHANGELOG.md +9 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/Gemfile +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/LICENSE.txt +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/README.md +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/Rakefile +3 -3
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/SECURITY.md +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/bin/console +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/data/list.txt +52 -21
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/lib/public_suffix/domain.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/lib/public_suffix/errors.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/lib/public_suffix/list.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/lib/public_suffix/rule.rb +5 -5
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/lib/public_suffix/version.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/lib/public_suffix.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/public_suffix.gemspec +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/.empty +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/acceptance_test.rb +4 -4
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/benchmarks/bm_find.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/benchmarks/bm_find_all.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/benchmarks/bm_names.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/benchmarks/bm_select.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/benchmarks/bm_select_incremental.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/benchmarks/bm_valid.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/profilers/domain_profiler.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/profilers/find_profiler.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/profilers/find_profiler_jp.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/profilers/initialization_profiler.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/profilers/list_profsize.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/profilers/object_binsize.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/psl_test.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/test_helper.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/tests.txt +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/unit/domain_test.rb +3 -3
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/unit/errors_test.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/unit/list_test.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/unit/public_suffix_test.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/unit/rule_test.rb +15 -15
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/.document +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/.yardopts +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/Changelog.md +11 -1
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/LICENSE.md +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/README.md +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/expectations/block_snippet_extractor.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/expectations/configuration.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/expectations/expectation_target.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/expectations/fail_with.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/expectations/failure_aggregator.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/expectations/handler.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/expectations/minitest_integration.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/expectations/syntax.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/expectations/version.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/expectations.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/aliased_matcher.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/all.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/base_matcher.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/be.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/be_between.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/be_instance_of.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/be_kind_of.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/be_within.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/change.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/compound.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/contain_exactly.rb +10 -2
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/count_expectation.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/cover.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/eq.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/eql.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/equal.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/exist.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/has.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/have_attributes.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/include.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/match.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/operators.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/output.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/raise_error.rb +6 -6
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/respond_to.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/satisfy.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/start_or_end_with.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/throw_symbol.rb +4 -4
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/yield.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/composable.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/dsl.rb +2 -2
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/english_phrasing.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/expecteds_for_multiple_diffs.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/fail_matchers.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/generated_descriptions.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/matcher_delegator.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/matcher_protocol.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers.rb +3 -3
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/Changelog.md +8 -1
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/LICENSE.md +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/README.md +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/caller_filter.rb +2 -2
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/comparable_version.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/differ.rb +4 -4
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/directory_maker.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/encoded_string.rb +3 -3
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/fuzzy_matcher.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/hunk_generator.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/matcher_definition.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/method_signature_verifier.rb +2 -2
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/mutex.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/object_formatter.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/recursive_const_methods.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/reentrant_mutex.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/ruby_features.rb +3 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/source/location.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/source/node.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/source/token.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/source.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/spec/deprecation_helpers.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/spec/diff_helpers.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/spec/formatting_support.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/spec/in_sub_process.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/spec/library_wide_checks.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/spec/shell_out.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/spec/stderr_splitter.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/spec/string_matcher.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/spec/with_isolated_directory.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/spec/with_isolated_stderr.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/spec.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/version.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/warnings.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/with_keywords_when_needed.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/specifications/ZenTest-4.12.1.gemspec +6 -9
- data/vendor/bundle/ruby/2.6.0/specifications/{addressable-2.8.0.gemspec → addressable-2.8.1.gemspec} +12 -14
- data/vendor/bundle/ruby/2.6.0/specifications/autotest-4.4.6.gemspec +8 -13
- data/vendor/bundle/ruby/2.6.0/specifications/autotest-fsevent-0.2.19.gemspec +8 -13
- data/vendor/bundle/ruby/2.6.0/specifications/autotest-growl-0.2.16.gemspec +7 -11
- data/vendor/bundle/ruby/2.6.0/specifications/autotest-rails-pure-4.1.2.gemspec +2 -2
- data/vendor/bundle/ruby/2.6.0/specifications/crack-0.4.5.gemspec +5 -7
- data/vendor/bundle/ruby/2.6.0/specifications/diff-lcs-1.5.0.gemspec +12 -21
- data/vendor/bundle/ruby/2.6.0/specifications/ethon-0.15.0.gemspec +5 -7
- data/vendor/bundle/ruby/2.6.0/specifications/ffi-1.15.5.gemspec +8 -13
- data/vendor/bundle/ruby/2.6.0/specifications/hashdiff-1.0.1.gemspec +9 -15
- data/vendor/bundle/ruby/2.6.0/specifications/json-2.6.2.gemspec +0 -0
- data/vendor/bundle/ruby/2.6.0/specifications/{public_suffix-4.0.7.gemspec → public_suffix-5.0.0.gemspec} +7 -7
- data/vendor/bundle/ruby/2.6.0/specifications/rake-12.3.3.gemspec +9 -15
- data/vendor/bundle/ruby/2.6.0/specifications/rexml-3.2.5.gemspec +7 -11
- data/vendor/bundle/ruby/2.6.0/specifications/rspec-3.11.0.gemspec +7 -11
- data/vendor/bundle/ruby/2.6.0/specifications/rspec-core-3.11.0.gemspec +13 -23
- data/vendor/bundle/ruby/2.6.0/specifications/{rspec-expectations-3.11.0.gemspec → rspec-expectations-3.11.1.gemspec} +15 -22
- data/vendor/bundle/ruby/2.6.0/specifications/rspec-mocks-3.11.1.gemspec +10 -17
- data/vendor/bundle/ruby/2.6.0/specifications/{rspec-support-3.11.0.gemspec → rspec-support-3.11.1.gemspec} +11 -14
- data/vendor/bundle/ruby/2.6.0/specifications/sys-uname-1.2.2.gemspec +7 -11
- data/vendor/bundle/ruby/2.6.0/specifications/typhoeus-1.4.0.gemspec +5 -7
- data/vendor/bundle/ruby/2.6.0/specifications/vcr-3.0.3.gemspec +26 -49
- data/vendor/bundle/ruby/2.6.0/specifications/webmock-1.24.6.gemspec +19 -35
- metadata +284 -192
- data/vendor/bundle/ruby/2.6.0/cache/addressable-2.8.0.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/public_suffix-4.0.7.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/rspec-expectations-3.11.0.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/rspec-support-3.11.0.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/addressable-2.8.0/addressable.gemspec +0 -37
|
@@ -178,6 +178,178 @@ module CloudsmithApi
|
|
|
178
178
|
end
|
|
179
179
|
return data, status_code, headers
|
|
180
180
|
end
|
|
181
|
+
# Set the active GPG key for the Repository.
|
|
182
|
+
# Set the active GPG key for the Repository.
|
|
183
|
+
# @param owner
|
|
184
|
+
# @param identifier
|
|
185
|
+
# @param [Hash] opts the optional parameters
|
|
186
|
+
# @option opts [ReposGpgCreate] :data
|
|
187
|
+
# @return [RepositoryGpgKey]
|
|
188
|
+
def repos_gpg_create(owner, identifier, opts = {})
|
|
189
|
+
data, _status_code, _headers = repos_gpg_create_with_http_info(owner, identifier, opts)
|
|
190
|
+
data
|
|
191
|
+
end
|
|
192
|
+
|
|
193
|
+
# Set the active GPG key for the Repository.
|
|
194
|
+
# Set the active GPG key for the Repository.
|
|
195
|
+
# @param owner
|
|
196
|
+
# @param identifier
|
|
197
|
+
# @param [Hash] opts the optional parameters
|
|
198
|
+
# @option opts [ReposGpgCreate] :data
|
|
199
|
+
# @return [Array<(RepositoryGpgKey, Fixnum, Hash)>] RepositoryGpgKey data, response status code and response headers
|
|
200
|
+
def repos_gpg_create_with_http_info(owner, identifier, opts = {})
|
|
201
|
+
if @api_client.config.debugging
|
|
202
|
+
@api_client.config.logger.debug 'Calling API: ReposApi.repos_gpg_create ...'
|
|
203
|
+
end
|
|
204
|
+
# verify the required parameter 'owner' is set
|
|
205
|
+
if @api_client.config.client_side_validation && owner.nil?
|
|
206
|
+
fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_gpg_create"
|
|
207
|
+
end
|
|
208
|
+
# verify the required parameter 'identifier' is set
|
|
209
|
+
if @api_client.config.client_side_validation && identifier.nil?
|
|
210
|
+
fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_gpg_create"
|
|
211
|
+
end
|
|
212
|
+
# resource path
|
|
213
|
+
local_var_path = '/repos/{owner}/{identifier}/gpg/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s)
|
|
214
|
+
|
|
215
|
+
# query parameters
|
|
216
|
+
query_params = {}
|
|
217
|
+
|
|
218
|
+
# header parameters
|
|
219
|
+
header_params = {}
|
|
220
|
+
# HTTP header 'Content-Type'
|
|
221
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
|
222
|
+
|
|
223
|
+
# form parameters
|
|
224
|
+
form_params = {}
|
|
225
|
+
|
|
226
|
+
# http body (model)
|
|
227
|
+
post_body = @api_client.object_to_http_body(opts[:'data'])
|
|
228
|
+
auth_names = ['apikey']
|
|
229
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
230
|
+
:header_params => header_params,
|
|
231
|
+
:query_params => query_params,
|
|
232
|
+
:form_params => form_params,
|
|
233
|
+
:body => post_body,
|
|
234
|
+
:auth_names => auth_names,
|
|
235
|
+
:return_type => 'RepositoryGpgKey')
|
|
236
|
+
if @api_client.config.debugging
|
|
237
|
+
@api_client.config.logger.debug "API called: ReposApi#repos_gpg_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
238
|
+
end
|
|
239
|
+
return data, status_code, headers
|
|
240
|
+
end
|
|
241
|
+
# Retrieve the active GPG key for the Repository.
|
|
242
|
+
# Retrieve the active GPG key for the Repository.
|
|
243
|
+
# @param owner
|
|
244
|
+
# @param identifier
|
|
245
|
+
# @param [Hash] opts the optional parameters
|
|
246
|
+
# @return [RepositoryGpgKey]
|
|
247
|
+
def repos_gpg_list(owner, identifier, opts = {})
|
|
248
|
+
data, _status_code, _headers = repos_gpg_list_with_http_info(owner, identifier, opts)
|
|
249
|
+
data
|
|
250
|
+
end
|
|
251
|
+
|
|
252
|
+
# Retrieve the active GPG key for the Repository.
|
|
253
|
+
# Retrieve the active GPG key for the Repository.
|
|
254
|
+
# @param owner
|
|
255
|
+
# @param identifier
|
|
256
|
+
# @param [Hash] opts the optional parameters
|
|
257
|
+
# @return [Array<(RepositoryGpgKey, Fixnum, Hash)>] RepositoryGpgKey data, response status code and response headers
|
|
258
|
+
def repos_gpg_list_with_http_info(owner, identifier, opts = {})
|
|
259
|
+
if @api_client.config.debugging
|
|
260
|
+
@api_client.config.logger.debug 'Calling API: ReposApi.repos_gpg_list ...'
|
|
261
|
+
end
|
|
262
|
+
# verify the required parameter 'owner' is set
|
|
263
|
+
if @api_client.config.client_side_validation && owner.nil?
|
|
264
|
+
fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_gpg_list"
|
|
265
|
+
end
|
|
266
|
+
# verify the required parameter 'identifier' is set
|
|
267
|
+
if @api_client.config.client_side_validation && identifier.nil?
|
|
268
|
+
fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_gpg_list"
|
|
269
|
+
end
|
|
270
|
+
# resource path
|
|
271
|
+
local_var_path = '/repos/{owner}/{identifier}/gpg/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s)
|
|
272
|
+
|
|
273
|
+
# query parameters
|
|
274
|
+
query_params = {}
|
|
275
|
+
|
|
276
|
+
# header parameters
|
|
277
|
+
header_params = {}
|
|
278
|
+
|
|
279
|
+
# form parameters
|
|
280
|
+
form_params = {}
|
|
281
|
+
|
|
282
|
+
# http body (model)
|
|
283
|
+
post_body = nil
|
|
284
|
+
auth_names = ['apikey']
|
|
285
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
286
|
+
:header_params => header_params,
|
|
287
|
+
:query_params => query_params,
|
|
288
|
+
:form_params => form_params,
|
|
289
|
+
:body => post_body,
|
|
290
|
+
:auth_names => auth_names,
|
|
291
|
+
:return_type => 'RepositoryGpgKey')
|
|
292
|
+
if @api_client.config.debugging
|
|
293
|
+
@api_client.config.logger.debug "API called: ReposApi#repos_gpg_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
294
|
+
end
|
|
295
|
+
return data, status_code, headers
|
|
296
|
+
end
|
|
297
|
+
# Regenerate GPG Key for the Repository.
|
|
298
|
+
# Regenerate GPG Key for the Repository.
|
|
299
|
+
# @param owner
|
|
300
|
+
# @param identifier
|
|
301
|
+
# @param [Hash] opts the optional parameters
|
|
302
|
+
# @return [RepositoryGpgKey]
|
|
303
|
+
def repos_gpg_regenerate(owner, identifier, opts = {})
|
|
304
|
+
data, _status_code, _headers = repos_gpg_regenerate_with_http_info(owner, identifier, opts)
|
|
305
|
+
data
|
|
306
|
+
end
|
|
307
|
+
|
|
308
|
+
# Regenerate GPG Key for the Repository.
|
|
309
|
+
# Regenerate GPG Key for the Repository.
|
|
310
|
+
# @param owner
|
|
311
|
+
# @param identifier
|
|
312
|
+
# @param [Hash] opts the optional parameters
|
|
313
|
+
# @return [Array<(RepositoryGpgKey, Fixnum, Hash)>] RepositoryGpgKey data, response status code and response headers
|
|
314
|
+
def repos_gpg_regenerate_with_http_info(owner, identifier, opts = {})
|
|
315
|
+
if @api_client.config.debugging
|
|
316
|
+
@api_client.config.logger.debug 'Calling API: ReposApi.repos_gpg_regenerate ...'
|
|
317
|
+
end
|
|
318
|
+
# verify the required parameter 'owner' is set
|
|
319
|
+
if @api_client.config.client_side_validation && owner.nil?
|
|
320
|
+
fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_gpg_regenerate"
|
|
321
|
+
end
|
|
322
|
+
# verify the required parameter 'identifier' is set
|
|
323
|
+
if @api_client.config.client_side_validation && identifier.nil?
|
|
324
|
+
fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_gpg_regenerate"
|
|
325
|
+
end
|
|
326
|
+
# resource path
|
|
327
|
+
local_var_path = '/repos/{owner}/{identifier}/gpg/regenerate/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s)
|
|
328
|
+
|
|
329
|
+
# query parameters
|
|
330
|
+
query_params = {}
|
|
331
|
+
|
|
332
|
+
# header parameters
|
|
333
|
+
header_params = {}
|
|
334
|
+
|
|
335
|
+
# form parameters
|
|
336
|
+
form_params = {}
|
|
337
|
+
|
|
338
|
+
# http body (model)
|
|
339
|
+
post_body = nil
|
|
340
|
+
auth_names = ['apikey']
|
|
341
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
342
|
+
:header_params => header_params,
|
|
343
|
+
:query_params => query_params,
|
|
344
|
+
:form_params => form_params,
|
|
345
|
+
:body => post_body,
|
|
346
|
+
:auth_names => auth_names,
|
|
347
|
+
:return_type => 'RepositoryGpgKey')
|
|
348
|
+
if @api_client.config.debugging
|
|
349
|
+
@api_client.config.logger.debug "API called: ReposApi#repos_gpg_regenerate\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
350
|
+
end
|
|
351
|
+
return data, status_code, headers
|
|
352
|
+
end
|
|
181
353
|
# Get a list of all repositories within a namespace.
|
|
182
354
|
# Get a list of all repositories within a namespace.
|
|
183
355
|
# @param owner
|
|
@@ -294,6 +466,186 @@ module CloudsmithApi
|
|
|
294
466
|
end
|
|
295
467
|
return data, status_code, headers
|
|
296
468
|
end
|
|
469
|
+
# List all explicity created privileges for the repository.
|
|
470
|
+
# List all explicity created privileges for the repository.
|
|
471
|
+
# @param owner
|
|
472
|
+
# @param identifier
|
|
473
|
+
# @param [Hash] opts the optional parameters
|
|
474
|
+
# @option opts [Integer] :page A page number within the paginated result set.
|
|
475
|
+
# @option opts [Integer] :page_size Number of results to return per page.
|
|
476
|
+
# @return [RepositoryPrivilegeInput]
|
|
477
|
+
def repos_privileges_list(owner, identifier, opts = {})
|
|
478
|
+
data, _status_code, _headers = repos_privileges_list_with_http_info(owner, identifier, opts)
|
|
479
|
+
data
|
|
480
|
+
end
|
|
481
|
+
|
|
482
|
+
# List all explicity created privileges for the repository.
|
|
483
|
+
# List all explicity created privileges for the repository.
|
|
484
|
+
# @param owner
|
|
485
|
+
# @param identifier
|
|
486
|
+
# @param [Hash] opts the optional parameters
|
|
487
|
+
# @option opts [Integer] :page A page number within the paginated result set.
|
|
488
|
+
# @option opts [Integer] :page_size Number of results to return per page.
|
|
489
|
+
# @return [Array<(RepositoryPrivilegeInput, Fixnum, Hash)>] RepositoryPrivilegeInput data, response status code and response headers
|
|
490
|
+
def repos_privileges_list_with_http_info(owner, identifier, opts = {})
|
|
491
|
+
if @api_client.config.debugging
|
|
492
|
+
@api_client.config.logger.debug 'Calling API: ReposApi.repos_privileges_list ...'
|
|
493
|
+
end
|
|
494
|
+
# verify the required parameter 'owner' is set
|
|
495
|
+
if @api_client.config.client_side_validation && owner.nil?
|
|
496
|
+
fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_privileges_list"
|
|
497
|
+
end
|
|
498
|
+
# verify the required parameter 'identifier' is set
|
|
499
|
+
if @api_client.config.client_side_validation && identifier.nil?
|
|
500
|
+
fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_privileges_list"
|
|
501
|
+
end
|
|
502
|
+
# resource path
|
|
503
|
+
local_var_path = '/repos/{owner}/{identifier}/privileges'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s)
|
|
504
|
+
|
|
505
|
+
# query parameters
|
|
506
|
+
query_params = {}
|
|
507
|
+
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
|
508
|
+
query_params[:'page_size'] = opts[:'page_size'] if !opts[:'page_size'].nil?
|
|
509
|
+
|
|
510
|
+
# header parameters
|
|
511
|
+
header_params = {}
|
|
512
|
+
|
|
513
|
+
# form parameters
|
|
514
|
+
form_params = {}
|
|
515
|
+
|
|
516
|
+
# http body (model)
|
|
517
|
+
post_body = nil
|
|
518
|
+
auth_names = ['apikey']
|
|
519
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
520
|
+
:header_params => header_params,
|
|
521
|
+
:query_params => query_params,
|
|
522
|
+
:form_params => form_params,
|
|
523
|
+
:body => post_body,
|
|
524
|
+
:auth_names => auth_names,
|
|
525
|
+
:return_type => 'RepositoryPrivilegeInput')
|
|
526
|
+
if @api_client.config.debugging
|
|
527
|
+
@api_client.config.logger.debug "API called: ReposApi#repos_privileges_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
528
|
+
end
|
|
529
|
+
return data, status_code, headers
|
|
530
|
+
end
|
|
531
|
+
# Modify privileges for the repository.
|
|
532
|
+
# Modify privileges for the repository.
|
|
533
|
+
# @param owner
|
|
534
|
+
# @param identifier
|
|
535
|
+
# @param [Hash] opts the optional parameters
|
|
536
|
+
# @option opts [ReposPrivilegesPartialUpdate] :data
|
|
537
|
+
# @return [nil]
|
|
538
|
+
def repos_privileges_partial_update(owner, identifier, opts = {})
|
|
539
|
+
repos_privileges_partial_update_with_http_info(owner, identifier, opts)
|
|
540
|
+
nil
|
|
541
|
+
end
|
|
542
|
+
|
|
543
|
+
# Modify privileges for the repository.
|
|
544
|
+
# Modify privileges for the repository.
|
|
545
|
+
# @param owner
|
|
546
|
+
# @param identifier
|
|
547
|
+
# @param [Hash] opts the optional parameters
|
|
548
|
+
# @option opts [ReposPrivilegesPartialUpdate] :data
|
|
549
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
|
550
|
+
def repos_privileges_partial_update_with_http_info(owner, identifier, opts = {})
|
|
551
|
+
if @api_client.config.debugging
|
|
552
|
+
@api_client.config.logger.debug 'Calling API: ReposApi.repos_privileges_partial_update ...'
|
|
553
|
+
end
|
|
554
|
+
# verify the required parameter 'owner' is set
|
|
555
|
+
if @api_client.config.client_side_validation && owner.nil?
|
|
556
|
+
fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_privileges_partial_update"
|
|
557
|
+
end
|
|
558
|
+
# verify the required parameter 'identifier' is set
|
|
559
|
+
if @api_client.config.client_side_validation && identifier.nil?
|
|
560
|
+
fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_privileges_partial_update"
|
|
561
|
+
end
|
|
562
|
+
# resource path
|
|
563
|
+
local_var_path = '/repos/{owner}/{identifier}/privileges'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s)
|
|
564
|
+
|
|
565
|
+
# query parameters
|
|
566
|
+
query_params = {}
|
|
567
|
+
|
|
568
|
+
# header parameters
|
|
569
|
+
header_params = {}
|
|
570
|
+
# HTTP header 'Content-Type'
|
|
571
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
|
572
|
+
|
|
573
|
+
# form parameters
|
|
574
|
+
form_params = {}
|
|
575
|
+
|
|
576
|
+
# http body (model)
|
|
577
|
+
post_body = @api_client.object_to_http_body(opts[:'data'])
|
|
578
|
+
auth_names = ['apikey']
|
|
579
|
+
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
|
|
580
|
+
:header_params => header_params,
|
|
581
|
+
:query_params => query_params,
|
|
582
|
+
:form_params => form_params,
|
|
583
|
+
:body => post_body,
|
|
584
|
+
:auth_names => auth_names)
|
|
585
|
+
if @api_client.config.debugging
|
|
586
|
+
@api_client.config.logger.debug "API called: ReposApi#repos_privileges_partial_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
587
|
+
end
|
|
588
|
+
return data, status_code, headers
|
|
589
|
+
end
|
|
590
|
+
# Replace all existing repository privileges with those specified.
|
|
591
|
+
# Replace all existing repository privileges with those specified.
|
|
592
|
+
# @param owner
|
|
593
|
+
# @param identifier
|
|
594
|
+
# @param [Hash] opts the optional parameters
|
|
595
|
+
# @option opts [ReposPrivilegesUpdate] :data
|
|
596
|
+
# @return [nil]
|
|
597
|
+
def repos_privileges_update(owner, identifier, opts = {})
|
|
598
|
+
repos_privileges_update_with_http_info(owner, identifier, opts)
|
|
599
|
+
nil
|
|
600
|
+
end
|
|
601
|
+
|
|
602
|
+
# Replace all existing repository privileges with those specified.
|
|
603
|
+
# Replace all existing repository privileges with those specified.
|
|
604
|
+
# @param owner
|
|
605
|
+
# @param identifier
|
|
606
|
+
# @param [Hash] opts the optional parameters
|
|
607
|
+
# @option opts [ReposPrivilegesUpdate] :data
|
|
608
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
|
609
|
+
def repos_privileges_update_with_http_info(owner, identifier, opts = {})
|
|
610
|
+
if @api_client.config.debugging
|
|
611
|
+
@api_client.config.logger.debug 'Calling API: ReposApi.repos_privileges_update ...'
|
|
612
|
+
end
|
|
613
|
+
# verify the required parameter 'owner' is set
|
|
614
|
+
if @api_client.config.client_side_validation && owner.nil?
|
|
615
|
+
fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_privileges_update"
|
|
616
|
+
end
|
|
617
|
+
# verify the required parameter 'identifier' is set
|
|
618
|
+
if @api_client.config.client_side_validation && identifier.nil?
|
|
619
|
+
fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_privileges_update"
|
|
620
|
+
end
|
|
621
|
+
# resource path
|
|
622
|
+
local_var_path = '/repos/{owner}/{identifier}/privileges'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s)
|
|
623
|
+
|
|
624
|
+
# query parameters
|
|
625
|
+
query_params = {}
|
|
626
|
+
|
|
627
|
+
# header parameters
|
|
628
|
+
header_params = {}
|
|
629
|
+
# HTTP header 'Content-Type'
|
|
630
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
|
631
|
+
|
|
632
|
+
# form parameters
|
|
633
|
+
form_params = {}
|
|
634
|
+
|
|
635
|
+
# http body (model)
|
|
636
|
+
post_body = @api_client.object_to_http_body(opts[:'data'])
|
|
637
|
+
auth_names = ['apikey']
|
|
638
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
|
639
|
+
:header_params => header_params,
|
|
640
|
+
:query_params => query_params,
|
|
641
|
+
:form_params => form_params,
|
|
642
|
+
:body => post_body,
|
|
643
|
+
:auth_names => auth_names)
|
|
644
|
+
if @api_client.config.debugging
|
|
645
|
+
@api_client.config.logger.debug "API called: ReposApi#repos_privileges_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
646
|
+
end
|
|
647
|
+
return data, status_code, headers
|
|
648
|
+
end
|
|
297
649
|
# Get a specific repository.
|
|
298
650
|
# Get a specific repository.
|
|
299
651
|
# @param owner
|
|
@@ -350,5 +702,177 @@ module CloudsmithApi
|
|
|
350
702
|
end
|
|
351
703
|
return data, status_code, headers
|
|
352
704
|
end
|
|
705
|
+
# Set the active RSA key for the Repository.
|
|
706
|
+
# Set the active RSA key for the Repository.
|
|
707
|
+
# @param owner
|
|
708
|
+
# @param identifier
|
|
709
|
+
# @param [Hash] opts the optional parameters
|
|
710
|
+
# @option opts [ReposRsaCreate] :data
|
|
711
|
+
# @return [RepositoryRsaKey]
|
|
712
|
+
def repos_rsa_create(owner, identifier, opts = {})
|
|
713
|
+
data, _status_code, _headers = repos_rsa_create_with_http_info(owner, identifier, opts)
|
|
714
|
+
data
|
|
715
|
+
end
|
|
716
|
+
|
|
717
|
+
# Set the active RSA key for the Repository.
|
|
718
|
+
# Set the active RSA key for the Repository.
|
|
719
|
+
# @param owner
|
|
720
|
+
# @param identifier
|
|
721
|
+
# @param [Hash] opts the optional parameters
|
|
722
|
+
# @option opts [ReposRsaCreate] :data
|
|
723
|
+
# @return [Array<(RepositoryRsaKey, Fixnum, Hash)>] RepositoryRsaKey data, response status code and response headers
|
|
724
|
+
def repos_rsa_create_with_http_info(owner, identifier, opts = {})
|
|
725
|
+
if @api_client.config.debugging
|
|
726
|
+
@api_client.config.logger.debug 'Calling API: ReposApi.repos_rsa_create ...'
|
|
727
|
+
end
|
|
728
|
+
# verify the required parameter 'owner' is set
|
|
729
|
+
if @api_client.config.client_side_validation && owner.nil?
|
|
730
|
+
fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_rsa_create"
|
|
731
|
+
end
|
|
732
|
+
# verify the required parameter 'identifier' is set
|
|
733
|
+
if @api_client.config.client_side_validation && identifier.nil?
|
|
734
|
+
fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_rsa_create"
|
|
735
|
+
end
|
|
736
|
+
# resource path
|
|
737
|
+
local_var_path = '/repos/{owner}/{identifier}/rsa/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s)
|
|
738
|
+
|
|
739
|
+
# query parameters
|
|
740
|
+
query_params = {}
|
|
741
|
+
|
|
742
|
+
# header parameters
|
|
743
|
+
header_params = {}
|
|
744
|
+
# HTTP header 'Content-Type'
|
|
745
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
|
746
|
+
|
|
747
|
+
# form parameters
|
|
748
|
+
form_params = {}
|
|
749
|
+
|
|
750
|
+
# http body (model)
|
|
751
|
+
post_body = @api_client.object_to_http_body(opts[:'data'])
|
|
752
|
+
auth_names = ['apikey']
|
|
753
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
754
|
+
:header_params => header_params,
|
|
755
|
+
:query_params => query_params,
|
|
756
|
+
:form_params => form_params,
|
|
757
|
+
:body => post_body,
|
|
758
|
+
:auth_names => auth_names,
|
|
759
|
+
:return_type => 'RepositoryRsaKey')
|
|
760
|
+
if @api_client.config.debugging
|
|
761
|
+
@api_client.config.logger.debug "API called: ReposApi#repos_rsa_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
762
|
+
end
|
|
763
|
+
return data, status_code, headers
|
|
764
|
+
end
|
|
765
|
+
# Retrieve the active RSA key for the Repository.
|
|
766
|
+
# Retrieve the active RSA key for the Repository.
|
|
767
|
+
# @param owner
|
|
768
|
+
# @param identifier
|
|
769
|
+
# @param [Hash] opts the optional parameters
|
|
770
|
+
# @return [RepositoryRsaKey]
|
|
771
|
+
def repos_rsa_list(owner, identifier, opts = {})
|
|
772
|
+
data, _status_code, _headers = repos_rsa_list_with_http_info(owner, identifier, opts)
|
|
773
|
+
data
|
|
774
|
+
end
|
|
775
|
+
|
|
776
|
+
# Retrieve the active RSA key for the Repository.
|
|
777
|
+
# Retrieve the active RSA key for the Repository.
|
|
778
|
+
# @param owner
|
|
779
|
+
# @param identifier
|
|
780
|
+
# @param [Hash] opts the optional parameters
|
|
781
|
+
# @return [Array<(RepositoryRsaKey, Fixnum, Hash)>] RepositoryRsaKey data, response status code and response headers
|
|
782
|
+
def repos_rsa_list_with_http_info(owner, identifier, opts = {})
|
|
783
|
+
if @api_client.config.debugging
|
|
784
|
+
@api_client.config.logger.debug 'Calling API: ReposApi.repos_rsa_list ...'
|
|
785
|
+
end
|
|
786
|
+
# verify the required parameter 'owner' is set
|
|
787
|
+
if @api_client.config.client_side_validation && owner.nil?
|
|
788
|
+
fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_rsa_list"
|
|
789
|
+
end
|
|
790
|
+
# verify the required parameter 'identifier' is set
|
|
791
|
+
if @api_client.config.client_side_validation && identifier.nil?
|
|
792
|
+
fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_rsa_list"
|
|
793
|
+
end
|
|
794
|
+
# resource path
|
|
795
|
+
local_var_path = '/repos/{owner}/{identifier}/rsa/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s)
|
|
796
|
+
|
|
797
|
+
# query parameters
|
|
798
|
+
query_params = {}
|
|
799
|
+
|
|
800
|
+
# header parameters
|
|
801
|
+
header_params = {}
|
|
802
|
+
|
|
803
|
+
# form parameters
|
|
804
|
+
form_params = {}
|
|
805
|
+
|
|
806
|
+
# http body (model)
|
|
807
|
+
post_body = nil
|
|
808
|
+
auth_names = ['apikey']
|
|
809
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
810
|
+
:header_params => header_params,
|
|
811
|
+
:query_params => query_params,
|
|
812
|
+
:form_params => form_params,
|
|
813
|
+
:body => post_body,
|
|
814
|
+
:auth_names => auth_names,
|
|
815
|
+
:return_type => 'RepositoryRsaKey')
|
|
816
|
+
if @api_client.config.debugging
|
|
817
|
+
@api_client.config.logger.debug "API called: ReposApi#repos_rsa_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
818
|
+
end
|
|
819
|
+
return data, status_code, headers
|
|
820
|
+
end
|
|
821
|
+
# Regenerate RSA Key for the Repository.
|
|
822
|
+
# Regenerate RSA Key for the Repository.
|
|
823
|
+
# @param owner
|
|
824
|
+
# @param identifier
|
|
825
|
+
# @param [Hash] opts the optional parameters
|
|
826
|
+
# @return [RepositoryRsaKey]
|
|
827
|
+
def repos_rsa_regenerate(owner, identifier, opts = {})
|
|
828
|
+
data, _status_code, _headers = repos_rsa_regenerate_with_http_info(owner, identifier, opts)
|
|
829
|
+
data
|
|
830
|
+
end
|
|
831
|
+
|
|
832
|
+
# Regenerate RSA Key for the Repository.
|
|
833
|
+
# Regenerate RSA Key for the Repository.
|
|
834
|
+
# @param owner
|
|
835
|
+
# @param identifier
|
|
836
|
+
# @param [Hash] opts the optional parameters
|
|
837
|
+
# @return [Array<(RepositoryRsaKey, Fixnum, Hash)>] RepositoryRsaKey data, response status code and response headers
|
|
838
|
+
def repos_rsa_regenerate_with_http_info(owner, identifier, opts = {})
|
|
839
|
+
if @api_client.config.debugging
|
|
840
|
+
@api_client.config.logger.debug 'Calling API: ReposApi.repos_rsa_regenerate ...'
|
|
841
|
+
end
|
|
842
|
+
# verify the required parameter 'owner' is set
|
|
843
|
+
if @api_client.config.client_side_validation && owner.nil?
|
|
844
|
+
fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_rsa_regenerate"
|
|
845
|
+
end
|
|
846
|
+
# verify the required parameter 'identifier' is set
|
|
847
|
+
if @api_client.config.client_side_validation && identifier.nil?
|
|
848
|
+
fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_rsa_regenerate"
|
|
849
|
+
end
|
|
850
|
+
# resource path
|
|
851
|
+
local_var_path = '/repos/{owner}/{identifier}/rsa/regenerate/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s)
|
|
852
|
+
|
|
853
|
+
# query parameters
|
|
854
|
+
query_params = {}
|
|
855
|
+
|
|
856
|
+
# header parameters
|
|
857
|
+
header_params = {}
|
|
858
|
+
|
|
859
|
+
# form parameters
|
|
860
|
+
form_params = {}
|
|
861
|
+
|
|
862
|
+
# http body (model)
|
|
863
|
+
post_body = nil
|
|
864
|
+
auth_names = ['apikey']
|
|
865
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
866
|
+
:header_params => header_params,
|
|
867
|
+
:query_params => query_params,
|
|
868
|
+
:form_params => form_params,
|
|
869
|
+
:body => post_body,
|
|
870
|
+
:auth_names => auth_names,
|
|
871
|
+
:return_type => 'RepositoryRsaKey')
|
|
872
|
+
if @api_client.config.debugging
|
|
873
|
+
@api_client.config.logger.debug "API called: ReposApi#repos_rsa_regenerate\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
874
|
+
end
|
|
875
|
+
return data, status_code, headers
|
|
876
|
+
end
|
|
353
877
|
end
|
|
354
878
|
end
|
|
@@ -110,6 +110,12 @@ module CloudsmithApi
|
|
|
110
110
|
#
|
|
111
111
|
attr_accessor :num_files
|
|
112
112
|
|
|
113
|
+
#
|
|
114
|
+
attr_accessor :origin_repository
|
|
115
|
+
|
|
116
|
+
#
|
|
117
|
+
attr_accessor :origin_repository_url
|
|
118
|
+
|
|
113
119
|
# The type of package contents.
|
|
114
120
|
attr_accessor :package_type
|
|
115
121
|
|
|
@@ -212,6 +218,28 @@ module CloudsmithApi
|
|
|
212
218
|
#
|
|
213
219
|
attr_accessor :vulnerability_scan_results_url
|
|
214
220
|
|
|
221
|
+
class EnumAttributeValidator
|
|
222
|
+
attr_reader :datatype
|
|
223
|
+
attr_reader :allowable_values
|
|
224
|
+
|
|
225
|
+
def initialize(datatype, allowable_values)
|
|
226
|
+
@allowable_values = allowable_values.map do |value|
|
|
227
|
+
case datatype.to_s
|
|
228
|
+
when /Integer/i
|
|
229
|
+
value.to_i
|
|
230
|
+
when /Float/i
|
|
231
|
+
value.to_f
|
|
232
|
+
else
|
|
233
|
+
value
|
|
234
|
+
end
|
|
235
|
+
end
|
|
236
|
+
end
|
|
237
|
+
|
|
238
|
+
def valid?(value)
|
|
239
|
+
!value || allowable_values.include?(value)
|
|
240
|
+
end
|
|
241
|
+
end
|
|
242
|
+
|
|
215
243
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
216
244
|
def self.attribute_map
|
|
217
245
|
{
|
|
@@ -247,6 +275,8 @@ module CloudsmithApi
|
|
|
247
275
|
:'namespace' => :'namespace',
|
|
248
276
|
:'namespace_url' => :'namespace_url',
|
|
249
277
|
:'num_files' => :'num_files',
|
|
278
|
+
:'origin_repository' => :'origin_repository',
|
|
279
|
+
:'origin_repository_url' => :'origin_repository_url',
|
|
250
280
|
:'package_type' => :'package_type',
|
|
251
281
|
:'release' => :'release',
|
|
252
282
|
:'repository' => :'repository',
|
|
@@ -319,6 +349,8 @@ module CloudsmithApi
|
|
|
319
349
|
:'namespace' => :'String',
|
|
320
350
|
:'namespace_url' => :'String',
|
|
321
351
|
:'num_files' => :'Integer',
|
|
352
|
+
:'origin_repository' => :'String',
|
|
353
|
+
:'origin_repository_url' => :'String',
|
|
322
354
|
:'package_type' => :'Integer',
|
|
323
355
|
:'release' => :'String',
|
|
324
356
|
:'repository' => :'String',
|
|
@@ -496,6 +528,14 @@ module CloudsmithApi
|
|
|
496
528
|
self.num_files = attributes[:'num_files']
|
|
497
529
|
end
|
|
498
530
|
|
|
531
|
+
if attributes.has_key?(:'origin_repository')
|
|
532
|
+
self.origin_repository = attributes[:'origin_repository']
|
|
533
|
+
end
|
|
534
|
+
|
|
535
|
+
if attributes.has_key?(:'origin_repository_url')
|
|
536
|
+
self.origin_repository_url = attributes[:'origin_repository_url']
|
|
537
|
+
end
|
|
538
|
+
|
|
499
539
|
if attributes.has_key?(:'package_type')
|
|
500
540
|
self.package_type = attributes[:'package_type']
|
|
501
541
|
end
|
|
@@ -643,9 +683,21 @@ module CloudsmithApi
|
|
|
643
683
|
# Check to see if the all the properties in the model are valid
|
|
644
684
|
# @return true if the model is valid
|
|
645
685
|
def valid?
|
|
686
|
+
security_scan_status_validator = EnumAttributeValidator.new('String', ['Awaiting Security Scan', 'Security Scanning in Progress', 'Scan Detected Vulnerabilities', 'Scan Detected No Vulnerabilities', 'Security Scanning Disabled', 'Security Scanning Failed', 'Security Scanning Skipped', 'Security Scanning Not Supported'])
|
|
687
|
+
return false unless security_scan_status_validator.valid?(@security_scan_status)
|
|
646
688
|
true
|
|
647
689
|
end
|
|
648
690
|
|
|
691
|
+
# Custom attribute writer method checking allowed values (enum).
|
|
692
|
+
# @param [Object] security_scan_status Object to be assigned
|
|
693
|
+
def security_scan_status=(security_scan_status)
|
|
694
|
+
validator = EnumAttributeValidator.new('String', ['Awaiting Security Scan', 'Security Scanning in Progress', 'Scan Detected Vulnerabilities', 'Scan Detected No Vulnerabilities', 'Security Scanning Disabled', 'Security Scanning Failed', 'Security Scanning Skipped', 'Security Scanning Not Supported'])
|
|
695
|
+
unless validator.valid?(security_scan_status)
|
|
696
|
+
fail ArgumentError, 'invalid value for "security_scan_status", must be one of #{validator.allowable_values}.'
|
|
697
|
+
end
|
|
698
|
+
@security_scan_status = security_scan_status
|
|
699
|
+
end
|
|
700
|
+
|
|
649
701
|
# Checks equality by comparing each attribute.
|
|
650
702
|
# @param [Object] Object to be compared
|
|
651
703
|
def ==(o)
|
|
@@ -683,6 +735,8 @@ module CloudsmithApi
|
|
|
683
735
|
namespace == o.namespace &&
|
|
684
736
|
namespace_url == o.namespace_url &&
|
|
685
737
|
num_files == o.num_files &&
|
|
738
|
+
origin_repository == o.origin_repository &&
|
|
739
|
+
origin_repository_url == o.origin_repository_url &&
|
|
686
740
|
package_type == o.package_type &&
|
|
687
741
|
release == o.release &&
|
|
688
742
|
repository == o.repository &&
|
|
@@ -728,7 +782,7 @@ module CloudsmithApi
|
|
|
728
782
|
# Calculates hash code according to all attributes.
|
|
729
783
|
# @return [Fixnum] Hash code
|
|
730
784
|
def hash
|
|
731
|
-
[architectures, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, dependencies_checksum_md5, dependencies_url, description, distro, distro_version, downloads, epoch, extension, filename, files, format, format_url, identifier_perm, indexed, is_downloadable, is_quarantined, is_sync_awaiting, is_sync_completed, is_sync_failed, is_sync_in_flight, is_sync_in_progress, license, name, namespace, namespace_url, num_files, package_type, release, repository, repository_url, security_scan_completed_at, security_scan_started_at, security_scan_status, security_scan_status_updated_at, self_html_url, self_url, signature_url, size, slug, slug_perm, stage, stage_str, stage_updated_at, status, status_reason, status_str, status_updated_at, status_url, subtype, summary, sync_finished_at, sync_progress, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig, vulnerability_scan_results_url].hash
|
|
785
|
+
[architectures, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, dependencies_checksum_md5, dependencies_url, description, distro, distro_version, downloads, epoch, extension, filename, files, format, format_url, identifier_perm, indexed, is_downloadable, is_quarantined, is_sync_awaiting, is_sync_completed, is_sync_failed, is_sync_in_flight, is_sync_in_progress, license, name, namespace, namespace_url, num_files, origin_repository, origin_repository_url, package_type, release, repository, repository_url, security_scan_completed_at, security_scan_started_at, security_scan_status, security_scan_status_updated_at, self_html_url, self_url, signature_url, size, slug, slug_perm, stage, stage_str, stage_updated_at, status, status_reason, status_str, status_updated_at, status_url, subtype, summary, sync_finished_at, sync_progress, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig, vulnerability_scan_results_url].hash
|
|
732
786
|
end
|
|
733
787
|
|
|
734
788
|
# Builds the object from hash
|