cloudsmith-api 2.0.11 → 2.0.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +4 -4
- data/README.md +23 -5
- data/build.json +1 -1
- data/docs/AlpinePackageUpload.md +7 -0
- data/docs/CargoPackageUpload.md +7 -0
- data/docs/CocoapodsPackageUpload.md +7 -0
- data/docs/ComposerPackageUpload.md +7 -0
- data/docs/ConanPackageUpload.md +7 -0
- data/docs/CondaPackageUpload.md +7 -0
- data/docs/CranPackageUpload.md +7 -0
- data/docs/DartPackageUpload.md +7 -0
- data/docs/DebPackageUpload.md +7 -0
- data/docs/DockerPackageUpload.md +7 -0
- data/docs/GoPackageUpload.md +7 -0
- data/docs/HelmPackageUpload.md +7 -0
- data/docs/HexPackageUpload.md +7 -0
- data/docs/LuarocksPackageUpload.md +7 -0
- data/docs/MavenPackageUpload.md +7 -0
- data/docs/NpmPackageUpload.md +7 -0
- data/docs/NugetPackageUpload.md +7 -0
- data/docs/OrganizationMembership.md +1 -1
- data/docs/OrgsApi.md +358 -0
- data/docs/P2PackageUpload.md +7 -0
- data/docs/Package.md +7 -0
- data/docs/PackageCopy.md +7 -0
- data/docs/PackageMove.md +7 -0
- data/docs/PackageQuarantine.md +7 -0
- data/docs/PackageResync.md +7 -0
- data/docs/PackageStatus.md +7 -0
- data/docs/PackageTag.md +7 -0
- data/docs/PackagesApi.md +4 -4
- data/docs/ProviderSettings.md +14 -0
- data/docs/ProviderSettingsRequest.md +12 -0
- data/docs/ProviderSettingsRequestPatch.md +12 -0
- data/docs/PythonPackageUpload.md +7 -0
- data/docs/RawPackageUpload.md +7 -0
- data/docs/ReposApi.md +377 -0
- data/docs/RpmPackageUpload.md +7 -0
- data/docs/RubyPackageUpload.md +7 -0
- data/docs/StatusBasic.md +1 -1
- data/docs/SwiftPackageUpload.md +8 -1
- data/docs/SwiftPackageUploadRequest.md +1 -0
- data/docs/SwiftUpstream.md +23 -0
- data/docs/SwiftUpstreamRequest.md +20 -0
- data/docs/SwiftUpstreamRequestPatch.md +20 -0
- data/docs/TerraformPackageUpload.md +7 -0
- data/docs/VagrantPackageUpload.md +7 -0
- data/lib/cloudsmith-api/api/orgs_api.rb +358 -0
- data/lib/cloudsmith-api/api/packages_api.rb +4 -4
- data/lib/cloudsmith-api/api/repos_api.rb +395 -0
- data/lib/cloudsmith-api/models/alpine_package_upload.rb +64 -1
- data/lib/cloudsmith-api/models/cargo_package_upload.rb +64 -1
- data/lib/cloudsmith-api/models/cocoapods_package_upload.rb +64 -1
- data/lib/cloudsmith-api/models/composer_package_upload.rb +64 -1
- data/lib/cloudsmith-api/models/conan_package_upload.rb +64 -1
- data/lib/cloudsmith-api/models/conda_package_upload.rb +64 -1
- data/lib/cloudsmith-api/models/cran_package_upload.rb +64 -1
- data/lib/cloudsmith-api/models/dart_package_upload.rb +64 -1
- data/lib/cloudsmith-api/models/deb_package_upload.rb +64 -1
- data/lib/cloudsmith-api/models/docker_package_upload.rb +64 -1
- data/lib/cloudsmith-api/models/go_package_upload.rb +64 -1
- data/lib/cloudsmith-api/models/helm_package_upload.rb +64 -1
- data/lib/cloudsmith-api/models/hex_package_upload.rb +64 -1
- data/lib/cloudsmith-api/models/luarocks_package_upload.rb +64 -1
- data/lib/cloudsmith-api/models/maven_package_upload.rb +64 -1
- data/lib/cloudsmith-api/models/npm_package_upload.rb +64 -1
- data/lib/cloudsmith-api/models/nuget_package_upload.rb +64 -1
- data/lib/cloudsmith-api/models/organization_membership.rb +1 -1
- data/lib/cloudsmith-api/models/p2_package_upload.rb +64 -1
- data/lib/cloudsmith-api/models/package.rb +64 -1
- data/lib/cloudsmith-api/models/package_copy.rb +64 -1
- data/lib/cloudsmith-api/models/package_move.rb +64 -1
- data/lib/cloudsmith-api/models/package_quarantine.rb +64 -1
- data/lib/cloudsmith-api/models/package_resync.rb +64 -1
- data/lib/cloudsmith-api/models/package_status.rb +64 -1
- data/lib/cloudsmith-api/models/package_tag.rb +64 -1
- data/lib/cloudsmith-api/models/provider_settings.rb +272 -0
- data/lib/cloudsmith-api/models/provider_settings_request.rb +252 -0
- data/lib/cloudsmith-api/models/provider_settings_request_patch.rb +227 -0
- data/lib/cloudsmith-api/models/python_package_upload.rb +64 -1
- data/lib/cloudsmith-api/models/raw_package_upload.rb +64 -1
- data/lib/cloudsmith-api/models/rpm_package_upload.rb +64 -1
- data/lib/cloudsmith-api/models/ruby_package_upload.rb +64 -1
- data/lib/cloudsmith-api/models/status_basic.rb +1 -1
- data/lib/cloudsmith-api/models/swift_package_upload.rb +69 -1
- data/lib/cloudsmith-api/models/swift_package_upload_request.rb +16 -1
- data/lib/cloudsmith-api/models/swift_upstream.rb +393 -0
- data/lib/cloudsmith-api/models/swift_upstream_request.rb +365 -0
- data/lib/cloudsmith-api/models/swift_upstream_request_patch.rb +355 -0
- data/lib/cloudsmith-api/models/terraform_package_upload.rb +64 -1
- data/lib/cloudsmith-api/models/vagrant_package_upload.rb +64 -1
- data/lib/cloudsmith-api/version.rb +1 -1
- data/lib/cloudsmith-api.rb +6 -0
- data/spec/api/orgs_api_spec.rb +81 -0
- data/spec/api/packages_api_spec.rb +2 -2
- data/spec/api/repos_api_spec.rb +87 -0
- data/spec/models/alpine_package_upload_spec.rb +42 -0
- data/spec/models/cargo_package_upload_spec.rb +42 -0
- data/spec/models/cocoapods_package_upload_spec.rb +42 -0
- data/spec/models/composer_package_upload_spec.rb +42 -0
- data/spec/models/conan_package_upload_spec.rb +42 -0
- data/spec/models/conda_package_upload_spec.rb +42 -0
- data/spec/models/cran_package_upload_spec.rb +42 -0
- data/spec/models/dart_package_upload_spec.rb +42 -0
- data/spec/models/deb_package_upload_spec.rb +42 -0
- data/spec/models/docker_package_upload_spec.rb +42 -0
- data/spec/models/go_package_upload_spec.rb +42 -0
- data/spec/models/helm_package_upload_spec.rb +42 -0
- data/spec/models/hex_package_upload_spec.rb +42 -0
- data/spec/models/luarocks_package_upload_spec.rb +42 -0
- data/spec/models/maven_package_upload_spec.rb +42 -0
- data/spec/models/npm_package_upload_spec.rb +42 -0
- data/spec/models/nuget_package_upload_spec.rb +42 -0
- data/spec/models/p2_package_upload_spec.rb +42 -0
- data/spec/models/package_copy_spec.rb +42 -0
- data/spec/models/package_move_spec.rb +42 -0
- data/spec/models/package_quarantine_spec.rb +42 -0
- data/spec/models/package_resync_spec.rb +42 -0
- data/spec/models/package_spec.rb +42 -0
- data/spec/models/package_status_spec.rb +42 -0
- data/spec/models/package_tag_spec.rb +42 -0
- data/spec/models/provider_settings_request_patch_spec.rb +65 -0
- data/spec/models/provider_settings_request_spec.rb +65 -0
- data/spec/models/provider_settings_spec.rb +77 -0
- data/spec/models/python_package_upload_spec.rb +42 -0
- data/spec/models/raw_package_upload_spec.rb +42 -0
- data/spec/models/rpm_package_upload_spec.rb +42 -0
- data/spec/models/ruby_package_upload_spec.rb +42 -0
- data/spec/models/swift_package_upload_request_spec.rb +6 -0
- data/spec/models/swift_package_upload_spec.rb +42 -0
- data/spec/models/swift_upstream_request_patch_spec.rb +121 -0
- data/spec/models/swift_upstream_request_spec.rb +121 -0
- data/spec/models/swift_upstream_spec.rb +139 -0
- data/spec/models/terraform_package_upload_spec.rb +42 -0
- data/spec/models/vagrant_package_upload_spec.rb +42 -0
- data/vendor/bundle/ruby/2.6.0/cache/bigdecimal-3.1.7.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/json-2.7.2.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/public_suffix-5.0.5.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/autotest-fsevent-0.2.21/gem_make.out +1 -1
- data/vendor/bundle/ruby/2.6.0/{gems/bigdecimal-3.1.6/ext/bigdecimal → extensions/x86_64-linux/2.6.0/bigdecimal-3.1.7}/bigdecimal.so +0 -0
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/gem_make.out +6 -6
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/mkmf.log +10 -10
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/ffi-1.16.3/gem_make.out +2 -2
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/ffi-1.16.3/mkmf.log +1 -1
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/{json-2.7.1 → json-2.7.2}/gem_make.out +5 -5
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.7.2/json/ext/generator.so +0 -0
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.7.2/json/ext/parser.so +0 -0
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/{json-2.7.1 → json-2.7.2}/mkmf.log +2 -2
- data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/ext/bigdecimal/Makefile +2 -2
- data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/ext/bigdecimal/bigdecimal.c +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/ext/bigdecimal/bigdecimal.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6/lib → bigdecimal-3.1.7/ext/bigdecimal}/bigdecimal.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/ext/bigdecimal/missing.o +0 -0
- data/vendor/bundle/ruby/2.6.0/{extensions/x86_64-linux/2.6.0/bigdecimal-3.1.6 → gems/bigdecimal-3.1.7/lib}/bigdecimal.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.16.3/ext/ffi_c/Makefile +2 -2
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/README.md +0 -9
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/ext/json/Makefile +2 -2
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/ext/json/ext/generator/Makefile +2 -2
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/ext/json/ext/generator/generator.c +36 -6
- data/vendor/bundle/ruby/2.6.0/gems/json-2.7.2/ext/json/ext/generator/generator.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.7.2/ext/json/ext/generator/generator.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/ext/json/ext/parser/Makefile +2 -2
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/ext/json/ext/parser/parser.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.7.2/ext/json/ext/parser/parser.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json/add/ostruct.rb +5 -2
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json/common.rb +2 -1
- data/vendor/bundle/ruby/2.6.0/gems/json-2.7.2/lib/json/ext/generator.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.7.2/lib/json/ext/parser.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json/generic_object.rb +6 -2
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json/version.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-5.0.4 → public_suffix-5.0.5}/CHANGELOG.md +7 -1
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-5.0.4 → public_suffix-5.0.5}/LICENSE.txt +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-5.0.4 → public_suffix-5.0.5}/README.md +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-5.0.4 → public_suffix-5.0.5}/data/list.txt +239 -80
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-5.0.4 → public_suffix-5.0.5}/lib/public_suffix/domain.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-5.0.4 → public_suffix-5.0.5}/lib/public_suffix/errors.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-5.0.4 → public_suffix-5.0.5}/lib/public_suffix/list.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-5.0.4 → public_suffix-5.0.5}/lib/public_suffix/rule.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-5.0.4 → public_suffix-5.0.5}/lib/public_suffix/version.rb +2 -2
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-5.0.4 → public_suffix-5.0.5}/lib/public_suffix.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/specifications/{bigdecimal-3.1.6.gemspec → bigdecimal-3.1.7.gemspec} +3 -3
- data/vendor/bundle/ruby/2.6.0/specifications/{json-2.7.1.gemspec → json-2.7.2.gemspec} +0 -0
- data/vendor/bundle/ruby/2.6.0/specifications/{public_suffix-5.0.4.gemspec → public_suffix-5.0.5.gemspec} +4 -4
- metadata +129 -105
- data/vendor/bundle/ruby/2.6.0/cache/bigdecimal-3.1.6.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/json-2.7.1.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/public_suffix-5.0.4.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.7.1/json/ext/generator.so +0 -0
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.7.1/json/ext/parser.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.7.1/ext/json/ext/generator/generator.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.7.1/ext/json/ext/generator/generator.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.7.1/ext/json/ext/parser/parser.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.7.1/lib/json/ext/generator.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.7.1/lib/json/ext/parser.so +0 -0
- /data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/gem.build_complete +0 -0
- /data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/{json-2.7.1 → json-2.7.2}/gem.build_complete +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/LICENSE +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/bigdecimal.gemspec +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/ext/bigdecimal/.sitearchdir.time +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/ext/bigdecimal/bigdecimal.h +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/ext/bigdecimal/bits.h +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/ext/bigdecimal/extconf.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/ext/bigdecimal/feature.h +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/ext/bigdecimal/missing/dtoa.c +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/ext/bigdecimal/missing.c +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/ext/bigdecimal/missing.h +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/ext/bigdecimal/static_assert.h +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/lib/bigdecimal/jacobian.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/lib/bigdecimal/ludcmp.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/lib/bigdecimal/math.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/lib/bigdecimal/newton.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/lib/bigdecimal/util.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/lib/bigdecimal.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/sample/linear.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/sample/nlsolve.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/sample/pi.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/CHANGES.md +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/LICENSE +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/ext/json/ext/fbuffer/fbuffer.h +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/ext/json/ext/generator/.sitearchdir.-.json.-.ext.time +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/ext/json/ext/generator/depend +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/ext/json/ext/generator/extconf.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/ext/json/ext/generator/generator.h +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/ext/json/ext/parser/.sitearchdir.-.json.-.ext.time +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/ext/json/ext/parser/depend +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/ext/json/ext/parser/extconf.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/ext/json/ext/parser/parser.c +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/ext/json/ext/parser/parser.h +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/ext/json/ext/parser/parser.rl +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/ext/json/extconf.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/json.gemspec +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json/add/bigdecimal.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json/add/complex.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json/add/core.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json/add/date.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json/add/date_time.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json/add/exception.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json/add/range.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json/add/rational.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json/add/regexp.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json/add/set.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json/add/struct.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json/add/symbol.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json/add/time.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json/ext.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json/pure/generator.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json/pure/parser.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json/pure.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-5.0.4 → public_suffix-5.0.5}/.yardopts +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-5.0.4 → public_suffix-5.0.5}/2.0-Upgrade.md +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-5.0.4 → public_suffix-5.0.5}/SECURITY.md +0 -0
|
@@ -152,18 +152,60 @@ describe 'PythonPackageUpload' do
|
|
|
152
152
|
end
|
|
153
153
|
end
|
|
154
154
|
|
|
155
|
+
describe 'test attribute "is_cancellable"' do
|
|
156
|
+
it 'should work' do
|
|
157
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
158
|
+
end
|
|
159
|
+
end
|
|
160
|
+
|
|
161
|
+
describe 'test attribute "is_copyable"' do
|
|
162
|
+
it 'should work' do
|
|
163
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
164
|
+
end
|
|
165
|
+
end
|
|
166
|
+
|
|
167
|
+
describe 'test attribute "is_deleteable"' do
|
|
168
|
+
it 'should work' do
|
|
169
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
170
|
+
end
|
|
171
|
+
end
|
|
172
|
+
|
|
155
173
|
describe 'test attribute "is_downloadable"' do
|
|
156
174
|
it 'should work' do
|
|
157
175
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
158
176
|
end
|
|
159
177
|
end
|
|
160
178
|
|
|
179
|
+
describe 'test attribute "is_moveable"' do
|
|
180
|
+
it 'should work' do
|
|
181
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
182
|
+
end
|
|
183
|
+
end
|
|
184
|
+
|
|
185
|
+
describe 'test attribute "is_quarantinable"' do
|
|
186
|
+
it 'should work' do
|
|
187
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
188
|
+
end
|
|
189
|
+
end
|
|
190
|
+
|
|
161
191
|
describe 'test attribute "is_quarantined"' do
|
|
162
192
|
it 'should work' do
|
|
163
193
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
164
194
|
end
|
|
165
195
|
end
|
|
166
196
|
|
|
197
|
+
describe 'test attribute "is_resyncable"' do
|
|
198
|
+
it 'should work' do
|
|
199
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
200
|
+
end
|
|
201
|
+
end
|
|
202
|
+
|
|
203
|
+
describe 'test attribute "is_security_scannable"' do
|
|
204
|
+
it 'should work' do
|
|
205
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
206
|
+
end
|
|
207
|
+
end
|
|
208
|
+
|
|
167
209
|
describe 'test attribute "is_sync_awaiting"' do
|
|
168
210
|
it 'should work' do
|
|
169
211
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -152,18 +152,60 @@ describe 'RawPackageUpload' do
|
|
|
152
152
|
end
|
|
153
153
|
end
|
|
154
154
|
|
|
155
|
+
describe 'test attribute "is_cancellable"' do
|
|
156
|
+
it 'should work' do
|
|
157
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
158
|
+
end
|
|
159
|
+
end
|
|
160
|
+
|
|
161
|
+
describe 'test attribute "is_copyable"' do
|
|
162
|
+
it 'should work' do
|
|
163
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
164
|
+
end
|
|
165
|
+
end
|
|
166
|
+
|
|
167
|
+
describe 'test attribute "is_deleteable"' do
|
|
168
|
+
it 'should work' do
|
|
169
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
170
|
+
end
|
|
171
|
+
end
|
|
172
|
+
|
|
155
173
|
describe 'test attribute "is_downloadable"' do
|
|
156
174
|
it 'should work' do
|
|
157
175
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
158
176
|
end
|
|
159
177
|
end
|
|
160
178
|
|
|
179
|
+
describe 'test attribute "is_moveable"' do
|
|
180
|
+
it 'should work' do
|
|
181
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
182
|
+
end
|
|
183
|
+
end
|
|
184
|
+
|
|
185
|
+
describe 'test attribute "is_quarantinable"' do
|
|
186
|
+
it 'should work' do
|
|
187
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
188
|
+
end
|
|
189
|
+
end
|
|
190
|
+
|
|
161
191
|
describe 'test attribute "is_quarantined"' do
|
|
162
192
|
it 'should work' do
|
|
163
193
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
164
194
|
end
|
|
165
195
|
end
|
|
166
196
|
|
|
197
|
+
describe 'test attribute "is_resyncable"' do
|
|
198
|
+
it 'should work' do
|
|
199
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
200
|
+
end
|
|
201
|
+
end
|
|
202
|
+
|
|
203
|
+
describe 'test attribute "is_security_scannable"' do
|
|
204
|
+
it 'should work' do
|
|
205
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
206
|
+
end
|
|
207
|
+
end
|
|
208
|
+
|
|
167
209
|
describe 'test attribute "is_sync_awaiting"' do
|
|
168
210
|
it 'should work' do
|
|
169
211
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -152,18 +152,60 @@ describe 'RpmPackageUpload' do
|
|
|
152
152
|
end
|
|
153
153
|
end
|
|
154
154
|
|
|
155
|
+
describe 'test attribute "is_cancellable"' do
|
|
156
|
+
it 'should work' do
|
|
157
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
158
|
+
end
|
|
159
|
+
end
|
|
160
|
+
|
|
161
|
+
describe 'test attribute "is_copyable"' do
|
|
162
|
+
it 'should work' do
|
|
163
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
164
|
+
end
|
|
165
|
+
end
|
|
166
|
+
|
|
167
|
+
describe 'test attribute "is_deleteable"' do
|
|
168
|
+
it 'should work' do
|
|
169
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
170
|
+
end
|
|
171
|
+
end
|
|
172
|
+
|
|
155
173
|
describe 'test attribute "is_downloadable"' do
|
|
156
174
|
it 'should work' do
|
|
157
175
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
158
176
|
end
|
|
159
177
|
end
|
|
160
178
|
|
|
179
|
+
describe 'test attribute "is_moveable"' do
|
|
180
|
+
it 'should work' do
|
|
181
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
182
|
+
end
|
|
183
|
+
end
|
|
184
|
+
|
|
185
|
+
describe 'test attribute "is_quarantinable"' do
|
|
186
|
+
it 'should work' do
|
|
187
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
188
|
+
end
|
|
189
|
+
end
|
|
190
|
+
|
|
161
191
|
describe 'test attribute "is_quarantined"' do
|
|
162
192
|
it 'should work' do
|
|
163
193
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
164
194
|
end
|
|
165
195
|
end
|
|
166
196
|
|
|
197
|
+
describe 'test attribute "is_resyncable"' do
|
|
198
|
+
it 'should work' do
|
|
199
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
200
|
+
end
|
|
201
|
+
end
|
|
202
|
+
|
|
203
|
+
describe 'test attribute "is_security_scannable"' do
|
|
204
|
+
it 'should work' do
|
|
205
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
206
|
+
end
|
|
207
|
+
end
|
|
208
|
+
|
|
167
209
|
describe 'test attribute "is_sync_awaiting"' do
|
|
168
210
|
it 'should work' do
|
|
169
211
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -152,18 +152,60 @@ describe 'RubyPackageUpload' do
|
|
|
152
152
|
end
|
|
153
153
|
end
|
|
154
154
|
|
|
155
|
+
describe 'test attribute "is_cancellable"' do
|
|
156
|
+
it 'should work' do
|
|
157
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
158
|
+
end
|
|
159
|
+
end
|
|
160
|
+
|
|
161
|
+
describe 'test attribute "is_copyable"' do
|
|
162
|
+
it 'should work' do
|
|
163
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
164
|
+
end
|
|
165
|
+
end
|
|
166
|
+
|
|
167
|
+
describe 'test attribute "is_deleteable"' do
|
|
168
|
+
it 'should work' do
|
|
169
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
170
|
+
end
|
|
171
|
+
end
|
|
172
|
+
|
|
155
173
|
describe 'test attribute "is_downloadable"' do
|
|
156
174
|
it 'should work' do
|
|
157
175
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
158
176
|
end
|
|
159
177
|
end
|
|
160
178
|
|
|
179
|
+
describe 'test attribute "is_moveable"' do
|
|
180
|
+
it 'should work' do
|
|
181
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
182
|
+
end
|
|
183
|
+
end
|
|
184
|
+
|
|
185
|
+
describe 'test attribute "is_quarantinable"' do
|
|
186
|
+
it 'should work' do
|
|
187
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
188
|
+
end
|
|
189
|
+
end
|
|
190
|
+
|
|
161
191
|
describe 'test attribute "is_quarantined"' do
|
|
162
192
|
it 'should work' do
|
|
163
193
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
164
194
|
end
|
|
165
195
|
end
|
|
166
196
|
|
|
197
|
+
describe 'test attribute "is_resyncable"' do
|
|
198
|
+
it 'should work' do
|
|
199
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
200
|
+
end
|
|
201
|
+
end
|
|
202
|
+
|
|
203
|
+
describe 'test attribute "is_security_scannable"' do
|
|
204
|
+
it 'should work' do
|
|
205
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
206
|
+
end
|
|
207
|
+
end
|
|
208
|
+
|
|
167
209
|
describe 'test attribute "is_sync_awaiting"' do
|
|
168
210
|
it 'should work' do
|
|
169
211
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -50,6 +50,12 @@ describe 'SwiftPackageUploadRequest' do
|
|
|
50
50
|
end
|
|
51
51
|
end
|
|
52
52
|
|
|
53
|
+
describe 'test attribute "name"' do
|
|
54
|
+
it 'should work' do
|
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
56
|
+
end
|
|
57
|
+
end
|
|
58
|
+
|
|
53
59
|
describe 'test attribute "package_file"' do
|
|
54
60
|
it 'should work' do
|
|
55
61
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -164,18 +164,60 @@ describe 'SwiftPackageUpload' do
|
|
|
164
164
|
end
|
|
165
165
|
end
|
|
166
166
|
|
|
167
|
+
describe 'test attribute "is_cancellable"' do
|
|
168
|
+
it 'should work' do
|
|
169
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
170
|
+
end
|
|
171
|
+
end
|
|
172
|
+
|
|
173
|
+
describe 'test attribute "is_copyable"' do
|
|
174
|
+
it 'should work' do
|
|
175
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
176
|
+
end
|
|
177
|
+
end
|
|
178
|
+
|
|
179
|
+
describe 'test attribute "is_deleteable"' do
|
|
180
|
+
it 'should work' do
|
|
181
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
182
|
+
end
|
|
183
|
+
end
|
|
184
|
+
|
|
167
185
|
describe 'test attribute "is_downloadable"' do
|
|
168
186
|
it 'should work' do
|
|
169
187
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
170
188
|
end
|
|
171
189
|
end
|
|
172
190
|
|
|
191
|
+
describe 'test attribute "is_moveable"' do
|
|
192
|
+
it 'should work' do
|
|
193
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
194
|
+
end
|
|
195
|
+
end
|
|
196
|
+
|
|
197
|
+
describe 'test attribute "is_quarantinable"' do
|
|
198
|
+
it 'should work' do
|
|
199
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
200
|
+
end
|
|
201
|
+
end
|
|
202
|
+
|
|
173
203
|
describe 'test attribute "is_quarantined"' do
|
|
174
204
|
it 'should work' do
|
|
175
205
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
176
206
|
end
|
|
177
207
|
end
|
|
178
208
|
|
|
209
|
+
describe 'test attribute "is_resyncable"' do
|
|
210
|
+
it 'should work' do
|
|
211
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
212
|
+
end
|
|
213
|
+
end
|
|
214
|
+
|
|
215
|
+
describe 'test attribute "is_security_scannable"' do
|
|
216
|
+
it 'should work' do
|
|
217
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
218
|
+
end
|
|
219
|
+
end
|
|
220
|
+
|
|
179
221
|
describe 'test attribute "is_sync_awaiting"' do
|
|
180
222
|
it 'should work' do
|
|
181
223
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Cloudsmith API (v1)
|
|
3
|
+
|
|
4
|
+
#The API to the Cloudsmith Service
|
|
5
|
+
|
|
6
|
+
OpenAPI spec version: v1
|
|
7
|
+
Contact: support@cloudsmith.io
|
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
+
Swagger Codegen version: 2.4.26
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for CloudsmithApi::SwiftUpstreamRequestPatch
|
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe 'SwiftUpstreamRequestPatch' do
|
|
21
|
+
before do
|
|
22
|
+
# run before each test
|
|
23
|
+
@instance = CloudsmithApi::SwiftUpstreamRequestPatch.new
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
after do
|
|
27
|
+
# run after each test
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test an instance of SwiftUpstreamRequestPatch' do
|
|
31
|
+
it 'should create an instance of SwiftUpstreamRequestPatch' do
|
|
32
|
+
expect(@instance).to be_instance_of(CloudsmithApi::SwiftUpstreamRequestPatch)
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
describe 'test attribute "auth_mode"' do
|
|
36
|
+
it 'should work' do
|
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
38
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["None", "Username and Password"])
|
|
39
|
+
# validator.allowable_values.each do |value|
|
|
40
|
+
# expect { @instance.auth_mode = value }.not_to raise_error
|
|
41
|
+
# end
|
|
42
|
+
end
|
|
43
|
+
end
|
|
44
|
+
|
|
45
|
+
describe 'test attribute "auth_secret"' do
|
|
46
|
+
it 'should work' do
|
|
47
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
48
|
+
end
|
|
49
|
+
end
|
|
50
|
+
|
|
51
|
+
describe 'test attribute "auth_username"' do
|
|
52
|
+
it 'should work' do
|
|
53
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
54
|
+
end
|
|
55
|
+
end
|
|
56
|
+
|
|
57
|
+
describe 'test attribute "extra_header_1"' do
|
|
58
|
+
it 'should work' do
|
|
59
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
60
|
+
end
|
|
61
|
+
end
|
|
62
|
+
|
|
63
|
+
describe 'test attribute "extra_header_2"' do
|
|
64
|
+
it 'should work' do
|
|
65
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
66
|
+
end
|
|
67
|
+
end
|
|
68
|
+
|
|
69
|
+
describe 'test attribute "extra_value_1"' do
|
|
70
|
+
it 'should work' do
|
|
71
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
72
|
+
end
|
|
73
|
+
end
|
|
74
|
+
|
|
75
|
+
describe 'test attribute "extra_value_2"' do
|
|
76
|
+
it 'should work' do
|
|
77
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
78
|
+
end
|
|
79
|
+
end
|
|
80
|
+
|
|
81
|
+
describe 'test attribute "is_active"' do
|
|
82
|
+
it 'should work' do
|
|
83
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
84
|
+
end
|
|
85
|
+
end
|
|
86
|
+
|
|
87
|
+
describe 'test attribute "mode"' do
|
|
88
|
+
it 'should work' do
|
|
89
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
90
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["Proxy Only"])
|
|
91
|
+
# validator.allowable_values.each do |value|
|
|
92
|
+
# expect { @instance.mode = value }.not_to raise_error
|
|
93
|
+
# end
|
|
94
|
+
end
|
|
95
|
+
end
|
|
96
|
+
|
|
97
|
+
describe 'test attribute "name"' do
|
|
98
|
+
it 'should work' do
|
|
99
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
100
|
+
end
|
|
101
|
+
end
|
|
102
|
+
|
|
103
|
+
describe 'test attribute "priority"' do
|
|
104
|
+
it 'should work' do
|
|
105
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
106
|
+
end
|
|
107
|
+
end
|
|
108
|
+
|
|
109
|
+
describe 'test attribute "upstream_url"' do
|
|
110
|
+
it 'should work' do
|
|
111
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
112
|
+
end
|
|
113
|
+
end
|
|
114
|
+
|
|
115
|
+
describe 'test attribute "verify_ssl"' do
|
|
116
|
+
it 'should work' do
|
|
117
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
118
|
+
end
|
|
119
|
+
end
|
|
120
|
+
|
|
121
|
+
end
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Cloudsmith API (v1)
|
|
3
|
+
|
|
4
|
+
#The API to the Cloudsmith Service
|
|
5
|
+
|
|
6
|
+
OpenAPI spec version: v1
|
|
7
|
+
Contact: support@cloudsmith.io
|
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
+
Swagger Codegen version: 2.4.26
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for CloudsmithApi::SwiftUpstreamRequest
|
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe 'SwiftUpstreamRequest' do
|
|
21
|
+
before do
|
|
22
|
+
# run before each test
|
|
23
|
+
@instance = CloudsmithApi::SwiftUpstreamRequest.new
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
after do
|
|
27
|
+
# run after each test
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test an instance of SwiftUpstreamRequest' do
|
|
31
|
+
it 'should create an instance of SwiftUpstreamRequest' do
|
|
32
|
+
expect(@instance).to be_instance_of(CloudsmithApi::SwiftUpstreamRequest)
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
describe 'test attribute "auth_mode"' do
|
|
36
|
+
it 'should work' do
|
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
38
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["None", "Username and Password"])
|
|
39
|
+
# validator.allowable_values.each do |value|
|
|
40
|
+
# expect { @instance.auth_mode = value }.not_to raise_error
|
|
41
|
+
# end
|
|
42
|
+
end
|
|
43
|
+
end
|
|
44
|
+
|
|
45
|
+
describe 'test attribute "auth_secret"' do
|
|
46
|
+
it 'should work' do
|
|
47
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
48
|
+
end
|
|
49
|
+
end
|
|
50
|
+
|
|
51
|
+
describe 'test attribute "auth_username"' do
|
|
52
|
+
it 'should work' do
|
|
53
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
54
|
+
end
|
|
55
|
+
end
|
|
56
|
+
|
|
57
|
+
describe 'test attribute "extra_header_1"' do
|
|
58
|
+
it 'should work' do
|
|
59
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
60
|
+
end
|
|
61
|
+
end
|
|
62
|
+
|
|
63
|
+
describe 'test attribute "extra_header_2"' do
|
|
64
|
+
it 'should work' do
|
|
65
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
66
|
+
end
|
|
67
|
+
end
|
|
68
|
+
|
|
69
|
+
describe 'test attribute "extra_value_1"' do
|
|
70
|
+
it 'should work' do
|
|
71
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
72
|
+
end
|
|
73
|
+
end
|
|
74
|
+
|
|
75
|
+
describe 'test attribute "extra_value_2"' do
|
|
76
|
+
it 'should work' do
|
|
77
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
78
|
+
end
|
|
79
|
+
end
|
|
80
|
+
|
|
81
|
+
describe 'test attribute "is_active"' do
|
|
82
|
+
it 'should work' do
|
|
83
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
84
|
+
end
|
|
85
|
+
end
|
|
86
|
+
|
|
87
|
+
describe 'test attribute "mode"' do
|
|
88
|
+
it 'should work' do
|
|
89
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
90
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["Proxy Only"])
|
|
91
|
+
# validator.allowable_values.each do |value|
|
|
92
|
+
# expect { @instance.mode = value }.not_to raise_error
|
|
93
|
+
# end
|
|
94
|
+
end
|
|
95
|
+
end
|
|
96
|
+
|
|
97
|
+
describe 'test attribute "name"' do
|
|
98
|
+
it 'should work' do
|
|
99
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
100
|
+
end
|
|
101
|
+
end
|
|
102
|
+
|
|
103
|
+
describe 'test attribute "priority"' do
|
|
104
|
+
it 'should work' do
|
|
105
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
106
|
+
end
|
|
107
|
+
end
|
|
108
|
+
|
|
109
|
+
describe 'test attribute "upstream_url"' do
|
|
110
|
+
it 'should work' do
|
|
111
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
112
|
+
end
|
|
113
|
+
end
|
|
114
|
+
|
|
115
|
+
describe 'test attribute "verify_ssl"' do
|
|
116
|
+
it 'should work' do
|
|
117
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
118
|
+
end
|
|
119
|
+
end
|
|
120
|
+
|
|
121
|
+
end
|