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
@@ -17,15 +17,42 @@ module CloudsmithApi
|
|
17
17
|
# Base URL from which packages and other artifacts are downloaded.
|
18
18
|
attr_accessor :cdn_url
|
19
19
|
|
20
|
+
# 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.
|
21
|
+
attr_accessor :content_kind
|
22
|
+
|
23
|
+
# 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.
|
24
|
+
attr_accessor :contextual_auth_realm
|
25
|
+
|
26
|
+
# 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.
|
27
|
+
attr_accessor :copy_own
|
28
|
+
|
29
|
+
# 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.
|
30
|
+
attr_accessor :copy_packages
|
31
|
+
|
20
32
|
#
|
21
33
|
attr_accessor :created_at
|
22
34
|
|
35
|
+
# 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.
|
36
|
+
attr_accessor :default_privilege
|
37
|
+
|
38
|
+
# 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.
|
39
|
+
attr_accessor :delete_own
|
40
|
+
|
41
|
+
# 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.
|
42
|
+
attr_accessor :delete_packages
|
43
|
+
|
23
44
|
#
|
24
45
|
attr_accessor :deleted_at
|
25
46
|
|
26
47
|
# A description of the repository's purpose/contents.
|
27
48
|
attr_accessor :description
|
28
49
|
|
50
|
+
# The repositories distributed through this repo. Adding repos here is only valid if the content_kind is DISTRIBUTION.
|
51
|
+
attr_accessor :distributes
|
52
|
+
|
53
|
+
# 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.
|
54
|
+
attr_accessor :docker_refresh_tokens_enabled
|
55
|
+
|
29
56
|
#
|
30
57
|
attr_accessor :gpg_keys
|
31
58
|
|
@@ -41,6 +68,12 @@ module CloudsmithApi
|
|
41
68
|
#
|
42
69
|
attr_accessor :is_public
|
43
70
|
|
71
|
+
# 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.
|
72
|
+
attr_accessor :move_own
|
73
|
+
|
74
|
+
# 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.
|
75
|
+
attr_accessor :move_packages
|
76
|
+
|
44
77
|
# A descriptive name for the repository.
|
45
78
|
attr_accessor :name
|
46
79
|
|
@@ -59,18 +92,51 @@ module CloudsmithApi
|
|
59
92
|
# The number of groups in the repository.
|
60
93
|
attr_accessor :package_group_count
|
61
94
|
|
95
|
+
# 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.
|
96
|
+
attr_accessor :proxy_npmjs
|
97
|
+
|
98
|
+
# 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.
|
99
|
+
attr_accessor :proxy_pypi
|
100
|
+
|
101
|
+
# If checked, HTML and JSON indexes will be generated that list all available raw packages in the repository.
|
102
|
+
attr_accessor :raw_package_index_enabled
|
103
|
+
|
104
|
+
# If checked, the HTML and JSON indexes will display raw package GPG signatures alongside the index packages.
|
105
|
+
attr_accessor :raw_package_index_signatures_enabled
|
106
|
+
|
107
|
+
# 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.
|
108
|
+
attr_accessor :replace_packages
|
109
|
+
|
110
|
+
# 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.
|
111
|
+
attr_accessor :replace_packages_by_default
|
112
|
+
|
62
113
|
# 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. Open-Source repositories are always visible to everyone and are restricted by licensing, but are free to use and come with generous bandwidth/storage. You can only select Open-Source at repository creation time.
|
63
114
|
attr_accessor :repository_type
|
64
115
|
|
65
|
-
#
|
116
|
+
# 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.
|
66
117
|
attr_accessor :repository_type_str
|
67
118
|
|
119
|
+
# 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.
|
120
|
+
attr_accessor :resync_own
|
121
|
+
|
122
|
+
# 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.
|
123
|
+
attr_accessor :resync_packages
|
124
|
+
|
125
|
+
# 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.
|
126
|
+
attr_accessor :scan_own
|
127
|
+
|
128
|
+
# 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.
|
129
|
+
attr_accessor :scan_packages
|
130
|
+
|
68
131
|
# Website URL for this repository.
|
69
132
|
attr_accessor :self_html_url
|
70
133
|
|
71
134
|
# API endpoint where data about this repository can be retrieved.
|
72
135
|
attr_accessor :self_url
|
73
136
|
|
137
|
+
# 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.
|
138
|
+
attr_accessor :show_setup_all
|
139
|
+
|
74
140
|
# The calculated size of the repository.
|
75
141
|
attr_accessor :size
|
76
142
|
|
@@ -86,33 +152,109 @@ module CloudsmithApi
|
|
86
152
|
# The Cloudsmith region in which package files are stored.
|
87
153
|
attr_accessor :storage_region
|
88
154
|
|
155
|
+
# 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!
|
156
|
+
attr_accessor :strict_npm_validation
|
157
|
+
|
158
|
+
# 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.
|
159
|
+
attr_accessor :use_debian_labels
|
160
|
+
|
161
|
+
# 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.
|
162
|
+
attr_accessor :use_default_cargo_upstream
|
163
|
+
|
164
|
+
# 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).
|
165
|
+
attr_accessor :use_noarch_packages
|
166
|
+
|
167
|
+
# If checked, source packages (if supported) are enabled in installations/configurations. A source package is one that contains source code rather than built binaries.
|
168
|
+
attr_accessor :use_source_packages
|
169
|
+
|
170
|
+
# If checked, vulnerability scanning will be enabled for all supported packages within this repository.
|
171
|
+
attr_accessor :use_vulnerability_scanning
|
172
|
+
|
173
|
+
# 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.
|
174
|
+
attr_accessor :user_entitlements_enabled
|
175
|
+
|
176
|
+
# 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.
|
177
|
+
attr_accessor :view_statistics
|
178
|
+
|
179
|
+
class EnumAttributeValidator
|
180
|
+
attr_reader :datatype
|
181
|
+
attr_reader :allowable_values
|
182
|
+
|
183
|
+
def initialize(datatype, allowable_values)
|
184
|
+
@allowable_values = allowable_values.map do |value|
|
185
|
+
case datatype.to_s
|
186
|
+
when /Integer/i
|
187
|
+
value.to_i
|
188
|
+
when /Float/i
|
189
|
+
value.to_f
|
190
|
+
else
|
191
|
+
value
|
192
|
+
end
|
193
|
+
end
|
194
|
+
end
|
195
|
+
|
196
|
+
def valid?(value)
|
197
|
+
!value || allowable_values.include?(value)
|
198
|
+
end
|
199
|
+
end
|
200
|
+
|
89
201
|
# Attribute mapping from ruby-style variable name to JSON key.
|
90
202
|
def self.attribute_map
|
91
203
|
{
|
92
204
|
:'cdn_url' => :'cdn_url',
|
205
|
+
:'content_kind' => :'content_kind',
|
206
|
+
:'contextual_auth_realm' => :'contextual_auth_realm',
|
207
|
+
:'copy_own' => :'copy_own',
|
208
|
+
:'copy_packages' => :'copy_packages',
|
93
209
|
:'created_at' => :'created_at',
|
210
|
+
:'default_privilege' => :'default_privilege',
|
211
|
+
:'delete_own' => :'delete_own',
|
212
|
+
:'delete_packages' => :'delete_packages',
|
94
213
|
:'deleted_at' => :'deleted_at',
|
95
214
|
:'description' => :'description',
|
215
|
+
:'distributes' => :'distributes',
|
216
|
+
:'docker_refresh_tokens_enabled' => :'docker_refresh_tokens_enabled',
|
96
217
|
:'gpg_keys' => :'gpg_keys',
|
97
218
|
:'index_files' => :'index_files',
|
98
219
|
:'is_open_source' => :'is_open_source',
|
99
220
|
:'is_private' => :'is_private',
|
100
221
|
:'is_public' => :'is_public',
|
222
|
+
:'move_own' => :'move_own',
|
223
|
+
:'move_packages' => :'move_packages',
|
101
224
|
:'name' => :'name',
|
102
225
|
:'namespace' => :'namespace',
|
103
226
|
:'namespace_url' => :'namespace_url',
|
104
227
|
:'num_downloads' => :'num_downloads',
|
105
228
|
:'package_count' => :'package_count',
|
106
229
|
:'package_group_count' => :'package_group_count',
|
230
|
+
:'proxy_npmjs' => :'proxy_npmjs',
|
231
|
+
:'proxy_pypi' => :'proxy_pypi',
|
232
|
+
:'raw_package_index_enabled' => :'raw_package_index_enabled',
|
233
|
+
:'raw_package_index_signatures_enabled' => :'raw_package_index_signatures_enabled',
|
234
|
+
:'replace_packages' => :'replace_packages',
|
235
|
+
:'replace_packages_by_default' => :'replace_packages_by_default',
|
107
236
|
:'repository_type' => :'repository_type',
|
108
237
|
:'repository_type_str' => :'repository_type_str',
|
238
|
+
:'resync_own' => :'resync_own',
|
239
|
+
:'resync_packages' => :'resync_packages',
|
240
|
+
:'scan_own' => :'scan_own',
|
241
|
+
:'scan_packages' => :'scan_packages',
|
109
242
|
:'self_html_url' => :'self_html_url',
|
110
243
|
:'self_url' => :'self_url',
|
244
|
+
:'show_setup_all' => :'show_setup_all',
|
111
245
|
:'size' => :'size',
|
112
246
|
:'size_str' => :'size_str',
|
113
247
|
:'slug' => :'slug',
|
114
248
|
:'slug_perm' => :'slug_perm',
|
115
|
-
:'storage_region' => :'storage_region'
|
249
|
+
:'storage_region' => :'storage_region',
|
250
|
+
:'strict_npm_validation' => :'strict_npm_validation',
|
251
|
+
:'use_debian_labels' => :'use_debian_labels',
|
252
|
+
:'use_default_cargo_upstream' => :'use_default_cargo_upstream',
|
253
|
+
:'use_noarch_packages' => :'use_noarch_packages',
|
254
|
+
:'use_source_packages' => :'use_source_packages',
|
255
|
+
:'use_vulnerability_scanning' => :'use_vulnerability_scanning',
|
256
|
+
:'user_entitlements_enabled' => :'user_entitlements_enabled',
|
257
|
+
:'view_statistics' => :'view_statistics'
|
116
258
|
}
|
117
259
|
end
|
118
260
|
|
@@ -120,29 +262,59 @@ module CloudsmithApi
|
|
120
262
|
def self.swagger_types
|
121
263
|
{
|
122
264
|
:'cdn_url' => :'String',
|
265
|
+
:'content_kind' => :'String',
|
266
|
+
:'contextual_auth_realm' => :'BOOLEAN',
|
267
|
+
:'copy_own' => :'BOOLEAN',
|
268
|
+
:'copy_packages' => :'String',
|
123
269
|
:'created_at' => :'String',
|
270
|
+
:'default_privilege' => :'String',
|
271
|
+
:'delete_own' => :'BOOLEAN',
|
272
|
+
:'delete_packages' => :'String',
|
124
273
|
:'deleted_at' => :'String',
|
125
274
|
:'description' => :'String',
|
275
|
+
:'distributes' => :'Array<String>',
|
276
|
+
:'docker_refresh_tokens_enabled' => :'BOOLEAN',
|
126
277
|
:'gpg_keys' => :'Array<ReposGpgKeys>',
|
127
278
|
:'index_files' => :'BOOLEAN',
|
128
279
|
:'is_open_source' => :'BOOLEAN',
|
129
280
|
:'is_private' => :'BOOLEAN',
|
130
281
|
:'is_public' => :'BOOLEAN',
|
282
|
+
:'move_own' => :'BOOLEAN',
|
283
|
+
:'move_packages' => :'String',
|
131
284
|
:'name' => :'String',
|
132
285
|
:'namespace' => :'String',
|
133
286
|
:'namespace_url' => :'String',
|
134
287
|
:'num_downloads' => :'Integer',
|
135
288
|
:'package_count' => :'Integer',
|
136
289
|
:'package_group_count' => :'Integer',
|
290
|
+
:'proxy_npmjs' => :'BOOLEAN',
|
291
|
+
:'proxy_pypi' => :'BOOLEAN',
|
292
|
+
:'raw_package_index_enabled' => :'BOOLEAN',
|
293
|
+
:'raw_package_index_signatures_enabled' => :'BOOLEAN',
|
294
|
+
:'replace_packages' => :'String',
|
295
|
+
:'replace_packages_by_default' => :'BOOLEAN',
|
137
296
|
:'repository_type' => :'Integer',
|
138
297
|
:'repository_type_str' => :'String',
|
298
|
+
:'resync_own' => :'BOOLEAN',
|
299
|
+
:'resync_packages' => :'String',
|
300
|
+
:'scan_own' => :'BOOLEAN',
|
301
|
+
:'scan_packages' => :'String',
|
139
302
|
:'self_html_url' => :'String',
|
140
303
|
:'self_url' => :'String',
|
304
|
+
:'show_setup_all' => :'BOOLEAN',
|
141
305
|
:'size' => :'Integer',
|
142
306
|
:'size_str' => :'String',
|
143
307
|
:'slug' => :'String',
|
144
308
|
:'slug_perm' => :'String',
|
145
|
-
:'storage_region' => :'String'
|
309
|
+
:'storage_region' => :'String',
|
310
|
+
:'strict_npm_validation' => :'BOOLEAN',
|
311
|
+
:'use_debian_labels' => :'BOOLEAN',
|
312
|
+
:'use_default_cargo_upstream' => :'BOOLEAN',
|
313
|
+
:'use_noarch_packages' => :'BOOLEAN',
|
314
|
+
:'use_source_packages' => :'BOOLEAN',
|
315
|
+
:'use_vulnerability_scanning' => :'BOOLEAN',
|
316
|
+
:'user_entitlements_enabled' => :'BOOLEAN',
|
317
|
+
:'view_statistics' => :'String'
|
146
318
|
}
|
147
319
|
end
|
148
320
|
|
@@ -158,10 +330,38 @@ module CloudsmithApi
|
|
158
330
|
self.cdn_url = attributes[:'cdn_url']
|
159
331
|
end
|
160
332
|
|
333
|
+
if attributes.has_key?(:'content_kind')
|
334
|
+
self.content_kind = attributes[:'content_kind']
|
335
|
+
end
|
336
|
+
|
337
|
+
if attributes.has_key?(:'contextual_auth_realm')
|
338
|
+
self.contextual_auth_realm = attributes[:'contextual_auth_realm']
|
339
|
+
end
|
340
|
+
|
341
|
+
if attributes.has_key?(:'copy_own')
|
342
|
+
self.copy_own = attributes[:'copy_own']
|
343
|
+
end
|
344
|
+
|
345
|
+
if attributes.has_key?(:'copy_packages')
|
346
|
+
self.copy_packages = attributes[:'copy_packages']
|
347
|
+
end
|
348
|
+
|
161
349
|
if attributes.has_key?(:'created_at')
|
162
350
|
self.created_at = attributes[:'created_at']
|
163
351
|
end
|
164
352
|
|
353
|
+
if attributes.has_key?(:'default_privilege')
|
354
|
+
self.default_privilege = attributes[:'default_privilege']
|
355
|
+
end
|
356
|
+
|
357
|
+
if attributes.has_key?(:'delete_own')
|
358
|
+
self.delete_own = attributes[:'delete_own']
|
359
|
+
end
|
360
|
+
|
361
|
+
if attributes.has_key?(:'delete_packages')
|
362
|
+
self.delete_packages = attributes[:'delete_packages']
|
363
|
+
end
|
364
|
+
|
165
365
|
if attributes.has_key?(:'deleted_at')
|
166
366
|
self.deleted_at = attributes[:'deleted_at']
|
167
367
|
end
|
@@ -170,6 +370,16 @@ module CloudsmithApi
|
|
170
370
|
self.description = attributes[:'description']
|
171
371
|
end
|
172
372
|
|
373
|
+
if attributes.has_key?(:'distributes')
|
374
|
+
if (value = attributes[:'distributes']).is_a?(Array)
|
375
|
+
self.distributes = value
|
376
|
+
end
|
377
|
+
end
|
378
|
+
|
379
|
+
if attributes.has_key?(:'docker_refresh_tokens_enabled')
|
380
|
+
self.docker_refresh_tokens_enabled = attributes[:'docker_refresh_tokens_enabled']
|
381
|
+
end
|
382
|
+
|
173
383
|
if attributes.has_key?(:'gpg_keys')
|
174
384
|
if (value = attributes[:'gpg_keys']).is_a?(Array)
|
175
385
|
self.gpg_keys = value
|
@@ -192,6 +402,14 @@ module CloudsmithApi
|
|
192
402
|
self.is_public = attributes[:'is_public']
|
193
403
|
end
|
194
404
|
|
405
|
+
if attributes.has_key?(:'move_own')
|
406
|
+
self.move_own = attributes[:'move_own']
|
407
|
+
end
|
408
|
+
|
409
|
+
if attributes.has_key?(:'move_packages')
|
410
|
+
self.move_packages = attributes[:'move_packages']
|
411
|
+
end
|
412
|
+
|
195
413
|
if attributes.has_key?(:'name')
|
196
414
|
self.name = attributes[:'name']
|
197
415
|
end
|
@@ -216,6 +434,30 @@ module CloudsmithApi
|
|
216
434
|
self.package_group_count = attributes[:'package_group_count']
|
217
435
|
end
|
218
436
|
|
437
|
+
if attributes.has_key?(:'proxy_npmjs')
|
438
|
+
self.proxy_npmjs = attributes[:'proxy_npmjs']
|
439
|
+
end
|
440
|
+
|
441
|
+
if attributes.has_key?(:'proxy_pypi')
|
442
|
+
self.proxy_pypi = attributes[:'proxy_pypi']
|
443
|
+
end
|
444
|
+
|
445
|
+
if attributes.has_key?(:'raw_package_index_enabled')
|
446
|
+
self.raw_package_index_enabled = attributes[:'raw_package_index_enabled']
|
447
|
+
end
|
448
|
+
|
449
|
+
if attributes.has_key?(:'raw_package_index_signatures_enabled')
|
450
|
+
self.raw_package_index_signatures_enabled = attributes[:'raw_package_index_signatures_enabled']
|
451
|
+
end
|
452
|
+
|
453
|
+
if attributes.has_key?(:'replace_packages')
|
454
|
+
self.replace_packages = attributes[:'replace_packages']
|
455
|
+
end
|
456
|
+
|
457
|
+
if attributes.has_key?(:'replace_packages_by_default')
|
458
|
+
self.replace_packages_by_default = attributes[:'replace_packages_by_default']
|
459
|
+
end
|
460
|
+
|
219
461
|
if attributes.has_key?(:'repository_type')
|
220
462
|
self.repository_type = attributes[:'repository_type']
|
221
463
|
end
|
@@ -224,6 +466,22 @@ module CloudsmithApi
|
|
224
466
|
self.repository_type_str = attributes[:'repository_type_str']
|
225
467
|
end
|
226
468
|
|
469
|
+
if attributes.has_key?(:'resync_own')
|
470
|
+
self.resync_own = attributes[:'resync_own']
|
471
|
+
end
|
472
|
+
|
473
|
+
if attributes.has_key?(:'resync_packages')
|
474
|
+
self.resync_packages = attributes[:'resync_packages']
|
475
|
+
end
|
476
|
+
|
477
|
+
if attributes.has_key?(:'scan_own')
|
478
|
+
self.scan_own = attributes[:'scan_own']
|
479
|
+
end
|
480
|
+
|
481
|
+
if attributes.has_key?(:'scan_packages')
|
482
|
+
self.scan_packages = attributes[:'scan_packages']
|
483
|
+
end
|
484
|
+
|
227
485
|
if attributes.has_key?(:'self_html_url')
|
228
486
|
self.self_html_url = attributes[:'self_html_url']
|
229
487
|
end
|
@@ -232,6 +490,10 @@ module CloudsmithApi
|
|
232
490
|
self.self_url = attributes[:'self_url']
|
233
491
|
end
|
234
492
|
|
493
|
+
if attributes.has_key?(:'show_setup_all')
|
494
|
+
self.show_setup_all = attributes[:'show_setup_all']
|
495
|
+
end
|
496
|
+
|
235
497
|
if attributes.has_key?(:'size')
|
236
498
|
self.size = attributes[:'size']
|
237
499
|
end
|
@@ -251,6 +513,38 @@ module CloudsmithApi
|
|
251
513
|
if attributes.has_key?(:'storage_region')
|
252
514
|
self.storage_region = attributes[:'storage_region']
|
253
515
|
end
|
516
|
+
|
517
|
+
if attributes.has_key?(:'strict_npm_validation')
|
518
|
+
self.strict_npm_validation = attributes[:'strict_npm_validation']
|
519
|
+
end
|
520
|
+
|
521
|
+
if attributes.has_key?(:'use_debian_labels')
|
522
|
+
self.use_debian_labels = attributes[:'use_debian_labels']
|
523
|
+
end
|
524
|
+
|
525
|
+
if attributes.has_key?(:'use_default_cargo_upstream')
|
526
|
+
self.use_default_cargo_upstream = attributes[:'use_default_cargo_upstream']
|
527
|
+
end
|
528
|
+
|
529
|
+
if attributes.has_key?(:'use_noarch_packages')
|
530
|
+
self.use_noarch_packages = attributes[:'use_noarch_packages']
|
531
|
+
end
|
532
|
+
|
533
|
+
if attributes.has_key?(:'use_source_packages')
|
534
|
+
self.use_source_packages = attributes[:'use_source_packages']
|
535
|
+
end
|
536
|
+
|
537
|
+
if attributes.has_key?(:'use_vulnerability_scanning')
|
538
|
+
self.use_vulnerability_scanning = attributes[:'use_vulnerability_scanning']
|
539
|
+
end
|
540
|
+
|
541
|
+
if attributes.has_key?(:'user_entitlements_enabled')
|
542
|
+
self.user_entitlements_enabled = attributes[:'user_entitlements_enabled']
|
543
|
+
end
|
544
|
+
|
545
|
+
if attributes.has_key?(:'view_statistics')
|
546
|
+
self.view_statistics = attributes[:'view_statistics']
|
547
|
+
end
|
254
548
|
end
|
255
549
|
|
256
550
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -267,39 +561,177 @@ module CloudsmithApi
|
|
267
561
|
# Check to see if the all the properties in the model are valid
|
268
562
|
# @return true if the model is valid
|
269
563
|
def valid?
|
564
|
+
content_kind_validator = EnumAttributeValidator.new('String', ['Standard', 'Distribution', 'Upstream'])
|
565
|
+
return false unless content_kind_validator.valid?(@content_kind)
|
566
|
+
copy_packages_validator = EnumAttributeValidator.new('String', ['Admin', 'Write', 'Read'])
|
567
|
+
return false unless copy_packages_validator.valid?(@copy_packages)
|
568
|
+
default_privilege_validator = EnumAttributeValidator.new('String', ['Admin', 'Write', 'Read', 'None'])
|
569
|
+
return false unless default_privilege_validator.valid?(@default_privilege)
|
570
|
+
delete_packages_validator = EnumAttributeValidator.new('String', ['Admin', 'Write'])
|
571
|
+
return false unless delete_packages_validator.valid?(@delete_packages)
|
572
|
+
move_packages_validator = EnumAttributeValidator.new('String', ['Admin', 'Write', 'Read'])
|
573
|
+
return false unless move_packages_validator.valid?(@move_packages)
|
270
574
|
return false if @name.nil?
|
575
|
+
replace_packages_validator = EnumAttributeValidator.new('String', ['Admin', 'Write'])
|
576
|
+
return false unless replace_packages_validator.valid?(@replace_packages)
|
577
|
+
resync_packages_validator = EnumAttributeValidator.new('String', ['Admin', 'Write'])
|
578
|
+
return false unless resync_packages_validator.valid?(@resync_packages)
|
579
|
+
scan_packages_validator = EnumAttributeValidator.new('String', ['Admin', 'Write', 'Read'])
|
580
|
+
return false unless scan_packages_validator.valid?(@scan_packages)
|
581
|
+
view_statistics_validator = EnumAttributeValidator.new('String', ['Admin', 'Write', 'Read'])
|
582
|
+
return false unless view_statistics_validator.valid?(@view_statistics)
|
271
583
|
true
|
272
584
|
end
|
273
585
|
|
586
|
+
# Custom attribute writer method checking allowed values (enum).
|
587
|
+
# @param [Object] content_kind Object to be assigned
|
588
|
+
def content_kind=(content_kind)
|
589
|
+
validator = EnumAttributeValidator.new('String', ['Standard', 'Distribution', 'Upstream'])
|
590
|
+
unless validator.valid?(content_kind)
|
591
|
+
fail ArgumentError, 'invalid value for "content_kind", must be one of #{validator.allowable_values}.'
|
592
|
+
end
|
593
|
+
@content_kind = content_kind
|
594
|
+
end
|
595
|
+
|
596
|
+
# Custom attribute writer method checking allowed values (enum).
|
597
|
+
# @param [Object] copy_packages Object to be assigned
|
598
|
+
def copy_packages=(copy_packages)
|
599
|
+
validator = EnumAttributeValidator.new('String', ['Admin', 'Write', 'Read'])
|
600
|
+
unless validator.valid?(copy_packages)
|
601
|
+
fail ArgumentError, 'invalid value for "copy_packages", must be one of #{validator.allowable_values}.'
|
602
|
+
end
|
603
|
+
@copy_packages = copy_packages
|
604
|
+
end
|
605
|
+
|
606
|
+
# Custom attribute writer method checking allowed values (enum).
|
607
|
+
# @param [Object] default_privilege Object to be assigned
|
608
|
+
def default_privilege=(default_privilege)
|
609
|
+
validator = EnumAttributeValidator.new('String', ['Admin', 'Write', 'Read', 'None'])
|
610
|
+
unless validator.valid?(default_privilege)
|
611
|
+
fail ArgumentError, 'invalid value for "default_privilege", must be one of #{validator.allowable_values}.'
|
612
|
+
end
|
613
|
+
@default_privilege = default_privilege
|
614
|
+
end
|
615
|
+
|
616
|
+
# Custom attribute writer method checking allowed values (enum).
|
617
|
+
# @param [Object] delete_packages Object to be assigned
|
618
|
+
def delete_packages=(delete_packages)
|
619
|
+
validator = EnumAttributeValidator.new('String', ['Admin', 'Write'])
|
620
|
+
unless validator.valid?(delete_packages)
|
621
|
+
fail ArgumentError, 'invalid value for "delete_packages", must be one of #{validator.allowable_values}.'
|
622
|
+
end
|
623
|
+
@delete_packages = delete_packages
|
624
|
+
end
|
625
|
+
|
626
|
+
# Custom attribute writer method checking allowed values (enum).
|
627
|
+
# @param [Object] move_packages Object to be assigned
|
628
|
+
def move_packages=(move_packages)
|
629
|
+
validator = EnumAttributeValidator.new('String', ['Admin', 'Write', 'Read'])
|
630
|
+
unless validator.valid?(move_packages)
|
631
|
+
fail ArgumentError, 'invalid value for "move_packages", must be one of #{validator.allowable_values}.'
|
632
|
+
end
|
633
|
+
@move_packages = move_packages
|
634
|
+
end
|
635
|
+
|
636
|
+
# Custom attribute writer method checking allowed values (enum).
|
637
|
+
# @param [Object] replace_packages Object to be assigned
|
638
|
+
def replace_packages=(replace_packages)
|
639
|
+
validator = EnumAttributeValidator.new('String', ['Admin', 'Write'])
|
640
|
+
unless validator.valid?(replace_packages)
|
641
|
+
fail ArgumentError, 'invalid value for "replace_packages", must be one of #{validator.allowable_values}.'
|
642
|
+
end
|
643
|
+
@replace_packages = replace_packages
|
644
|
+
end
|
645
|
+
|
646
|
+
# Custom attribute writer method checking allowed values (enum).
|
647
|
+
# @param [Object] resync_packages Object to be assigned
|
648
|
+
def resync_packages=(resync_packages)
|
649
|
+
validator = EnumAttributeValidator.new('String', ['Admin', 'Write'])
|
650
|
+
unless validator.valid?(resync_packages)
|
651
|
+
fail ArgumentError, 'invalid value for "resync_packages", must be one of #{validator.allowable_values}.'
|
652
|
+
end
|
653
|
+
@resync_packages = resync_packages
|
654
|
+
end
|
655
|
+
|
656
|
+
# Custom attribute writer method checking allowed values (enum).
|
657
|
+
# @param [Object] scan_packages Object to be assigned
|
658
|
+
def scan_packages=(scan_packages)
|
659
|
+
validator = EnumAttributeValidator.new('String', ['Admin', 'Write', 'Read'])
|
660
|
+
unless validator.valid?(scan_packages)
|
661
|
+
fail ArgumentError, 'invalid value for "scan_packages", must be one of #{validator.allowable_values}.'
|
662
|
+
end
|
663
|
+
@scan_packages = scan_packages
|
664
|
+
end
|
665
|
+
|
666
|
+
# Custom attribute writer method checking allowed values (enum).
|
667
|
+
# @param [Object] view_statistics Object to be assigned
|
668
|
+
def view_statistics=(view_statistics)
|
669
|
+
validator = EnumAttributeValidator.new('String', ['Admin', 'Write', 'Read'])
|
670
|
+
unless validator.valid?(view_statistics)
|
671
|
+
fail ArgumentError, 'invalid value for "view_statistics", must be one of #{validator.allowable_values}.'
|
672
|
+
end
|
673
|
+
@view_statistics = view_statistics
|
674
|
+
end
|
675
|
+
|
274
676
|
# Checks equality by comparing each attribute.
|
275
677
|
# @param [Object] Object to be compared
|
276
678
|
def ==(o)
|
277
679
|
return true if self.equal?(o)
|
278
680
|
self.class == o.class &&
|
279
681
|
cdn_url == o.cdn_url &&
|
682
|
+
content_kind == o.content_kind &&
|
683
|
+
contextual_auth_realm == o.contextual_auth_realm &&
|
684
|
+
copy_own == o.copy_own &&
|
685
|
+
copy_packages == o.copy_packages &&
|
280
686
|
created_at == o.created_at &&
|
687
|
+
default_privilege == o.default_privilege &&
|
688
|
+
delete_own == o.delete_own &&
|
689
|
+
delete_packages == o.delete_packages &&
|
281
690
|
deleted_at == o.deleted_at &&
|
282
691
|
description == o.description &&
|
692
|
+
distributes == o.distributes &&
|
693
|
+
docker_refresh_tokens_enabled == o.docker_refresh_tokens_enabled &&
|
283
694
|
gpg_keys == o.gpg_keys &&
|
284
695
|
index_files == o.index_files &&
|
285
696
|
is_open_source == o.is_open_source &&
|
286
697
|
is_private == o.is_private &&
|
287
698
|
is_public == o.is_public &&
|
699
|
+
move_own == o.move_own &&
|
700
|
+
move_packages == o.move_packages &&
|
288
701
|
name == o.name &&
|
289
702
|
namespace == o.namespace &&
|
290
703
|
namespace_url == o.namespace_url &&
|
291
704
|
num_downloads == o.num_downloads &&
|
292
705
|
package_count == o.package_count &&
|
293
706
|
package_group_count == o.package_group_count &&
|
707
|
+
proxy_npmjs == o.proxy_npmjs &&
|
708
|
+
proxy_pypi == o.proxy_pypi &&
|
709
|
+
raw_package_index_enabled == o.raw_package_index_enabled &&
|
710
|
+
raw_package_index_signatures_enabled == o.raw_package_index_signatures_enabled &&
|
711
|
+
replace_packages == o.replace_packages &&
|
712
|
+
replace_packages_by_default == o.replace_packages_by_default &&
|
294
713
|
repository_type == o.repository_type &&
|
295
714
|
repository_type_str == o.repository_type_str &&
|
715
|
+
resync_own == o.resync_own &&
|
716
|
+
resync_packages == o.resync_packages &&
|
717
|
+
scan_own == o.scan_own &&
|
718
|
+
scan_packages == o.scan_packages &&
|
296
719
|
self_html_url == o.self_html_url &&
|
297
720
|
self_url == o.self_url &&
|
721
|
+
show_setup_all == o.show_setup_all &&
|
298
722
|
size == o.size &&
|
299
723
|
size_str == o.size_str &&
|
300
724
|
slug == o.slug &&
|
301
725
|
slug_perm == o.slug_perm &&
|
302
|
-
storage_region == o.storage_region
|
726
|
+
storage_region == o.storage_region &&
|
727
|
+
strict_npm_validation == o.strict_npm_validation &&
|
728
|
+
use_debian_labels == o.use_debian_labels &&
|
729
|
+
use_default_cargo_upstream == o.use_default_cargo_upstream &&
|
730
|
+
use_noarch_packages == o.use_noarch_packages &&
|
731
|
+
use_source_packages == o.use_source_packages &&
|
732
|
+
use_vulnerability_scanning == o.use_vulnerability_scanning &&
|
733
|
+
user_entitlements_enabled == o.user_entitlements_enabled &&
|
734
|
+
view_statistics == o.view_statistics
|
303
735
|
end
|
304
736
|
|
305
737
|
# @see the `==` method
|
@@ -311,7 +743,7 @@ module CloudsmithApi
|
|
311
743
|
# Calculates hash code according to all attributes.
|
312
744
|
# @return [Fixnum] Hash code
|
313
745
|
def hash
|
314
|
-
[cdn_url, created_at, deleted_at, description, gpg_keys, index_files, is_open_source, is_private, is_public, name, namespace, namespace_url, num_downloads, package_count, package_group_count, repository_type, repository_type_str, self_html_url, self_url, size, size_str, slug, slug_perm, storage_region].hash
|
746
|
+
[cdn_url, content_kind, contextual_auth_realm, copy_own, copy_packages, created_at, default_privilege, delete_own, delete_packages, deleted_at, description, distributes, docker_refresh_tokens_enabled, gpg_keys, index_files, is_open_source, is_private, is_public, move_own, move_packages, name, namespace, namespace_url, num_downloads, package_count, package_group_count, proxy_npmjs, proxy_pypi, raw_package_index_enabled, raw_package_index_signatures_enabled, replace_packages, replace_packages_by_default, repository_type, repository_type_str, resync_own, resync_packages, scan_own, scan_packages, self_html_url, self_url, show_setup_all, size, size_str, slug, slug_perm, storage_region, 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
|
315
747
|
end
|
316
748
|
|
317
749
|
# Builds the object from hash
|