diff options
author | Jacob Vosmaer <jacob@gitlab.com> | 2017-01-02 18:59:07 +0100 |
---|---|---|
committer | Jacob Vosmaer <jacob@gitlab.com> | 2017-01-02 18:59:07 +0100 |
commit | d03e022b8816fd4193ff7a0a34e35573e8114e7f (patch) | |
tree | 1896a5c90f0eb99ecaa5fc09304cee7174657943 /lib/vendor/excon/excon.gemspec | |
parent | 3fe9cea03a6384fd8f57f10e172c134ed5c0552d (diff) | |
download | gitlab-shell-http-excon.tar.gz |
WIP Use excon for HTTP requestshttp-excon
Diffstat (limited to 'lib/vendor/excon/excon.gemspec')
-rw-r--r-- | lib/vendor/excon/excon.gemspec | 201 |
1 files changed, 201 insertions, 0 deletions
diff --git a/lib/vendor/excon/excon.gemspec b/lib/vendor/excon/excon.gemspec new file mode 100644 index 0000000..6261674 --- /dev/null +++ b/lib/vendor/excon/excon.gemspec @@ -0,0 +1,201 @@ +## This is the rakegem gemspec template. Make sure you read and understand +## all of the comments. Some sections require modification, and others can +## be deleted if you don't need them. Once you understand the contents of +## this file, feel free to delete any comments that begin with two hash marks. +## You can find comprehensive Gem::Specification documentation, at +## http://docs.rubygems.org/read/chapter/20 +Gem::Specification.new do |s| + s.specification_version = 2 if s.respond_to? :specification_version= + s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version= + s.rubygems_version = '1.3.5' + + ## Leave these as is they will be modified for you by the rake gemspec task. + ## If your rubyforge_project name is different, then edit it and comment out + ## the sub! line in the Rakefile + s.name = 'excon' + s.version = '0.54.0' + s.date = '2016-10-17' + s.rubyforge_project = 'excon' + + ## Make sure your summary is short. The description may be as long + ## as you like. + s.summary = "speed, persistence, http(s)" + s.description = "EXtended http(s) CONnections" + + ## List the primary authors. If there are a bunch of authors, it's probably + ## better to set the email to an email list or something. If you don't have + ## a custom homepage, consider using your GitHub URL or the like. + s.authors = ["dpiddy (Dan Peterson)", "geemus (Wesley Beary)", "nextmat (Matt Sanders)"] + s.email = 'geemus@gmail.com' + s.homepage = 'https://github.com/excon/excon' + s.license = 'MIT' + + ## This gets added to the $LOAD_PATH so that 'lib/NAME.rb' can be required as + ## require 'NAME.rb' or'/lib/NAME/file.rb' can be as require 'NAME/file.rb' + s.require_paths = %w[lib] + + ## This sections is only necessary if you have C extensions. + # s.require_paths << 'ext' + # s.extensions = %w[ext/extconf.rb] + + ## If your gem includes any executables, list them here. + # s.executables = ["name"] + # s.default_executable = 'name' + + ## Specify any RDoc options here. You'll want to add your README and + ## LICENSE files to the extra_rdoc_files list. + s.rdoc_options = ["--charset=UTF-8"] + s.extra_rdoc_files = %w[README.md] + + ## List your runtime dependencies here. Runtime dependencies are those + ## that are needed for an end user to actually USE your code. + # s.add_dependency('DEPNAME', [">= 1.1.0", "< 2.0.0"]) + + ## List your development dependencies here. Development dependencies are + ## those that are only needed during development + # s.add_development_dependency('DEVDEPNAME', [">= 1.1.0", "< 2.0.0"]) + s.add_development_dependency('rspec', '>= 3.5.0') + s.add_development_dependency('activesupport') + s.add_development_dependency('delorean') + s.add_development_dependency('eventmachine', '>= 1.0.4') + s.add_development_dependency('open4') + s.add_development_dependency('rake') + s.add_development_dependency('rdoc') + s.add_development_dependency('shindo') + s.add_development_dependency('sinatra') + s.add_development_dependency('sinatra-contrib') + s.add_development_dependency('json', '>= 1.8.2') + if RUBY_VERSION.to_f >= 1.9 + s.add_development_dependency 'puma' + end + ## Leave this section as-is. It will be automatically generated from the + ## contents of your Git repository via the gemspec task. DO NOT REMOVE + ## THE MANIFEST COMMENTS, they are used as delimiters by the task. + # = MANIFEST = + s.files = %w[ + CONTRIBUTING.md + CONTRIBUTORS.md + Gemfile + Gemfile.lock + LICENSE.md + README.md + Rakefile + benchmarks/class_vs_lambda.rb + benchmarks/concat_vs_insert.rb + benchmarks/concat_vs_interpolate.rb + benchmarks/cr_lf.rb + benchmarks/downcase-eq-eq_vs_casecmp.rb + benchmarks/excon.rb + benchmarks/excon_vs.rb + benchmarks/for_vs_array_each.rb + benchmarks/for_vs_hash_each.rb + benchmarks/has_key-vs-lookup.rb + benchmarks/headers_case_sensitivity.rb + benchmarks/headers_split_vs_match.rb + benchmarks/implicit_block-vs-explicit_block.rb + benchmarks/merging.rb + benchmarks/single_vs_double_quotes.rb + benchmarks/string_ranged_index.rb + benchmarks/strip_newline.rb + benchmarks/vs_stdlib.rb + changelog.txt + data/cacert.pem + excon.gemspec + lib/excon.rb + lib/excon/connection.rb + lib/excon/constants.rb + lib/excon/error.rb + lib/excon/extensions/uri.rb + lib/excon/headers.rb + lib/excon/middlewares/base.rb + lib/excon/middlewares/capture_cookies.rb + lib/excon/middlewares/decompress.rb + lib/excon/middlewares/escape_path.rb + lib/excon/middlewares/expects.rb + lib/excon/middlewares/idempotent.rb + lib/excon/middlewares/instrumentor.rb + lib/excon/middlewares/mock.rb + lib/excon/middlewares/redirect_follower.rb + lib/excon/middlewares/response_parser.rb + lib/excon/pretty_printer.rb + lib/excon/response.rb + lib/excon/socket.rb + lib/excon/ssl_socket.rb + lib/excon/standard_instrumentor.rb + lib/excon/test/plugin/server/exec.rb + lib/excon/test/plugin/server/puma.rb + lib/excon/test/plugin/server/unicorn.rb + lib/excon/test/plugin/server/webrick.rb + lib/excon/test/server.rb + lib/excon/unix_socket.rb + lib/excon/utils.rb + spec/excon/error_spec.rb + spec/excon/test/server_spec.rb + spec/excon_spec.rb + spec/helpers/file_path_helpers.rb + spec/requests/basic_spec.rb + spec/requests/eof_requests_spec.rb + spec/spec_helper.rb + spec/support/shared_contexts/test_server_context.rb + spec/support/shared_examples/shared_example_for_clients.rb + spec/support/shared_examples/shared_example_for_streaming_clients.rb + spec/support/shared_examples/shared_example_for_test_servers.rb + tests/authorization_header_tests.rb + tests/bad_tests.rb + tests/basic_tests.rb + tests/complete_responses.rb + tests/data/127.0.0.1.cert.crt + tests/data/127.0.0.1.cert.key + tests/data/excon.cert.crt + tests/data/excon.cert.key + tests/data/xs + tests/error_tests.rb + tests/header_tests.rb + tests/middlewares/canned_response_tests.rb + tests/middlewares/capture_cookies_tests.rb + tests/middlewares/decompress_tests.rb + tests/middlewares/escape_path_tests.rb + tests/middlewares/idempotent_tests.rb + tests/middlewares/instrumentation_tests.rb + tests/middlewares/mock_tests.rb + tests/middlewares/redirect_follower_tests.rb + tests/pipeline_tests.rb + tests/proxy_tests.rb + tests/query_string_tests.rb + tests/rackups/basic.rb + tests/rackups/basic.ru + tests/rackups/basic_auth.ru + tests/rackups/deflater.ru + tests/rackups/proxy.ru + tests/rackups/query_string.ru + tests/rackups/redirecting.ru + tests/rackups/redirecting_with_cookie.ru + tests/rackups/request_headers.ru + tests/rackups/request_methods.ru + tests/rackups/response_header.ru + tests/rackups/ssl.ru + tests/rackups/ssl_mismatched_cn.ru + tests/rackups/ssl_verify_peer.ru + tests/rackups/streaming.ru + tests/rackups/thread_safety.ru + tests/rackups/timeout.ru + tests/rackups/webrick_patch.rb + tests/request_headers_tests.rb + tests/request_method_tests.rb + tests/request_tests.rb + tests/response_tests.rb + tests/servers/bad.rb + tests/servers/eof.rb + tests/servers/error.rb + tests/servers/good.rb + tests/test_helper.rb + tests/thread_safety_tests.rb + tests/timeout_tests.rb + tests/utils_tests.rb + ] + # = MANIFEST = + + ## Test files will be grabbed from the file list. Make sure the path glob + ## matches what you actually use. + s.test_files = s.files.select { |path| path =~ /^[spec|tests]\/.*_[spec|tests]\.rb/ } +end |