cloudsmith-api 2.0.24 → 2.0.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +9 -7
- data/README.md +21 -5
- data/build.json +1 -1
- data/docs/AlpinePackageUpload.md +1 -0
- data/docs/AlpineUpstream.md +32 -0
- data/docs/AlpineUpstreamRequest.md +20 -0
- data/docs/AlpineUpstreamRequestPatch.md +20 -0
- data/docs/BulkActionApi.md +70 -0
- data/docs/CargoPackageUpload.md +1 -0
- data/docs/CargoUpstream.md +4 -4
- data/docs/CocoapodsPackageUpload.md +1 -0
- data/docs/ComposerPackageUpload.md +1 -0
- data/docs/ComposerUpstream.md +4 -4
- data/docs/ConanPackageUpload.md +1 -0
- data/docs/CondaPackageUpload.md +1 -0
- data/docs/CondaUpstream.md +4 -4
- data/docs/CranPackageUpload.md +1 -0
- data/docs/CranUpstream.md +4 -4
- data/docs/DartPackageUpload.md +1 -0
- data/docs/DartUpstream.md +4 -4
- data/docs/DebPackageUpload.md +1 -0
- data/docs/DebUpstream.md +4 -4
- data/docs/DockerPackageUpload.md +1 -0
- data/docs/DockerUpstream.md +2 -2
- data/docs/FormatSupportUpstream.md +1 -0
- data/docs/GenericPackageUpload.md +1 -0
- data/docs/GenericUpstream.md +4 -4
- data/docs/GoPackageUpload.md +1 -0
- data/docs/GoUpstream.md +4 -4
- data/docs/HelmPackageUpload.md +1 -0
- data/docs/HelmUpstream.md +4 -4
- data/docs/HexPackageUpload.md +1 -0
- data/docs/HexUpstream.md +4 -4
- data/docs/HuggingfacePackageUpload.md +1 -0
- data/docs/HuggingfaceUpstream.md +4 -4
- data/docs/LuarocksPackageUpload.md +1 -0
- data/docs/MavenPackageUpload.md +1 -0
- data/docs/MavenUpstream.md +4 -4
- data/docs/NpmPackageUpload.md +1 -0
- data/docs/NpmUpstream.md +5 -4
- data/docs/NpmUpstreamRequest.md +1 -0
- data/docs/NpmUpstreamRequestPatch.md +1 -0
- data/docs/NugetPackageUpload.md +1 -0
- data/docs/NugetUpstream.md +4 -4
- data/docs/OrganizationTeamMembers.md +1 -1
- data/docs/{OrganizationTeamMembership.md → OrganizationTeamServiceMember.md} +2 -1
- data/docs/P2PackageUpload.md +1 -0
- data/docs/Package.md +1 -0
- data/docs/PackageBulkAction.md +11 -0
- data/docs/PackageBulkActionResponse.md +10 -0
- data/docs/PackageCopy.md +1 -0
- data/docs/PackageMove.md +1 -0
- data/docs/PackageQuarantine.md +1 -0
- data/docs/PackageResync.md +1 -0
- data/docs/PackageTag.md +1 -0
- data/docs/PackagesApi.md +131 -0
- data/docs/PythonPackageUpload.md +1 -0
- data/docs/PythonUpstream.md +4 -4
- data/docs/RawPackageUpload.md +1 -0
- data/docs/ReposApi.md +406 -1
- data/docs/Repository.md +2 -0
- data/docs/RepositoryCreate.md +2 -0
- data/docs/RepositoryCreateRequest.md +1 -0
- data/docs/RepositoryRequestPatch.md +1 -0
- data/docs/RpmPackageUpload.md +1 -0
- data/docs/RpmUpstream.md +4 -4
- data/docs/RubyPackageUpload.md +1 -0
- data/docs/RubyUpstream.md +4 -4
- data/docs/SwiftPackageUpload.md +1 -0
- data/docs/SwiftUpstream.md +4 -4
- data/docs/TerraformPackageUpload.md +1 -0
- data/docs/VagrantPackageUpload.md +1 -0
- data/docs/VsxPackageUpload.md +91 -0
- data/docs/VsxPackageUploadRequest.md +10 -0
- data/lib/cloudsmith-api/api/bulk_action_api.rb +77 -0
- data/lib/cloudsmith-api/api/packages_api.rb +123 -0
- data/lib/cloudsmith-api/api/repos_api.rb +401 -0
- data/lib/cloudsmith-api/models/alpine_package_upload.rb +10 -1
- data/lib/cloudsmith-api/models/alpine_upstream.rb +496 -0
- data/lib/cloudsmith-api/models/alpine_upstream_request.rb +365 -0
- data/lib/cloudsmith-api/models/alpine_upstream_request_patch.rb +355 -0
- data/lib/cloudsmith-api/models/cargo_package_upload.rb +10 -1
- data/lib/cloudsmith-api/models/cargo_upstream.rb +7 -4
- data/lib/cloudsmith-api/models/cocoapods_package_upload.rb +10 -1
- data/lib/cloudsmith-api/models/composer_package_upload.rb +10 -1
- data/lib/cloudsmith-api/models/composer_upstream.rb +7 -4
- data/lib/cloudsmith-api/models/conan_package_upload.rb +10 -1
- data/lib/cloudsmith-api/models/conda_package_upload.rb +10 -1
- data/lib/cloudsmith-api/models/conda_upstream.rb +7 -4
- data/lib/cloudsmith-api/models/cran_package_upload.rb +10 -1
- data/lib/cloudsmith-api/models/cran_upstream.rb +7 -4
- data/lib/cloudsmith-api/models/dart_package_upload.rb +10 -1
- data/lib/cloudsmith-api/models/dart_upstream.rb +7 -4
- data/lib/cloudsmith-api/models/deb_package_upload.rb +10 -1
- data/lib/cloudsmith-api/models/deb_upstream.rb +7 -4
- data/lib/cloudsmith-api/models/docker_package_upload.rb +10 -1
- data/lib/cloudsmith-api/models/docker_upstream.rb +4 -2
- data/lib/cloudsmith-api/models/format_support_upstream.rb +19 -4
- data/lib/cloudsmith-api/models/generic_package_upload.rb +10 -1
- data/lib/cloudsmith-api/models/generic_upstream.rb +7 -4
- data/lib/cloudsmith-api/models/go_package_upload.rb +10 -1
- data/lib/cloudsmith-api/models/go_upstream.rb +7 -4
- data/lib/cloudsmith-api/models/helm_package_upload.rb +10 -1
- data/lib/cloudsmith-api/models/helm_upstream.rb +7 -4
- data/lib/cloudsmith-api/models/hex_package_upload.rb +10 -1
- data/lib/cloudsmith-api/models/hex_upstream.rb +7 -4
- data/lib/cloudsmith-api/models/huggingface_package_upload.rb +10 -1
- data/lib/cloudsmith-api/models/huggingface_upstream.rb +7 -4
- data/lib/cloudsmith-api/models/luarocks_package_upload.rb +10 -1
- data/lib/cloudsmith-api/models/maven_package_upload.rb +10 -1
- data/lib/cloudsmith-api/models/maven_upstream.rb +7 -4
- data/lib/cloudsmith-api/models/npm_package_upload.rb +10 -1
- data/lib/cloudsmith-api/models/npm_upstream.rb +32 -5
- data/lib/cloudsmith-api/models/npm_upstream_request.rb +25 -1
- data/lib/cloudsmith-api/models/npm_upstream_request_patch.rb +25 -1
- data/lib/cloudsmith-api/models/nuget_package_upload.rb +10 -1
- data/lib/cloudsmith-api/models/nuget_upstream.rb +7 -4
- data/lib/cloudsmith-api/models/organization_team_members.rb +1 -1
- data/lib/cloudsmith-api/models/{organization_team_membership.rb → organization_team_service_member.rb} +28 -5
- data/lib/cloudsmith-api/models/p2_package_upload.rb +10 -1
- data/lib/cloudsmith-api/models/package.rb +10 -1
- data/lib/cloudsmith-api/models/package_bulk_action.rb +261 -0
- data/lib/cloudsmith-api/models/package_bulk_action_response.rb +209 -0
- data/lib/cloudsmith-api/models/package_copy.rb +10 -1
- data/lib/cloudsmith-api/models/package_move.rb +10 -1
- data/lib/cloudsmith-api/models/package_quarantine.rb +10 -1
- data/lib/cloudsmith-api/models/package_resync.rb +10 -1
- data/lib/cloudsmith-api/models/package_tag.rb +10 -1
- data/lib/cloudsmith-api/models/python_package_upload.rb +10 -1
- data/lib/cloudsmith-api/models/python_upstream.rb +7 -4
- data/lib/cloudsmith-api/models/raw_package_upload.rb +10 -1
- data/lib/cloudsmith-api/models/repository.rb +21 -1
- data/lib/cloudsmith-api/models/repository_create.rb +21 -1
- data/lib/cloudsmith-api/models/repository_create_request.rb +11 -1
- data/lib/cloudsmith-api/models/repository_request_patch.rb +11 -1
- data/lib/cloudsmith-api/models/rpm_package_upload.rb +10 -1
- data/lib/cloudsmith-api/models/rpm_upstream.rb +7 -4
- data/lib/cloudsmith-api/models/ruby_package_upload.rb +10 -1
- data/lib/cloudsmith-api/models/ruby_upstream.rb +7 -4
- data/lib/cloudsmith-api/models/swift_package_upload.rb +10 -1
- data/lib/cloudsmith-api/models/swift_upstream.rb +7 -4
- data/lib/cloudsmith-api/models/terraform_package_upload.rb +10 -1
- data/lib/cloudsmith-api/models/vagrant_package_upload.rb +10 -1
- data/lib/cloudsmith-api/models/vsx_package_upload.rb +1001 -0
- data/lib/cloudsmith-api/models/vsx_package_upload_request.rb +210 -0
- data/lib/cloudsmith-api/version.rb +1 -1
- data/lib/cloudsmith-api.rb +9 -1
- data/spec/api/bulk_action_api_spec.rb +47 -0
- data/spec/api/packages_api_spec.rb +28 -0
- data/spec/api/repos_api_spec.rb +89 -0
- data/spec/models/alpine_package_upload_spec.rb +6 -0
- data/spec/models/alpine_upstream_request_patch_spec.rb +121 -0
- data/spec/models/alpine_upstream_request_spec.rb +121 -0
- data/spec/models/alpine_upstream_spec.rb +197 -0
- data/spec/models/cargo_package_upload_spec.rb +6 -0
- data/spec/models/cocoapods_package_upload_spec.rb +6 -0
- data/spec/models/composer_package_upload_spec.rb +6 -0
- data/spec/models/conan_package_upload_spec.rb +6 -0
- data/spec/models/conda_package_upload_spec.rb +6 -0
- data/spec/models/cran_package_upload_spec.rb +6 -0
- data/spec/models/dart_package_upload_spec.rb +6 -0
- data/spec/models/deb_package_upload_spec.rb +6 -0
- data/spec/models/docker_package_upload_spec.rb +6 -0
- data/spec/models/format_support_upstream_spec.rb +6 -0
- data/spec/models/generic_package_upload_spec.rb +6 -0
- data/spec/models/go_package_upload_spec.rb +6 -0
- data/spec/models/helm_package_upload_spec.rb +6 -0
- data/spec/models/hex_package_upload_spec.rb +6 -0
- data/spec/models/huggingface_package_upload_spec.rb +6 -0
- data/spec/models/luarocks_package_upload_spec.rb +6 -0
- data/spec/models/maven_package_upload_spec.rb +6 -0
- data/spec/models/npm_package_upload_spec.rb +6 -0
- data/spec/models/npm_upstream_request_patch_spec.rb +10 -0
- data/spec/models/npm_upstream_request_spec.rb +10 -0
- data/spec/models/npm_upstream_spec.rb +10 -0
- data/spec/models/nuget_package_upload_spec.rb +6 -0
- data/spec/models/{organization_team_membership_spec.rb → organization_team_service_member_spec.rb} +16 -6
- data/spec/models/p2_package_upload_spec.rb +6 -0
- data/spec/models/package_bulk_action_response_spec.rb +53 -0
- data/spec/models/package_bulk_action_spec.rb +63 -0
- data/spec/models/package_copy_spec.rb +6 -0
- data/spec/models/package_move_spec.rb +6 -0
- data/spec/models/package_quarantine_spec.rb +6 -0
- data/spec/models/package_resync_spec.rb +6 -0
- data/spec/models/package_spec.rb +6 -0
- data/spec/models/package_tag_spec.rb +6 -0
- data/spec/models/python_package_upload_spec.rb +6 -0
- data/spec/models/raw_package_upload_spec.rb +6 -0
- data/spec/models/repository_create_request_spec.rb +6 -0
- data/spec/models/repository_create_spec.rb +12 -0
- data/spec/models/repository_request_patch_spec.rb +6 -0
- data/spec/models/repository_spec.rb +12 -0
- data/spec/models/rpm_package_upload_spec.rb +6 -0
- data/spec/models/ruby_package_upload_spec.rb +6 -0
- data/spec/models/swift_package_upload_spec.rb +6 -0
- data/spec/models/terraform_package_upload_spec.rb +6 -0
- data/spec/models/vagrant_package_upload_spec.rb +6 -0
- data/spec/models/vsx_package_upload_request_spec.rb +53 -0
- data/spec/models/vsx_package_upload_spec.rb +543 -0
- data/vendor/bundle/ruby/2.6.0/cache/addressable-2.8.9.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/ethon-0.18.0.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/logger-1.7.0.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/rspec-mocks-3.13.8.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/rspec-support-3.13.7.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/typhoeus-1.6.0.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/autotest-fsevent-0.3.1/gem_make.out +1 -1
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/bigdecimal-4.0.1/gem_make.out +2 -2
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/bigdecimal-4.0.1/mkmf.log +4 -4
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/ffi-1.17.3/gem_make.out +2 -2
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/ffi-1.17.3/mkmf.log +1 -1
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.7.6/gem_make.out +2 -2
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.7.6/mkmf.log +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.8 → addressable-2.8.9}/CHANGELOG.md +10 -1
- data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.8 → addressable-2.8.9}/lib/addressable/idna/pure.rb +0 -10
- data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.8 → addressable-2.8.9}/lib/addressable/version.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/bigdecimal-4.0.1/ext/bigdecimal/Makefile +2 -2
- data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/CHANGELOG.md +46 -1
- data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/README.md +23 -0
- data/vendor/bundle/ruby/2.6.0/gems/ethon-0.18.0/ethon.gemspec +37 -0
- data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/curls/classes.rb +12 -2
- data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/curls/codes.rb +3 -2
- data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/curls/options.rb +4 -3
- data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/easy/callbacks.rb +10 -3
- data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/easy/informations.rb +3 -0
- data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/easy/response_callbacks.rb +6 -1
- data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/loggable.rb +0 -1
- data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/version.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.17.3/ext/ffi_c/Makefile +2 -2
- data/vendor/bundle/ruby/2.6.0/gems/json-2.7.6/ext/json/ext/generator/Makefile +2 -2
- data/vendor/bundle/ruby/2.6.0/gems/json-2.7.6/ext/json/ext/parser/Makefile +2 -2
- data/vendor/bundle/ruby/2.6.0/gems/logger-1.7.0/.document +4 -0
- data/vendor/bundle/ruby/2.6.0/gems/logger-1.7.0/.rdoc_options +3 -0
- data/vendor/bundle/ruby/2.6.0/gems/logger-1.7.0/BSDL +22 -0
- data/vendor/bundle/ruby/2.6.0/gems/logger-1.7.0/COPYING +56 -0
- data/vendor/bundle/ruby/2.6.0/gems/logger-1.7.0/README.md +104 -0
- data/vendor/bundle/ruby/2.6.0/gems/logger-1.7.0/lib/logger/errors.rb +9 -0
- data/vendor/bundle/ruby/2.6.0/gems/logger-1.7.0/lib/logger/formatter.rb +36 -0
- data/vendor/bundle/ruby/2.6.0/gems/logger-1.7.0/lib/logger/log_device.rb +265 -0
- data/vendor/bundle/ruby/2.6.0/gems/logger-1.7.0/lib/logger/period.rb +47 -0
- data/vendor/bundle/ruby/2.6.0/gems/logger-1.7.0/lib/logger/severity.rb +38 -0
- data/vendor/bundle/ruby/2.6.0/gems/logger-1.7.0/lib/logger/version.rb +5 -0
- data/vendor/bundle/ruby/2.6.0/gems/logger-1.7.0/lib/logger.rb +789 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/Changelog.md +9 -1
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/lib/rspec/mocks/any_instance/recorder.rb +3 -1
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/lib/rspec/mocks/order_group.rb +15 -4
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/lib/rspec/mocks/version.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.6 → rspec-support-3.13.7}/Changelog.md +10 -3
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.6 → rspec-support-3.13.7}/lib/rspec/support/fuzzy_matcher.rb +3 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.6 → rspec-support-3.13.7}/lib/rspec/support/version.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/CHANGELOG.md +14 -1
- data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/README.md +2 -2
- data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/lib/typhoeus/version.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/typhoeus.gemspec +1 -1
- data/vendor/bundle/ruby/2.6.0/specifications/{addressable-2.8.8.gemspec → addressable-2.8.9.gemspec} +3 -5
- data/vendor/bundle/ruby/2.6.0/specifications/{ethon-0.15.0.gemspec → ethon-0.18.0.gemspec} +8 -4
- data/vendor/bundle/ruby/2.6.0/specifications/logger-1.7.0.gemspec +22 -0
- data/vendor/bundle/ruby/2.6.0/specifications/{rspec-mocks-3.13.7.gemspec → rspec-mocks-3.13.8.gemspec} +5 -5
- data/vendor/bundle/ruby/2.6.0/specifications/{rspec-support-3.13.6.gemspec → rspec-support-3.13.7.gemspec} +4 -4
- data/vendor/bundle/ruby/2.6.0/specifications/{typhoeus-1.5.0.gemspec → typhoeus-1.6.0.gemspec} +5 -5
- metadata +265 -279
- data/vendor/bundle/ruby/2.6.0/cache/addressable-2.8.8.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/ethon-0.15.0.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/rspec-mocks-3.13.7.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/rspec-support-3.13.6.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/typhoeus-1.5.0.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/addressable-2.8.8/Gemfile +0 -31
- data/vendor/bundle/ruby/2.6.0/gems/addressable-2.8.8/Rakefile +0 -37
- data/vendor/bundle/ruby/2.6.0/gems/addressable-2.8.8/addressable.gemspec +0 -28
- data/vendor/bundle/ruby/2.6.0/gems/addressable-2.8.8/spec/addressable/idna_spec.rb +0 -302
- data/vendor/bundle/ruby/2.6.0/gems/addressable-2.8.8/spec/addressable/net_http_compat_spec.rb +0 -29
- data/vendor/bundle/ruby/2.6.0/gems/addressable-2.8.8/spec/addressable/security_spec.rb +0 -58
- data/vendor/bundle/ruby/2.6.0/gems/addressable-2.8.8/spec/addressable/template_spec.rb +0 -1264
- data/vendor/bundle/ruby/2.6.0/gems/addressable-2.8.8/spec/addressable/uri_spec.rb +0 -6854
- data/vendor/bundle/ruby/2.6.0/gems/addressable-2.8.8/spec/spec_helper.rb +0 -33
- data/vendor/bundle/ruby/2.6.0/gems/addressable-2.8.8/tasks/clobber.rake +0 -4
- data/vendor/bundle/ruby/2.6.0/gems/addressable-2.8.8/tasks/gem.rake +0 -100
- data/vendor/bundle/ruby/2.6.0/gems/addressable-2.8.8/tasks/git.rake +0 -47
- data/vendor/bundle/ruby/2.6.0/gems/addressable-2.8.8/tasks/metrics.rake +0 -24
- data/vendor/bundle/ruby/2.6.0/gems/addressable-2.8.8/tasks/profile.rake +0 -72
- data/vendor/bundle/ruby/2.6.0/gems/addressable-2.8.8/tasks/rspec.rake +0 -23
- data/vendor/bundle/ruby/2.6.0/gems/addressable-2.8.8/tasks/yard.rake +0 -29
- data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/.github/workflows/ruby.yml +0 -41
- data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/.gitignore +0 -8
- data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/.rspec +0 -3
- data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/Gemfile +0 -43
- data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/Guardfile +0 -10
- data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/Rakefile +0 -40
- data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/ethon.gemspec +0 -26
- data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/profile/benchmarks.rb +0 -104
- data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/profile/memory_leaks.rb +0 -114
- data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/profile/perf_spec_helper.rb +0 -37
- data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/profile/support/memory_test_helpers.rb +0 -76
- data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/profile/support/os_memory_leak_tracker.rb +0 -48
- data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/profile/support/ruby_object_leak_tracker.rb +0 -49
- data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/spec/ethon/curl_spec.rb +0 -38
- data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/spec/ethon/easy/callbacks_spec.rb +0 -59
- data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/spec/ethon/easy/debug_info_spec.rb +0 -54
- data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/spec/ethon/easy/features_spec.rb +0 -24
- data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/spec/ethon/easy/form_spec.rb +0 -104
- data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/spec/ethon/easy/header_spec.rb +0 -79
- data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/spec/ethon/easy/http/custom_spec.rb +0 -177
- data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/spec/ethon/easy/http/delete_spec.rb +0 -21
- data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/spec/ethon/easy/http/get_spec.rb +0 -126
- data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/spec/ethon/easy/http/head_spec.rb +0 -80
- data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/spec/ethon/easy/http/options_spec.rb +0 -51
- data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/spec/ethon/easy/http/patch_spec.rb +0 -51
- data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/spec/ethon/easy/http/post_spec.rb +0 -317
- data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/spec/ethon/easy/http/put_spec.rb +0 -168
- data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/spec/ethon/easy/http_spec.rb +0 -64
- data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/spec/ethon/easy/informations_spec.rb +0 -120
- data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/spec/ethon/easy/mirror_spec.rb +0 -47
- data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/spec/ethon/easy/operations_spec.rb +0 -268
- data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/spec/ethon/easy/options_spec.rb +0 -193
- data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/spec/ethon/easy/queryable_spec.rb +0 -235
- data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/spec/ethon/easy/response_callbacks_spec.rb +0 -152
- data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/spec/ethon/easy/util_spec.rb +0 -28
- data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/spec/ethon/easy_spec.rb +0 -203
- data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/spec/ethon/libc_spec.rb +0 -14
- data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/spec/ethon/loggable_spec.rb +0 -22
- data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/spec/ethon/multi/operations_spec.rb +0 -298
- data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/spec/ethon/multi/options_spec.rb +0 -182
- data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/spec/ethon/multi/stack_spec.rb +0 -80
- data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/spec/ethon/multi_spec.rb +0 -152
- data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/spec/spec_helper.rb +0 -28
- data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/spec/support/localhost_server.rb +0 -95
- data/vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/spec/support/server.rb +0 -115
- /data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.8 → addressable-2.8.9}/LICENSE.txt +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.8 → addressable-2.8.9}/README.md +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.8 → addressable-2.8.9}/lib/addressable/idna/native.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.8 → addressable-2.8.9}/lib/addressable/idna.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.8 → addressable-2.8.9}/lib/addressable/template.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.8 → addressable-2.8.9}/lib/addressable/uri.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.8 → addressable-2.8.9}/lib/addressable.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/LICENSE +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/curl.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/curls/constants.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/curls/form_options.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/curls/functions.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/curls/infos.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/curls/messages.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/curls/settings.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/easy/debug_info.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/easy/features.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/easy/form.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/easy/header.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/easy/http/actionable.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/easy/http/custom.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/easy/http/delete.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/easy/http/get.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/easy/http/head.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/easy/http/options.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/easy/http/patch.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/easy/http/post.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/easy/http/postable.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/easy/http/put.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/easy/http/putable.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/easy/http.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/easy/mirror.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/easy/operations.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/easy/options.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/easy/params.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/easy/queryable.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/easy/util.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/easy.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/errors/ethon_error.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/errors/global_init.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/errors/invalid_option.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/errors/invalid_value.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/errors/multi_add.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/errors/multi_fdset.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/errors/multi_remove.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/errors/multi_timeout.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/errors/select.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/errors.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/libc.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/multi/operations.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/multi/options.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/multi/stack.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon/multi.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.15.0 → ethon-0.18.0}/lib/ethon.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/.document +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/.yardopts +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/LICENSE.md +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/README.md +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/lib/rspec/mocks/any_instance/chain.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/lib/rspec/mocks/any_instance/error_generator.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/lib/rspec/mocks/any_instance/expect_chain_chain.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/lib/rspec/mocks/any_instance/expectation_chain.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/lib/rspec/mocks/any_instance/message_chains.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/lib/rspec/mocks/any_instance/proxy.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/lib/rspec/mocks/any_instance/stub_chain.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/lib/rspec/mocks/any_instance/stub_chain_chain.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/lib/rspec/mocks/any_instance.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/lib/rspec/mocks/argument_list_matcher.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/lib/rspec/mocks/argument_matchers.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/lib/rspec/mocks/configuration.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/lib/rspec/mocks/error_generator.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/lib/rspec/mocks/example_methods.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/lib/rspec/mocks/instance_method_stasher.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/lib/rspec/mocks/marshal_extension.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/lib/rspec/mocks/matchers/expectation_customization.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/lib/rspec/mocks/matchers/have_received.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/lib/rspec/mocks/matchers/receive.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/lib/rspec/mocks/matchers/receive_message_chain.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/lib/rspec/mocks/matchers/receive_messages.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/lib/rspec/mocks/message_chain.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/lib/rspec/mocks/message_expectation.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/lib/rspec/mocks/method_double.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/lib/rspec/mocks/method_reference.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/lib/rspec/mocks/minitest_integration.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/lib/rspec/mocks/mutate_const.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/lib/rspec/mocks/object_reference.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/lib/rspec/mocks/proxy.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/lib/rspec/mocks/space.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/lib/rspec/mocks/standalone.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/lib/rspec/mocks/syntax.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/lib/rspec/mocks/targets.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/lib/rspec/mocks/test_double.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/lib/rspec/mocks/verifying_double.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/lib/rspec/mocks/verifying_message_expectation.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/lib/rspec/mocks/verifying_proxy.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.13.7 → rspec-mocks-3.13.8}/lib/rspec/mocks.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.6 → rspec-support-3.13.7}/LICENSE.md +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.6 → rspec-support-3.13.7}/README.md +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.6 → rspec-support-3.13.7}/lib/rspec/support/caller_filter.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.6 → rspec-support-3.13.7}/lib/rspec/support/comparable_version.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.6 → rspec-support-3.13.7}/lib/rspec/support/differ.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.6 → rspec-support-3.13.7}/lib/rspec/support/directory_maker.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.6 → rspec-support-3.13.7}/lib/rspec/support/encoded_string.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.6 → rspec-support-3.13.7}/lib/rspec/support/hunk_generator.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.6 → rspec-support-3.13.7}/lib/rspec/support/matcher_definition.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.6 → rspec-support-3.13.7}/lib/rspec/support/method_signature_verifier.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.6 → rspec-support-3.13.7}/lib/rspec/support/mutex.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.6 → rspec-support-3.13.7}/lib/rspec/support/object_formatter.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.6 → rspec-support-3.13.7}/lib/rspec/support/recursive_const_methods.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.6 → rspec-support-3.13.7}/lib/rspec/support/reentrant_mutex.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.6 → rspec-support-3.13.7}/lib/rspec/support/ruby_features.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.6 → rspec-support-3.13.7}/lib/rspec/support/source/location.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.6 → rspec-support-3.13.7}/lib/rspec/support/source/node.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.6 → rspec-support-3.13.7}/lib/rspec/support/source/token.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.6 → rspec-support-3.13.7}/lib/rspec/support/source.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.6 → rspec-support-3.13.7}/lib/rspec/support/spec/deprecation_helpers.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.6 → rspec-support-3.13.7}/lib/rspec/support/spec/diff_helpers.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.6 → rspec-support-3.13.7}/lib/rspec/support/spec/formatting_support.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.6 → rspec-support-3.13.7}/lib/rspec/support/spec/in_sub_process.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.6 → rspec-support-3.13.7}/lib/rspec/support/spec/library_wide_checks.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.6 → rspec-support-3.13.7}/lib/rspec/support/spec/shell_out.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.6 → rspec-support-3.13.7}/lib/rspec/support/spec/stderr_splitter.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.6 → rspec-support-3.13.7}/lib/rspec/support/spec/string_matcher.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.6 → rspec-support-3.13.7}/lib/rspec/support/spec/with_isolated_directory.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.6 → rspec-support-3.13.7}/lib/rspec/support/spec/with_isolated_stderr.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.6 → rspec-support-3.13.7}/lib/rspec/support/spec.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.6 → rspec-support-3.13.7}/lib/rspec/support/warnings.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.6 → rspec-support-3.13.7}/lib/rspec/support/with_keywords_when_needed.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.6 → rspec-support-3.13.7}/lib/rspec/support.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/CONTRIBUTING.md +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/LICENSE +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/UPGRADE.md +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/lib/rack/typhoeus/middleware/params_decoder/helper.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/lib/rack/typhoeus/middleware/params_decoder.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/lib/rack/typhoeus.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/lib/typhoeus/adapters/faraday.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/lib/typhoeus/cache/dalli.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/lib/typhoeus/cache/rails.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/lib/typhoeus/cache/redis.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/lib/typhoeus/config.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/lib/typhoeus/easy_factory.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/lib/typhoeus/errors/no_stub.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/lib/typhoeus/errors/typhoeus_error.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/lib/typhoeus/errors.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/lib/typhoeus/expectation.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/lib/typhoeus/hydra/addable.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/lib/typhoeus/hydra/before.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/lib/typhoeus/hydra/block_connection.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/lib/typhoeus/hydra/cacheable.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/lib/typhoeus/hydra/memoizable.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/lib/typhoeus/hydra/queueable.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/lib/typhoeus/hydra/runnable.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/lib/typhoeus/hydra/stubbable.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/lib/typhoeus/hydra.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/lib/typhoeus/pool.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/lib/typhoeus/railtie.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/lib/typhoeus/request/actions.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/lib/typhoeus/request/before.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/lib/typhoeus/request/block_connection.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/lib/typhoeus/request/cacheable.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/lib/typhoeus/request/callbacks.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/lib/typhoeus/request/marshal.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/lib/typhoeus/request/memoizable.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/lib/typhoeus/request/operations.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/lib/typhoeus/request/responseable.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/lib/typhoeus/request/streamable.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/lib/typhoeus/request/stubbable.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/lib/typhoeus/request.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/lib/typhoeus/response/cacheable.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/lib/typhoeus/response/header.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/lib/typhoeus/response/informations.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/lib/typhoeus/response/status.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/lib/typhoeus/response.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.5.0 → typhoeus-1.6.0}/lib/typhoeus.rb +0 -0
|
@@ -0,0 +1,496 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Cloudsmith API (v1)
|
|
3
|
+
|
|
4
|
+
#The API to the Cloudsmith Service
|
|
5
|
+
|
|
6
|
+
OpenAPI spec version: v1
|
|
7
|
+
Contact: support@cloudsmith.io
|
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
+
Swagger Codegen version: 2.4.50
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'date'
|
|
14
|
+
|
|
15
|
+
module CloudsmithApi
|
|
16
|
+
class AlpineUpstream
|
|
17
|
+
# The authentication mode to use when accessing this upstream.
|
|
18
|
+
attr_accessor :auth_mode
|
|
19
|
+
|
|
20
|
+
# Secret to provide with requests to upstream.
|
|
21
|
+
attr_accessor :auth_secret
|
|
22
|
+
|
|
23
|
+
# Username to provide with requests to upstream.
|
|
24
|
+
attr_accessor :auth_username
|
|
25
|
+
|
|
26
|
+
# Whether the upstream is available for use.
|
|
27
|
+
attr_accessor :available
|
|
28
|
+
|
|
29
|
+
# Whether the upstream can be reindexed.
|
|
30
|
+
attr_accessor :can_reindex
|
|
31
|
+
|
|
32
|
+
# The datetime the upstream source was created.
|
|
33
|
+
attr_accessor :created_at
|
|
34
|
+
|
|
35
|
+
attr_accessor :disable_reason
|
|
36
|
+
|
|
37
|
+
# Human-readable explanation of why this upstream is disabled
|
|
38
|
+
attr_accessor :disable_reason_text
|
|
39
|
+
|
|
40
|
+
# The key for extra header #1 to send to upstream.
|
|
41
|
+
attr_accessor :extra_header_1
|
|
42
|
+
|
|
43
|
+
# The key for extra header #2 to send to upstream.
|
|
44
|
+
attr_accessor :extra_header_2
|
|
45
|
+
|
|
46
|
+
# The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted.
|
|
47
|
+
attr_accessor :extra_value_1
|
|
48
|
+
|
|
49
|
+
# The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted.
|
|
50
|
+
attr_accessor :extra_value_2
|
|
51
|
+
|
|
52
|
+
# Whether the upstream has failed signature verification.
|
|
53
|
+
attr_accessor :has_failed_signature_verification
|
|
54
|
+
|
|
55
|
+
# The number of packages available in this upstream source
|
|
56
|
+
attr_accessor :index_package_count
|
|
57
|
+
|
|
58
|
+
# The current indexing status of this upstream source
|
|
59
|
+
attr_accessor :index_status
|
|
60
|
+
|
|
61
|
+
# Whether or not this upstream is active and ready for requests.
|
|
62
|
+
attr_accessor :is_active
|
|
63
|
+
|
|
64
|
+
# The last time this upstream source was indexed
|
|
65
|
+
attr_accessor :last_indexed
|
|
66
|
+
|
|
67
|
+
# The mode that this upstream should operate in. Upstream sources can be used to proxy resolved packages, as well as operate in a proxy/cache or cache only mode.
|
|
68
|
+
attr_accessor :mode
|
|
69
|
+
|
|
70
|
+
# A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream.
|
|
71
|
+
attr_accessor :name
|
|
72
|
+
|
|
73
|
+
# When true, this upstream source is pending validation.
|
|
74
|
+
attr_accessor :pending_validation
|
|
75
|
+
|
|
76
|
+
# Upstream sources are selected for resolving requests by sequential order (1..n), followed by creation date.
|
|
77
|
+
attr_accessor :priority
|
|
78
|
+
|
|
79
|
+
attr_accessor :slug_perm
|
|
80
|
+
|
|
81
|
+
attr_accessor :updated_at
|
|
82
|
+
|
|
83
|
+
# The URL for this upstream source. This must be a fully qualified URL including any path elements required to reach the root of the repository.
|
|
84
|
+
attr_accessor :upstream_url
|
|
85
|
+
|
|
86
|
+
# If enabled, SSL certificates are verified when requests are made to this upstream. It's recommended to leave this enabled for all public sources to help mitigate Man-In-The-Middle (MITM) attacks. Please note this only applies to HTTPS upstreams.
|
|
87
|
+
attr_accessor :verify_ssl
|
|
88
|
+
|
|
89
|
+
class EnumAttributeValidator
|
|
90
|
+
attr_reader :datatype
|
|
91
|
+
attr_reader :allowable_values
|
|
92
|
+
|
|
93
|
+
def initialize(datatype, allowable_values)
|
|
94
|
+
@allowable_values = allowable_values.map do |value|
|
|
95
|
+
case datatype.to_s
|
|
96
|
+
when /Integer/i
|
|
97
|
+
value.to_i
|
|
98
|
+
when /Float/i
|
|
99
|
+
value.to_f
|
|
100
|
+
else
|
|
101
|
+
value
|
|
102
|
+
end
|
|
103
|
+
end
|
|
104
|
+
end
|
|
105
|
+
|
|
106
|
+
def valid?(value)
|
|
107
|
+
!value || allowable_values.include?(value)
|
|
108
|
+
end
|
|
109
|
+
end
|
|
110
|
+
|
|
111
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
112
|
+
def self.attribute_map
|
|
113
|
+
{
|
|
114
|
+
:'auth_mode' => :'auth_mode',
|
|
115
|
+
:'auth_secret' => :'auth_secret',
|
|
116
|
+
:'auth_username' => :'auth_username',
|
|
117
|
+
:'available' => :'available',
|
|
118
|
+
:'can_reindex' => :'can_reindex',
|
|
119
|
+
:'created_at' => :'created_at',
|
|
120
|
+
:'disable_reason' => :'disable_reason',
|
|
121
|
+
:'disable_reason_text' => :'disable_reason_text',
|
|
122
|
+
:'extra_header_1' => :'extra_header_1',
|
|
123
|
+
:'extra_header_2' => :'extra_header_2',
|
|
124
|
+
:'extra_value_1' => :'extra_value_1',
|
|
125
|
+
:'extra_value_2' => :'extra_value_2',
|
|
126
|
+
:'has_failed_signature_verification' => :'has_failed_signature_verification',
|
|
127
|
+
:'index_package_count' => :'index_package_count',
|
|
128
|
+
:'index_status' => :'index_status',
|
|
129
|
+
:'is_active' => :'is_active',
|
|
130
|
+
:'last_indexed' => :'last_indexed',
|
|
131
|
+
:'mode' => :'mode',
|
|
132
|
+
:'name' => :'name',
|
|
133
|
+
:'pending_validation' => :'pending_validation',
|
|
134
|
+
:'priority' => :'priority',
|
|
135
|
+
:'slug_perm' => :'slug_perm',
|
|
136
|
+
:'updated_at' => :'updated_at',
|
|
137
|
+
:'upstream_url' => :'upstream_url',
|
|
138
|
+
:'verify_ssl' => :'verify_ssl'
|
|
139
|
+
}
|
|
140
|
+
end
|
|
141
|
+
|
|
142
|
+
# Attribute type mapping.
|
|
143
|
+
def self.swagger_types
|
|
144
|
+
{
|
|
145
|
+
:'auth_mode' => :'String',
|
|
146
|
+
:'auth_secret' => :'String',
|
|
147
|
+
:'auth_username' => :'String',
|
|
148
|
+
:'available' => :'BOOLEAN',
|
|
149
|
+
:'can_reindex' => :'BOOLEAN',
|
|
150
|
+
:'created_at' => :'DateTime',
|
|
151
|
+
:'disable_reason' => :'String',
|
|
152
|
+
:'disable_reason_text' => :'String',
|
|
153
|
+
:'extra_header_1' => :'String',
|
|
154
|
+
:'extra_header_2' => :'String',
|
|
155
|
+
:'extra_value_1' => :'String',
|
|
156
|
+
:'extra_value_2' => :'String',
|
|
157
|
+
:'has_failed_signature_verification' => :'BOOLEAN',
|
|
158
|
+
:'index_package_count' => :'Integer',
|
|
159
|
+
:'index_status' => :'String',
|
|
160
|
+
:'is_active' => :'BOOLEAN',
|
|
161
|
+
:'last_indexed' => :'String',
|
|
162
|
+
:'mode' => :'String',
|
|
163
|
+
:'name' => :'String',
|
|
164
|
+
:'pending_validation' => :'BOOLEAN',
|
|
165
|
+
:'priority' => :'Integer',
|
|
166
|
+
:'slug_perm' => :'String',
|
|
167
|
+
:'updated_at' => :'DateTime',
|
|
168
|
+
:'upstream_url' => :'String',
|
|
169
|
+
:'verify_ssl' => :'BOOLEAN'
|
|
170
|
+
}
|
|
171
|
+
end
|
|
172
|
+
|
|
173
|
+
# Initializes the object
|
|
174
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
175
|
+
def initialize(attributes = {})
|
|
176
|
+
return unless attributes.is_a?(Hash)
|
|
177
|
+
|
|
178
|
+
# convert string to symbol for hash key
|
|
179
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
|
180
|
+
|
|
181
|
+
if attributes.has_key?(:'auth_mode')
|
|
182
|
+
self.auth_mode = attributes[:'auth_mode']
|
|
183
|
+
else
|
|
184
|
+
self.auth_mode = 'None'
|
|
185
|
+
end
|
|
186
|
+
|
|
187
|
+
if attributes.has_key?(:'auth_secret')
|
|
188
|
+
self.auth_secret = attributes[:'auth_secret']
|
|
189
|
+
end
|
|
190
|
+
|
|
191
|
+
if attributes.has_key?(:'auth_username')
|
|
192
|
+
self.auth_username = attributes[:'auth_username']
|
|
193
|
+
end
|
|
194
|
+
|
|
195
|
+
if attributes.has_key?(:'available')
|
|
196
|
+
self.available = attributes[:'available']
|
|
197
|
+
end
|
|
198
|
+
|
|
199
|
+
if attributes.has_key?(:'can_reindex')
|
|
200
|
+
self.can_reindex = attributes[:'can_reindex']
|
|
201
|
+
end
|
|
202
|
+
|
|
203
|
+
if attributes.has_key?(:'created_at')
|
|
204
|
+
self.created_at = attributes[:'created_at']
|
|
205
|
+
end
|
|
206
|
+
|
|
207
|
+
if attributes.has_key?(:'disable_reason')
|
|
208
|
+
self.disable_reason = attributes[:'disable_reason']
|
|
209
|
+
else
|
|
210
|
+
self.disable_reason = 'N/A'
|
|
211
|
+
end
|
|
212
|
+
|
|
213
|
+
if attributes.has_key?(:'disable_reason_text')
|
|
214
|
+
self.disable_reason_text = attributes[:'disable_reason_text']
|
|
215
|
+
end
|
|
216
|
+
|
|
217
|
+
if attributes.has_key?(:'extra_header_1')
|
|
218
|
+
self.extra_header_1 = attributes[:'extra_header_1']
|
|
219
|
+
end
|
|
220
|
+
|
|
221
|
+
if attributes.has_key?(:'extra_header_2')
|
|
222
|
+
self.extra_header_2 = attributes[:'extra_header_2']
|
|
223
|
+
end
|
|
224
|
+
|
|
225
|
+
if attributes.has_key?(:'extra_value_1')
|
|
226
|
+
self.extra_value_1 = attributes[:'extra_value_1']
|
|
227
|
+
end
|
|
228
|
+
|
|
229
|
+
if attributes.has_key?(:'extra_value_2')
|
|
230
|
+
self.extra_value_2 = attributes[:'extra_value_2']
|
|
231
|
+
end
|
|
232
|
+
|
|
233
|
+
if attributes.has_key?(:'has_failed_signature_verification')
|
|
234
|
+
self.has_failed_signature_verification = attributes[:'has_failed_signature_verification']
|
|
235
|
+
end
|
|
236
|
+
|
|
237
|
+
if attributes.has_key?(:'index_package_count')
|
|
238
|
+
self.index_package_count = attributes[:'index_package_count']
|
|
239
|
+
end
|
|
240
|
+
|
|
241
|
+
if attributes.has_key?(:'index_status')
|
|
242
|
+
self.index_status = attributes[:'index_status']
|
|
243
|
+
end
|
|
244
|
+
|
|
245
|
+
if attributes.has_key?(:'is_active')
|
|
246
|
+
self.is_active = attributes[:'is_active']
|
|
247
|
+
end
|
|
248
|
+
|
|
249
|
+
if attributes.has_key?(:'last_indexed')
|
|
250
|
+
self.last_indexed = attributes[:'last_indexed']
|
|
251
|
+
end
|
|
252
|
+
|
|
253
|
+
if attributes.has_key?(:'mode')
|
|
254
|
+
self.mode = attributes[:'mode']
|
|
255
|
+
else
|
|
256
|
+
self.mode = 'Proxy Only'
|
|
257
|
+
end
|
|
258
|
+
|
|
259
|
+
if attributes.has_key?(:'name')
|
|
260
|
+
self.name = attributes[:'name']
|
|
261
|
+
end
|
|
262
|
+
|
|
263
|
+
if attributes.has_key?(:'pending_validation')
|
|
264
|
+
self.pending_validation = attributes[:'pending_validation']
|
|
265
|
+
end
|
|
266
|
+
|
|
267
|
+
if attributes.has_key?(:'priority')
|
|
268
|
+
self.priority = attributes[:'priority']
|
|
269
|
+
end
|
|
270
|
+
|
|
271
|
+
if attributes.has_key?(:'slug_perm')
|
|
272
|
+
self.slug_perm = attributes[:'slug_perm']
|
|
273
|
+
end
|
|
274
|
+
|
|
275
|
+
if attributes.has_key?(:'updated_at')
|
|
276
|
+
self.updated_at = attributes[:'updated_at']
|
|
277
|
+
end
|
|
278
|
+
|
|
279
|
+
if attributes.has_key?(:'upstream_url')
|
|
280
|
+
self.upstream_url = attributes[:'upstream_url']
|
|
281
|
+
end
|
|
282
|
+
|
|
283
|
+
if attributes.has_key?(:'verify_ssl')
|
|
284
|
+
self.verify_ssl = attributes[:'verify_ssl']
|
|
285
|
+
end
|
|
286
|
+
end
|
|
287
|
+
|
|
288
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
|
289
|
+
# @return Array for valid properties with the reasons
|
|
290
|
+
def list_invalid_properties
|
|
291
|
+
invalid_properties = Array.new
|
|
292
|
+
if @name.nil?
|
|
293
|
+
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
|
294
|
+
end
|
|
295
|
+
|
|
296
|
+
if @upstream_url.nil?
|
|
297
|
+
invalid_properties.push('invalid value for "upstream_url", upstream_url cannot be nil.')
|
|
298
|
+
end
|
|
299
|
+
|
|
300
|
+
invalid_properties
|
|
301
|
+
end
|
|
302
|
+
|
|
303
|
+
# Check to see if the all the properties in the model are valid
|
|
304
|
+
# @return true if the model is valid
|
|
305
|
+
def valid?
|
|
306
|
+
auth_mode_validator = EnumAttributeValidator.new('String', ['None', 'Username and Password'])
|
|
307
|
+
return false unless auth_mode_validator.valid?(@auth_mode)
|
|
308
|
+
disable_reason_validator = EnumAttributeValidator.new('String', ['N/A', 'Upstream points to its own repository', 'Missing upstream source', 'Upstream was disabled by request of user'])
|
|
309
|
+
return false unless disable_reason_validator.valid?(@disable_reason)
|
|
310
|
+
mode_validator = EnumAttributeValidator.new('String', ['Proxy Only', 'Cache and Proxy'])
|
|
311
|
+
return false unless mode_validator.valid?(@mode)
|
|
312
|
+
return false if @name.nil?
|
|
313
|
+
return false if @upstream_url.nil?
|
|
314
|
+
true
|
|
315
|
+
end
|
|
316
|
+
|
|
317
|
+
# Custom attribute writer method checking allowed values (enum).
|
|
318
|
+
# @param [Object] auth_mode Object to be assigned
|
|
319
|
+
def auth_mode=(auth_mode)
|
|
320
|
+
validator = EnumAttributeValidator.new('String', ['None', 'Username and Password'])
|
|
321
|
+
unless validator.valid?(auth_mode)
|
|
322
|
+
fail ArgumentError, 'invalid value for "auth_mode", must be one of #{validator.allowable_values}.'
|
|
323
|
+
end
|
|
324
|
+
@auth_mode = auth_mode
|
|
325
|
+
end
|
|
326
|
+
|
|
327
|
+
# Custom attribute writer method checking allowed values (enum).
|
|
328
|
+
# @param [Object] disable_reason Object to be assigned
|
|
329
|
+
def disable_reason=(disable_reason)
|
|
330
|
+
validator = EnumAttributeValidator.new('String', ['N/A', 'Upstream points to its own repository', 'Missing upstream source', 'Upstream was disabled by request of user'])
|
|
331
|
+
unless validator.valid?(disable_reason)
|
|
332
|
+
fail ArgumentError, 'invalid value for "disable_reason", must be one of #{validator.allowable_values}.'
|
|
333
|
+
end
|
|
334
|
+
@disable_reason = disable_reason
|
|
335
|
+
end
|
|
336
|
+
|
|
337
|
+
# Custom attribute writer method checking allowed values (enum).
|
|
338
|
+
# @param [Object] mode Object to be assigned
|
|
339
|
+
def mode=(mode)
|
|
340
|
+
validator = EnumAttributeValidator.new('String', ['Proxy Only', 'Cache and Proxy'])
|
|
341
|
+
unless validator.valid?(mode)
|
|
342
|
+
fail ArgumentError, 'invalid value for "mode", must be one of #{validator.allowable_values}.'
|
|
343
|
+
end
|
|
344
|
+
@mode = mode
|
|
345
|
+
end
|
|
346
|
+
|
|
347
|
+
# Checks equality by comparing each attribute.
|
|
348
|
+
# @param [Object] Object to be compared
|
|
349
|
+
def ==(o)
|
|
350
|
+
return true if self.equal?(o)
|
|
351
|
+
self.class == o.class &&
|
|
352
|
+
auth_mode == o.auth_mode &&
|
|
353
|
+
auth_secret == o.auth_secret &&
|
|
354
|
+
auth_username == o.auth_username &&
|
|
355
|
+
available == o.available &&
|
|
356
|
+
can_reindex == o.can_reindex &&
|
|
357
|
+
created_at == o.created_at &&
|
|
358
|
+
disable_reason == o.disable_reason &&
|
|
359
|
+
disable_reason_text == o.disable_reason_text &&
|
|
360
|
+
extra_header_1 == o.extra_header_1 &&
|
|
361
|
+
extra_header_2 == o.extra_header_2 &&
|
|
362
|
+
extra_value_1 == o.extra_value_1 &&
|
|
363
|
+
extra_value_2 == o.extra_value_2 &&
|
|
364
|
+
has_failed_signature_verification == o.has_failed_signature_verification &&
|
|
365
|
+
index_package_count == o.index_package_count &&
|
|
366
|
+
index_status == o.index_status &&
|
|
367
|
+
is_active == o.is_active &&
|
|
368
|
+
last_indexed == o.last_indexed &&
|
|
369
|
+
mode == o.mode &&
|
|
370
|
+
name == o.name &&
|
|
371
|
+
pending_validation == o.pending_validation &&
|
|
372
|
+
priority == o.priority &&
|
|
373
|
+
slug_perm == o.slug_perm &&
|
|
374
|
+
updated_at == o.updated_at &&
|
|
375
|
+
upstream_url == o.upstream_url &&
|
|
376
|
+
verify_ssl == o.verify_ssl
|
|
377
|
+
end
|
|
378
|
+
|
|
379
|
+
# @see the `==` method
|
|
380
|
+
# @param [Object] Object to be compared
|
|
381
|
+
def eql?(o)
|
|
382
|
+
self == o
|
|
383
|
+
end
|
|
384
|
+
|
|
385
|
+
# Calculates hash code according to all attributes.
|
|
386
|
+
# @return [Fixnum] Hash code
|
|
387
|
+
def hash
|
|
388
|
+
[auth_mode, auth_secret, auth_username, available, can_reindex, created_at, disable_reason, disable_reason_text, extra_header_1, extra_header_2, extra_value_1, extra_value_2, has_failed_signature_verification, index_package_count, index_status, is_active, last_indexed, mode, name, pending_validation, priority, slug_perm, updated_at, upstream_url, verify_ssl].hash
|
|
389
|
+
end
|
|
390
|
+
|
|
391
|
+
# Builds the object from hash
|
|
392
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
393
|
+
# @return [Object] Returns the model itself
|
|
394
|
+
def build_from_hash(attributes)
|
|
395
|
+
return nil unless attributes.is_a?(Hash)
|
|
396
|
+
self.class.swagger_types.each_pair do |key, type|
|
|
397
|
+
if type =~ /\AArray<(.*)>/i
|
|
398
|
+
# check to ensure the input is an array given that the attribute
|
|
399
|
+
# is documented as an array but the input is not
|
|
400
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
|
401
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
|
402
|
+
end
|
|
403
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
|
404
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
|
405
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
|
406
|
+
end
|
|
407
|
+
|
|
408
|
+
self
|
|
409
|
+
end
|
|
410
|
+
|
|
411
|
+
# Deserializes the data based on type
|
|
412
|
+
# @param string type Data type
|
|
413
|
+
# @param string value Value to be deserialized
|
|
414
|
+
# @return [Object] Deserialized data
|
|
415
|
+
def _deserialize(type, value)
|
|
416
|
+
case type.to_sym
|
|
417
|
+
when :DateTime
|
|
418
|
+
DateTime.parse(value)
|
|
419
|
+
when :Date
|
|
420
|
+
Date.parse(value)
|
|
421
|
+
when :String
|
|
422
|
+
value.to_s
|
|
423
|
+
when :Integer
|
|
424
|
+
value.to_i
|
|
425
|
+
when :Float
|
|
426
|
+
value.to_f
|
|
427
|
+
when :BOOLEAN
|
|
428
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
|
429
|
+
true
|
|
430
|
+
else
|
|
431
|
+
false
|
|
432
|
+
end
|
|
433
|
+
when :Object
|
|
434
|
+
# generic object (usually a Hash), return directly
|
|
435
|
+
value
|
|
436
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
|
437
|
+
inner_type = Regexp.last_match[:inner_type]
|
|
438
|
+
value.map { |v| _deserialize(inner_type, v) }
|
|
439
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
|
440
|
+
k_type = Regexp.last_match[:k_type]
|
|
441
|
+
v_type = Regexp.last_match[:v_type]
|
|
442
|
+
{}.tap do |hash|
|
|
443
|
+
value.each do |k, v|
|
|
444
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
|
445
|
+
end
|
|
446
|
+
end
|
|
447
|
+
else # model
|
|
448
|
+
temp_model = CloudsmithApi.const_get(type).new
|
|
449
|
+
temp_model.build_from_hash(value)
|
|
450
|
+
end
|
|
451
|
+
end
|
|
452
|
+
|
|
453
|
+
# Returns the string representation of the object
|
|
454
|
+
# @return [String] String presentation of the object
|
|
455
|
+
def to_s
|
|
456
|
+
to_hash.to_s
|
|
457
|
+
end
|
|
458
|
+
|
|
459
|
+
# to_body is an alias to to_hash (backward compatibility)
|
|
460
|
+
# @return [Hash] Returns the object in the form of hash
|
|
461
|
+
def to_body
|
|
462
|
+
to_hash
|
|
463
|
+
end
|
|
464
|
+
|
|
465
|
+
# Returns the object in the form of hash
|
|
466
|
+
# @return [Hash] Returns the object in the form of hash
|
|
467
|
+
def to_hash
|
|
468
|
+
hash = {}
|
|
469
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
470
|
+
value = self.send(attr)
|
|
471
|
+
next if value.nil?
|
|
472
|
+
hash[param] = _to_hash(value)
|
|
473
|
+
end
|
|
474
|
+
hash
|
|
475
|
+
end
|
|
476
|
+
|
|
477
|
+
# Outputs non-array value in the form of hash
|
|
478
|
+
# For object, use to_hash. Otherwise, just return the value
|
|
479
|
+
# @param [Object] value Any valid value
|
|
480
|
+
# @return [Hash] Returns the value in the form of hash
|
|
481
|
+
def _to_hash(value)
|
|
482
|
+
if value.is_a?(Array)
|
|
483
|
+
value.compact.map { |v| _to_hash(v) }
|
|
484
|
+
elsif value.is_a?(Hash)
|
|
485
|
+
{}.tap do |hash|
|
|
486
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
|
487
|
+
end
|
|
488
|
+
elsif value.respond_to? :to_hash
|
|
489
|
+
value.to_hash
|
|
490
|
+
else
|
|
491
|
+
value
|
|
492
|
+
end
|
|
493
|
+
end
|
|
494
|
+
|
|
495
|
+
end
|
|
496
|
+
end
|