cloudsmith-api 1.42.3 → 1.61.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +5 -5
- data/README.md +7 -4
- data/build.json +1 -1
- data/docs/AlpinePackageUpload.md +2 -0
- data/docs/ConanPackageUpload.md +2 -0
- data/docs/MavenPackageUpload.md +2 -0
- data/docs/Package.md +2 -0
- data/docs/PackageCopy.md +2 -0
- data/docs/PackageMove.md +2 -0
- data/docs/PackageStatus.md +2 -0
- data/docs/PackagesApi.md +65 -0
- data/docs/PackagesQuarantine.md +8 -0
- data/docs/RawPackageUpload.md +2 -0
- data/docs/ReposApi.md +2 -2
- data/docs/ReposCreate.md +1 -1
- data/docs/RepositoryCreate.md +31 -0
- data/docs/VagrantPackageUpload.md +2 -0
- data/lib/cloudsmith-api/api/packages_api.rb +66 -0
- data/lib/cloudsmith-api/api/repos_api.rb +3 -3
- data/lib/cloudsmith-api/models/alpine_package_upload.rb +21 -1
- data/lib/cloudsmith-api/models/conan_package_upload.rb +21 -1
- data/lib/cloudsmith-api/models/maven_package_upload.rb +21 -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/package_status.rb +21 -1
- data/lib/cloudsmith-api/models/packages_quarantine.rb +185 -0
- data/lib/cloudsmith-api/models/raw_package_upload.rb +21 -1
- data/lib/cloudsmith-api/models/repos_create.rb +1 -1
- data/lib/cloudsmith-api/models/repository_create.rb +422 -0
- data/lib/cloudsmith-api/models/vagrant_package_upload.rb +21 -1
- data/lib/cloudsmith-api/version.rb +1 -1
- data/lib/cloudsmith-api.rb +2 -0
- data/spec/api/packages_api_spec.rb +15 -0
- data/spec/api/repos_api_spec.rb +1 -1
- data/spec/models/alpine_package_upload_spec.rb +12 -0
- data/spec/models/conan_package_upload_spec.rb +12 -0
- data/spec/models/maven_package_upload_spec.rb +12 -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/package_status_spec.rb +12 -0
- data/spec/models/packages_quarantine_spec.rb +41 -0
- data/spec/models/raw_package_upload_spec.rb +12 -0
- data/spec/models/repository_create_spec.rb +179 -0
- data/spec/models/vagrant_package_upload_spec.rb +12 -0
- data/vendor/bundle/ruby/2.6.0/cache/json-2.6.2.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/public_suffix-4.0.7.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/rspec-mocks-3.11.1.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/autotest-fsevent-0.2.19/gem_make.out +1 -1
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/ffi-1.15.5/gem_make.out +2 -2
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/{json-2.6.1 → json-2.6.2}/gem.build_complete +0 -0
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/{json-2.6.1 → json-2.6.2}/gem_make.out +5 -5
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.6.2/json/ext/generator.so +0 -0
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.6.2/json/ext/parser.so +0 -0
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/{json-2.6.1 → json-2.6.2}/mkmf.log +2 -2
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/Makefile +2 -2
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/CHANGES.md +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/LICENSE +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/README.md +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.6.2/VERSION +1 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/ext/json/Makefile +2 -2
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/ext/json/ext/fbuffer/fbuffer.h +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/ext/json/ext/generator/.sitearchdir.-.json.-.ext.time +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/ext/json/ext/generator/Makefile +2 -2
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/ext/json/ext/generator/depend +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/ext/json/ext/generator/extconf.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/ext/json/ext/generator/generator.c +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/ext/json/ext/generator/generator.h +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/ext/json/ext/generator/generator.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.6.2/ext/json/ext/generator/generator.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/ext/json/ext/parser/.sitearchdir.-.json.-.ext.time +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/ext/json/ext/parser/Makefile +2 -2
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/ext/json/ext/parser/depend +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/ext/json/ext/parser/extconf.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/ext/json/ext/parser/parser.c +9 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/ext/json/ext/parser/parser.h +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/ext/json/ext/parser/parser.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/ext/json/ext/parser/parser.rl +9 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.6.2/ext/json/ext/parser/parser.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/ext/json/extconf.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/json.gemspec +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/lib/json/add/bigdecimal.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/lib/json/add/complex.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/lib/json/add/core.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/lib/json/add/date.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/lib/json/add/date_time.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/lib/json/add/exception.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/lib/json/add/ostruct.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/lib/json/add/range.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/lib/json/add/rational.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/lib/json/add/regexp.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/lib/json/add/set.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/lib/json/add/struct.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/lib/json/add/symbol.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/lib/json/add/time.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/lib/json/common.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.6.2/lib/json/ext/generator.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.6.2/lib/json/ext/parser.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/lib/json/ext.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/lib/json/generic_object.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/lib/json/pure/generator.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/lib/json/pure/parser.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/lib/json/pure.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/lib/json/version.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/lib/json.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/.github/FUNDING.yml +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/public_suffix-4.0.7/.github/dependabot.yml +8 -0
- data/vendor/bundle/ruby/2.6.0/gems/public_suffix-4.0.7/.github/workflows/release.yml +16 -0
- data/vendor/bundle/ruby/2.6.0/gems/public_suffix-4.0.7/.github/workflows/tests.yml +28 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/.gitignore +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/.rubocop.yml +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/.rubocop_opinionated.yml +6 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/.yardopts +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/2.0-Upgrade.md +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/CHANGELOG.md +11 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/Gemfile +0 -1
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/LICENSE.txt +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/README.md +12 -2
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/Rakefile +1 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/SECURITY.md +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/bin/console +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/data/list.txt +1033 -378
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/lib/public_suffix/domain.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/lib/public_suffix/errors.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/lib/public_suffix/list.rb +3 -3
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/lib/public_suffix/rule.rb +11 -11
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/lib/public_suffix/version.rb +5 -3
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/lib/public_suffix.rb +11 -13
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/public_suffix.gemspec +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/test/.empty +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/test/acceptance_test.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/test/benchmarks/bm_find.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/test/benchmarks/bm_find_all.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/test/benchmarks/bm_names.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/test/benchmarks/bm_select.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/test/benchmarks/bm_select_incremental.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/test/benchmarks/bm_valid.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/test/profilers/domain_profiler.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/test/profilers/find_profiler.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/test/profilers/find_profiler_jp.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/test/profilers/initialization_profiler.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/test/profilers/list_profsize.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/test/profilers/object_binsize.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/test/psl_test.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/test/test_helper.rb +0 -8
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/test/tests.txt +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/test/unit/domain_test.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/test/unit/errors_test.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/test/unit/list_test.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/test/unit/public_suffix_test.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/test/unit/rule_test.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/.document +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/.yardopts +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/Changelog.md +10 -1
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/LICENSE.md +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/README.md +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/any_instance/chain.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/any_instance/error_generator.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/any_instance/expect_chain_chain.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/any_instance/expectation_chain.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/any_instance/message_chains.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/any_instance/proxy.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/any_instance/recorder.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/any_instance/stub_chain.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/any_instance/stub_chain_chain.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/any_instance.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/argument_list_matcher.rb +2 -1
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/argument_matchers.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/configuration.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/error_generator.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/example_methods.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/instance_method_stasher.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/marshal_extension.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/matchers/expectation_customization.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/matchers/have_received.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/matchers/receive.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/matchers/receive_message_chain.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/matchers/receive_messages.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/message_chain.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/message_expectation.rb +13 -3
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/method_double.rb +3 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/method_reference.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/minitest_integration.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/mutate_const.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/object_reference.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/order_group.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/proxy.rb +6 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/space.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/standalone.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/syntax.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/targets.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/test_double.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/verifying_double.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/verifying_message_expectation.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/verifying_proxy.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/version.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/specifications/{json-2.6.1.gemspec → json-2.6.2.gemspec} +0 -0
- data/vendor/bundle/ruby/2.6.0/specifications/{public_suffix-4.0.6.gemspec → public_suffix-4.0.7.gemspec} +4 -4
- data/vendor/bundle/ruby/2.6.0/specifications/{rspec-mocks-3.11.0.gemspec → rspec-mocks-3.11.1.gemspec} +5 -5
- metadata +163 -156
- data/docs/StorageregionsApi.md +0 -112
- data/vendor/bundle/ruby/2.6.0/cache/json-2.6.1.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/public_suffix-4.0.6.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/rspec-mocks-3.11.0.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.6.1/json/ext/generator.so +0 -0
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.6.1/json/ext/parser.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.6.1/VERSION +0 -1
- data/vendor/bundle/ruby/2.6.0/gems/json-2.6.1/ext/json/ext/generator/generator.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.6.1/ext/json/ext/parser/parser.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.6.1/lib/json/ext/generator.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.6.1/lib/json/ext/parser.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/public_suffix-4.0.6/.github/workflows/tests.yml +0 -36
- data/vendor/bundle/ruby/2.6.0/gems/public_suffix-4.0.6/.travis.yml +0 -23
- data/vendor/bundle/ruby/2.6.0/gems/public_suffix-4.0.6/codecov.yml +0 -12
@@ -74,6 +74,12 @@ module CloudsmithApi
|
|
74
74
|
#
|
75
75
|
attr_accessor :indexed
|
76
76
|
|
77
|
+
#
|
78
|
+
attr_accessor :is_downloadable
|
79
|
+
|
80
|
+
#
|
81
|
+
attr_accessor :is_quarantined
|
82
|
+
|
77
83
|
#
|
78
84
|
attr_accessor :is_sync_awaiting
|
79
85
|
|
@@ -232,6 +238,8 @@ module CloudsmithApi
|
|
232
238
|
:'format_url' => :'format_url',
|
233
239
|
:'identifier_perm' => :'identifier_perm',
|
234
240
|
:'indexed' => :'indexed',
|
241
|
+
:'is_downloadable' => :'is_downloadable',
|
242
|
+
:'is_quarantined' => :'is_quarantined',
|
235
243
|
:'is_sync_awaiting' => :'is_sync_awaiting',
|
236
244
|
:'is_sync_completed' => :'is_sync_completed',
|
237
245
|
:'is_sync_failed' => :'is_sync_failed',
|
@@ -303,6 +311,8 @@ module CloudsmithApi
|
|
303
311
|
:'format_url' => :'String',
|
304
312
|
:'identifier_perm' => :'String',
|
305
313
|
:'indexed' => :'BOOLEAN',
|
314
|
+
:'is_downloadable' => :'BOOLEAN',
|
315
|
+
:'is_quarantined' => :'BOOLEAN',
|
306
316
|
:'is_sync_awaiting' => :'BOOLEAN',
|
307
317
|
:'is_sync_completed' => :'BOOLEAN',
|
308
318
|
:'is_sync_failed' => :'BOOLEAN',
|
@@ -443,6 +453,14 @@ module CloudsmithApi
|
|
443
453
|
self.indexed = attributes[:'indexed']
|
444
454
|
end
|
445
455
|
|
456
|
+
if attributes.has_key?(:'is_downloadable')
|
457
|
+
self.is_downloadable = attributes[:'is_downloadable']
|
458
|
+
end
|
459
|
+
|
460
|
+
if attributes.has_key?(:'is_quarantined')
|
461
|
+
self.is_quarantined = attributes[:'is_quarantined']
|
462
|
+
end
|
463
|
+
|
446
464
|
if attributes.has_key?(:'is_sync_awaiting')
|
447
465
|
self.is_sync_awaiting = attributes[:'is_sync_awaiting']
|
448
466
|
end
|
@@ -662,6 +680,8 @@ module CloudsmithApi
|
|
662
680
|
format_url == o.format_url &&
|
663
681
|
identifier_perm == o.identifier_perm &&
|
664
682
|
indexed == o.indexed &&
|
683
|
+
is_downloadable == o.is_downloadable &&
|
684
|
+
is_quarantined == o.is_quarantined &&
|
665
685
|
is_sync_awaiting == o.is_sync_awaiting &&
|
666
686
|
is_sync_completed == o.is_sync_completed &&
|
667
687
|
is_sync_failed == o.is_sync_failed &&
|
@@ -718,7 +738,7 @@ module CloudsmithApi
|
|
718
738
|
# Calculates hash code according to all attributes.
|
719
739
|
# @return [Fixnum] Hash code
|
720
740
|
def hash
|
721
|
-
[architectures, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, dependencies_checksum_md5, dependencies_url, description, distro, distro_version, downloads, epoch, extension, filename, files, format, format_url, identifier_perm, indexed, is_sync_awaiting, is_sync_completed, is_sync_failed, is_sync_in_flight, is_sync_in_progress, license, name, namespace, namespace_url, num_files, package_type, release, repository, repository_url, security_scan_completed_at, security_scan_started_at, security_scan_status, security_scan_status_updated_at, self_html_url, self_url, signature_url, size, slug, slug_perm, stage, stage_str, stage_updated_at, status, status_reason, status_str, status_updated_at, status_url, subtype, summary, sync_finished_at, sync_progress, tags, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig, vulnerability_scan_results_url].hash
|
741
|
+
[architectures, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, dependencies_checksum_md5, dependencies_url, description, distro, distro_version, downloads, epoch, extension, filename, files, format, format_url, identifier_perm, indexed, is_downloadable, is_quarantined, is_sync_awaiting, is_sync_completed, is_sync_failed, is_sync_in_flight, is_sync_in_progress, license, name, namespace, namespace_url, num_files, package_type, release, repository, repository_url, security_scan_completed_at, security_scan_started_at, security_scan_status, security_scan_status_updated_at, self_html_url, self_url, signature_url, size, slug, slug_perm, stage, stage_str, stage_updated_at, status, status_reason, status_str, status_updated_at, status_url, subtype, summary, sync_finished_at, sync_progress, tags, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig, vulnerability_scan_results_url].hash
|
722
742
|
end
|
723
743
|
|
724
744
|
# Builds the object from hash
|
@@ -74,6 +74,12 @@ module CloudsmithApi
|
|
74
74
|
#
|
75
75
|
attr_accessor :indexed
|
76
76
|
|
77
|
+
#
|
78
|
+
attr_accessor :is_downloadable
|
79
|
+
|
80
|
+
#
|
81
|
+
attr_accessor :is_quarantined
|
82
|
+
|
77
83
|
#
|
78
84
|
attr_accessor :is_sync_awaiting
|
79
85
|
|
@@ -232,6 +238,8 @@ module CloudsmithApi
|
|
232
238
|
:'format_url' => :'format_url',
|
233
239
|
:'identifier_perm' => :'identifier_perm',
|
234
240
|
:'indexed' => :'indexed',
|
241
|
+
:'is_downloadable' => :'is_downloadable',
|
242
|
+
:'is_quarantined' => :'is_quarantined',
|
235
243
|
:'is_sync_awaiting' => :'is_sync_awaiting',
|
236
244
|
:'is_sync_completed' => :'is_sync_completed',
|
237
245
|
:'is_sync_failed' => :'is_sync_failed',
|
@@ -303,6 +311,8 @@ module CloudsmithApi
|
|
303
311
|
:'format_url' => :'String',
|
304
312
|
:'identifier_perm' => :'String',
|
305
313
|
:'indexed' => :'BOOLEAN',
|
314
|
+
:'is_downloadable' => :'BOOLEAN',
|
315
|
+
:'is_quarantined' => :'BOOLEAN',
|
306
316
|
:'is_sync_awaiting' => :'BOOLEAN',
|
307
317
|
:'is_sync_completed' => :'BOOLEAN',
|
308
318
|
:'is_sync_failed' => :'BOOLEAN',
|
@@ -443,6 +453,14 @@ module CloudsmithApi
|
|
443
453
|
self.indexed = attributes[:'indexed']
|
444
454
|
end
|
445
455
|
|
456
|
+
if attributes.has_key?(:'is_downloadable')
|
457
|
+
self.is_downloadable = attributes[:'is_downloadable']
|
458
|
+
end
|
459
|
+
|
460
|
+
if attributes.has_key?(:'is_quarantined')
|
461
|
+
self.is_quarantined = attributes[:'is_quarantined']
|
462
|
+
end
|
463
|
+
|
446
464
|
if attributes.has_key?(:'is_sync_awaiting')
|
447
465
|
self.is_sync_awaiting = attributes[:'is_sync_awaiting']
|
448
466
|
end
|
@@ -662,6 +680,8 @@ module CloudsmithApi
|
|
662
680
|
format_url == o.format_url &&
|
663
681
|
identifier_perm == o.identifier_perm &&
|
664
682
|
indexed == o.indexed &&
|
683
|
+
is_downloadable == o.is_downloadable &&
|
684
|
+
is_quarantined == o.is_quarantined &&
|
665
685
|
is_sync_awaiting == o.is_sync_awaiting &&
|
666
686
|
is_sync_completed == o.is_sync_completed &&
|
667
687
|
is_sync_failed == o.is_sync_failed &&
|
@@ -718,7 +738,7 @@ module CloudsmithApi
|
|
718
738
|
# Calculates hash code according to all attributes.
|
719
739
|
# @return [Fixnum] Hash code
|
720
740
|
def hash
|
721
|
-
[architectures, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, dependencies_checksum_md5, dependencies_url, description, distro, distro_version, downloads, epoch, extension, filename, files, format, format_url, identifier_perm, indexed, is_sync_awaiting, is_sync_completed, is_sync_failed, is_sync_in_flight, is_sync_in_progress, license, name, namespace, namespace_url, num_files, package_type, release, repository, repository_url, security_scan_completed_at, security_scan_started_at, security_scan_status, security_scan_status_updated_at, self_html_url, self_url, signature_url, size, slug, slug_perm, stage, stage_str, stage_updated_at, status, status_reason, status_str, status_updated_at, status_url, subtype, summary, sync_finished_at, sync_progress, tags, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig, vulnerability_scan_results_url].hash
|
741
|
+
[architectures, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, dependencies_checksum_md5, dependencies_url, description, distro, distro_version, downloads, epoch, extension, filename, files, format, format_url, identifier_perm, indexed, is_downloadable, is_quarantined, is_sync_awaiting, is_sync_completed, is_sync_failed, is_sync_in_flight, is_sync_in_progress, license, name, namespace, namespace_url, num_files, package_type, release, repository, repository_url, security_scan_completed_at, security_scan_started_at, security_scan_status, security_scan_status_updated_at, self_html_url, self_url, signature_url, size, slug, slug_perm, stage, stage_str, stage_updated_at, status, status_reason, status_str, status_updated_at, status_url, subtype, summary, sync_finished_at, sync_progress, tags, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig, vulnerability_scan_results_url].hash
|
722
742
|
end
|
723
743
|
|
724
744
|
# Builds the object from hash
|
@@ -74,6 +74,12 @@ module CloudsmithApi
|
|
74
74
|
#
|
75
75
|
attr_accessor :indexed
|
76
76
|
|
77
|
+
#
|
78
|
+
attr_accessor :is_downloadable
|
79
|
+
|
80
|
+
#
|
81
|
+
attr_accessor :is_quarantined
|
82
|
+
|
77
83
|
#
|
78
84
|
attr_accessor :is_sync_awaiting
|
79
85
|
|
@@ -232,6 +238,8 @@ module CloudsmithApi
|
|
232
238
|
:'format_url' => :'format_url',
|
233
239
|
:'identifier_perm' => :'identifier_perm',
|
234
240
|
:'indexed' => :'indexed',
|
241
|
+
:'is_downloadable' => :'is_downloadable',
|
242
|
+
:'is_quarantined' => :'is_quarantined',
|
235
243
|
:'is_sync_awaiting' => :'is_sync_awaiting',
|
236
244
|
:'is_sync_completed' => :'is_sync_completed',
|
237
245
|
:'is_sync_failed' => :'is_sync_failed',
|
@@ -303,6 +311,8 @@ module CloudsmithApi
|
|
303
311
|
:'format_url' => :'String',
|
304
312
|
:'identifier_perm' => :'String',
|
305
313
|
:'indexed' => :'BOOLEAN',
|
314
|
+
:'is_downloadable' => :'BOOLEAN',
|
315
|
+
:'is_quarantined' => :'BOOLEAN',
|
306
316
|
:'is_sync_awaiting' => :'BOOLEAN',
|
307
317
|
:'is_sync_completed' => :'BOOLEAN',
|
308
318
|
:'is_sync_failed' => :'BOOLEAN',
|
@@ -443,6 +453,14 @@ module CloudsmithApi
|
|
443
453
|
self.indexed = attributes[:'indexed']
|
444
454
|
end
|
445
455
|
|
456
|
+
if attributes.has_key?(:'is_downloadable')
|
457
|
+
self.is_downloadable = attributes[:'is_downloadable']
|
458
|
+
end
|
459
|
+
|
460
|
+
if attributes.has_key?(:'is_quarantined')
|
461
|
+
self.is_quarantined = attributes[:'is_quarantined']
|
462
|
+
end
|
463
|
+
|
446
464
|
if attributes.has_key?(:'is_sync_awaiting')
|
447
465
|
self.is_sync_awaiting = attributes[:'is_sync_awaiting']
|
448
466
|
end
|
@@ -662,6 +680,8 @@ module CloudsmithApi
|
|
662
680
|
format_url == o.format_url &&
|
663
681
|
identifier_perm == o.identifier_perm &&
|
664
682
|
indexed == o.indexed &&
|
683
|
+
is_downloadable == o.is_downloadable &&
|
684
|
+
is_quarantined == o.is_quarantined &&
|
665
685
|
is_sync_awaiting == o.is_sync_awaiting &&
|
666
686
|
is_sync_completed == o.is_sync_completed &&
|
667
687
|
is_sync_failed == o.is_sync_failed &&
|
@@ -718,7 +738,7 @@ module CloudsmithApi
|
|
718
738
|
# Calculates hash code according to all attributes.
|
719
739
|
# @return [Fixnum] Hash code
|
720
740
|
def hash
|
721
|
-
[architectures, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, dependencies_checksum_md5, dependencies_url, description, distro, distro_version, downloads, epoch, extension, filename, files, format, format_url, identifier_perm, indexed, is_sync_awaiting, is_sync_completed, is_sync_failed, is_sync_in_flight, is_sync_in_progress, license, name, namespace, namespace_url, num_files, package_type, release, repository, repository_url, security_scan_completed_at, security_scan_started_at, security_scan_status, security_scan_status_updated_at, self_html_url, self_url, signature_url, size, slug, slug_perm, stage, stage_str, stage_updated_at, status, status_reason, status_str, status_updated_at, status_url, subtype, summary, sync_finished_at, sync_progress, tags, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig, vulnerability_scan_results_url].hash
|
741
|
+
[architectures, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, dependencies_checksum_md5, dependencies_url, description, distro, distro_version, downloads, epoch, extension, filename, files, format, format_url, identifier_perm, indexed, is_downloadable, is_quarantined, is_sync_awaiting, is_sync_completed, is_sync_failed, is_sync_in_flight, is_sync_in_progress, license, name, namespace, namespace_url, num_files, package_type, release, repository, repository_url, security_scan_completed_at, security_scan_started_at, security_scan_status, security_scan_status_updated_at, self_html_url, self_url, signature_url, size, slug, slug_perm, stage, stage_str, stage_updated_at, status, status_reason, status_str, status_updated_at, status_url, subtype, summary, sync_finished_at, sync_progress, tags, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig, vulnerability_scan_results_url].hash
|
722
742
|
end
|
723
743
|
|
724
744
|
# Builds the object from hash
|
@@ -14,6 +14,12 @@ require 'date'
|
|
14
14
|
|
15
15
|
module CloudsmithApi
|
16
16
|
class PackageStatus
|
17
|
+
#
|
18
|
+
attr_accessor :is_downloadable
|
19
|
+
|
20
|
+
#
|
21
|
+
attr_accessor :is_quarantined
|
22
|
+
|
17
23
|
#
|
18
24
|
attr_accessor :is_sync_awaiting
|
19
25
|
|
@@ -62,6 +68,8 @@ module CloudsmithApi
|
|
62
68
|
# Attribute mapping from ruby-style variable name to JSON key.
|
63
69
|
def self.attribute_map
|
64
70
|
{
|
71
|
+
:'is_downloadable' => :'is_downloadable',
|
72
|
+
:'is_quarantined' => :'is_quarantined',
|
65
73
|
:'is_sync_awaiting' => :'is_sync_awaiting',
|
66
74
|
:'is_sync_completed' => :'is_sync_completed',
|
67
75
|
:'is_sync_failed' => :'is_sync_failed',
|
@@ -83,6 +91,8 @@ module CloudsmithApi
|
|
83
91
|
# Attribute type mapping.
|
84
92
|
def self.swagger_types
|
85
93
|
{
|
94
|
+
:'is_downloadable' => :'BOOLEAN',
|
95
|
+
:'is_quarantined' => :'BOOLEAN',
|
86
96
|
:'is_sync_awaiting' => :'BOOLEAN',
|
87
97
|
:'is_sync_completed' => :'BOOLEAN',
|
88
98
|
:'is_sync_failed' => :'BOOLEAN',
|
@@ -109,6 +119,14 @@ module CloudsmithApi
|
|
109
119
|
# convert string to symbol for hash key
|
110
120
|
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
111
121
|
|
122
|
+
if attributes.has_key?(:'is_downloadable')
|
123
|
+
self.is_downloadable = attributes[:'is_downloadable']
|
124
|
+
end
|
125
|
+
|
126
|
+
if attributes.has_key?(:'is_quarantined')
|
127
|
+
self.is_quarantined = attributes[:'is_quarantined']
|
128
|
+
end
|
129
|
+
|
112
130
|
if attributes.has_key?(:'is_sync_awaiting')
|
113
131
|
self.is_sync_awaiting = attributes[:'is_sync_awaiting']
|
114
132
|
end
|
@@ -188,6 +206,8 @@ module CloudsmithApi
|
|
188
206
|
def ==(o)
|
189
207
|
return true if self.equal?(o)
|
190
208
|
self.class == o.class &&
|
209
|
+
is_downloadable == o.is_downloadable &&
|
210
|
+
is_quarantined == o.is_quarantined &&
|
191
211
|
is_sync_awaiting == o.is_sync_awaiting &&
|
192
212
|
is_sync_completed == o.is_sync_completed &&
|
193
213
|
is_sync_failed == o.is_sync_failed &&
|
@@ -214,7 +234,7 @@ module CloudsmithApi
|
|
214
234
|
# Calculates hash code according to all attributes.
|
215
235
|
# @return [Fixnum] Hash code
|
216
236
|
def hash
|
217
|
-
[is_sync_awaiting, is_sync_completed, is_sync_failed, is_sync_in_flight, is_sync_in_progress, self_url, stage, stage_str, stage_updated_at, status, status_reason, status_str, status_updated_at, sync_finished_at, sync_progress].hash
|
237
|
+
[is_downloadable, is_quarantined, is_sync_awaiting, is_sync_completed, is_sync_failed, is_sync_in_flight, is_sync_in_progress, self_url, stage, stage_str, stage_updated_at, status, status_reason, status_str, status_updated_at, sync_finished_at, sync_progress].hash
|
218
238
|
end
|
219
239
|
|
220
240
|
# Builds the object from hash
|
@@ -0,0 +1,185 @@
|
|
1
|
+
=begin
|
2
|
+
#Cloudsmith API
|
3
|
+
|
4
|
+
#The API to the Cloudsmith Service
|
5
|
+
|
6
|
+
OpenAPI spec version: v1
|
7
|
+
Contact: support@cloudsmith.io
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.4.26
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'date'
|
14
|
+
|
15
|
+
module CloudsmithApi
|
16
|
+
class PackagesQuarantine
|
17
|
+
# If true, the package be restored from quarantine.
|
18
|
+
attr_accessor :restore
|
19
|
+
|
20
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
21
|
+
def self.attribute_map
|
22
|
+
{
|
23
|
+
:'restore' => :'restore'
|
24
|
+
}
|
25
|
+
end
|
26
|
+
|
27
|
+
# Attribute type mapping.
|
28
|
+
def self.swagger_types
|
29
|
+
{
|
30
|
+
:'restore' => :'BOOLEAN'
|
31
|
+
}
|
32
|
+
end
|
33
|
+
|
34
|
+
# Initializes the object
|
35
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
36
|
+
def initialize(attributes = {})
|
37
|
+
return unless attributes.is_a?(Hash)
|
38
|
+
|
39
|
+
# convert string to symbol for hash key
|
40
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
41
|
+
|
42
|
+
if attributes.has_key?(:'restore')
|
43
|
+
self.restore = attributes[:'restore']
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
48
|
+
# @return Array for valid properties with the reasons
|
49
|
+
def list_invalid_properties
|
50
|
+
invalid_properties = Array.new
|
51
|
+
invalid_properties
|
52
|
+
end
|
53
|
+
|
54
|
+
# Check to see if the all the properties in the model are valid
|
55
|
+
# @return true if the model is valid
|
56
|
+
def valid?
|
57
|
+
true
|
58
|
+
end
|
59
|
+
|
60
|
+
# Checks equality by comparing each attribute.
|
61
|
+
# @param [Object] Object to be compared
|
62
|
+
def ==(o)
|
63
|
+
return true if self.equal?(o)
|
64
|
+
self.class == o.class &&
|
65
|
+
restore == o.restore
|
66
|
+
end
|
67
|
+
|
68
|
+
# @see the `==` method
|
69
|
+
# @param [Object] Object to be compared
|
70
|
+
def eql?(o)
|
71
|
+
self == o
|
72
|
+
end
|
73
|
+
|
74
|
+
# Calculates hash code according to all attributes.
|
75
|
+
# @return [Fixnum] Hash code
|
76
|
+
def hash
|
77
|
+
[restore].hash
|
78
|
+
end
|
79
|
+
|
80
|
+
# Builds the object from hash
|
81
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
82
|
+
# @return [Object] Returns the model itself
|
83
|
+
def build_from_hash(attributes)
|
84
|
+
return nil unless attributes.is_a?(Hash)
|
85
|
+
self.class.swagger_types.each_pair do |key, type|
|
86
|
+
if type =~ /\AArray<(.*)>/i
|
87
|
+
# check to ensure the input is an array given that the attribute
|
88
|
+
# is documented as an array but the input is not
|
89
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
90
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
91
|
+
end
|
92
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
93
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
94
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
95
|
+
end
|
96
|
+
|
97
|
+
self
|
98
|
+
end
|
99
|
+
|
100
|
+
# Deserializes the data based on type
|
101
|
+
# @param string type Data type
|
102
|
+
# @param string value Value to be deserialized
|
103
|
+
# @return [Object] Deserialized data
|
104
|
+
def _deserialize(type, value)
|
105
|
+
case type.to_sym
|
106
|
+
when :DateTime
|
107
|
+
DateTime.parse(value)
|
108
|
+
when :Date
|
109
|
+
Date.parse(value)
|
110
|
+
when :String
|
111
|
+
value.to_s
|
112
|
+
when :Integer
|
113
|
+
value.to_i
|
114
|
+
when :Float
|
115
|
+
value.to_f
|
116
|
+
when :BOOLEAN
|
117
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
118
|
+
true
|
119
|
+
else
|
120
|
+
false
|
121
|
+
end
|
122
|
+
when :Object
|
123
|
+
# generic object (usually a Hash), return directly
|
124
|
+
value
|
125
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
126
|
+
inner_type = Regexp.last_match[:inner_type]
|
127
|
+
value.map { |v| _deserialize(inner_type, v) }
|
128
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
129
|
+
k_type = Regexp.last_match[:k_type]
|
130
|
+
v_type = Regexp.last_match[:v_type]
|
131
|
+
{}.tap do |hash|
|
132
|
+
value.each do |k, v|
|
133
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
134
|
+
end
|
135
|
+
end
|
136
|
+
else # model
|
137
|
+
temp_model = CloudsmithApi.const_get(type).new
|
138
|
+
temp_model.build_from_hash(value)
|
139
|
+
end
|
140
|
+
end
|
141
|
+
|
142
|
+
# Returns the string representation of the object
|
143
|
+
# @return [String] String presentation of the object
|
144
|
+
def to_s
|
145
|
+
to_hash.to_s
|
146
|
+
end
|
147
|
+
|
148
|
+
# to_body is an alias to to_hash (backward compatibility)
|
149
|
+
# @return [Hash] Returns the object in the form of hash
|
150
|
+
def to_body
|
151
|
+
to_hash
|
152
|
+
end
|
153
|
+
|
154
|
+
# Returns the object in the form of hash
|
155
|
+
# @return [Hash] Returns the object in the form of hash
|
156
|
+
def to_hash
|
157
|
+
hash = {}
|
158
|
+
self.class.attribute_map.each_pair do |attr, param|
|
159
|
+
value = self.send(attr)
|
160
|
+
next if value.nil?
|
161
|
+
hash[param] = _to_hash(value)
|
162
|
+
end
|
163
|
+
hash
|
164
|
+
end
|
165
|
+
|
166
|
+
# Outputs non-array value in the form of hash
|
167
|
+
# For object, use to_hash. Otherwise, just return the value
|
168
|
+
# @param [Object] value Any valid value
|
169
|
+
# @return [Hash] Returns the value in the form of hash
|
170
|
+
def _to_hash(value)
|
171
|
+
if value.is_a?(Array)
|
172
|
+
value.compact.map { |v| _to_hash(v) }
|
173
|
+
elsif value.is_a?(Hash)
|
174
|
+
{}.tap do |hash|
|
175
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
176
|
+
end
|
177
|
+
elsif value.respond_to? :to_hash
|
178
|
+
value.to_hash
|
179
|
+
else
|
180
|
+
value
|
181
|
+
end
|
182
|
+
end
|
183
|
+
|
184
|
+
end
|
185
|
+
end
|
@@ -74,6 +74,12 @@ module CloudsmithApi
|
|
74
74
|
#
|
75
75
|
attr_accessor :indexed
|
76
76
|
|
77
|
+
#
|
78
|
+
attr_accessor :is_downloadable
|
79
|
+
|
80
|
+
#
|
81
|
+
attr_accessor :is_quarantined
|
82
|
+
|
77
83
|
#
|
78
84
|
attr_accessor :is_sync_awaiting
|
79
85
|
|
@@ -229,6 +235,8 @@ module CloudsmithApi
|
|
229
235
|
:'format_url' => :'format_url',
|
230
236
|
:'identifier_perm' => :'identifier_perm',
|
231
237
|
:'indexed' => :'indexed',
|
238
|
+
:'is_downloadable' => :'is_downloadable',
|
239
|
+
:'is_quarantined' => :'is_quarantined',
|
232
240
|
:'is_sync_awaiting' => :'is_sync_awaiting',
|
233
241
|
:'is_sync_completed' => :'is_sync_completed',
|
234
242
|
:'is_sync_failed' => :'is_sync_failed',
|
@@ -299,6 +307,8 @@ module CloudsmithApi
|
|
299
307
|
:'format_url' => :'String',
|
300
308
|
:'identifier_perm' => :'String',
|
301
309
|
:'indexed' => :'BOOLEAN',
|
310
|
+
:'is_downloadable' => :'BOOLEAN',
|
311
|
+
:'is_quarantined' => :'BOOLEAN',
|
302
312
|
:'is_sync_awaiting' => :'BOOLEAN',
|
303
313
|
:'is_sync_completed' => :'BOOLEAN',
|
304
314
|
:'is_sync_failed' => :'BOOLEAN',
|
@@ -438,6 +448,14 @@ module CloudsmithApi
|
|
438
448
|
self.indexed = attributes[:'indexed']
|
439
449
|
end
|
440
450
|
|
451
|
+
if attributes.has_key?(:'is_downloadable')
|
452
|
+
self.is_downloadable = attributes[:'is_downloadable']
|
453
|
+
end
|
454
|
+
|
455
|
+
if attributes.has_key?(:'is_quarantined')
|
456
|
+
self.is_quarantined = attributes[:'is_quarantined']
|
457
|
+
end
|
458
|
+
|
441
459
|
if attributes.has_key?(:'is_sync_awaiting')
|
442
460
|
self.is_sync_awaiting = attributes[:'is_sync_awaiting']
|
443
461
|
end
|
@@ -653,6 +671,8 @@ module CloudsmithApi
|
|
653
671
|
format_url == o.format_url &&
|
654
672
|
identifier_perm == o.identifier_perm &&
|
655
673
|
indexed == o.indexed &&
|
674
|
+
is_downloadable == o.is_downloadable &&
|
675
|
+
is_quarantined == o.is_quarantined &&
|
656
676
|
is_sync_awaiting == o.is_sync_awaiting &&
|
657
677
|
is_sync_completed == o.is_sync_completed &&
|
658
678
|
is_sync_failed == o.is_sync_failed &&
|
@@ -708,7 +728,7 @@ module CloudsmithApi
|
|
708
728
|
# Calculates hash code according to all attributes.
|
709
729
|
# @return [Fixnum] Hash code
|
710
730
|
def hash
|
711
|
-
[architectures, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, dependencies_checksum_md5, dependencies_url, description, distro, distro_version, downloads, epoch, extension, filename, files, format, format_url, identifier_perm, indexed, is_sync_awaiting, is_sync_completed, is_sync_failed, is_sync_in_flight, is_sync_in_progress, license, name, namespace, namespace_url, num_files, package_type, release, repository, repository_url, security_scan_completed_at, security_scan_started_at, security_scan_status, security_scan_status_updated_at, self_html_url, self_url, signature_url, size, slug, slug_perm, stage, stage_str, stage_updated_at, status, status_reason, status_str, status_updated_at, status_url, subtype, summary, sync_finished_at, sync_progress, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig, vulnerability_scan_results_url].hash
|
731
|
+
[architectures, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, dependencies_checksum_md5, dependencies_url, description, distro, distro_version, downloads, epoch, extension, filename, files, format, format_url, identifier_perm, indexed, is_downloadable, is_quarantined, is_sync_awaiting, is_sync_completed, is_sync_failed, is_sync_in_flight, is_sync_in_progress, license, name, namespace, namespace_url, num_files, package_type, release, repository, repository_url, security_scan_completed_at, security_scan_started_at, security_scan_status, security_scan_status_updated_at, self_html_url, self_url, signature_url, size, slug, slug_perm, stage, stage_str, stage_updated_at, status, status_reason, status_str, status_updated_at, status_url, subtype, summary, sync_finished_at, sync_progress, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig, vulnerability_scan_results_url].hash
|
712
732
|
end
|
713
733
|
|
714
734
|
# Builds the object from hash
|
@@ -23,7 +23,7 @@ module CloudsmithApi
|
|
23
23
|
# A descriptive name for the repository.
|
24
24
|
attr_accessor :name
|
25
25
|
|
26
|
-
#
|
26
|
+
# The repository type changes how it is accessed and billed. Private repositories can only be used on paid plans, but are visible only to you or authorised delegates. Public repositories are free to use on all plans and visible to all Cloudsmith users.
|
27
27
|
attr_accessor :repository_type_str
|
28
28
|
|
29
29
|
# The slug identifies the repository in URIs.
|