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
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
require 'bundler/setup'
|
|
4
|
-
require 'rspec/its'
|
|
5
|
-
|
|
6
|
-
begin
|
|
7
|
-
require 'coveralls'
|
|
8
|
-
Coveralls.wear! do
|
|
9
|
-
add_filter "spec/"
|
|
10
|
-
add_filter "vendor/"
|
|
11
|
-
end
|
|
12
|
-
rescue LoadError
|
|
13
|
-
warn "warning: coveralls gem not found; skipping Coveralls"
|
|
14
|
-
require 'simplecov'
|
|
15
|
-
SimpleCov.start do
|
|
16
|
-
add_filter "spec/"
|
|
17
|
-
add_filter "vendor/"
|
|
18
|
-
end
|
|
19
|
-
end if Gem.loaded_specs.key?("simplecov")
|
|
20
|
-
|
|
21
|
-
class TestHelper
|
|
22
|
-
def self.native_supported?
|
|
23
|
-
mri = RUBY_ENGINE == "ruby"
|
|
24
|
-
windows = RUBY_PLATFORM.include?("mingw")
|
|
25
|
-
|
|
26
|
-
mri && !windows
|
|
27
|
-
end
|
|
28
|
-
end
|
|
29
|
-
|
|
30
|
-
RSpec.configure do |config|
|
|
31
|
-
config.warnings = true
|
|
32
|
-
config.filter_run_when_matching :focus
|
|
33
|
-
end
|
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
require "rubygems/package_task"
|
|
4
|
-
|
|
5
|
-
namespace :gem do
|
|
6
|
-
GEM_SPEC = Gem::Specification.new do |s|
|
|
7
|
-
s.name = PKG_NAME
|
|
8
|
-
s.version = PKG_VERSION
|
|
9
|
-
s.summary = PKG_SUMMARY
|
|
10
|
-
s.description = PKG_DESCRIPTION
|
|
11
|
-
|
|
12
|
-
s.files = PKG_FILES.to_a
|
|
13
|
-
|
|
14
|
-
s.extra_rdoc_files = %w( README.md )
|
|
15
|
-
s.rdoc_options.concat ["--main", "README.md"]
|
|
16
|
-
|
|
17
|
-
if !s.respond_to?(:add_development_dependency)
|
|
18
|
-
puts "Cannot build Gem with this version of RubyGems."
|
|
19
|
-
exit(1)
|
|
20
|
-
end
|
|
21
|
-
|
|
22
|
-
s.required_ruby_version = ">= 2.2"
|
|
23
|
-
|
|
24
|
-
s.add_runtime_dependency "public_suffix", ">= 2.0.2", "< 8.0"
|
|
25
|
-
s.add_development_dependency "bundler", ">= 1.0", "< 3.0"
|
|
26
|
-
|
|
27
|
-
s.require_path = "lib"
|
|
28
|
-
|
|
29
|
-
s.author = "Bob Aman"
|
|
30
|
-
s.email = "bob@sporkmonger.com"
|
|
31
|
-
s.homepage = "https://github.com/sporkmonger/addressable"
|
|
32
|
-
s.license = "Apache-2.0"
|
|
33
|
-
s.metadata = {
|
|
34
|
-
"changelog_uri" => "https://github.com/sporkmonger/addressable/blob/main/CHANGELOG.md#v#{PKG_VERSION}"
|
|
35
|
-
}
|
|
36
|
-
end
|
|
37
|
-
|
|
38
|
-
Gem::PackageTask.new(GEM_SPEC) do |p|
|
|
39
|
-
p.gem_spec = GEM_SPEC
|
|
40
|
-
p.need_tar = true
|
|
41
|
-
p.need_zip = true
|
|
42
|
-
end
|
|
43
|
-
|
|
44
|
-
desc "Generates .gemspec file"
|
|
45
|
-
task :gemspec do
|
|
46
|
-
# ensure correct date in gemspec
|
|
47
|
-
# https://github.com/ruby/rubygems/pull/8568
|
|
48
|
-
# https://github.com/ruby/rubygems/issues/8679
|
|
49
|
-
ENV["SOURCE_DATE_EPOCH"] ||= Time.now.to_i.to_s
|
|
50
|
-
|
|
51
|
-
spec_string = GEM_SPEC.to_ruby
|
|
52
|
-
File.open("#{GEM_SPEC.name}.gemspec", "w") do |file|
|
|
53
|
-
file.write spec_string
|
|
54
|
-
end
|
|
55
|
-
end
|
|
56
|
-
|
|
57
|
-
desc "Show information about the gem"
|
|
58
|
-
task :debug do
|
|
59
|
-
puts GEM_SPEC.to_ruby
|
|
60
|
-
end
|
|
61
|
-
|
|
62
|
-
desc "Install the gem"
|
|
63
|
-
task :install => ["clobber", "gem:package"] do
|
|
64
|
-
sh "gem install --local ./pkg/#{GEM_SPEC.full_name}.gem"
|
|
65
|
-
end
|
|
66
|
-
|
|
67
|
-
desc "Uninstall the gem"
|
|
68
|
-
task :uninstall do
|
|
69
|
-
installed_list = Gem.source_index.find_name(PKG_NAME)
|
|
70
|
-
if installed_list &&
|
|
71
|
-
(installed_list.collect { |s| s.version.to_s}.include?(PKG_VERSION))
|
|
72
|
-
sh(
|
|
73
|
-
"gem uninstall --version '#{PKG_VERSION}' " +
|
|
74
|
-
"--ignore-dependencies --executables #{PKG_NAME}"
|
|
75
|
-
)
|
|
76
|
-
end
|
|
77
|
-
end
|
|
78
|
-
|
|
79
|
-
desc "Reinstall the gem"
|
|
80
|
-
task :reinstall => [:uninstall, :install]
|
|
81
|
-
|
|
82
|
-
desc "Package for release"
|
|
83
|
-
task :release => ["gem:package", "gem:gemspec"] do |t|
|
|
84
|
-
v = ENV["VERSION"] or abort "Must supply VERSION=x.y.z"
|
|
85
|
-
abort "Versions don't match #{v} vs #{PROJ.version}" if v != PKG_VERSION
|
|
86
|
-
pkg = "pkg/#{GEM_SPEC.full_name}"
|
|
87
|
-
|
|
88
|
-
changelog = File.open("CHANGELOG.md") { |file| file.read }
|
|
89
|
-
|
|
90
|
-
puts "Releasing #{PKG_NAME} v. #{PKG_VERSION}"
|
|
91
|
-
Rake::Task["git:tag:create"].invoke
|
|
92
|
-
end
|
|
93
|
-
end
|
|
94
|
-
|
|
95
|
-
desc "Alias to gem:package"
|
|
96
|
-
task "gem" => "gem:package"
|
|
97
|
-
|
|
98
|
-
task "gem:release" => "gem:gemspec"
|
|
99
|
-
|
|
100
|
-
task "clobber" => ["gem:clobber_package"]
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
namespace :git do
|
|
4
|
-
namespace :tag do
|
|
5
|
-
desc "List tags from the Git repository"
|
|
6
|
-
task :list do
|
|
7
|
-
tags = `git tag -l`
|
|
8
|
-
tags.gsub!("\r", "")
|
|
9
|
-
tags = tags.split("\n").sort {|a, b| b <=> a }
|
|
10
|
-
puts tags.join("\n")
|
|
11
|
-
end
|
|
12
|
-
|
|
13
|
-
desc "Create a new tag in the Git repository"
|
|
14
|
-
task :create do
|
|
15
|
-
changelog = File.open("CHANGELOG.md", "r") { |file| file.read }
|
|
16
|
-
puts "-" * 80
|
|
17
|
-
puts changelog
|
|
18
|
-
puts "-" * 80
|
|
19
|
-
puts
|
|
20
|
-
|
|
21
|
-
v = ENV["VERSION"] or abort "Must supply VERSION=x.y.z"
|
|
22
|
-
abort "Versions don't match #{v} vs #{PKG_VERSION}" if v != PKG_VERSION
|
|
23
|
-
|
|
24
|
-
git_status = `git status`
|
|
25
|
-
if git_status !~ /^nothing to commit/
|
|
26
|
-
abort "Working directory isn't clean."
|
|
27
|
-
end
|
|
28
|
-
|
|
29
|
-
tag = "#{PKG_NAME}-#{PKG_VERSION}"
|
|
30
|
-
msg = "Release #{PKG_NAME}-#{PKG_VERSION}"
|
|
31
|
-
|
|
32
|
-
existing_tags = `git tag -l #{PKG_NAME}-*`.split('\n')
|
|
33
|
-
if existing_tags.include?(tag)
|
|
34
|
-
warn("Tag already exists, deleting...")
|
|
35
|
-
unless system "git tag -d #{tag}"
|
|
36
|
-
abort "Tag deletion failed."
|
|
37
|
-
end
|
|
38
|
-
end
|
|
39
|
-
puts "Creating git tag '#{tag}'..."
|
|
40
|
-
unless system "git tag -a -m \"#{msg}\" #{tag}"
|
|
41
|
-
abort "Tag creation failed."
|
|
42
|
-
end
|
|
43
|
-
end
|
|
44
|
-
end
|
|
45
|
-
end
|
|
46
|
-
|
|
47
|
-
task "gem:release" => "git:tag:create"
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
namespace :metrics do
|
|
4
|
-
task :lines do
|
|
5
|
-
lines, codelines, total_lines, total_codelines = 0, 0, 0, 0
|
|
6
|
-
for file_name in FileList["lib/**/*.rb"]
|
|
7
|
-
f = File.open(file_name)
|
|
8
|
-
while line = f.gets
|
|
9
|
-
lines += 1
|
|
10
|
-
next if line =~ /^\s*$/
|
|
11
|
-
next if line =~ /^\s*#/
|
|
12
|
-
codelines += 1
|
|
13
|
-
end
|
|
14
|
-
puts "L: #{sprintf("%4d", lines)}, " +
|
|
15
|
-
"LOC #{sprintf("%4d", codelines)} | #{file_name}"
|
|
16
|
-
total_lines += lines
|
|
17
|
-
total_codelines += codelines
|
|
18
|
-
|
|
19
|
-
lines, codelines = 0, 0
|
|
20
|
-
end
|
|
21
|
-
|
|
22
|
-
puts "Total: Lines #{total_lines}, LOC #{total_codelines}"
|
|
23
|
-
end
|
|
24
|
-
end
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
namespace :profile do
|
|
4
|
-
desc "Profile Template match memory allocations"
|
|
5
|
-
task :template_match_memory do
|
|
6
|
-
require "memory_profiler"
|
|
7
|
-
require "addressable/template"
|
|
8
|
-
|
|
9
|
-
start_at = Time.now.to_f
|
|
10
|
-
template = Addressable::Template.new("http://example.com/{?one,two,three}")
|
|
11
|
-
report = MemoryProfiler.report do
|
|
12
|
-
30_000.times do
|
|
13
|
-
template.match(
|
|
14
|
-
"http://example.com/?one=one&two=floo&three=me"
|
|
15
|
-
)
|
|
16
|
-
end
|
|
17
|
-
end
|
|
18
|
-
end_at = Time.now.to_f
|
|
19
|
-
print_options = { scale_bytes: true, normalize_paths: true }
|
|
20
|
-
puts "\n\n"
|
|
21
|
-
|
|
22
|
-
if ENV["CI"]
|
|
23
|
-
report.pretty_print(**print_options)
|
|
24
|
-
else
|
|
25
|
-
t_allocated = report.scale_bytes(report.total_allocated_memsize)
|
|
26
|
-
t_retained = report.scale_bytes(report.total_retained_memsize)
|
|
27
|
-
|
|
28
|
-
puts "Total allocated: #{t_allocated} (#{report.total_allocated} objects)"
|
|
29
|
-
puts "Total retained: #{t_retained} (#{report.total_retained} objects)"
|
|
30
|
-
puts "Took #{end_at - start_at} seconds"
|
|
31
|
-
|
|
32
|
-
FileUtils.mkdir_p("tmp")
|
|
33
|
-
report.pretty_print(to_file: "tmp/memprof.txt", **print_options)
|
|
34
|
-
end
|
|
35
|
-
end
|
|
36
|
-
|
|
37
|
-
desc "Profile URI parse memory allocations"
|
|
38
|
-
task :memory do
|
|
39
|
-
require "memory_profiler"
|
|
40
|
-
require "addressable/uri"
|
|
41
|
-
if ENV["IDNA_MODE"] == "pure"
|
|
42
|
-
Addressable.send(:remove_const, :IDNA)
|
|
43
|
-
load "addressable/idna/pure.rb"
|
|
44
|
-
end
|
|
45
|
-
|
|
46
|
-
start_at = Time.now.to_f
|
|
47
|
-
report = MemoryProfiler.report do
|
|
48
|
-
30_000.times do
|
|
49
|
-
Addressable::URI.parse(
|
|
50
|
-
"http://google.com/stuff/../?with_lots=of¶ms=asdff#!stuff"
|
|
51
|
-
).normalize
|
|
52
|
-
end
|
|
53
|
-
end
|
|
54
|
-
end_at = Time.now.to_f
|
|
55
|
-
print_options = { scale_bytes: true, normalize_paths: true }
|
|
56
|
-
puts "\n\n"
|
|
57
|
-
|
|
58
|
-
if ENV["CI"]
|
|
59
|
-
report.pretty_print(**print_options)
|
|
60
|
-
else
|
|
61
|
-
t_allocated = report.scale_bytes(report.total_allocated_memsize)
|
|
62
|
-
t_retained = report.scale_bytes(report.total_retained_memsize)
|
|
63
|
-
|
|
64
|
-
puts "Total allocated: #{t_allocated} (#{report.total_allocated} objects)"
|
|
65
|
-
puts "Total retained: #{t_retained} (#{report.total_retained} objects)"
|
|
66
|
-
puts "Took #{end_at - start_at} seconds"
|
|
67
|
-
|
|
68
|
-
FileUtils.mkdir_p("tmp")
|
|
69
|
-
report.pretty_print(to_file: "tmp/memprof.txt", **print_options)
|
|
70
|
-
end
|
|
71
|
-
end
|
|
72
|
-
end
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
require "rspec/core/rake_task"
|
|
4
|
-
|
|
5
|
-
namespace :spec do
|
|
6
|
-
RSpec::Core::RakeTask.new(:simplecov) do |t|
|
|
7
|
-
t.pattern = FileList['spec/**/*_spec.rb']
|
|
8
|
-
t.rspec_opts = %w[--color --format documentation] unless ENV["CI"]
|
|
9
|
-
end
|
|
10
|
-
|
|
11
|
-
namespace :simplecov do
|
|
12
|
-
desc "Browse the code coverage report."
|
|
13
|
-
task :browse => "spec:simplecov" do
|
|
14
|
-
require "launchy"
|
|
15
|
-
Launchy.open("coverage/index.html")
|
|
16
|
-
end
|
|
17
|
-
end
|
|
18
|
-
end
|
|
19
|
-
|
|
20
|
-
desc "Alias to spec:simplecov"
|
|
21
|
-
task "spec" => "spec:simplecov"
|
|
22
|
-
|
|
23
|
-
task "clobber" => ["spec:clobber_simplecov"]
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
require "rake"
|
|
4
|
-
|
|
5
|
-
begin
|
|
6
|
-
require "yard"
|
|
7
|
-
require "yard/rake/yardoc_task"
|
|
8
|
-
|
|
9
|
-
namespace :doc do
|
|
10
|
-
desc "Generate Yardoc documentation"
|
|
11
|
-
YARD::Rake::YardocTask.new do |yardoc|
|
|
12
|
-
yardoc.name = "yard"
|
|
13
|
-
yardoc.options = ["--verbose", "--markup", "markdown"]
|
|
14
|
-
yardoc.files = FileList[
|
|
15
|
-
"lib/**/*.rb", "ext/**/*.c",
|
|
16
|
-
"README.md", "CHANGELOG.md", "LICENSE.txt"
|
|
17
|
-
].exclude(/idna/)
|
|
18
|
-
end
|
|
19
|
-
end
|
|
20
|
-
|
|
21
|
-
task "clobber" => ["doc:clobber_yard"]
|
|
22
|
-
|
|
23
|
-
desc "Alias to doc:yard"
|
|
24
|
-
task "doc" => "doc:yard"
|
|
25
|
-
rescue LoadError
|
|
26
|
-
# If yard isn't available, it's not the end of the world
|
|
27
|
-
desc "Alias to doc:rdoc"
|
|
28
|
-
task "doc" => "doc:rdoc"
|
|
29
|
-
end
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
# This workflow uses actions that are not certified by GitHub.
|
|
2
|
-
# They are provided by a third-party and are governed by
|
|
3
|
-
# separate terms of service, privacy policy, and support
|
|
4
|
-
# documentation.
|
|
5
|
-
# This workflow will download a prebuilt Ruby version, install dependencies and run tests with Rake
|
|
6
|
-
# For more information see: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby
|
|
7
|
-
|
|
8
|
-
name: Ruby
|
|
9
|
-
|
|
10
|
-
on:
|
|
11
|
-
push:
|
|
12
|
-
branches: [ master ]
|
|
13
|
-
pull_request:
|
|
14
|
-
branches: [ master ]
|
|
15
|
-
|
|
16
|
-
jobs:
|
|
17
|
-
test:
|
|
18
|
-
runs-on: ${{ matrix.os }}-latest
|
|
19
|
-
strategy:
|
|
20
|
-
fail-fast: false
|
|
21
|
-
matrix:
|
|
22
|
-
os: [ubuntu, macos]
|
|
23
|
-
ruby-version: [2.5, 2.6, 2.7, 3.0, head, debug, truffleruby, truffleruby-head]
|
|
24
|
-
continue-on-error: ${{ endsWith(matrix.ruby, 'head') || matrix.ruby == 'debug' }}
|
|
25
|
-
steps:
|
|
26
|
-
- uses: actions/checkout@v2
|
|
27
|
-
- name: Install libcurl header
|
|
28
|
-
run: |
|
|
29
|
-
if ${{ matrix.os == 'macos' }}
|
|
30
|
-
then
|
|
31
|
-
brew install curl
|
|
32
|
-
else
|
|
33
|
-
sudo apt install -y libcurl4-openssl-dev
|
|
34
|
-
fi
|
|
35
|
-
- name: Set up Ruby
|
|
36
|
-
uses: ruby/setup-ruby@v1
|
|
37
|
-
with:
|
|
38
|
-
ruby-version: ${{ matrix.ruby-version }}
|
|
39
|
-
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
|
|
40
|
-
- name: Run tests
|
|
41
|
-
run: bundle exec rake
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
source "https://rubygems.org"
|
|
3
|
-
gemspec
|
|
4
|
-
|
|
5
|
-
if Gem.ruby_version < Gem::Version.new("1.9.3")
|
|
6
|
-
gem "rake", "< 11"
|
|
7
|
-
else
|
|
8
|
-
gem "rake"
|
|
9
|
-
end
|
|
10
|
-
|
|
11
|
-
group :development, :test do
|
|
12
|
-
gem "rspec", "~> 3.4"
|
|
13
|
-
|
|
14
|
-
gem "sinatra"
|
|
15
|
-
|
|
16
|
-
if Gem.ruby_version < Gem::Version.new("2.0.0")
|
|
17
|
-
gem "json", "< 2"
|
|
18
|
-
else
|
|
19
|
-
gem "json"
|
|
20
|
-
end
|
|
21
|
-
|
|
22
|
-
if Gem.ruby_version >= Gem::Version.new("2.0.0")
|
|
23
|
-
gem "mime-types", "~> 1.18"
|
|
24
|
-
end
|
|
25
|
-
|
|
26
|
-
if Gem.ruby_version >= Gem::Version.new("2.2.0")
|
|
27
|
-
gem "mustermann"
|
|
28
|
-
elsif Gem.ruby_version >= Gem::Version.new("2.1.0")
|
|
29
|
-
gem "mustermann", "0.4.0"
|
|
30
|
-
elsif Gem.ruby_version >= Gem::Version.new("2.0.0")
|
|
31
|
-
gem "mustermann", "0.3.1"
|
|
32
|
-
end
|
|
33
|
-
|
|
34
|
-
if Gem.ruby_version >= Gem::Version.new("3.0.0")
|
|
35
|
-
gem "webrick"
|
|
36
|
-
end
|
|
37
|
-
end
|
|
38
|
-
|
|
39
|
-
group :perf do
|
|
40
|
-
gem "benchmark-ips"
|
|
41
|
-
gem "patron"
|
|
42
|
-
gem "curb"
|
|
43
|
-
end
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
# vim:set filetype=ruby:
|
|
3
|
-
guard(
|
|
4
|
-
"rspec",
|
|
5
|
-
:all_after_pass => false,
|
|
6
|
-
:cli => "--fail-fast --tty --format documentation --colour") do
|
|
7
|
-
|
|
8
|
-
watch(%r{^spec/.+_spec\.rb$})
|
|
9
|
-
watch(%r{^lib/(.+)\.rb$}) { |match| "spec/#{match[1]}_spec.rb" }
|
|
10
|
-
end
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
require "bundler"
|
|
3
|
-
Bundler.setup
|
|
4
|
-
|
|
5
|
-
require "rake"
|
|
6
|
-
require "rspec/core/rake_task"
|
|
7
|
-
$LOAD_PATH.unshift File.expand_path("../lib", __FILE__)
|
|
8
|
-
require "ethon/version"
|
|
9
|
-
|
|
10
|
-
task :gem => :build
|
|
11
|
-
task :build do
|
|
12
|
-
system "gem build ethon.gemspec"
|
|
13
|
-
end
|
|
14
|
-
|
|
15
|
-
task :install => :build do
|
|
16
|
-
system "gem install ethon-#{Ethon::VERSION}.gem"
|
|
17
|
-
end
|
|
18
|
-
|
|
19
|
-
task :release => :build do
|
|
20
|
-
system "git tag -a v#{Ethon::VERSION} -m 'Tagging #{Ethon::VERSION}'"
|
|
21
|
-
system "git push --tags"
|
|
22
|
-
system "gem push ethon-#{Ethon::VERSION}.gem"
|
|
23
|
-
end
|
|
24
|
-
|
|
25
|
-
RSpec::Core::RakeTask.new(:spec) do |t|
|
|
26
|
-
t.verbose = false
|
|
27
|
-
t.ruby_opts = "-W -I./spec -rspec_helper"
|
|
28
|
-
end
|
|
29
|
-
|
|
30
|
-
desc "Start up the test servers"
|
|
31
|
-
task :start do
|
|
32
|
-
require_relative 'spec/support/boot'
|
|
33
|
-
begin
|
|
34
|
-
Boot.start_servers(:rake)
|
|
35
|
-
rescue Exception
|
|
36
|
-
end
|
|
37
|
-
end
|
|
38
|
-
|
|
39
|
-
task :default => :spec
|
|
40
|
-
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
# encoding: utf-8
|
|
2
|
-
# frozen_string_literal: true
|
|
3
|
-
lib = File.expand_path('../lib/', __FILE__)
|
|
4
|
-
$:.unshift lib unless $:.include?(lib)
|
|
5
|
-
|
|
6
|
-
require 'ethon/version'
|
|
7
|
-
|
|
8
|
-
Gem::Specification.new do |s|
|
|
9
|
-
s.name = "ethon"
|
|
10
|
-
s.version = Ethon::VERSION
|
|
11
|
-
s.platform = Gem::Platform::RUBY
|
|
12
|
-
s.authors = ["Hans Hasselberg"]
|
|
13
|
-
s.email = ["me@hans.io"]
|
|
14
|
-
s.homepage = "https://github.com/typhoeus/ethon"
|
|
15
|
-
s.summary = "Libcurl wrapper."
|
|
16
|
-
s.description = "Very lightweight libcurl wrapper."
|
|
17
|
-
|
|
18
|
-
s.required_rubygems_version = ">= 1.3.6"
|
|
19
|
-
s.license = 'MIT'
|
|
20
|
-
|
|
21
|
-
s.add_dependency('ffi', ['>= 1.15.0'])
|
|
22
|
-
|
|
23
|
-
s.files = `git ls-files`.split("\n")
|
|
24
|
-
s.test_files = `git ls-files -- spec/*`.split("\n")
|
|
25
|
-
s.require_path = 'lib'
|
|
26
|
-
end
|
|
@@ -1,104 +0,0 @@
|
|
|
1
|
-
# encoding: utf-8
|
|
2
|
-
# frozen_string_literal: true
|
|
3
|
-
require 'ethon'
|
|
4
|
-
require 'open-uri'
|
|
5
|
-
require 'patron'
|
|
6
|
-
require 'curb'
|
|
7
|
-
require 'net/http'
|
|
8
|
-
require 'cgi'
|
|
9
|
-
require 'benchmark/ips'
|
|
10
|
-
|
|
11
|
-
require_relative '../spec/support/server'
|
|
12
|
-
require_relative '../spec/support/localhost_server'
|
|
13
|
-
|
|
14
|
-
LocalhostServer.new(TESTSERVER.new, 3000)
|
|
15
|
-
LocalhostServer.new(TESTSERVER.new, 3001)
|
|
16
|
-
LocalhostServer.new(TESTSERVER.new, 3002)
|
|
17
|
-
|
|
18
|
-
url = 'http://localhost:3000/'.freeze
|
|
19
|
-
uri = URI.parse('http://localhost:3000/').freeze
|
|
20
|
-
ethon = Ethon::Easy.new(url: url)
|
|
21
|
-
patron = Patron::Session.new
|
|
22
|
-
patron_url = Patron::Session.new(base_url: url)
|
|
23
|
-
curb = Curl::Easy.new(url)
|
|
24
|
-
|
|
25
|
-
puts '[Creation]'
|
|
26
|
-
Benchmark.ips do |x|
|
|
27
|
-
x.report('String.new') { '' }
|
|
28
|
-
x.report('Easy.new') { Ethon::Easy.new }
|
|
29
|
-
end
|
|
30
|
-
|
|
31
|
-
puts '[Escape]'
|
|
32
|
-
Benchmark.ips do |x|
|
|
33
|
-
x.report('CGI.escape') { CGI.escape("まつもと") }
|
|
34
|
-
x.report('Easy.escape') { ethon.escape("まつもと") }
|
|
35
|
-
end
|
|
36
|
-
|
|
37
|
-
puts '[Requests]'
|
|
38
|
-
Benchmark.ips do |x|
|
|
39
|
-
x.report('net/http') { Net::HTTP.get_response(uri) }
|
|
40
|
-
x.report('open-uri') { open url }
|
|
41
|
-
|
|
42
|
-
x.report('patron') do
|
|
43
|
-
patron.base_url = url
|
|
44
|
-
patron.get('/')
|
|
45
|
-
end
|
|
46
|
-
|
|
47
|
-
x.report('patron reuse') { patron_url.get('/') }
|
|
48
|
-
|
|
49
|
-
x.report('curb') do
|
|
50
|
-
curb.url = url
|
|
51
|
-
curb.perform
|
|
52
|
-
end
|
|
53
|
-
|
|
54
|
-
x.report('curb reuse') { curb.perform }
|
|
55
|
-
|
|
56
|
-
x.report('Easy.perform') do
|
|
57
|
-
ethon.url = url
|
|
58
|
-
ethon.perform
|
|
59
|
-
end
|
|
60
|
-
|
|
61
|
-
x.report('Easy.perform reuse') { ethon.perform }
|
|
62
|
-
end
|
|
63
|
-
|
|
64
|
-
puts "[ 4 delayed Requests ]"
|
|
65
|
-
Benchmark.ips do |x|
|
|
66
|
-
x.report('net/http') do
|
|
67
|
-
3.times do |i|
|
|
68
|
-
uri = URI.parse("http://localhost:300#{i}/?delay=1")
|
|
69
|
-
Net::HTTP.get_response(uri)
|
|
70
|
-
end
|
|
71
|
-
end
|
|
72
|
-
|
|
73
|
-
x.report("open-uri") do
|
|
74
|
-
3.times do |i|
|
|
75
|
-
open("http://localhost:300#{i}/?delay=1")
|
|
76
|
-
end
|
|
77
|
-
end
|
|
78
|
-
|
|
79
|
-
x.report("patron") do
|
|
80
|
-
sess = Patron::Session.new
|
|
81
|
-
3.times do |i|
|
|
82
|
-
sess.base_url = "http://localhost:300#{i}/?delay=1"
|
|
83
|
-
sess.get("/")
|
|
84
|
-
end
|
|
85
|
-
end
|
|
86
|
-
|
|
87
|
-
x.report("Easy.perform") do
|
|
88
|
-
easy = Ethon::Easy.new
|
|
89
|
-
3.times do |i|
|
|
90
|
-
easy.url = "http://localhost:300#{i}/?delay=1"
|
|
91
|
-
easy.perform
|
|
92
|
-
end
|
|
93
|
-
end
|
|
94
|
-
|
|
95
|
-
x.report("Multi.perform") do
|
|
96
|
-
multi = Ethon::Multi.new
|
|
97
|
-
3.times do |i|
|
|
98
|
-
easy = Ethon::Easy.new
|
|
99
|
-
easy.url = "http://localhost:300#{i}/?delay=1"
|
|
100
|
-
multi.add(easy)
|
|
101
|
-
end
|
|
102
|
-
multi.perform
|
|
103
|
-
end
|
|
104
|
-
end
|