cloudsmith-api 0.51.34 → 0.52.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +3 -3
- data/README.md +14 -5
- data/build.json +1 -1
- data/docs/AlpinePackageUpload.md +63 -0
- data/docs/ConanPackageUpload.md +1 -0
- data/docs/EntitlementsCreate.md +1 -1
- data/docs/EntitlementsPartialUpdate.md +1 -1
- data/docs/EntitlementsRefresh.md +1 -1
- data/docs/MavenPackageUpload.md +1 -0
- data/docs/Package.md +2 -0
- data/docs/PackageCopy.md +2 -0
- data/docs/PackageMove.md +2 -0
- data/docs/PackagesApi.md +238 -39
- data/docs/PackagesCopy.md +1 -1
- data/docs/PackagesMove.md +0 -1
- data/docs/PackagesTag.md +10 -0
- data/docs/PackagesUploadAlpine.md +1 -0
- data/docs/PackagesUploadCargo.md +1 -0
- data/docs/PackagesUploadCocoapods.md +1 -0
- data/docs/PackagesUploadComposer.md +1 -0
- data/docs/PackagesUploadConan.md +3 -0
- data/docs/PackagesUploadCran.md +1 -0
- data/docs/PackagesUploadDart.md +1 -0
- data/docs/PackagesUploadDeb.md +3 -0
- data/docs/PackagesUploadDocker.md +1 -0
- data/docs/PackagesUploadGo.md +1 -0
- data/docs/PackagesUploadHelm.md +1 -0
- data/docs/PackagesUploadLuarocks.md +1 -0
- data/docs/PackagesUploadMaven.md +1 -0
- data/docs/PackagesUploadNpm.md +1 -0
- data/docs/PackagesUploadNuget.md +1 -0
- data/docs/PackagesUploadPython.md +1 -0
- data/docs/PackagesUploadRaw.md +1 -0
- data/docs/PackagesUploadRpm.md +1 -0
- data/docs/PackagesUploadRuby.md +1 -0
- data/docs/{PackagesResync.md → PackagesUploadTerraform.md} +3 -1
- data/docs/PackagesUploadVagrant.md +1 -0
- data/docs/PackagesValidateuploadAlpine.md +1 -0
- data/docs/PackagesValidateuploadCargo.md +1 -0
- data/docs/PackagesValidateuploadCocoapods.md +1 -0
- data/docs/PackagesValidateuploadComposer.md +1 -0
- data/docs/PackagesValidateuploadConan.md +3 -0
- data/docs/PackagesValidateuploadCran.md +1 -0
- data/docs/PackagesValidateuploadDart.md +1 -0
- data/docs/PackagesValidateuploadDeb.md +3 -0
- data/docs/PackagesValidateuploadDocker.md +1 -0
- data/docs/PackagesValidateuploadGo.md +1 -0
- data/docs/PackagesValidateuploadHelm.md +1 -0
- data/docs/PackagesValidateuploadLuarocks.md +1 -0
- data/docs/PackagesValidateuploadMaven.md +1 -0
- data/docs/PackagesValidateuploadNpm.md +1 -0
- data/docs/PackagesValidateuploadNuget.md +1 -0
- data/docs/PackagesValidateuploadPython.md +1 -0
- data/docs/PackagesValidateuploadRaw.md +1 -0
- data/docs/PackagesValidateuploadRpm.md +1 -0
- data/docs/PackagesValidateuploadRuby.md +1 -0
- data/docs/PackagesValidateuploadTerraform.md +10 -0
- data/docs/PackagesValidateuploadVagrant.md +1 -0
- data/docs/RawPackageUpload.md +1 -0
- data/docs/ReposCreate.md +4 -7
- data/docs/ReposPartialUpdate.md +3 -7
- data/docs/Repository.md +11 -10
- data/docs/RepositoryToken.md +3 -3
- data/docs/RepositoryTokenRefresh.md +3 -3
- data/docs/RepositoryTokenSyncTokens.md +3 -3
- data/docs/RepositoryWebhook.md +1 -0
- data/docs/StorageRegion.md +9 -0
- data/docs/StorageregionsApi.md +122 -0
- data/docs/VagrantPackageUpload.md +1 -0
- data/docs/WebhooksCreate.md +1 -0
- data/docs/WebhooksPartialUpdate.md +1 -0
- data/lib/cloudsmith-api.rb +6 -1
- data/lib/cloudsmith-api/api/packages_api.rb +237 -53
- data/lib/cloudsmith-api/api/storageregions_api.rb +119 -0
- data/lib/cloudsmith-api/models/alpine_package_upload.rb +743 -0
- data/lib/cloudsmith-api/models/conan_package_upload.rb +11 -1
- data/lib/cloudsmith-api/models/entitlements_create.rb +1 -1
- data/lib/cloudsmith-api/models/entitlements_partial_update.rb +1 -1
- data/lib/cloudsmith-api/models/entitlements_refresh.rb +1 -1
- data/lib/cloudsmith-api/models/maven_package_upload.rb +11 -1
- data/lib/cloudsmith-api/models/package.rb +21 -1
- data/lib/cloudsmith-api/models/package_copy.rb +21 -1
- data/lib/cloudsmith-api/models/package_move.rb +21 -1
- data/lib/cloudsmith-api/models/packages_copy.rb +1 -1
- data/lib/cloudsmith-api/models/packages_move.rb +4 -14
- data/lib/cloudsmith-api/models/packages_tag.rb +211 -0
- data/lib/cloudsmith-api/models/packages_upload_alpine.rb +14 -4
- data/lib/cloudsmith-api/models/packages_upload_cargo.rb +14 -4
- data/lib/cloudsmith-api/models/packages_upload_cocoapods.rb +14 -4
- data/lib/cloudsmith-api/models/packages_upload_composer.rb +14 -4
- data/lib/cloudsmith-api/models/packages_upload_conan.rb +34 -4
- data/lib/cloudsmith-api/models/packages_upload_cran.rb +14 -4
- data/lib/cloudsmith-api/models/packages_upload_dart.rb +14 -4
- data/lib/cloudsmith-api/models/packages_upload_deb.rb +34 -4
- data/lib/cloudsmith-api/models/packages_upload_docker.rb +14 -4
- data/lib/cloudsmith-api/models/packages_upload_go.rb +14 -4
- data/lib/cloudsmith-api/models/packages_upload_helm.rb +14 -4
- data/lib/cloudsmith-api/models/packages_upload_luarocks.rb +14 -4
- data/lib/cloudsmith-api/models/packages_upload_maven.rb +11 -1
- data/lib/cloudsmith-api/models/packages_upload_npm.rb +14 -4
- data/lib/cloudsmith-api/models/packages_upload_nuget.rb +14 -4
- data/lib/cloudsmith-api/models/packages_upload_python.rb +14 -4
- data/lib/cloudsmith-api/models/packages_upload_raw.rb +11 -1
- data/lib/cloudsmith-api/models/packages_upload_rpm.rb +14 -4
- data/lib/cloudsmith-api/models/packages_upload_ruby.rb +14 -4
- data/lib/cloudsmith-api/models/packages_upload_terraform.rb +214 -0
- data/lib/cloudsmith-api/models/packages_upload_vagrant.rb +11 -1
- data/lib/cloudsmith-api/models/packages_validateupload_alpine.rb +14 -4
- data/lib/cloudsmith-api/models/packages_validateupload_cargo.rb +14 -4
- data/lib/cloudsmith-api/models/packages_validateupload_cocoapods.rb +14 -4
- data/lib/cloudsmith-api/models/packages_validateupload_composer.rb +14 -4
- data/lib/cloudsmith-api/models/packages_validateupload_conan.rb +34 -4
- data/lib/cloudsmith-api/models/packages_validateupload_cran.rb +14 -4
- data/lib/cloudsmith-api/models/packages_validateupload_dart.rb +14 -4
- data/lib/cloudsmith-api/models/packages_validateupload_deb.rb +34 -4
- data/lib/cloudsmith-api/models/packages_validateupload_docker.rb +14 -4
- data/lib/cloudsmith-api/models/packages_validateupload_go.rb +14 -4
- data/lib/cloudsmith-api/models/packages_validateupload_helm.rb +14 -4
- data/lib/cloudsmith-api/models/packages_validateupload_luarocks.rb +14 -4
- data/lib/cloudsmith-api/models/packages_validateupload_maven.rb +11 -1
- data/lib/cloudsmith-api/models/packages_validateupload_npm.rb +14 -4
- data/lib/cloudsmith-api/models/packages_validateupload_nuget.rb +14 -4
- data/lib/cloudsmith-api/models/packages_validateupload_python.rb +14 -4
- data/lib/cloudsmith-api/models/packages_validateupload_raw.rb +11 -1
- data/lib/cloudsmith-api/models/packages_validateupload_rpm.rb +14 -4
- data/lib/cloudsmith-api/models/packages_validateupload_ruby.rb +14 -4
- data/lib/cloudsmith-api/models/packages_validateupload_terraform.rb +214 -0
- data/lib/cloudsmith-api/models/packages_validateupload_vagrant.rb +11 -1
- data/lib/cloudsmith-api/models/raw_package_upload.rb +11 -1
- data/lib/cloudsmith-api/models/repos_create.rb +17 -57
- data/lib/cloudsmith-api/models/repos_partial_update.rb +4 -44
- data/lib/cloudsmith-api/models/repository.rb +24 -24
- data/lib/cloudsmith-api/models/repository_token.rb +3 -3
- data/lib/cloudsmith-api/models/repository_token_refresh.rb +3 -3
- data/lib/cloudsmith-api/models/repository_token_sync_tokens.rb +3 -3
- data/lib/cloudsmith-api/models/repository_webhook.rb +11 -1
- data/lib/cloudsmith-api/models/{packages_resync.rb → storage_region.rb} +29 -9
- data/lib/cloudsmith-api/models/vagrant_package_upload.rb +11 -1
- data/lib/cloudsmith-api/models/webhooks_create.rb +11 -1
- data/lib/cloudsmith-api/models/webhooks_partial_update.rb +11 -1
- data/lib/cloudsmith-api/version.rb +1 -1
- data/spec/api/packages_api_spec.rb +59 -17
- data/spec/api/storageregions_api_spec.rb +58 -0
- data/spec/models/alpine_package_upload_spec.rb +372 -0
- data/spec/models/conan_package_upload_spec.rb +6 -0
- data/spec/models/maven_package_upload_spec.rb +6 -0
- data/spec/models/package_copy_spec.rb +12 -0
- data/spec/models/package_move_spec.rb +12 -0
- data/spec/models/package_spec.rb +12 -0
- data/spec/models/packages_move_spec.rb +0 -6
- data/spec/models/packages_tag_spec.rb +54 -0
- data/spec/models/packages_upload_alpine_spec.rb +6 -0
- data/spec/models/packages_upload_cargo_spec.rb +6 -0
- data/spec/models/packages_upload_cocoapods_spec.rb +6 -0
- data/spec/models/packages_upload_composer_spec.rb +6 -0
- data/spec/models/packages_upload_conan_spec.rb +18 -0
- data/spec/models/packages_upload_cran_spec.rb +6 -0
- data/spec/models/packages_upload_dart_spec.rb +6 -0
- data/spec/models/packages_upload_deb_spec.rb +18 -0
- data/spec/models/packages_upload_docker_spec.rb +6 -0
- data/spec/models/packages_upload_go_spec.rb +6 -0
- data/spec/models/packages_upload_helm_spec.rb +6 -0
- data/spec/models/packages_upload_luarocks_spec.rb +6 -0
- data/spec/models/packages_upload_maven_spec.rb +6 -0
- data/spec/models/packages_upload_npm_spec.rb +6 -0
- data/spec/models/packages_upload_nuget_spec.rb +6 -0
- data/spec/models/packages_upload_python_spec.rb +6 -0
- data/spec/models/packages_upload_raw_spec.rb +6 -0
- data/spec/models/packages_upload_rpm_spec.rb +6 -0
- data/spec/models/packages_upload_ruby_spec.rb +6 -0
- data/spec/models/packages_upload_terraform_spec.rb +54 -0
- data/spec/models/packages_upload_vagrant_spec.rb +6 -0
- data/spec/models/packages_validateupload_alpine_spec.rb +6 -0
- data/spec/models/packages_validateupload_cargo_spec.rb +6 -0
- data/spec/models/packages_validateupload_cocoapods_spec.rb +6 -0
- data/spec/models/packages_validateupload_composer_spec.rb +6 -0
- data/spec/models/packages_validateupload_conan_spec.rb +18 -0
- data/spec/models/packages_validateupload_cran_spec.rb +6 -0
- data/spec/models/packages_validateupload_dart_spec.rb +6 -0
- data/spec/models/packages_validateupload_deb_spec.rb +18 -0
- data/spec/models/packages_validateupload_docker_spec.rb +6 -0
- data/spec/models/packages_validateupload_go_spec.rb +6 -0
- data/spec/models/packages_validateupload_helm_spec.rb +6 -0
- data/spec/models/packages_validateupload_luarocks_spec.rb +6 -0
- data/spec/models/packages_validateupload_maven_spec.rb +6 -0
- data/spec/models/packages_validateupload_npm_spec.rb +6 -0
- data/spec/models/packages_validateupload_nuget_spec.rb +6 -0
- data/spec/models/packages_validateupload_python_spec.rb +6 -0
- data/spec/models/packages_validateupload_raw_spec.rb +6 -0
- data/spec/models/packages_validateupload_rpm_spec.rb +6 -0
- data/spec/models/packages_validateupload_ruby_spec.rb +6 -0
- data/spec/models/packages_validateupload_terraform_spec.rb +54 -0
- data/spec/models/packages_validateupload_vagrant_spec.rb +6 -0
- data/spec/models/raw_package_upload_spec.rb +6 -0
- data/spec/models/repos_create_spec.rb +3 -21
- data/spec/models/repos_partial_update_spec.rb +0 -24
- data/spec/models/repository_spec.rb +6 -0
- data/spec/models/repository_webhook_spec.rb +6 -0
- data/spec/models/{packages_resync_spec.rb → storage_region_spec.rb} +13 -7
- data/spec/models/vagrant_package_upload_spec.rb +6 -0
- data/spec/models/webhooks_create_spec.rb +6 -0
- data/spec/models/webhooks_partial_update_spec.rb +6 -0
- data/vendor/bundle/ruby/2.6.0/cache/diff-lcs-1.4.4.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/json-2.3.1.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/autotest-fsevent-0.2.17/gem_make.out +1 -1
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/ffi-1.13.1/gem_make.out +2 -2
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/{json-2.3.0 → json-2.3.1}/gem.build_complete +0 -0
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/{json-2.3.0 → json-2.3.1}/gem_make.out +5 -5
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.3.1/json/ext/generator.so +0 -0
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.3.1/json/ext/parser.so +0 -0
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/{json-2.3.0 → json-2.3.1}/mkmf.log +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/.rspec +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/Code-of-Conduct.md +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/Contributing.md +118 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/History.md +319 -0
- data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/License.md +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/Manifest.txt +8 -0
- data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/README.rdoc +10 -10
- data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/Rakefile +39 -22
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/autotest/discover.rb +3 -0
- data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/bin/htmldiff +7 -4
- data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/bin/ldiff +4 -1
- data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/docs/COPYING.txt +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/docs/artistic.txt +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/lib/diff-lcs.rb +3 -0
- data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/lib/diff/lcs.rb +184 -170
- data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/lib/diff/lcs/array.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/lib/diff/lcs/backports.rb +9 -0
- data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/lib/diff/lcs/block.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/lib/diff/lcs/callbacks.rb +15 -12
- data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/lib/diff/lcs/change.rb +30 -37
- data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/lib/diff/lcs/htmldiff.rb +17 -16
- data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/lib/diff/lcs/hunk.rb +156 -74
- data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/lib/diff/lcs/internals.rb +36 -39
- data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/lib/diff/lcs/ldiff.rb +46 -42
- data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/lib/diff/lcs/string.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/spec/change_spec.rb +31 -7
- data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3/spec/ldiff_spec.rb → diff-lcs-1.4.4/spec/diff_spec.rb} +15 -11
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/fixtures/aX +1 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/fixtures/bXaX +1 -0
- data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/spec/fixtures/ds1.csv +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/spec/fixtures/ds2.csv +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/fixtures/ldiff/output.diff +4 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/fixtures/ldiff/output.diff-c +7 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/fixtures/ldiff/output.diff-e +3 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/fixtures/ldiff/output.diff-f +3 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/fixtures/ldiff/output.diff-u +5 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/hunk_spec.rb +83 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/issues_spec.rb +154 -0
- data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/spec/lcs_spec.rb +10 -10
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/ldiff_spec.rb +87 -0
- data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/spec/patch_spec.rb +93 -99
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/sdiff_spec.rb +214 -0
- data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/spec/spec_helper.rb +118 -64
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/traverse_balanced_spec.rb +310 -0
- data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/spec/traverse_sequences_spec.rb +28 -28
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.13.1/ext/ffi_c/Makefile +3 -3
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/.gitignore +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/.travis.yml +2 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/CHANGES.md +33 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/Gemfile +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/README-json-jruby.md +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/README.md +16 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/Rakefile +8 -87
- data/vendor/bundle/ruby/2.6.0/gems/json-2.3.1/VERSION +1 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/diagrams/.keep +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/ext/json/ext/fbuffer/fbuffer.h +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/ext/json/ext/generator/.sitearchdir.-.json.-.ext.time +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/ext/json/ext/generator/depend +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/ext/json/ext/generator/extconf.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/ext/json/ext/generator/generator.c +71 -1
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/ext/json/ext/generator/generator.h +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.3.1/ext/json/ext/generator/generator.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/ext/json/ext/parser/.sitearchdir.-.json.-.ext.time +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/ext/json/ext/parser/depend +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/ext/json/ext/parser/extconf.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/ext/json/ext/parser/parser.c +71 -70
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/ext/json/ext/parser/parser.h +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/ext/json/ext/parser/parser.rl +1 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.3.1/ext/json/ext/parser/parser.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/ext/json/extconf.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/install.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/java/src/json/ext/ByteListTranscoder.java +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/java/src/json/ext/Generator.java +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/java/src/json/ext/GeneratorMethods.java +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/java/src/json/ext/GeneratorService.java +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/java/src/json/ext/GeneratorState.java +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/java/src/json/ext/OptionsReader.java +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/java/src/json/ext/Parser.java +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/java/src/json/ext/Parser.rl +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/java/src/json/ext/ParserService.java +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/java/src/json/ext/RuntimeInfo.java +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/java/src/json/ext/StringDecoder.java +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/java/src/json/ext/StringEncoder.java +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/java/src/json/ext/Utils.java +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/json-java.gemspec +3 -3
- data/vendor/bundle/ruby/2.6.0/gems/json-2.3.1/json.gemspec +139 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/json_pure.gemspec +8 -13
- data/vendor/bundle/ruby/2.6.0/gems/json-2.3.1/lib/json.rb +412 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/add/bigdecimal.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/add/complex.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/add/core.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/add/date.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/add/date_time.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/add/exception.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/add/ostruct.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/add/range.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/add/rational.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/add/regexp.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/add/set.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/add/struct.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/add/symbol.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/add/time.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.3.1/lib/json/common.rb +691 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/ext.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/ext/.keep +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.3.1/lib/json/ext/generator.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.3.1/lib/json/ext/parser.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/generic_object.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/pure.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/pure/generator.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/pure/parser.rb +2 -2
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/version.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/references/rfc7159.txt +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail10.json +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail11.json +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail12.json +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail13.json +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail14.json +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail18.json +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail19.json +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail2.json +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail20.json +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail21.json +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail22.json +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail23.json +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail24.json +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail25.json +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail27.json +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail28.json +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail3.json +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail4.json +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail5.json +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail6.json +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail7.json +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail8.json +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail9.json +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/obsolete_fail1.json +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/pass1.json +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/pass15.json +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/pass16.json +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/pass17.json +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/pass2.json +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/pass26.json +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/pass3.json +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/json_addition_test.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/json_common_interface_test.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/json_encoding_test.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/json_ext_parser_test.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/json_fixtures_test.rb +6 -1
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/json_generator_test.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/json_generic_object_test.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/json_parser_test.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/json_string_matching_test.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/test_helper.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tools/diff.sh +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tools/fuzz.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tools/server.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/specifications/{diff-lcs-1.3.gemspec → diff-lcs-1.4.4.gemspec} +11 -13
- data/vendor/bundle/ruby/2.6.0/specifications/{json-2.3.0.gemspec → json-2.3.1.gemspec} +0 -0
- data/vendor/bundle/ruby/2.6.0/specifications/sys-uname-1.2.1.gemspec +1 -1
- metadata +276 -249
- data/vendor/bundle/ruby/2.6.0/cache/diff-lcs-1.3.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/json-2.3.0.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.3.0/json/ext/generator.so +0 -0
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.3.0/json/ext/parser.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.3/Contributing.md +0 -83
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.3/History.md +0 -220
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.3/autotest/discover.rb +0 -1
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.3/lib/diff-lcs.rb +0 -3
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.3/spec/diff_spec.rb +0 -47
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.3/spec/hunk_spec.rb +0 -72
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.3/spec/issues_spec.rb +0 -49
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.3/spec/sdiff_spec.rb +0 -214
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.3/spec/traverse_balanced_spec.rb +0 -310
- data/vendor/bundle/ruby/2.6.0/gems/json-2.3.0/LICENSE +0 -56
- data/vendor/bundle/ruby/2.6.0/gems/json-2.3.0/VERSION +0 -1
- data/vendor/bundle/ruby/2.6.0/gems/json-2.3.0/ext/json/ext/generator/generator.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.3.0/ext/json/ext/parser/parser.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.3.0/json.gemspec +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.3.0/lib/json.rb +0 -63
- data/vendor/bundle/ruby/2.6.0/gems/json-2.3.0/lib/json/common.rb +0 -456
- data/vendor/bundle/ruby/2.6.0/gems/json-2.3.0/lib/json/ext/generator.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.3.0/lib/json/ext/parser.so +0 -0
@@ -51,6 +51,9 @@ module CloudsmithApi
|
|
51
51
|
#
|
52
52
|
attr_accessor :num_sent
|
53
53
|
|
54
|
+
# The package-based search query for webhooks to fire. This uses the same syntax as the standard search used for repositories, and also supports boolean logic operators such as OR/AND/NOT and parentheses for grouping. If a package does not match, the webhook will not fire.
|
55
|
+
attr_accessor :package_query
|
56
|
+
|
54
57
|
# The format of the payloads for webhook requests.
|
55
58
|
attr_accessor :request_body_format
|
56
59
|
|
@@ -109,6 +112,7 @@ module CloudsmithApi
|
|
109
112
|
:'last_response_status' => :'last_response_status',
|
110
113
|
:'last_response_status_str' => :'last_response_status_str',
|
111
114
|
:'num_sent' => :'num_sent',
|
115
|
+
:'package_query' => :'package_query',
|
112
116
|
:'request_body_format' => :'request_body_format',
|
113
117
|
:'request_body_format_str' => :'request_body_format_str',
|
114
118
|
:'request_body_template_format' => :'request_body_template_format',
|
@@ -141,6 +145,7 @@ module CloudsmithApi
|
|
141
145
|
:'last_response_status' => :'Integer',
|
142
146
|
:'last_response_status_str' => :'String',
|
143
147
|
:'num_sent' => :'Integer',
|
148
|
+
:'package_query' => :'String',
|
144
149
|
:'request_body_format' => :'String',
|
145
150
|
:'request_body_format_str' => :'String',
|
146
151
|
:'request_body_template_format' => :'String',
|
@@ -216,6 +221,10 @@ module CloudsmithApi
|
|
216
221
|
self.num_sent = attributes[:'num_sent']
|
217
222
|
end
|
218
223
|
|
224
|
+
if attributes.has_key?(:'package_query')
|
225
|
+
self.package_query = attributes[:'package_query']
|
226
|
+
end
|
227
|
+
|
219
228
|
if attributes.has_key?(:'request_body_format')
|
220
229
|
self.request_body_format = attributes[:'request_body_format']
|
221
230
|
end
|
@@ -321,6 +330,7 @@ module CloudsmithApi
|
|
321
330
|
last_response_status == o.last_response_status &&
|
322
331
|
last_response_status_str == o.last_response_status_str &&
|
323
332
|
num_sent == o.num_sent &&
|
333
|
+
package_query == o.package_query &&
|
324
334
|
request_body_format == o.request_body_format &&
|
325
335
|
request_body_format_str == o.request_body_format_str &&
|
326
336
|
request_body_template_format == o.request_body_template_format &&
|
@@ -346,7 +356,7 @@ module CloudsmithApi
|
|
346
356
|
# Calculates hash code according to all attributes.
|
347
357
|
# @return [Fixnum] Hash code
|
348
358
|
def hash
|
349
|
-
[created_at, created_by, created_by_url, disable_reason, disable_reason_str, events, identifier, is_active, is_last_response_bad, last_response_status, last_response_status_str, num_sent, request_body_format, request_body_format_str, request_body_template_format, request_body_template_format_str, request_content_type, secret_header, self_url, slug_perm, target_url, templates, updated_at, updated_by, updated_by_url, verify_ssl].hash
|
359
|
+
[created_at, created_by, created_by_url, disable_reason, disable_reason_str, events, identifier, is_active, is_last_response_bad, last_response_status, last_response_status_str, num_sent, package_query, request_body_format, request_body_format_str, request_body_template_format, request_body_template_format_str, request_content_type, secret_header, self_url, slug_perm, target_url, templates, updated_at, updated_by, updated_by_url, verify_ssl].hash
|
350
360
|
end
|
351
361
|
|
352
362
|
# Builds the object from hash
|
@@ -14,22 +14,27 @@ require 'date'
|
|
14
14
|
|
15
15
|
module CloudsmithApi
|
16
16
|
|
17
|
-
class
|
18
|
-
#
|
19
|
-
attr_accessor :
|
17
|
+
class StorageRegion
|
18
|
+
# Name of the storage region
|
19
|
+
attr_accessor :label
|
20
|
+
|
21
|
+
# Slug for the storage region
|
22
|
+
attr_accessor :slug
|
20
23
|
|
21
24
|
|
22
25
|
# Attribute mapping from ruby-style variable name to JSON key.
|
23
26
|
def self.attribute_map
|
24
27
|
{
|
25
|
-
:'
|
28
|
+
:'label' => :'label',
|
29
|
+
:'slug' => :'slug'
|
26
30
|
}
|
27
31
|
end
|
28
32
|
|
29
33
|
# Attribute type mapping.
|
30
34
|
def self.swagger_types
|
31
35
|
{
|
32
|
-
:'
|
36
|
+
:'label' => :'String',
|
37
|
+
:'slug' => :'String'
|
33
38
|
}
|
34
39
|
end
|
35
40
|
|
@@ -41,8 +46,12 @@ module CloudsmithApi
|
|
41
46
|
# convert string to symbol for hash key
|
42
47
|
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
43
48
|
|
44
|
-
if attributes.has_key?(:'
|
45
|
-
self.
|
49
|
+
if attributes.has_key?(:'label')
|
50
|
+
self.label = attributes[:'label']
|
51
|
+
end
|
52
|
+
|
53
|
+
if attributes.has_key?(:'slug')
|
54
|
+
self.slug = attributes[:'slug']
|
46
55
|
end
|
47
56
|
|
48
57
|
end
|
@@ -51,12 +60,22 @@ module CloudsmithApi
|
|
51
60
|
# @return Array for valid properies with the reasons
|
52
61
|
def list_invalid_properties
|
53
62
|
invalid_properties = Array.new
|
63
|
+
if @label.nil?
|
64
|
+
invalid_properties.push("invalid value for 'label', label cannot be nil.")
|
65
|
+
end
|
66
|
+
|
67
|
+
if @slug.nil?
|
68
|
+
invalid_properties.push("invalid value for 'slug', slug cannot be nil.")
|
69
|
+
end
|
70
|
+
|
54
71
|
return invalid_properties
|
55
72
|
end
|
56
73
|
|
57
74
|
# Check to see if the all the properties in the model are valid
|
58
75
|
# @return true if the model is valid
|
59
76
|
def valid?
|
77
|
+
return false if @label.nil?
|
78
|
+
return false if @slug.nil?
|
60
79
|
return true
|
61
80
|
end
|
62
81
|
|
@@ -65,7 +84,8 @@ module CloudsmithApi
|
|
65
84
|
def ==(o)
|
66
85
|
return true if self.equal?(o)
|
67
86
|
self.class == o.class &&
|
68
|
-
|
87
|
+
label == o.label &&
|
88
|
+
slug == o.slug
|
69
89
|
end
|
70
90
|
|
71
91
|
# @see the `==` method
|
@@ -77,7 +97,7 @@ module CloudsmithApi
|
|
77
97
|
# Calculates hash code according to all attributes.
|
78
98
|
# @return [Fixnum] Hash code
|
79
99
|
def hash
|
80
|
-
[
|
100
|
+
[label, slug].hash
|
81
101
|
end
|
82
102
|
|
83
103
|
# Builds the object from hash
|
@@ -165,6 +165,9 @@ module CloudsmithApi
|
|
165
165
|
# Synchronisation progress (from 0-100)
|
166
166
|
attr_accessor :sync_progress
|
167
167
|
|
168
|
+
# All immutable tags on the package, grouped by tag type. Immutable tags cannot be (easily) deleted.
|
169
|
+
attr_accessor :tags_immutable
|
170
|
+
|
168
171
|
#
|
169
172
|
attr_accessor :type_display
|
170
173
|
|
@@ -237,6 +240,7 @@ module CloudsmithApi
|
|
237
240
|
:'summary' => :'summary',
|
238
241
|
:'sync_finished_at' => :'sync_finished_at',
|
239
242
|
:'sync_progress' => :'sync_progress',
|
243
|
+
:'tags_immutable' => :'tags_immutable',
|
240
244
|
:'type_display' => :'type_display',
|
241
245
|
:'uploaded_at' => :'uploaded_at',
|
242
246
|
:'uploader' => :'uploader',
|
@@ -299,6 +303,7 @@ module CloudsmithApi
|
|
299
303
|
:'summary' => :'String',
|
300
304
|
:'sync_finished_at' => :'String',
|
301
305
|
:'sync_progress' => :'Integer',
|
306
|
+
:'tags_immutable' => :'Object',
|
302
307
|
:'type_display' => :'String',
|
303
308
|
:'uploaded_at' => :'String',
|
304
309
|
:'uploader' => :'String',
|
@@ -520,6 +525,10 @@ module CloudsmithApi
|
|
520
525
|
self.sync_progress = attributes[:'sync_progress']
|
521
526
|
end
|
522
527
|
|
528
|
+
if attributes.has_key?(:'tags_immutable')
|
529
|
+
self.tags_immutable = attributes[:'tags_immutable']
|
530
|
+
end
|
531
|
+
|
523
532
|
if attributes.has_key?(:'type_display')
|
524
533
|
self.type_display = attributes[:'type_display']
|
525
534
|
end
|
@@ -629,6 +638,7 @@ module CloudsmithApi
|
|
629
638
|
summary == o.summary &&
|
630
639
|
sync_finished_at == o.sync_finished_at &&
|
631
640
|
sync_progress == o.sync_progress &&
|
641
|
+
tags_immutable == o.tags_immutable &&
|
632
642
|
type_display == o.type_display &&
|
633
643
|
uploaded_at == o.uploaded_at &&
|
634
644
|
uploader == o.uploader &&
|
@@ -646,7 +656,7 @@ module CloudsmithApi
|
|
646
656
|
# Calculates hash code according to all attributes.
|
647
657
|
# @return [Fixnum] Hash code
|
648
658
|
def hash
|
649
|
-
[architectures, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, description, distro, distro_version, downloads, epoch, extension, filename, files, format, format_url, identifier_perm, indexed, 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, provider, release, repository, repository_url, self_html_url, self_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, type_display, uploaded_at, uploader, uploader_url, version, version_orig].hash
|
659
|
+
[architectures, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, description, distro, distro_version, downloads, epoch, extension, filename, files, format, format_url, identifier_perm, indexed, 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, provider, release, repository, repository_url, self_html_url, self_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].hash
|
650
660
|
end
|
651
661
|
|
652
662
|
# Builds the object from hash
|
@@ -21,6 +21,9 @@ module CloudsmithApi
|
|
21
21
|
# If enabled, the webhook will trigger on events and send payloads to the configured target URL.
|
22
22
|
attr_accessor :is_active
|
23
23
|
|
24
|
+
# The package-based search query for webhooks to fire. This uses the same syntax as the standard search used for repositories, and also supports boolean logic operators such as OR/AND/NOT and parentheses for grouping. If a package does not match, the webhook will not fire.
|
25
|
+
attr_accessor :package_query
|
26
|
+
|
24
27
|
# The format of the payloads for webhook requests.
|
25
28
|
attr_accessor :request_body_format
|
26
29
|
|
@@ -54,6 +57,7 @@ module CloudsmithApi
|
|
54
57
|
{
|
55
58
|
:'events' => :'events',
|
56
59
|
:'is_active' => :'is_active',
|
60
|
+
:'package_query' => :'package_query',
|
57
61
|
:'request_body_format' => :'request_body_format',
|
58
62
|
:'request_body_template_format' => :'request_body_template_format',
|
59
63
|
:'request_content_type' => :'request_content_type',
|
@@ -71,6 +75,7 @@ module CloudsmithApi
|
|
71
75
|
{
|
72
76
|
:'events' => :'Array<String>',
|
73
77
|
:'is_active' => :'BOOLEAN',
|
78
|
+
:'package_query' => :'String',
|
74
79
|
:'request_body_format' => :'String',
|
75
80
|
:'request_body_template_format' => :'String',
|
76
81
|
:'request_content_type' => :'String',
|
@@ -101,6 +106,10 @@ module CloudsmithApi
|
|
101
106
|
self.is_active = attributes[:'is_active']
|
102
107
|
end
|
103
108
|
|
109
|
+
if attributes.has_key?(:'package_query')
|
110
|
+
self.package_query = attributes[:'package_query']
|
111
|
+
end
|
112
|
+
|
104
113
|
if attributes.has_key?(:'request_body_format')
|
105
114
|
self.request_body_format = attributes[:'request_body_format']
|
106
115
|
end
|
@@ -176,6 +185,7 @@ module CloudsmithApi
|
|
176
185
|
self.class == o.class &&
|
177
186
|
events == o.events &&
|
178
187
|
is_active == o.is_active &&
|
188
|
+
package_query == o.package_query &&
|
179
189
|
request_body_format == o.request_body_format &&
|
180
190
|
request_body_template_format == o.request_body_template_format &&
|
181
191
|
request_content_type == o.request_content_type &&
|
@@ -196,7 +206,7 @@ module CloudsmithApi
|
|
196
206
|
# Calculates hash code according to all attributes.
|
197
207
|
# @return [Fixnum] Hash code
|
198
208
|
def hash
|
199
|
-
[events, is_active, request_body_format, request_body_template_format, request_content_type, secret_header, secret_value, signature_key, target_url, templates, verify_ssl].hash
|
209
|
+
[events, is_active, package_query, request_body_format, request_body_template_format, request_content_type, secret_header, secret_value, signature_key, target_url, templates, verify_ssl].hash
|
200
210
|
end
|
201
211
|
|
202
212
|
# Builds the object from hash
|
@@ -21,6 +21,9 @@ module CloudsmithApi
|
|
21
21
|
# If enabled, the webhook will trigger on events and send payloads to the configured target URL.
|
22
22
|
attr_accessor :is_active
|
23
23
|
|
24
|
+
# The package-based search query for webhooks to fire. This uses the same syntax as the standard search used for repositories, and also supports boolean logic operators such as OR/AND/NOT and parentheses for grouping. If a package does not match, the webhook will not fire.
|
25
|
+
attr_accessor :package_query
|
26
|
+
|
24
27
|
# The format of the payloads for webhook requests.
|
25
28
|
attr_accessor :request_body_format
|
26
29
|
|
@@ -54,6 +57,7 @@ module CloudsmithApi
|
|
54
57
|
{
|
55
58
|
:'events' => :'events',
|
56
59
|
:'is_active' => :'is_active',
|
60
|
+
:'package_query' => :'package_query',
|
57
61
|
:'request_body_format' => :'request_body_format',
|
58
62
|
:'request_body_template_format' => :'request_body_template_format',
|
59
63
|
:'request_content_type' => :'request_content_type',
|
@@ -71,6 +75,7 @@ module CloudsmithApi
|
|
71
75
|
{
|
72
76
|
:'events' => :'Array<String>',
|
73
77
|
:'is_active' => :'BOOLEAN',
|
78
|
+
:'package_query' => :'String',
|
74
79
|
:'request_body_format' => :'String',
|
75
80
|
:'request_body_template_format' => :'String',
|
76
81
|
:'request_content_type' => :'String',
|
@@ -101,6 +106,10 @@ module CloudsmithApi
|
|
101
106
|
self.is_active = attributes[:'is_active']
|
102
107
|
end
|
103
108
|
|
109
|
+
if attributes.has_key?(:'package_query')
|
110
|
+
self.package_query = attributes[:'package_query']
|
111
|
+
end
|
112
|
+
|
104
113
|
if attributes.has_key?(:'request_body_format')
|
105
114
|
self.request_body_format = attributes[:'request_body_format']
|
106
115
|
end
|
@@ -161,6 +170,7 @@ module CloudsmithApi
|
|
161
170
|
self.class == o.class &&
|
162
171
|
events == o.events &&
|
163
172
|
is_active == o.is_active &&
|
173
|
+
package_query == o.package_query &&
|
164
174
|
request_body_format == o.request_body_format &&
|
165
175
|
request_body_template_format == o.request_body_template_format &&
|
166
176
|
request_content_type == o.request_content_type &&
|
@@ -181,7 +191,7 @@ module CloudsmithApi
|
|
181
191
|
# Calculates hash code according to all attributes.
|
182
192
|
# @return [Fixnum] Hash code
|
183
193
|
def hash
|
184
|
-
[events, is_active, request_body_format, request_body_template_format, request_content_type, secret_header, secret_value, signature_key, target_url, templates, verify_ssl].hash
|
194
|
+
[events, is_active, package_query, request_body_format, request_body_template_format, request_content_type, secret_header, secret_value, signature_key, target_url, templates, verify_ssl].hash
|
185
195
|
end
|
186
196
|
|
187
197
|
# Builds the object from hash
|
@@ -113,7 +113,6 @@ describe 'PackagesApi' do
|
|
113
113
|
# @param repo
|
114
114
|
# @param identifier
|
115
115
|
# @param [Hash] opts the optional parameters
|
116
|
-
# @option opts [PackagesResync] :data
|
117
116
|
# @return [Package]
|
118
117
|
describe 'packages_resync test' do
|
119
118
|
it "should work" do
|
@@ -135,6 +134,21 @@ describe 'PackagesApi' do
|
|
135
134
|
end
|
136
135
|
end
|
137
136
|
|
137
|
+
# unit tests for packages_tag
|
138
|
+
# Add/Replace/Remove tags for a package.
|
139
|
+
# Add/Replace/Remove tags for a package.
|
140
|
+
# @param owner
|
141
|
+
# @param repo
|
142
|
+
# @param identifier
|
143
|
+
# @param [Hash] opts the optional parameters
|
144
|
+
# @option opts [PackagesTag] :data
|
145
|
+
# @return [Package]
|
146
|
+
describe 'packages_tag test' do
|
147
|
+
it "should work" do
|
148
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
149
|
+
end
|
150
|
+
end
|
151
|
+
|
138
152
|
# unit tests for packages_upload_alpine
|
139
153
|
# Create a new Alpine package
|
140
154
|
# Create a new Alpine package
|
@@ -142,7 +156,7 @@ describe 'PackagesApi' do
|
|
142
156
|
# @param repo
|
143
157
|
# @param [Hash] opts the optional parameters
|
144
158
|
# @option opts [PackagesUploadAlpine] :data
|
145
|
-
# @return [
|
159
|
+
# @return [AlpinePackageUpload]
|
146
160
|
describe 'packages_upload_alpine test' do
|
147
161
|
it "should work" do
|
148
162
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -156,7 +170,7 @@ describe 'PackagesApi' do
|
|
156
170
|
# @param repo
|
157
171
|
# @param [Hash] opts the optional parameters
|
158
172
|
# @option opts [PackagesUploadCargo] :data
|
159
|
-
# @return [
|
173
|
+
# @return [AlpinePackageUpload]
|
160
174
|
describe 'packages_upload_cargo test' do
|
161
175
|
it "should work" do
|
162
176
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -170,7 +184,7 @@ describe 'PackagesApi' do
|
|
170
184
|
# @param repo
|
171
185
|
# @param [Hash] opts the optional parameters
|
172
186
|
# @option opts [PackagesUploadCocoapods] :data
|
173
|
-
# @return [
|
187
|
+
# @return [AlpinePackageUpload]
|
174
188
|
describe 'packages_upload_cocoapods test' do
|
175
189
|
it "should work" do
|
176
190
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -184,7 +198,7 @@ describe 'PackagesApi' do
|
|
184
198
|
# @param repo
|
185
199
|
# @param [Hash] opts the optional parameters
|
186
200
|
# @option opts [PackagesUploadComposer] :data
|
187
|
-
# @return [
|
201
|
+
# @return [AlpinePackageUpload]
|
188
202
|
describe 'packages_upload_composer test' do
|
189
203
|
it "should work" do
|
190
204
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -212,7 +226,7 @@ describe 'PackagesApi' do
|
|
212
226
|
# @param repo
|
213
227
|
# @param [Hash] opts the optional parameters
|
214
228
|
# @option opts [PackagesUploadCran] :data
|
215
|
-
# @return [
|
229
|
+
# @return [AlpinePackageUpload]
|
216
230
|
describe 'packages_upload_cran test' do
|
217
231
|
it "should work" do
|
218
232
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -226,7 +240,7 @@ describe 'PackagesApi' do
|
|
226
240
|
# @param repo
|
227
241
|
# @param [Hash] opts the optional parameters
|
228
242
|
# @option opts [PackagesUploadDart] :data
|
229
|
-
# @return [
|
243
|
+
# @return [AlpinePackageUpload]
|
230
244
|
describe 'packages_upload_dart test' do
|
231
245
|
it "should work" do
|
232
246
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -240,7 +254,7 @@ describe 'PackagesApi' do
|
|
240
254
|
# @param repo
|
241
255
|
# @param [Hash] opts the optional parameters
|
242
256
|
# @option opts [PackagesUploadDeb] :data
|
243
|
-
# @return [
|
257
|
+
# @return [AlpinePackageUpload]
|
244
258
|
describe 'packages_upload_deb test' do
|
245
259
|
it "should work" do
|
246
260
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -254,7 +268,7 @@ describe 'PackagesApi' do
|
|
254
268
|
# @param repo
|
255
269
|
# @param [Hash] opts the optional parameters
|
256
270
|
# @option opts [PackagesUploadDocker] :data
|
257
|
-
# @return [
|
271
|
+
# @return [AlpinePackageUpload]
|
258
272
|
describe 'packages_upload_docker test' do
|
259
273
|
it "should work" do
|
260
274
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -268,7 +282,7 @@ describe 'PackagesApi' do
|
|
268
282
|
# @param repo
|
269
283
|
# @param [Hash] opts the optional parameters
|
270
284
|
# @option opts [PackagesUploadGo] :data
|
271
|
-
# @return [
|
285
|
+
# @return [AlpinePackageUpload]
|
272
286
|
describe 'packages_upload_go test' do
|
273
287
|
it "should work" do
|
274
288
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -282,7 +296,7 @@ describe 'PackagesApi' do
|
|
282
296
|
# @param repo
|
283
297
|
# @param [Hash] opts the optional parameters
|
284
298
|
# @option opts [PackagesUploadHelm] :data
|
285
|
-
# @return [
|
299
|
+
# @return [AlpinePackageUpload]
|
286
300
|
describe 'packages_upload_helm test' do
|
287
301
|
it "should work" do
|
288
302
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -296,7 +310,7 @@ describe 'PackagesApi' do
|
|
296
310
|
# @param repo
|
297
311
|
# @param [Hash] opts the optional parameters
|
298
312
|
# @option opts [PackagesUploadLuarocks] :data
|
299
|
-
# @return [
|
313
|
+
# @return [AlpinePackageUpload]
|
300
314
|
describe 'packages_upload_luarocks test' do
|
301
315
|
it "should work" do
|
302
316
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -324,7 +338,7 @@ describe 'PackagesApi' do
|
|
324
338
|
# @param repo
|
325
339
|
# @param [Hash] opts the optional parameters
|
326
340
|
# @option opts [PackagesUploadNpm] :data
|
327
|
-
# @return [
|
341
|
+
# @return [AlpinePackageUpload]
|
328
342
|
describe 'packages_upload_npm test' do
|
329
343
|
it "should work" do
|
330
344
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -338,7 +352,7 @@ describe 'PackagesApi' do
|
|
338
352
|
# @param repo
|
339
353
|
# @param [Hash] opts the optional parameters
|
340
354
|
# @option opts [PackagesUploadNuget] :data
|
341
|
-
# @return [
|
355
|
+
# @return [AlpinePackageUpload]
|
342
356
|
describe 'packages_upload_nuget test' do
|
343
357
|
it "should work" do
|
344
358
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -352,7 +366,7 @@ describe 'PackagesApi' do
|
|
352
366
|
# @param repo
|
353
367
|
# @param [Hash] opts the optional parameters
|
354
368
|
# @option opts [PackagesUploadPython] :data
|
355
|
-
# @return [
|
369
|
+
# @return [AlpinePackageUpload]
|
356
370
|
describe 'packages_upload_python test' do
|
357
371
|
it "should work" do
|
358
372
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -380,7 +394,7 @@ describe 'PackagesApi' do
|
|
380
394
|
# @param repo
|
381
395
|
# @param [Hash] opts the optional parameters
|
382
396
|
# @option opts [PackagesUploadRpm] :data
|
383
|
-
# @return [
|
397
|
+
# @return [AlpinePackageUpload]
|
384
398
|
describe 'packages_upload_rpm test' do
|
385
399
|
it "should work" do
|
386
400
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -394,13 +408,27 @@ describe 'PackagesApi' do
|
|
394
408
|
# @param repo
|
395
409
|
# @param [Hash] opts the optional parameters
|
396
410
|
# @option opts [PackagesUploadRuby] :data
|
397
|
-
# @return [
|
411
|
+
# @return [AlpinePackageUpload]
|
398
412
|
describe 'packages_upload_ruby test' do
|
399
413
|
it "should work" do
|
400
414
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
401
415
|
end
|
402
416
|
end
|
403
417
|
|
418
|
+
# unit tests for packages_upload_terraform
|
419
|
+
# Create a new Terraform package
|
420
|
+
# Create a new Terraform package
|
421
|
+
# @param owner
|
422
|
+
# @param repo
|
423
|
+
# @param [Hash] opts the optional parameters
|
424
|
+
# @option opts [PackagesUploadTerraform] :data
|
425
|
+
# @return [AlpinePackageUpload]
|
426
|
+
describe 'packages_upload_terraform test' do
|
427
|
+
it "should work" do
|
428
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
429
|
+
end
|
430
|
+
end
|
431
|
+
|
404
432
|
# unit tests for packages_upload_vagrant
|
405
433
|
# Create a new Vagrant package
|
406
434
|
# Create a new Vagrant package
|
@@ -681,6 +709,20 @@ describe 'PackagesApi' do
|
|
681
709
|
end
|
682
710
|
end
|
683
711
|
|
712
|
+
# unit tests for packages_validate_upload_terraform
|
713
|
+
# Validate parameters for create Terraform package
|
714
|
+
# Validate parameters for create Terraform package
|
715
|
+
# @param owner
|
716
|
+
# @param repo
|
717
|
+
# @param [Hash] opts the optional parameters
|
718
|
+
# @option opts [PackagesValidateuploadTerraform] :data
|
719
|
+
# @return [nil]
|
720
|
+
describe 'packages_validate_upload_terraform test' do
|
721
|
+
it "should work" do
|
722
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
723
|
+
end
|
724
|
+
end
|
725
|
+
|
684
726
|
# unit tests for packages_validate_upload_vagrant
|
685
727
|
# Validate parameters for create Vagrant package
|
686
728
|
# Validate parameters for create Vagrant package
|