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
@@ -110,6 +110,12 @@ module CloudsmithApi
|
|
110
110
|
#
|
111
111
|
attr_accessor :num_files
|
112
112
|
|
113
|
+
#
|
114
|
+
attr_accessor :origin_repository
|
115
|
+
|
116
|
+
#
|
117
|
+
attr_accessor :origin_repository_url
|
118
|
+
|
113
119
|
# The type of package contents.
|
114
120
|
attr_accessor :package_type
|
115
121
|
|
@@ -212,6 +218,28 @@ module CloudsmithApi
|
|
212
218
|
#
|
213
219
|
attr_accessor :vulnerability_scan_results_url
|
214
220
|
|
221
|
+
class EnumAttributeValidator
|
222
|
+
attr_reader :datatype
|
223
|
+
attr_reader :allowable_values
|
224
|
+
|
225
|
+
def initialize(datatype, allowable_values)
|
226
|
+
@allowable_values = allowable_values.map do |value|
|
227
|
+
case datatype.to_s
|
228
|
+
when /Integer/i
|
229
|
+
value.to_i
|
230
|
+
when /Float/i
|
231
|
+
value.to_f
|
232
|
+
else
|
233
|
+
value
|
234
|
+
end
|
235
|
+
end
|
236
|
+
end
|
237
|
+
|
238
|
+
def valid?(value)
|
239
|
+
!value || allowable_values.include?(value)
|
240
|
+
end
|
241
|
+
end
|
242
|
+
|
215
243
|
# Attribute mapping from ruby-style variable name to JSON key.
|
216
244
|
def self.attribute_map
|
217
245
|
{
|
@@ -247,6 +275,8 @@ module CloudsmithApi
|
|
247
275
|
:'namespace' => :'namespace',
|
248
276
|
:'namespace_url' => :'namespace_url',
|
249
277
|
:'num_files' => :'num_files',
|
278
|
+
:'origin_repository' => :'origin_repository',
|
279
|
+
:'origin_repository_url' => :'origin_repository_url',
|
250
280
|
:'package_type' => :'package_type',
|
251
281
|
:'release' => :'release',
|
252
282
|
:'repository' => :'repository',
|
@@ -319,6 +349,8 @@ module CloudsmithApi
|
|
319
349
|
:'namespace' => :'String',
|
320
350
|
:'namespace_url' => :'String',
|
321
351
|
:'num_files' => :'Integer',
|
352
|
+
:'origin_repository' => :'String',
|
353
|
+
:'origin_repository_url' => :'String',
|
322
354
|
:'package_type' => :'Integer',
|
323
355
|
:'release' => :'String',
|
324
356
|
:'repository' => :'String',
|
@@ -496,6 +528,14 @@ module CloudsmithApi
|
|
496
528
|
self.num_files = attributes[:'num_files']
|
497
529
|
end
|
498
530
|
|
531
|
+
if attributes.has_key?(:'origin_repository')
|
532
|
+
self.origin_repository = attributes[:'origin_repository']
|
533
|
+
end
|
534
|
+
|
535
|
+
if attributes.has_key?(:'origin_repository_url')
|
536
|
+
self.origin_repository_url = attributes[:'origin_repository_url']
|
537
|
+
end
|
538
|
+
|
499
539
|
if attributes.has_key?(:'package_type')
|
500
540
|
self.package_type = attributes[:'package_type']
|
501
541
|
end
|
@@ -643,9 +683,21 @@ module CloudsmithApi
|
|
643
683
|
# Check to see if the all the properties in the model are valid
|
644
684
|
# @return true if the model is valid
|
645
685
|
def valid?
|
686
|
+
security_scan_status_validator = EnumAttributeValidator.new('String', ['Awaiting Security Scan', 'Security Scanning in Progress', 'Scan Detected Vulnerabilities', 'Scan Detected No Vulnerabilities', 'Security Scanning Disabled', 'Security Scanning Failed', 'Security Scanning Skipped', 'Security Scanning Not Supported'])
|
687
|
+
return false unless security_scan_status_validator.valid?(@security_scan_status)
|
646
688
|
true
|
647
689
|
end
|
648
690
|
|
691
|
+
# Custom attribute writer method checking allowed values (enum).
|
692
|
+
# @param [Object] security_scan_status Object to be assigned
|
693
|
+
def security_scan_status=(security_scan_status)
|
694
|
+
validator = EnumAttributeValidator.new('String', ['Awaiting Security Scan', 'Security Scanning in Progress', 'Scan Detected Vulnerabilities', 'Scan Detected No Vulnerabilities', 'Security Scanning Disabled', 'Security Scanning Failed', 'Security Scanning Skipped', 'Security Scanning Not Supported'])
|
695
|
+
unless validator.valid?(security_scan_status)
|
696
|
+
fail ArgumentError, 'invalid value for "security_scan_status", must be one of #{validator.allowable_values}.'
|
697
|
+
end
|
698
|
+
@security_scan_status = security_scan_status
|
699
|
+
end
|
700
|
+
|
649
701
|
# Checks equality by comparing each attribute.
|
650
702
|
# @param [Object] Object to be compared
|
651
703
|
def ==(o)
|
@@ -683,6 +735,8 @@ module CloudsmithApi
|
|
683
735
|
namespace == o.namespace &&
|
684
736
|
namespace_url == o.namespace_url &&
|
685
737
|
num_files == o.num_files &&
|
738
|
+
origin_repository == o.origin_repository &&
|
739
|
+
origin_repository_url == o.origin_repository_url &&
|
686
740
|
package_type == o.package_type &&
|
687
741
|
release == o.release &&
|
688
742
|
repository == o.repository &&
|
@@ -728,7 +782,7 @@ module CloudsmithApi
|
|
728
782
|
# Calculates hash code according to all attributes.
|
729
783
|
# @return [Fixnum] Hash code
|
730
784
|
def hash
|
731
|
-
[architectures, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, dependencies_checksum_md5, dependencies_url, description, distro, distro_version, downloads, epoch, extension, filename, files, format, format_url, identifier_perm, indexed, is_downloadable, is_quarantined, is_sync_awaiting, is_sync_completed, is_sync_failed, is_sync_in_flight, is_sync_in_progress, license, name, namespace, namespace_url, num_files, package_type, release, repository, repository_url, security_scan_completed_at, security_scan_started_at, security_scan_status, security_scan_status_updated_at, self_html_url, self_url, signature_url, size, slug, slug_perm, stage, stage_str, stage_updated_at, status, status_reason, status_str, status_updated_at, status_url, subtype, summary, sync_finished_at, sync_progress, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig, vulnerability_scan_results_url].hash
|
785
|
+
[architectures, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, dependencies_checksum_md5, dependencies_url, description, distro, distro_version, downloads, epoch, extension, filename, files, format, format_url, identifier_perm, indexed, is_downloadable, is_quarantined, is_sync_awaiting, is_sync_completed, is_sync_failed, is_sync_in_flight, is_sync_in_progress, license, name, namespace, namespace_url, num_files, origin_repository, origin_repository_url, package_type, release, repository, repository_url, security_scan_completed_at, security_scan_started_at, security_scan_status, security_scan_status_updated_at, self_html_url, self_url, signature_url, size, slug, slug_perm, stage, stage_str, stage_updated_at, status, status_reason, status_str, status_updated_at, status_url, subtype, summary, sync_finished_at, sync_progress, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig, vulnerability_scan_results_url].hash
|
732
786
|
end
|
733
787
|
|
734
788
|
# Builds the object from hash
|
@@ -14,45 +14,217 @@ require 'date'
|
|
14
14
|
|
15
15
|
module CloudsmithApi
|
16
16
|
class ReposCreate
|
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
|
|
26
|
-
#
|
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
|
+
|
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
|
|
32
98
|
# The Cloudsmith region in which package files are stored.
|
33
99
|
attr_accessor :storage_region
|
34
100
|
|
101
|
+
# 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!
|
102
|
+
attr_accessor :strict_npm_validation
|
103
|
+
|
104
|
+
# 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.
|
105
|
+
attr_accessor :use_debian_labels
|
106
|
+
|
107
|
+
# 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.
|
108
|
+
attr_accessor :use_default_cargo_upstream
|
109
|
+
|
110
|
+
# 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).
|
111
|
+
attr_accessor :use_noarch_packages
|
112
|
+
|
113
|
+
# If checked, source packages (if supported) are enabled in installations/configurations. A source package is one that contains source code rather than built binaries.
|
114
|
+
attr_accessor :use_source_packages
|
115
|
+
|
116
|
+
# If checked, vulnerability scanning will be enabled for all supported packages within this repository.
|
117
|
+
attr_accessor :use_vulnerability_scanning
|
118
|
+
|
119
|
+
# 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.
|
120
|
+
attr_accessor :user_entitlements_enabled
|
121
|
+
|
122
|
+
# 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.
|
123
|
+
attr_accessor :view_statistics
|
124
|
+
|
125
|
+
class EnumAttributeValidator
|
126
|
+
attr_reader :datatype
|
127
|
+
attr_reader :allowable_values
|
128
|
+
|
129
|
+
def initialize(datatype, allowable_values)
|
130
|
+
@allowable_values = allowable_values.map do |value|
|
131
|
+
case datatype.to_s
|
132
|
+
when /Integer/i
|
133
|
+
value.to_i
|
134
|
+
when /Float/i
|
135
|
+
value.to_f
|
136
|
+
else
|
137
|
+
value
|
138
|
+
end
|
139
|
+
end
|
140
|
+
end
|
141
|
+
|
142
|
+
def valid?(value)
|
143
|
+
!value || allowable_values.include?(value)
|
144
|
+
end
|
145
|
+
end
|
146
|
+
|
35
147
|
# Attribute mapping from ruby-style variable name to JSON key.
|
36
148
|
def self.attribute_map
|
37
149
|
{
|
150
|
+
:'content_kind' => :'content_kind',
|
151
|
+
:'contextual_auth_realm' => :'contextual_auth_realm',
|
152
|
+
:'copy_own' => :'copy_own',
|
153
|
+
:'copy_packages' => :'copy_packages',
|
154
|
+
:'default_privilege' => :'default_privilege',
|
155
|
+
:'delete_own' => :'delete_own',
|
156
|
+
:'delete_packages' => :'delete_packages',
|
38
157
|
:'description' => :'description',
|
158
|
+
:'distributes' => :'distributes',
|
159
|
+
:'docker_refresh_tokens_enabled' => :'docker_refresh_tokens_enabled',
|
39
160
|
:'index_files' => :'index_files',
|
161
|
+
:'move_own' => :'move_own',
|
162
|
+
:'move_packages' => :'move_packages',
|
40
163
|
:'name' => :'name',
|
164
|
+
:'proxy_npmjs' => :'proxy_npmjs',
|
165
|
+
:'proxy_pypi' => :'proxy_pypi',
|
166
|
+
:'raw_package_index_enabled' => :'raw_package_index_enabled',
|
167
|
+
:'raw_package_index_signatures_enabled' => :'raw_package_index_signatures_enabled',
|
168
|
+
:'replace_packages' => :'replace_packages',
|
169
|
+
:'replace_packages_by_default' => :'replace_packages_by_default',
|
41
170
|
:'repository_type_str' => :'repository_type_str',
|
171
|
+
:'resync_own' => :'resync_own',
|
172
|
+
:'resync_packages' => :'resync_packages',
|
173
|
+
:'scan_own' => :'scan_own',
|
174
|
+
:'scan_packages' => :'scan_packages',
|
175
|
+
:'show_setup_all' => :'show_setup_all',
|
42
176
|
:'slug' => :'slug',
|
43
|
-
:'storage_region' => :'storage_region'
|
177
|
+
:'storage_region' => :'storage_region',
|
178
|
+
:'strict_npm_validation' => :'strict_npm_validation',
|
179
|
+
:'use_debian_labels' => :'use_debian_labels',
|
180
|
+
:'use_default_cargo_upstream' => :'use_default_cargo_upstream',
|
181
|
+
:'use_noarch_packages' => :'use_noarch_packages',
|
182
|
+
:'use_source_packages' => :'use_source_packages',
|
183
|
+
:'use_vulnerability_scanning' => :'use_vulnerability_scanning',
|
184
|
+
:'user_entitlements_enabled' => :'user_entitlements_enabled',
|
185
|
+
:'view_statistics' => :'view_statistics'
|
44
186
|
}
|
45
187
|
end
|
46
188
|
|
47
189
|
# Attribute type mapping.
|
48
190
|
def self.swagger_types
|
49
191
|
{
|
192
|
+
:'content_kind' => :'String',
|
193
|
+
:'contextual_auth_realm' => :'BOOLEAN',
|
194
|
+
:'copy_own' => :'BOOLEAN',
|
195
|
+
:'copy_packages' => :'String',
|
196
|
+
:'default_privilege' => :'String',
|
197
|
+
:'delete_own' => :'BOOLEAN',
|
198
|
+
:'delete_packages' => :'String',
|
50
199
|
:'description' => :'String',
|
200
|
+
:'distributes' => :'Array<String>',
|
201
|
+
:'docker_refresh_tokens_enabled' => :'BOOLEAN',
|
51
202
|
:'index_files' => :'BOOLEAN',
|
203
|
+
:'move_own' => :'BOOLEAN',
|
204
|
+
:'move_packages' => :'String',
|
52
205
|
:'name' => :'String',
|
206
|
+
:'proxy_npmjs' => :'BOOLEAN',
|
207
|
+
:'proxy_pypi' => :'BOOLEAN',
|
208
|
+
:'raw_package_index_enabled' => :'BOOLEAN',
|
209
|
+
:'raw_package_index_signatures_enabled' => :'BOOLEAN',
|
210
|
+
:'replace_packages' => :'String',
|
211
|
+
:'replace_packages_by_default' => :'BOOLEAN',
|
53
212
|
:'repository_type_str' => :'String',
|
213
|
+
:'resync_own' => :'BOOLEAN',
|
214
|
+
:'resync_packages' => :'String',
|
215
|
+
:'scan_own' => :'BOOLEAN',
|
216
|
+
:'scan_packages' => :'String',
|
217
|
+
:'show_setup_all' => :'BOOLEAN',
|
54
218
|
:'slug' => :'String',
|
55
|
-
:'storage_region' => :'String'
|
219
|
+
:'storage_region' => :'String',
|
220
|
+
:'strict_npm_validation' => :'BOOLEAN',
|
221
|
+
:'use_debian_labels' => :'BOOLEAN',
|
222
|
+
:'use_default_cargo_upstream' => :'BOOLEAN',
|
223
|
+
:'use_noarch_packages' => :'BOOLEAN',
|
224
|
+
:'use_source_packages' => :'BOOLEAN',
|
225
|
+
:'use_vulnerability_scanning' => :'BOOLEAN',
|
226
|
+
:'user_entitlements_enabled' => :'BOOLEAN',
|
227
|
+
:'view_statistics' => :'String'
|
56
228
|
}
|
57
229
|
end
|
58
230
|
|
@@ -64,22 +236,112 @@ module CloudsmithApi
|
|
64
236
|
# convert string to symbol for hash key
|
65
237
|
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
66
238
|
|
239
|
+
if attributes.has_key?(:'content_kind')
|
240
|
+
self.content_kind = attributes[:'content_kind']
|
241
|
+
end
|
242
|
+
|
243
|
+
if attributes.has_key?(:'contextual_auth_realm')
|
244
|
+
self.contextual_auth_realm = attributes[:'contextual_auth_realm']
|
245
|
+
end
|
246
|
+
|
247
|
+
if attributes.has_key?(:'copy_own')
|
248
|
+
self.copy_own = attributes[:'copy_own']
|
249
|
+
end
|
250
|
+
|
251
|
+
if attributes.has_key?(:'copy_packages')
|
252
|
+
self.copy_packages = attributes[:'copy_packages']
|
253
|
+
end
|
254
|
+
|
255
|
+
if attributes.has_key?(:'default_privilege')
|
256
|
+
self.default_privilege = attributes[:'default_privilege']
|
257
|
+
end
|
258
|
+
|
259
|
+
if attributes.has_key?(:'delete_own')
|
260
|
+
self.delete_own = attributes[:'delete_own']
|
261
|
+
end
|
262
|
+
|
263
|
+
if attributes.has_key?(:'delete_packages')
|
264
|
+
self.delete_packages = attributes[:'delete_packages']
|
265
|
+
end
|
266
|
+
|
67
267
|
if attributes.has_key?(:'description')
|
68
268
|
self.description = attributes[:'description']
|
69
269
|
end
|
70
270
|
|
271
|
+
if attributes.has_key?(:'distributes')
|
272
|
+
if (value = attributes[:'distributes']).is_a?(Array)
|
273
|
+
self.distributes = value
|
274
|
+
end
|
275
|
+
end
|
276
|
+
|
277
|
+
if attributes.has_key?(:'docker_refresh_tokens_enabled')
|
278
|
+
self.docker_refresh_tokens_enabled = attributes[:'docker_refresh_tokens_enabled']
|
279
|
+
end
|
280
|
+
|
71
281
|
if attributes.has_key?(:'index_files')
|
72
282
|
self.index_files = attributes[:'index_files']
|
73
283
|
end
|
74
284
|
|
285
|
+
if attributes.has_key?(:'move_own')
|
286
|
+
self.move_own = attributes[:'move_own']
|
287
|
+
end
|
288
|
+
|
289
|
+
if attributes.has_key?(:'move_packages')
|
290
|
+
self.move_packages = attributes[:'move_packages']
|
291
|
+
end
|
292
|
+
|
75
293
|
if attributes.has_key?(:'name')
|
76
294
|
self.name = attributes[:'name']
|
77
295
|
end
|
78
296
|
|
297
|
+
if attributes.has_key?(:'proxy_npmjs')
|
298
|
+
self.proxy_npmjs = attributes[:'proxy_npmjs']
|
299
|
+
end
|
300
|
+
|
301
|
+
if attributes.has_key?(:'proxy_pypi')
|
302
|
+
self.proxy_pypi = attributes[:'proxy_pypi']
|
303
|
+
end
|
304
|
+
|
305
|
+
if attributes.has_key?(:'raw_package_index_enabled')
|
306
|
+
self.raw_package_index_enabled = attributes[:'raw_package_index_enabled']
|
307
|
+
end
|
308
|
+
|
309
|
+
if attributes.has_key?(:'raw_package_index_signatures_enabled')
|
310
|
+
self.raw_package_index_signatures_enabled = attributes[:'raw_package_index_signatures_enabled']
|
311
|
+
end
|
312
|
+
|
313
|
+
if attributes.has_key?(:'replace_packages')
|
314
|
+
self.replace_packages = attributes[:'replace_packages']
|
315
|
+
end
|
316
|
+
|
317
|
+
if attributes.has_key?(:'replace_packages_by_default')
|
318
|
+
self.replace_packages_by_default = attributes[:'replace_packages_by_default']
|
319
|
+
end
|
320
|
+
|
79
321
|
if attributes.has_key?(:'repository_type_str')
|
80
322
|
self.repository_type_str = attributes[:'repository_type_str']
|
81
323
|
end
|
82
324
|
|
325
|
+
if attributes.has_key?(:'resync_own')
|
326
|
+
self.resync_own = attributes[:'resync_own']
|
327
|
+
end
|
328
|
+
|
329
|
+
if attributes.has_key?(:'resync_packages')
|
330
|
+
self.resync_packages = attributes[:'resync_packages']
|
331
|
+
end
|
332
|
+
|
333
|
+
if attributes.has_key?(:'scan_own')
|
334
|
+
self.scan_own = attributes[:'scan_own']
|
335
|
+
end
|
336
|
+
|
337
|
+
if attributes.has_key?(:'scan_packages')
|
338
|
+
self.scan_packages = attributes[:'scan_packages']
|
339
|
+
end
|
340
|
+
|
341
|
+
if attributes.has_key?(:'show_setup_all')
|
342
|
+
self.show_setup_all = attributes[:'show_setup_all']
|
343
|
+
end
|
344
|
+
|
83
345
|
if attributes.has_key?(:'slug')
|
84
346
|
self.slug = attributes[:'slug']
|
85
347
|
end
|
@@ -87,6 +349,38 @@ module CloudsmithApi
|
|
87
349
|
if attributes.has_key?(:'storage_region')
|
88
350
|
self.storage_region = attributes[:'storage_region']
|
89
351
|
end
|
352
|
+
|
353
|
+
if attributes.has_key?(:'strict_npm_validation')
|
354
|
+
self.strict_npm_validation = attributes[:'strict_npm_validation']
|
355
|
+
end
|
356
|
+
|
357
|
+
if attributes.has_key?(:'use_debian_labels')
|
358
|
+
self.use_debian_labels = attributes[:'use_debian_labels']
|
359
|
+
end
|
360
|
+
|
361
|
+
if attributes.has_key?(:'use_default_cargo_upstream')
|
362
|
+
self.use_default_cargo_upstream = attributes[:'use_default_cargo_upstream']
|
363
|
+
end
|
364
|
+
|
365
|
+
if attributes.has_key?(:'use_noarch_packages')
|
366
|
+
self.use_noarch_packages = attributes[:'use_noarch_packages']
|
367
|
+
end
|
368
|
+
|
369
|
+
if attributes.has_key?(:'use_source_packages')
|
370
|
+
self.use_source_packages = attributes[:'use_source_packages']
|
371
|
+
end
|
372
|
+
|
373
|
+
if attributes.has_key?(:'use_vulnerability_scanning')
|
374
|
+
self.use_vulnerability_scanning = attributes[:'use_vulnerability_scanning']
|
375
|
+
end
|
376
|
+
|
377
|
+
if attributes.has_key?(:'user_entitlements_enabled')
|
378
|
+
self.user_entitlements_enabled = attributes[:'user_entitlements_enabled']
|
379
|
+
end
|
380
|
+
|
381
|
+
if attributes.has_key?(:'view_statistics')
|
382
|
+
self.view_statistics = attributes[:'view_statistics']
|
383
|
+
end
|
90
384
|
end
|
91
385
|
|
92
386
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -103,21 +397,159 @@ module CloudsmithApi
|
|
103
397
|
# Check to see if the all the properties in the model are valid
|
104
398
|
# @return true if the model is valid
|
105
399
|
def valid?
|
400
|
+
content_kind_validator = EnumAttributeValidator.new('String', ['Standard', 'Distribution', 'Upstream'])
|
401
|
+
return false unless content_kind_validator.valid?(@content_kind)
|
402
|
+
copy_packages_validator = EnumAttributeValidator.new('String', ['Admin', 'Write', 'Read'])
|
403
|
+
return false unless copy_packages_validator.valid?(@copy_packages)
|
404
|
+
default_privilege_validator = EnumAttributeValidator.new('String', ['Admin', 'Write', 'Read', 'None'])
|
405
|
+
return false unless default_privilege_validator.valid?(@default_privilege)
|
406
|
+
delete_packages_validator = EnumAttributeValidator.new('String', ['Admin', 'Write'])
|
407
|
+
return false unless delete_packages_validator.valid?(@delete_packages)
|
408
|
+
move_packages_validator = EnumAttributeValidator.new('String', ['Admin', 'Write', 'Read'])
|
409
|
+
return false unless move_packages_validator.valid?(@move_packages)
|
106
410
|
return false if @name.nil?
|
411
|
+
replace_packages_validator = EnumAttributeValidator.new('String', ['Admin', 'Write'])
|
412
|
+
return false unless replace_packages_validator.valid?(@replace_packages)
|
413
|
+
resync_packages_validator = EnumAttributeValidator.new('String', ['Admin', 'Write'])
|
414
|
+
return false unless resync_packages_validator.valid?(@resync_packages)
|
415
|
+
scan_packages_validator = EnumAttributeValidator.new('String', ['Admin', 'Write', 'Read'])
|
416
|
+
return false unless scan_packages_validator.valid?(@scan_packages)
|
417
|
+
view_statistics_validator = EnumAttributeValidator.new('String', ['Admin', 'Write', 'Read'])
|
418
|
+
return false unless view_statistics_validator.valid?(@view_statistics)
|
107
419
|
true
|
108
420
|
end
|
109
421
|
|
422
|
+
# Custom attribute writer method checking allowed values (enum).
|
423
|
+
# @param [Object] content_kind Object to be assigned
|
424
|
+
def content_kind=(content_kind)
|
425
|
+
validator = EnumAttributeValidator.new('String', ['Standard', 'Distribution', 'Upstream'])
|
426
|
+
unless validator.valid?(content_kind)
|
427
|
+
fail ArgumentError, 'invalid value for "content_kind", must be one of #{validator.allowable_values}.'
|
428
|
+
end
|
429
|
+
@content_kind = content_kind
|
430
|
+
end
|
431
|
+
|
432
|
+
# Custom attribute writer method checking allowed values (enum).
|
433
|
+
# @param [Object] copy_packages Object to be assigned
|
434
|
+
def copy_packages=(copy_packages)
|
435
|
+
validator = EnumAttributeValidator.new('String', ['Admin', 'Write', 'Read'])
|
436
|
+
unless validator.valid?(copy_packages)
|
437
|
+
fail ArgumentError, 'invalid value for "copy_packages", must be one of #{validator.allowable_values}.'
|
438
|
+
end
|
439
|
+
@copy_packages = copy_packages
|
440
|
+
end
|
441
|
+
|
442
|
+
# Custom attribute writer method checking allowed values (enum).
|
443
|
+
# @param [Object] default_privilege Object to be assigned
|
444
|
+
def default_privilege=(default_privilege)
|
445
|
+
validator = EnumAttributeValidator.new('String', ['Admin', 'Write', 'Read', 'None'])
|
446
|
+
unless validator.valid?(default_privilege)
|
447
|
+
fail ArgumentError, 'invalid value for "default_privilege", must be one of #{validator.allowable_values}.'
|
448
|
+
end
|
449
|
+
@default_privilege = default_privilege
|
450
|
+
end
|
451
|
+
|
452
|
+
# Custom attribute writer method checking allowed values (enum).
|
453
|
+
# @param [Object] delete_packages Object to be assigned
|
454
|
+
def delete_packages=(delete_packages)
|
455
|
+
validator = EnumAttributeValidator.new('String', ['Admin', 'Write'])
|
456
|
+
unless validator.valid?(delete_packages)
|
457
|
+
fail ArgumentError, 'invalid value for "delete_packages", must be one of #{validator.allowable_values}.'
|
458
|
+
end
|
459
|
+
@delete_packages = delete_packages
|
460
|
+
end
|
461
|
+
|
462
|
+
# Custom attribute writer method checking allowed values (enum).
|
463
|
+
# @param [Object] move_packages Object to be assigned
|
464
|
+
def move_packages=(move_packages)
|
465
|
+
validator = EnumAttributeValidator.new('String', ['Admin', 'Write', 'Read'])
|
466
|
+
unless validator.valid?(move_packages)
|
467
|
+
fail ArgumentError, 'invalid value for "move_packages", must be one of #{validator.allowable_values}.'
|
468
|
+
end
|
469
|
+
@move_packages = move_packages
|
470
|
+
end
|
471
|
+
|
472
|
+
# Custom attribute writer method checking allowed values (enum).
|
473
|
+
# @param [Object] replace_packages Object to be assigned
|
474
|
+
def replace_packages=(replace_packages)
|
475
|
+
validator = EnumAttributeValidator.new('String', ['Admin', 'Write'])
|
476
|
+
unless validator.valid?(replace_packages)
|
477
|
+
fail ArgumentError, 'invalid value for "replace_packages", must be one of #{validator.allowable_values}.'
|
478
|
+
end
|
479
|
+
@replace_packages = replace_packages
|
480
|
+
end
|
481
|
+
|
482
|
+
# Custom attribute writer method checking allowed values (enum).
|
483
|
+
# @param [Object] resync_packages Object to be assigned
|
484
|
+
def resync_packages=(resync_packages)
|
485
|
+
validator = EnumAttributeValidator.new('String', ['Admin', 'Write'])
|
486
|
+
unless validator.valid?(resync_packages)
|
487
|
+
fail ArgumentError, 'invalid value for "resync_packages", must be one of #{validator.allowable_values}.'
|
488
|
+
end
|
489
|
+
@resync_packages = resync_packages
|
490
|
+
end
|
491
|
+
|
492
|
+
# Custom attribute writer method checking allowed values (enum).
|
493
|
+
# @param [Object] scan_packages Object to be assigned
|
494
|
+
def scan_packages=(scan_packages)
|
495
|
+
validator = EnumAttributeValidator.new('String', ['Admin', 'Write', 'Read'])
|
496
|
+
unless validator.valid?(scan_packages)
|
497
|
+
fail ArgumentError, 'invalid value for "scan_packages", must be one of #{validator.allowable_values}.'
|
498
|
+
end
|
499
|
+
@scan_packages = scan_packages
|
500
|
+
end
|
501
|
+
|
502
|
+
# Custom attribute writer method checking allowed values (enum).
|
503
|
+
# @param [Object] view_statistics Object to be assigned
|
504
|
+
def view_statistics=(view_statistics)
|
505
|
+
validator = EnumAttributeValidator.new('String', ['Admin', 'Write', 'Read'])
|
506
|
+
unless validator.valid?(view_statistics)
|
507
|
+
fail ArgumentError, 'invalid value for "view_statistics", must be one of #{validator.allowable_values}.'
|
508
|
+
end
|
509
|
+
@view_statistics = view_statistics
|
510
|
+
end
|
511
|
+
|
110
512
|
# Checks equality by comparing each attribute.
|
111
513
|
# @param [Object] Object to be compared
|
112
514
|
def ==(o)
|
113
515
|
return true if self.equal?(o)
|
114
516
|
self.class == o.class &&
|
517
|
+
content_kind == o.content_kind &&
|
518
|
+
contextual_auth_realm == o.contextual_auth_realm &&
|
519
|
+
copy_own == o.copy_own &&
|
520
|
+
copy_packages == o.copy_packages &&
|
521
|
+
default_privilege == o.default_privilege &&
|
522
|
+
delete_own == o.delete_own &&
|
523
|
+
delete_packages == o.delete_packages &&
|
115
524
|
description == o.description &&
|
525
|
+
distributes == o.distributes &&
|
526
|
+
docker_refresh_tokens_enabled == o.docker_refresh_tokens_enabled &&
|
116
527
|
index_files == o.index_files &&
|
528
|
+
move_own == o.move_own &&
|
529
|
+
move_packages == o.move_packages &&
|
117
530
|
name == o.name &&
|
531
|
+
proxy_npmjs == o.proxy_npmjs &&
|
532
|
+
proxy_pypi == o.proxy_pypi &&
|
533
|
+
raw_package_index_enabled == o.raw_package_index_enabled &&
|
534
|
+
raw_package_index_signatures_enabled == o.raw_package_index_signatures_enabled &&
|
535
|
+
replace_packages == o.replace_packages &&
|
536
|
+
replace_packages_by_default == o.replace_packages_by_default &&
|
118
537
|
repository_type_str == o.repository_type_str &&
|
538
|
+
resync_own == o.resync_own &&
|
539
|
+
resync_packages == o.resync_packages &&
|
540
|
+
scan_own == o.scan_own &&
|
541
|
+
scan_packages == o.scan_packages &&
|
542
|
+
show_setup_all == o.show_setup_all &&
|
119
543
|
slug == o.slug &&
|
120
|
-
storage_region == o.storage_region
|
544
|
+
storage_region == o.storage_region &&
|
545
|
+
strict_npm_validation == o.strict_npm_validation &&
|
546
|
+
use_debian_labels == o.use_debian_labels &&
|
547
|
+
use_default_cargo_upstream == o.use_default_cargo_upstream &&
|
548
|
+
use_noarch_packages == o.use_noarch_packages &&
|
549
|
+
use_source_packages == o.use_source_packages &&
|
550
|
+
use_vulnerability_scanning == o.use_vulnerability_scanning &&
|
551
|
+
user_entitlements_enabled == o.user_entitlements_enabled &&
|
552
|
+
view_statistics == o.view_statistics
|
121
553
|
end
|
122
554
|
|
123
555
|
# @see the `==` method
|
@@ -129,7 +561,7 @@ module CloudsmithApi
|
|
129
561
|
# Calculates hash code according to all attributes.
|
130
562
|
# @return [Fixnum] Hash code
|
131
563
|
def hash
|
132
|
-
[description, index_files, name, repository_type_str, slug, storage_region].hash
|
564
|
+
[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, 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
|
133
565
|
end
|
134
566
|
|
135
567
|
# Builds the object from hash
|