cloudsmith-api 0.51.37 → 0.52.79
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 +12 -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/EntitlmentTokenMetric.md +9 -0
- data/docs/MavenPackageUpload.md +1 -0
- data/docs/MetricsApi.md +83 -0
- data/docs/Package.md +2 -0
- data/docs/PackageCopy.md +2 -0
- data/docs/PackageMove.md +2 -0
- data/docs/PackagesApi.md +107 -41
- 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/PackagesUploadTerraform.md +1 -0
- 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 +1 -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 +4 -3
- data/docs/RepositoryTokenRefresh.md +4 -3
- data/docs/RepositoryTokenSyncTokens.md +4 -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/metrics_api.rb +95 -0
- data/lib/cloudsmith-api/api/packages_api.rb +119 -56
- 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/entitlment_token_metric.rb +209 -0
- 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 +14 -4
- 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 +14 -4
- 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 +14 -4
- data/lib/cloudsmith-api/models/repository_token_refresh.rb +14 -4
- data/lib/cloudsmith-api/models/repository_token_sync_tokens.rb +14 -4
- 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/metrics_api_spec.rb +53 -0
- data/spec/api/packages_api_spec.rb +32 -18
- 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/entitlment_token_metric_spec.rb +48 -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 +6 -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 +6 -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_token_refresh_spec.rb +6 -0
- data/spec/models/repository_token_spec.rb +6 -0
- data/spec/models/repository_token_sync_tokens_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 +277 -250
- data/docs/PackagesResync.md +0 -8
- 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,7 +51,7 @@ module CloudsmithApi
|
|
51
51
|
# The maximum number of downloads allowed for the token. Please note that since downloads are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point.
|
52
52
|
attr_accessor :limit_num_downloads
|
53
53
|
|
54
|
-
# The package-based search query to apply to restrict downloads to. 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. This will still allow access to non-package files, such as metadata.
|
54
|
+
# The package-based search query to apply to restrict downloads to. 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. This will still allow access to non-package files, such as metadata.
|
55
55
|
attr_accessor :limit_package_query
|
56
56
|
|
57
57
|
# The path-based search query to apply to restrict downloads to. This supports boolean logic operators such as OR/AND/NOT and parentheses for grouping. The path evaluated does not include the domain name, the namespace, the entitlement code used, the package format, etc. and it always starts with a forward slash.
|
@@ -84,6 +84,9 @@ module CloudsmithApi
|
|
84
84
|
#
|
85
85
|
attr_accessor :updated_by_url
|
86
86
|
|
87
|
+
#
|
88
|
+
attr_accessor :usage
|
89
|
+
|
87
90
|
#
|
88
91
|
attr_accessor :user
|
89
92
|
|
@@ -117,6 +120,7 @@ module CloudsmithApi
|
|
117
120
|
:'updated_at' => :'updated_at',
|
118
121
|
:'updated_by' => :'updated_by',
|
119
122
|
:'updated_by_url' => :'updated_by_url',
|
123
|
+
:'usage' => :'usage',
|
120
124
|
:'user' => :'user',
|
121
125
|
:'user_url' => :'user_url'
|
122
126
|
}
|
@@ -129,10 +133,10 @@ module CloudsmithApi
|
|
129
133
|
:'created_by' => :'String',
|
130
134
|
:'created_by_url' => :'String',
|
131
135
|
:'default' => :'BOOLEAN',
|
132
|
-
:'has_limits' => :'
|
136
|
+
:'has_limits' => :'BOOLEAN',
|
133
137
|
:'identifier' => :'Integer',
|
134
138
|
:'is_active' => :'BOOLEAN',
|
135
|
-
:'is_limited' => :'
|
139
|
+
:'is_limited' => :'BOOLEAN',
|
136
140
|
:'limit_date_range_from' => :'String',
|
137
141
|
:'limit_date_range_to' => :'String',
|
138
142
|
:'limit_num_clients' => :'Integer',
|
@@ -148,6 +152,7 @@ module CloudsmithApi
|
|
148
152
|
:'updated_at' => :'String',
|
149
153
|
:'updated_by' => :'String',
|
150
154
|
:'updated_by_url' => :'String',
|
155
|
+
:'usage' => :'String',
|
151
156
|
:'user' => :'String',
|
152
157
|
:'user_url' => :'String'
|
153
158
|
}
|
@@ -253,6 +258,10 @@ module CloudsmithApi
|
|
253
258
|
self.updated_by_url = attributes[:'updated_by_url']
|
254
259
|
end
|
255
260
|
|
261
|
+
if attributes.has_key?(:'usage')
|
262
|
+
self.usage = attributes[:'usage']
|
263
|
+
end
|
264
|
+
|
256
265
|
if attributes.has_key?(:'user')
|
257
266
|
self.user = attributes[:'user']
|
258
267
|
end
|
@@ -304,6 +313,7 @@ module CloudsmithApi
|
|
304
313
|
updated_at == o.updated_at &&
|
305
314
|
updated_by == o.updated_by &&
|
306
315
|
updated_by_url == o.updated_by_url &&
|
316
|
+
usage == o.usage &&
|
307
317
|
user == o.user &&
|
308
318
|
user_url == o.user_url
|
309
319
|
end
|
@@ -317,7 +327,7 @@ module CloudsmithApi
|
|
317
327
|
# Calculates hash code according to all attributes.
|
318
328
|
# @return [Fixnum] Hash code
|
319
329
|
def hash
|
320
|
-
[created_at, created_by, created_by_url, default, has_limits, identifier, is_active, is_limited, limit_date_range_from, limit_date_range_to, limit_num_clients, limit_num_downloads, limit_package_query, limit_path_query, metadata, name, refresh_url, self_url, slug_perm, token, updated_at, updated_by, updated_by_url, user, user_url].hash
|
330
|
+
[created_at, created_by, created_by_url, default, has_limits, identifier, is_active, is_limited, limit_date_range_from, limit_date_range_to, limit_num_clients, limit_num_downloads, limit_package_query, limit_path_query, metadata, name, refresh_url, self_url, slug_perm, token, updated_at, updated_by, updated_by_url, usage, user, user_url].hash
|
321
331
|
end
|
322
332
|
|
323
333
|
# Builds the object from hash
|
@@ -51,7 +51,7 @@ module CloudsmithApi
|
|
51
51
|
# The maximum number of downloads allowed for the token. Please note that since downloads are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point.
|
52
52
|
attr_accessor :limit_num_downloads
|
53
53
|
|
54
|
-
# The package-based search query to apply to restrict downloads to. 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. This will still allow access to non-package files, such as metadata.
|
54
|
+
# The package-based search query to apply to restrict downloads to. 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. This will still allow access to non-package files, such as metadata.
|
55
55
|
attr_accessor :limit_package_query
|
56
56
|
|
57
57
|
# The path-based search query to apply to restrict downloads to. This supports boolean logic operators such as OR/AND/NOT and parentheses for grouping. The path evaluated does not include the domain name, the namespace, the entitlement code used, the package format, etc. and it always starts with a forward slash.
|
@@ -84,6 +84,9 @@ module CloudsmithApi
|
|
84
84
|
#
|
85
85
|
attr_accessor :updated_by_url
|
86
86
|
|
87
|
+
#
|
88
|
+
attr_accessor :usage
|
89
|
+
|
87
90
|
#
|
88
91
|
attr_accessor :user
|
89
92
|
|
@@ -117,6 +120,7 @@ module CloudsmithApi
|
|
117
120
|
:'updated_at' => :'updated_at',
|
118
121
|
:'updated_by' => :'updated_by',
|
119
122
|
:'updated_by_url' => :'updated_by_url',
|
123
|
+
:'usage' => :'usage',
|
120
124
|
:'user' => :'user',
|
121
125
|
:'user_url' => :'user_url'
|
122
126
|
}
|
@@ -129,10 +133,10 @@ module CloudsmithApi
|
|
129
133
|
:'created_by' => :'String',
|
130
134
|
:'created_by_url' => :'String',
|
131
135
|
:'default' => :'BOOLEAN',
|
132
|
-
:'has_limits' => :'
|
136
|
+
:'has_limits' => :'BOOLEAN',
|
133
137
|
:'identifier' => :'Integer',
|
134
138
|
:'is_active' => :'BOOLEAN',
|
135
|
-
:'is_limited' => :'
|
139
|
+
:'is_limited' => :'BOOLEAN',
|
136
140
|
:'limit_date_range_from' => :'String',
|
137
141
|
:'limit_date_range_to' => :'String',
|
138
142
|
:'limit_num_clients' => :'Integer',
|
@@ -148,6 +152,7 @@ module CloudsmithApi
|
|
148
152
|
:'updated_at' => :'String',
|
149
153
|
:'updated_by' => :'String',
|
150
154
|
:'updated_by_url' => :'String',
|
155
|
+
:'usage' => :'String',
|
151
156
|
:'user' => :'String',
|
152
157
|
:'user_url' => :'String'
|
153
158
|
}
|
@@ -253,6 +258,10 @@ module CloudsmithApi
|
|
253
258
|
self.updated_by_url = attributes[:'updated_by_url']
|
254
259
|
end
|
255
260
|
|
261
|
+
if attributes.has_key?(:'usage')
|
262
|
+
self.usage = attributes[:'usage']
|
263
|
+
end
|
264
|
+
|
256
265
|
if attributes.has_key?(:'user')
|
257
266
|
self.user = attributes[:'user']
|
258
267
|
end
|
@@ -304,6 +313,7 @@ module CloudsmithApi
|
|
304
313
|
updated_at == o.updated_at &&
|
305
314
|
updated_by == o.updated_by &&
|
306
315
|
updated_by_url == o.updated_by_url &&
|
316
|
+
usage == o.usage &&
|
307
317
|
user == o.user &&
|
308
318
|
user_url == o.user_url
|
309
319
|
end
|
@@ -317,7 +327,7 @@ module CloudsmithApi
|
|
317
327
|
# Calculates hash code according to all attributes.
|
318
328
|
# @return [Fixnum] Hash code
|
319
329
|
def hash
|
320
|
-
[created_at, created_by, created_by_url, default, has_limits, identifier, is_active, is_limited, limit_date_range_from, limit_date_range_to, limit_num_clients, limit_num_downloads, limit_package_query, limit_path_query, metadata, name, refresh_url, self_url, slug_perm, token, updated_at, updated_by, updated_by_url, user, user_url].hash
|
330
|
+
[created_at, created_by, created_by_url, default, has_limits, identifier, is_active, is_limited, limit_date_range_from, limit_date_range_to, limit_num_clients, limit_num_downloads, limit_package_query, limit_path_query, metadata, name, refresh_url, self_url, slug_perm, token, updated_at, updated_by, updated_by_url, usage, user, user_url].hash
|
321
331
|
end
|
322
332
|
|
323
333
|
# Builds the object from hash
|
@@ -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
|