cloudsmith-api 1.61.3 → 1.142.3
Sign up to get free protection for your applications and to get access to all the features.
- 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
@@ -14,40 +14,212 @@ require 'date'
|
|
14
14
|
|
15
15
|
module CloudsmithApi
|
16
16
|
class ReposPartialUpdate
|
17
|
+
# The repository content kind determines whether this repository contains packages, or provides a distribution of packages from other repositories. You can only select the content kind at repository creation time.
|
18
|
+
attr_accessor :content_kind
|
19
|
+
|
20
|
+
# If checked, missing credentials for this repository where basic authentication is required shall present an enriched value in the 'WWW-Authenticate' header containing the namespace and repository. This can be useful for tooling such as SBT where the authentication realm is used to distinguish and disambiguate credentials.
|
21
|
+
attr_accessor :contextual_auth_realm
|
22
|
+
|
23
|
+
# If checked, users can copy any of their own packages that they have uploaded, assuming that they still have write privilege for the repository. This takes precedence over privileges configured in the 'Access Controls' section of the repository, and any inherited from the org.
|
24
|
+
attr_accessor :copy_own
|
25
|
+
|
26
|
+
# This defines the minimum level of privilege required for a user to copy packages. Unless the package was uploaded by that user, in which the permission may be overridden by the user-specific copy setting.
|
27
|
+
attr_accessor :copy_packages
|
28
|
+
|
29
|
+
# This defines the default level of privilege that all of your organization members have for this repository. This does not include collaborators, but applies to any member of the org regardless of their own membership role (i.e. it applies to owners, managers and members). Be careful if setting this to admin, because any member will be able to change settings.
|
30
|
+
attr_accessor :default_privilege
|
31
|
+
|
32
|
+
# If checked, users can delete any of their own packages that they have uploaded, assuming that they still have write privilege for the repository. This takes precedence over privileges configured in the 'Access Controls' section of the repository, and any inherited from the org.
|
33
|
+
attr_accessor :delete_own
|
34
|
+
|
35
|
+
# This defines the minimum level of privilege required for a user to delete packages. Unless the package was uploaded by that user, in which the permission may be overridden by the user-specific delete setting.
|
36
|
+
attr_accessor :delete_packages
|
37
|
+
|
17
38
|
# A description of the repository's purpose/contents.
|
18
39
|
attr_accessor :description
|
19
40
|
|
41
|
+
# The repositories distributed through this repo. Adding repos here is only valid if the content_kind is DISTRIBUTION.
|
42
|
+
attr_accessor :distributes
|
43
|
+
|
44
|
+
# If checked, refresh tokens will be issued in addition to access tokens for Docker authentication. This allows unlimited extension of the lifetime of access tokens.
|
45
|
+
attr_accessor :docker_refresh_tokens_enabled
|
46
|
+
|
20
47
|
# If checked, files contained in packages will be indexed, which increase the synchronisation time required for packages. Note that it is recommended you keep this enabled unless the synchronisation time is significantly impacted.
|
21
48
|
attr_accessor :index_files
|
22
49
|
|
50
|
+
# If checked, users can move any of their own packages that they have uploaded, assuming that they still have write privilege for the repository. This takes precedence over privileges configured in the 'Access Controls' section of the repository, and any inherited from the org.
|
51
|
+
attr_accessor :move_own
|
52
|
+
|
53
|
+
# This defines the minimum level of privilege required for a user to move packages. Unless the package was uploaded by that user, in which the permission may be overridden by the user-specific move setting.
|
54
|
+
attr_accessor :move_packages
|
55
|
+
|
23
56
|
# A descriptive name for the repository.
|
24
57
|
attr_accessor :name
|
25
58
|
|
59
|
+
# If checked, Npm packages that are not in the repository when requested by clients will automatically be proxied from the public npmjs.org registry. If there is at least one version for a package, others will not be proxied.
|
60
|
+
attr_accessor :proxy_npmjs
|
61
|
+
|
62
|
+
# If checked, Python packages that are not in the repository when requested by clients will automatically be proxied from the public pypi.python.org registry. If there is at least one version for a package, others will not be proxied.
|
63
|
+
attr_accessor :proxy_pypi
|
64
|
+
|
65
|
+
# If checked, HTML and JSON indexes will be generated that list all available raw packages in the repository.
|
66
|
+
attr_accessor :raw_package_index_enabled
|
67
|
+
|
68
|
+
# If checked, the HTML and JSON indexes will display raw package GPG signatures alongside the index packages.
|
69
|
+
attr_accessor :raw_package_index_signatures_enabled
|
70
|
+
|
71
|
+
# This defines the minimum level of privilege required for a user to republish packages. Unless the package was uploaded by that user, in which the permission may be overridden by the user-specific republish setting. Please note that the user still requires the privilege to delete packages that will be replaced by the new package; otherwise the republish will fail.
|
72
|
+
attr_accessor :replace_packages
|
73
|
+
|
74
|
+
# If checked, uploaded packages will overwrite/replace any others with the same attributes (e.g. same version) by default. This only applies if the user has the required privilege for the republishing AND has the required privilege to delete existing packages that they don't own.
|
75
|
+
attr_accessor :replace_packages_by_default
|
76
|
+
|
26
77
|
# The repository type changes how it is accessed and billed. Private repositories can only be used on paid plans, but are visible only to you or authorised delegates. Public repositories are free to use on all plans and visible to all Cloudsmith users.
|
27
78
|
attr_accessor :repository_type_str
|
28
79
|
|
80
|
+
# If checked, users can resync any of their own packages that they have uploaded, assuming that they still have write privilege for the repository. This takes precedence over privileges configured in the 'Access Controls' section of the repository, and any inherited from the org.
|
81
|
+
attr_accessor :resync_own
|
82
|
+
|
83
|
+
# This defines the minimum level of privilege required for a user to resync packages. Unless the package was uploaded by that user, in which the permission may be overridden by the user-specific resync setting.
|
84
|
+
attr_accessor :resync_packages
|
85
|
+
|
86
|
+
# If checked, users can scan any of their own packages that they have uploaded, assuming that they still have write privilege for the repository. This takes precedence over privileges configured in the 'Access Controls' section of the repository, and any inherited from the org.
|
87
|
+
attr_accessor :scan_own
|
88
|
+
|
89
|
+
# This defines the minimum level of privilege required for a user to scan packages. Unless the package was uploaded by that user, in which the permission may be overridden by the user-specific scan setting.
|
90
|
+
attr_accessor :scan_packages
|
91
|
+
|
92
|
+
# If checked, the Set Me Up help for all formats will always be shown, even if you don't have packages of that type uploaded. Otherwise, help will only be shown for packages that are in the repository. For example, if you have uploaded only NuGet packages, then the Set Me Up help for NuGet packages will be shown only.
|
93
|
+
attr_accessor :show_setup_all
|
94
|
+
|
29
95
|
# The slug identifies the repository in URIs.
|
30
96
|
attr_accessor :slug
|
31
97
|
|
98
|
+
# If checked, npm packages will be validated strictly to ensure the package matches specifcation. You can turn this off if you have packages that are old or otherwise mildly off-spec, but we can't guarantee the packages will work with npm-cli or other tooling correctly. Turn off at your own risk!
|
99
|
+
attr_accessor :strict_npm_validation
|
100
|
+
|
101
|
+
# If checked, a 'Label' field will be present in Debian-based repositories. It will contain a string that identifies the entitlement token used to authenticate the repository, in the form of 'source=t-<identifier>'; or 'source=none' if no token was used. You can use this to help with pinning.
|
102
|
+
attr_accessor :use_debian_labels
|
103
|
+
|
104
|
+
# If checked, dependencies of uploaded Cargo crates which do not set an explicit value for \"registry\" will be assumed to be available from crates.io. If unchecked, dependencies with unspecified \"registry\" values will be assumed to be available in the registry being uploaded to. Uncheck this if you want to ensure that dependencies are only ever installed from Cloudsmith unless explicitly specified as belong to another registry.
|
105
|
+
attr_accessor :use_default_cargo_upstream
|
106
|
+
|
107
|
+
# If checked, noarch packages (if supported) are enabled in installations/configurations. A noarch package is one that is not tied to specific system architecture (like i686).
|
108
|
+
attr_accessor :use_noarch_packages
|
109
|
+
|
110
|
+
# If checked, source packages (if supported) are enabled in installations/configurations. A source package is one that contains source code rather than built binaries.
|
111
|
+
attr_accessor :use_source_packages
|
112
|
+
|
113
|
+
# If checked, vulnerability scanning will be enabled for all supported packages within this repository.
|
114
|
+
attr_accessor :use_vulnerability_scanning
|
115
|
+
|
116
|
+
# If checked, users can use and manage their own user-specific entitlement token for the repository (if private). Otherwise, user-specific entitlements are disabled for all users.
|
117
|
+
attr_accessor :user_entitlements_enabled
|
118
|
+
|
119
|
+
# This defines the minimum level of privilege required for a user to view repository statistics, to include entitlement-based usage, if applicable. If a user does not have the permission, they won't be able to view any statistics, either via the UI, API or CLI.
|
120
|
+
attr_accessor :view_statistics
|
121
|
+
|
122
|
+
class EnumAttributeValidator
|
123
|
+
attr_reader :datatype
|
124
|
+
attr_reader :allowable_values
|
125
|
+
|
126
|
+
def initialize(datatype, allowable_values)
|
127
|
+
@allowable_values = allowable_values.map do |value|
|
128
|
+
case datatype.to_s
|
129
|
+
when /Integer/i
|
130
|
+
value.to_i
|
131
|
+
when /Float/i
|
132
|
+
value.to_f
|
133
|
+
else
|
134
|
+
value
|
135
|
+
end
|
136
|
+
end
|
137
|
+
end
|
138
|
+
|
139
|
+
def valid?(value)
|
140
|
+
!value || allowable_values.include?(value)
|
141
|
+
end
|
142
|
+
end
|
143
|
+
|
32
144
|
# Attribute mapping from ruby-style variable name to JSON key.
|
33
145
|
def self.attribute_map
|
34
146
|
{
|
147
|
+
:'content_kind' => :'content_kind',
|
148
|
+
:'contextual_auth_realm' => :'contextual_auth_realm',
|
149
|
+
:'copy_own' => :'copy_own',
|
150
|
+
:'copy_packages' => :'copy_packages',
|
151
|
+
:'default_privilege' => :'default_privilege',
|
152
|
+
:'delete_own' => :'delete_own',
|
153
|
+
:'delete_packages' => :'delete_packages',
|
35
154
|
:'description' => :'description',
|
155
|
+
:'distributes' => :'distributes',
|
156
|
+
:'docker_refresh_tokens_enabled' => :'docker_refresh_tokens_enabled',
|
36
157
|
:'index_files' => :'index_files',
|
158
|
+
:'move_own' => :'move_own',
|
159
|
+
:'move_packages' => :'move_packages',
|
37
160
|
:'name' => :'name',
|
161
|
+
:'proxy_npmjs' => :'proxy_npmjs',
|
162
|
+
:'proxy_pypi' => :'proxy_pypi',
|
163
|
+
:'raw_package_index_enabled' => :'raw_package_index_enabled',
|
164
|
+
:'raw_package_index_signatures_enabled' => :'raw_package_index_signatures_enabled',
|
165
|
+
:'replace_packages' => :'replace_packages',
|
166
|
+
:'replace_packages_by_default' => :'replace_packages_by_default',
|
38
167
|
:'repository_type_str' => :'repository_type_str',
|
39
|
-
:'
|
168
|
+
:'resync_own' => :'resync_own',
|
169
|
+
:'resync_packages' => :'resync_packages',
|
170
|
+
:'scan_own' => :'scan_own',
|
171
|
+
:'scan_packages' => :'scan_packages',
|
172
|
+
:'show_setup_all' => :'show_setup_all',
|
173
|
+
:'slug' => :'slug',
|
174
|
+
:'strict_npm_validation' => :'strict_npm_validation',
|
175
|
+
:'use_debian_labels' => :'use_debian_labels',
|
176
|
+
:'use_default_cargo_upstream' => :'use_default_cargo_upstream',
|
177
|
+
:'use_noarch_packages' => :'use_noarch_packages',
|
178
|
+
:'use_source_packages' => :'use_source_packages',
|
179
|
+
:'use_vulnerability_scanning' => :'use_vulnerability_scanning',
|
180
|
+
:'user_entitlements_enabled' => :'user_entitlements_enabled',
|
181
|
+
:'view_statistics' => :'view_statistics'
|
40
182
|
}
|
41
183
|
end
|
42
184
|
|
43
185
|
# Attribute type mapping.
|
44
186
|
def self.swagger_types
|
45
187
|
{
|
188
|
+
:'content_kind' => :'String',
|
189
|
+
:'contextual_auth_realm' => :'BOOLEAN',
|
190
|
+
:'copy_own' => :'BOOLEAN',
|
191
|
+
:'copy_packages' => :'String',
|
192
|
+
:'default_privilege' => :'String',
|
193
|
+
:'delete_own' => :'BOOLEAN',
|
194
|
+
:'delete_packages' => :'String',
|
46
195
|
:'description' => :'String',
|
196
|
+
:'distributes' => :'Array<String>',
|
197
|
+
:'docker_refresh_tokens_enabled' => :'BOOLEAN',
|
47
198
|
:'index_files' => :'BOOLEAN',
|
199
|
+
:'move_own' => :'BOOLEAN',
|
200
|
+
:'move_packages' => :'String',
|
48
201
|
:'name' => :'String',
|
202
|
+
:'proxy_npmjs' => :'BOOLEAN',
|
203
|
+
:'proxy_pypi' => :'BOOLEAN',
|
204
|
+
:'raw_package_index_enabled' => :'BOOLEAN',
|
205
|
+
:'raw_package_index_signatures_enabled' => :'BOOLEAN',
|
206
|
+
:'replace_packages' => :'String',
|
207
|
+
:'replace_packages_by_default' => :'BOOLEAN',
|
49
208
|
:'repository_type_str' => :'String',
|
50
|
-
:'
|
209
|
+
:'resync_own' => :'BOOLEAN',
|
210
|
+
:'resync_packages' => :'String',
|
211
|
+
:'scan_own' => :'BOOLEAN',
|
212
|
+
:'scan_packages' => :'String',
|
213
|
+
:'show_setup_all' => :'BOOLEAN',
|
214
|
+
:'slug' => :'String',
|
215
|
+
:'strict_npm_validation' => :'BOOLEAN',
|
216
|
+
:'use_debian_labels' => :'BOOLEAN',
|
217
|
+
:'use_default_cargo_upstream' => :'BOOLEAN',
|
218
|
+
:'use_noarch_packages' => :'BOOLEAN',
|
219
|
+
:'use_source_packages' => :'BOOLEAN',
|
220
|
+
:'use_vulnerability_scanning' => :'BOOLEAN',
|
221
|
+
:'user_entitlements_enabled' => :'BOOLEAN',
|
222
|
+
:'view_statistics' => :'String'
|
51
223
|
}
|
52
224
|
end
|
53
225
|
|
@@ -59,25 +231,147 @@ module CloudsmithApi
|
|
59
231
|
# convert string to symbol for hash key
|
60
232
|
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
61
233
|
|
234
|
+
if attributes.has_key?(:'content_kind')
|
235
|
+
self.content_kind = attributes[:'content_kind']
|
236
|
+
end
|
237
|
+
|
238
|
+
if attributes.has_key?(:'contextual_auth_realm')
|
239
|
+
self.contextual_auth_realm = attributes[:'contextual_auth_realm']
|
240
|
+
end
|
241
|
+
|
242
|
+
if attributes.has_key?(:'copy_own')
|
243
|
+
self.copy_own = attributes[:'copy_own']
|
244
|
+
end
|
245
|
+
|
246
|
+
if attributes.has_key?(:'copy_packages')
|
247
|
+
self.copy_packages = attributes[:'copy_packages']
|
248
|
+
end
|
249
|
+
|
250
|
+
if attributes.has_key?(:'default_privilege')
|
251
|
+
self.default_privilege = attributes[:'default_privilege']
|
252
|
+
end
|
253
|
+
|
254
|
+
if attributes.has_key?(:'delete_own')
|
255
|
+
self.delete_own = attributes[:'delete_own']
|
256
|
+
end
|
257
|
+
|
258
|
+
if attributes.has_key?(:'delete_packages')
|
259
|
+
self.delete_packages = attributes[:'delete_packages']
|
260
|
+
end
|
261
|
+
|
62
262
|
if attributes.has_key?(:'description')
|
63
263
|
self.description = attributes[:'description']
|
64
264
|
end
|
65
265
|
|
266
|
+
if attributes.has_key?(:'distributes')
|
267
|
+
if (value = attributes[:'distributes']).is_a?(Array)
|
268
|
+
self.distributes = value
|
269
|
+
end
|
270
|
+
end
|
271
|
+
|
272
|
+
if attributes.has_key?(:'docker_refresh_tokens_enabled')
|
273
|
+
self.docker_refresh_tokens_enabled = attributes[:'docker_refresh_tokens_enabled']
|
274
|
+
end
|
275
|
+
|
66
276
|
if attributes.has_key?(:'index_files')
|
67
277
|
self.index_files = attributes[:'index_files']
|
68
278
|
end
|
69
279
|
|
280
|
+
if attributes.has_key?(:'move_own')
|
281
|
+
self.move_own = attributes[:'move_own']
|
282
|
+
end
|
283
|
+
|
284
|
+
if attributes.has_key?(:'move_packages')
|
285
|
+
self.move_packages = attributes[:'move_packages']
|
286
|
+
end
|
287
|
+
|
70
288
|
if attributes.has_key?(:'name')
|
71
289
|
self.name = attributes[:'name']
|
72
290
|
end
|
73
291
|
|
292
|
+
if attributes.has_key?(:'proxy_npmjs')
|
293
|
+
self.proxy_npmjs = attributes[:'proxy_npmjs']
|
294
|
+
end
|
295
|
+
|
296
|
+
if attributes.has_key?(:'proxy_pypi')
|
297
|
+
self.proxy_pypi = attributes[:'proxy_pypi']
|
298
|
+
end
|
299
|
+
|
300
|
+
if attributes.has_key?(:'raw_package_index_enabled')
|
301
|
+
self.raw_package_index_enabled = attributes[:'raw_package_index_enabled']
|
302
|
+
end
|
303
|
+
|
304
|
+
if attributes.has_key?(:'raw_package_index_signatures_enabled')
|
305
|
+
self.raw_package_index_signatures_enabled = attributes[:'raw_package_index_signatures_enabled']
|
306
|
+
end
|
307
|
+
|
308
|
+
if attributes.has_key?(:'replace_packages')
|
309
|
+
self.replace_packages = attributes[:'replace_packages']
|
310
|
+
end
|
311
|
+
|
312
|
+
if attributes.has_key?(:'replace_packages_by_default')
|
313
|
+
self.replace_packages_by_default = attributes[:'replace_packages_by_default']
|
314
|
+
end
|
315
|
+
|
74
316
|
if attributes.has_key?(:'repository_type_str')
|
75
317
|
self.repository_type_str = attributes[:'repository_type_str']
|
76
318
|
end
|
77
319
|
|
320
|
+
if attributes.has_key?(:'resync_own')
|
321
|
+
self.resync_own = attributes[:'resync_own']
|
322
|
+
end
|
323
|
+
|
324
|
+
if attributes.has_key?(:'resync_packages')
|
325
|
+
self.resync_packages = attributes[:'resync_packages']
|
326
|
+
end
|
327
|
+
|
328
|
+
if attributes.has_key?(:'scan_own')
|
329
|
+
self.scan_own = attributes[:'scan_own']
|
330
|
+
end
|
331
|
+
|
332
|
+
if attributes.has_key?(:'scan_packages')
|
333
|
+
self.scan_packages = attributes[:'scan_packages']
|
334
|
+
end
|
335
|
+
|
336
|
+
if attributes.has_key?(:'show_setup_all')
|
337
|
+
self.show_setup_all = attributes[:'show_setup_all']
|
338
|
+
end
|
339
|
+
|
78
340
|
if attributes.has_key?(:'slug')
|
79
341
|
self.slug = attributes[:'slug']
|
80
342
|
end
|
343
|
+
|
344
|
+
if attributes.has_key?(:'strict_npm_validation')
|
345
|
+
self.strict_npm_validation = attributes[:'strict_npm_validation']
|
346
|
+
end
|
347
|
+
|
348
|
+
if attributes.has_key?(:'use_debian_labels')
|
349
|
+
self.use_debian_labels = attributes[:'use_debian_labels']
|
350
|
+
end
|
351
|
+
|
352
|
+
if attributes.has_key?(:'use_default_cargo_upstream')
|
353
|
+
self.use_default_cargo_upstream = attributes[:'use_default_cargo_upstream']
|
354
|
+
end
|
355
|
+
|
356
|
+
if attributes.has_key?(:'use_noarch_packages')
|
357
|
+
self.use_noarch_packages = attributes[:'use_noarch_packages']
|
358
|
+
end
|
359
|
+
|
360
|
+
if attributes.has_key?(:'use_source_packages')
|
361
|
+
self.use_source_packages = attributes[:'use_source_packages']
|
362
|
+
end
|
363
|
+
|
364
|
+
if attributes.has_key?(:'use_vulnerability_scanning')
|
365
|
+
self.use_vulnerability_scanning = attributes[:'use_vulnerability_scanning']
|
366
|
+
end
|
367
|
+
|
368
|
+
if attributes.has_key?(:'user_entitlements_enabled')
|
369
|
+
self.user_entitlements_enabled = attributes[:'user_entitlements_enabled']
|
370
|
+
end
|
371
|
+
|
372
|
+
if attributes.has_key?(:'view_statistics')
|
373
|
+
self.view_statistics = attributes[:'view_statistics']
|
374
|
+
end
|
81
375
|
end
|
82
376
|
|
83
377
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -90,19 +384,169 @@ module CloudsmithApi
|
|
90
384
|
# Check to see if the all the properties in the model are valid
|
91
385
|
# @return true if the model is valid
|
92
386
|
def valid?
|
387
|
+
content_kind_validator = EnumAttributeValidator.new('String', ['Standard', 'Distribution', 'Upstream'])
|
388
|
+
return false unless content_kind_validator.valid?(@content_kind)
|
389
|
+
copy_packages_validator = EnumAttributeValidator.new('String', ['Admin', 'Write', 'Read'])
|
390
|
+
return false unless copy_packages_validator.valid?(@copy_packages)
|
391
|
+
default_privilege_validator = EnumAttributeValidator.new('String', ['Admin', 'Write', 'Read', 'None'])
|
392
|
+
return false unless default_privilege_validator.valid?(@default_privilege)
|
393
|
+
delete_packages_validator = EnumAttributeValidator.new('String', ['Admin', 'Write'])
|
394
|
+
return false unless delete_packages_validator.valid?(@delete_packages)
|
395
|
+
move_packages_validator = EnumAttributeValidator.new('String', ['Admin', 'Write', 'Read'])
|
396
|
+
return false unless move_packages_validator.valid?(@move_packages)
|
397
|
+
replace_packages_validator = EnumAttributeValidator.new('String', ['Admin', 'Write'])
|
398
|
+
return false unless replace_packages_validator.valid?(@replace_packages)
|
399
|
+
repository_type_str_validator = EnumAttributeValidator.new('String', ['Public', 'Private', 'Open-Source'])
|
400
|
+
return false unless repository_type_str_validator.valid?(@repository_type_str)
|
401
|
+
resync_packages_validator = EnumAttributeValidator.new('String', ['Admin', 'Write'])
|
402
|
+
return false unless resync_packages_validator.valid?(@resync_packages)
|
403
|
+
scan_packages_validator = EnumAttributeValidator.new('String', ['Admin', 'Write', 'Read'])
|
404
|
+
return false unless scan_packages_validator.valid?(@scan_packages)
|
405
|
+
view_statistics_validator = EnumAttributeValidator.new('String', ['Admin', 'Write', 'Read'])
|
406
|
+
return false unless view_statistics_validator.valid?(@view_statistics)
|
93
407
|
true
|
94
408
|
end
|
95
409
|
|
410
|
+
# Custom attribute writer method checking allowed values (enum).
|
411
|
+
# @param [Object] content_kind Object to be assigned
|
412
|
+
def content_kind=(content_kind)
|
413
|
+
validator = EnumAttributeValidator.new('String', ['Standard', 'Distribution', 'Upstream'])
|
414
|
+
unless validator.valid?(content_kind)
|
415
|
+
fail ArgumentError, 'invalid value for "content_kind", must be one of #{validator.allowable_values}.'
|
416
|
+
end
|
417
|
+
@content_kind = content_kind
|
418
|
+
end
|
419
|
+
|
420
|
+
# Custom attribute writer method checking allowed values (enum).
|
421
|
+
# @param [Object] copy_packages Object to be assigned
|
422
|
+
def copy_packages=(copy_packages)
|
423
|
+
validator = EnumAttributeValidator.new('String', ['Admin', 'Write', 'Read'])
|
424
|
+
unless validator.valid?(copy_packages)
|
425
|
+
fail ArgumentError, 'invalid value for "copy_packages", must be one of #{validator.allowable_values}.'
|
426
|
+
end
|
427
|
+
@copy_packages = copy_packages
|
428
|
+
end
|
429
|
+
|
430
|
+
# Custom attribute writer method checking allowed values (enum).
|
431
|
+
# @param [Object] default_privilege Object to be assigned
|
432
|
+
def default_privilege=(default_privilege)
|
433
|
+
validator = EnumAttributeValidator.new('String', ['Admin', 'Write', 'Read', 'None'])
|
434
|
+
unless validator.valid?(default_privilege)
|
435
|
+
fail ArgumentError, 'invalid value for "default_privilege", must be one of #{validator.allowable_values}.'
|
436
|
+
end
|
437
|
+
@default_privilege = default_privilege
|
438
|
+
end
|
439
|
+
|
440
|
+
# Custom attribute writer method checking allowed values (enum).
|
441
|
+
# @param [Object] delete_packages Object to be assigned
|
442
|
+
def delete_packages=(delete_packages)
|
443
|
+
validator = EnumAttributeValidator.new('String', ['Admin', 'Write'])
|
444
|
+
unless validator.valid?(delete_packages)
|
445
|
+
fail ArgumentError, 'invalid value for "delete_packages", must be one of #{validator.allowable_values}.'
|
446
|
+
end
|
447
|
+
@delete_packages = delete_packages
|
448
|
+
end
|
449
|
+
|
450
|
+
# Custom attribute writer method checking allowed values (enum).
|
451
|
+
# @param [Object] move_packages Object to be assigned
|
452
|
+
def move_packages=(move_packages)
|
453
|
+
validator = EnumAttributeValidator.new('String', ['Admin', 'Write', 'Read'])
|
454
|
+
unless validator.valid?(move_packages)
|
455
|
+
fail ArgumentError, 'invalid value for "move_packages", must be one of #{validator.allowable_values}.'
|
456
|
+
end
|
457
|
+
@move_packages = move_packages
|
458
|
+
end
|
459
|
+
|
460
|
+
# Custom attribute writer method checking allowed values (enum).
|
461
|
+
# @param [Object] replace_packages Object to be assigned
|
462
|
+
def replace_packages=(replace_packages)
|
463
|
+
validator = EnumAttributeValidator.new('String', ['Admin', 'Write'])
|
464
|
+
unless validator.valid?(replace_packages)
|
465
|
+
fail ArgumentError, 'invalid value for "replace_packages", must be one of #{validator.allowable_values}.'
|
466
|
+
end
|
467
|
+
@replace_packages = replace_packages
|
468
|
+
end
|
469
|
+
|
470
|
+
# Custom attribute writer method checking allowed values (enum).
|
471
|
+
# @param [Object] repository_type_str Object to be assigned
|
472
|
+
def repository_type_str=(repository_type_str)
|
473
|
+
validator = EnumAttributeValidator.new('String', ['Public', 'Private', 'Open-Source'])
|
474
|
+
unless validator.valid?(repository_type_str)
|
475
|
+
fail ArgumentError, 'invalid value for "repository_type_str", must be one of #{validator.allowable_values}.'
|
476
|
+
end
|
477
|
+
@repository_type_str = repository_type_str
|
478
|
+
end
|
479
|
+
|
480
|
+
# Custom attribute writer method checking allowed values (enum).
|
481
|
+
# @param [Object] resync_packages Object to be assigned
|
482
|
+
def resync_packages=(resync_packages)
|
483
|
+
validator = EnumAttributeValidator.new('String', ['Admin', 'Write'])
|
484
|
+
unless validator.valid?(resync_packages)
|
485
|
+
fail ArgumentError, 'invalid value for "resync_packages", must be one of #{validator.allowable_values}.'
|
486
|
+
end
|
487
|
+
@resync_packages = resync_packages
|
488
|
+
end
|
489
|
+
|
490
|
+
# Custom attribute writer method checking allowed values (enum).
|
491
|
+
# @param [Object] scan_packages Object to be assigned
|
492
|
+
def scan_packages=(scan_packages)
|
493
|
+
validator = EnumAttributeValidator.new('String', ['Admin', 'Write', 'Read'])
|
494
|
+
unless validator.valid?(scan_packages)
|
495
|
+
fail ArgumentError, 'invalid value for "scan_packages", must be one of #{validator.allowable_values}.'
|
496
|
+
end
|
497
|
+
@scan_packages = scan_packages
|
498
|
+
end
|
499
|
+
|
500
|
+
# Custom attribute writer method checking allowed values (enum).
|
501
|
+
# @param [Object] view_statistics Object to be assigned
|
502
|
+
def view_statistics=(view_statistics)
|
503
|
+
validator = EnumAttributeValidator.new('String', ['Admin', 'Write', 'Read'])
|
504
|
+
unless validator.valid?(view_statistics)
|
505
|
+
fail ArgumentError, 'invalid value for "view_statistics", must be one of #{validator.allowable_values}.'
|
506
|
+
end
|
507
|
+
@view_statistics = view_statistics
|
508
|
+
end
|
509
|
+
|
96
510
|
# Checks equality by comparing each attribute.
|
97
511
|
# @param [Object] Object to be compared
|
98
512
|
def ==(o)
|
99
513
|
return true if self.equal?(o)
|
100
514
|
self.class == o.class &&
|
515
|
+
content_kind == o.content_kind &&
|
516
|
+
contextual_auth_realm == o.contextual_auth_realm &&
|
517
|
+
copy_own == o.copy_own &&
|
518
|
+
copy_packages == o.copy_packages &&
|
519
|
+
default_privilege == o.default_privilege &&
|
520
|
+
delete_own == o.delete_own &&
|
521
|
+
delete_packages == o.delete_packages &&
|
101
522
|
description == o.description &&
|
523
|
+
distributes == o.distributes &&
|
524
|
+
docker_refresh_tokens_enabled == o.docker_refresh_tokens_enabled &&
|
102
525
|
index_files == o.index_files &&
|
526
|
+
move_own == o.move_own &&
|
527
|
+
move_packages == o.move_packages &&
|
103
528
|
name == o.name &&
|
529
|
+
proxy_npmjs == o.proxy_npmjs &&
|
530
|
+
proxy_pypi == o.proxy_pypi &&
|
531
|
+
raw_package_index_enabled == o.raw_package_index_enabled &&
|
532
|
+
raw_package_index_signatures_enabled == o.raw_package_index_signatures_enabled &&
|
533
|
+
replace_packages == o.replace_packages &&
|
534
|
+
replace_packages_by_default == o.replace_packages_by_default &&
|
104
535
|
repository_type_str == o.repository_type_str &&
|
105
|
-
|
536
|
+
resync_own == o.resync_own &&
|
537
|
+
resync_packages == o.resync_packages &&
|
538
|
+
scan_own == o.scan_own &&
|
539
|
+
scan_packages == o.scan_packages &&
|
540
|
+
show_setup_all == o.show_setup_all &&
|
541
|
+
slug == o.slug &&
|
542
|
+
strict_npm_validation == o.strict_npm_validation &&
|
543
|
+
use_debian_labels == o.use_debian_labels &&
|
544
|
+
use_default_cargo_upstream == o.use_default_cargo_upstream &&
|
545
|
+
use_noarch_packages == o.use_noarch_packages &&
|
546
|
+
use_source_packages == o.use_source_packages &&
|
547
|
+
use_vulnerability_scanning == o.use_vulnerability_scanning &&
|
548
|
+
user_entitlements_enabled == o.user_entitlements_enabled &&
|
549
|
+
view_statistics == o.view_statistics
|
106
550
|
end
|
107
551
|
|
108
552
|
# @see the `==` method
|
@@ -114,7 +558,7 @@ module CloudsmithApi
|
|
114
558
|
# Calculates hash code according to all attributes.
|
115
559
|
# @return [Fixnum] Hash code
|
116
560
|
def hash
|
117
|
-
[description, index_files, name, repository_type_str, slug].hash
|
561
|
+
[content_kind, contextual_auth_realm, copy_own, copy_packages, default_privilege, delete_own, delete_packages, description, distributes, docker_refresh_tokens_enabled, index_files, move_own, move_packages, name, proxy_npmjs, proxy_pypi, raw_package_index_enabled, raw_package_index_signatures_enabled, replace_packages, replace_packages_by_default, repository_type_str, resync_own, resync_packages, scan_own, scan_packages, show_setup_all, slug, strict_npm_validation, use_debian_labels, use_default_cargo_upstream, use_noarch_packages, use_source_packages, use_vulnerability_scanning, user_entitlements_enabled, view_statistics].hash
|
118
562
|
end
|
119
563
|
|
120
564
|
# Builds the object from hash
|