1
## This is the rakegem gemspec template. Make sure you read and understand
2
## all of the comments. Some sections require modification, and others can
3
## be deleted if you don't need them. Once you understand the contents of
4
## this file, feel free to delete any comments that begin with two hash marks.
5
## You can find comprehensive Gem::Specification documentation, at
6
## http://docs.rubygems.org/read/chapter/20
7
Gem::Specification.new do |s|
8
s.specification_version = 2 if s.respond_to? :specification_version=
9
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
10
s.rubygems_version = '1.3.5'
12
## Leave these as is they will be modified for you by the rake gemspec task.
13
## If your rubyforge_project name is different, then edit it and comment out
14
## the sub! line in the Rakefile
18
s.rubyforge_project = 'excon'
20
## Make sure your summary is short. The description may be as long
22
s.summary = "speed, persistence, http(s)"
23
s.description = "EXtended http(s) CONnections"
25
## List the primary authors. If there are a bunch of authors, it's probably
26
## better to set the email to an email list or something. If you don't have
27
## a custom homepage, consider using your GitHub URL or the like.
28
s.authors = ["dpiddy (Dan Peterson)", "geemus (Wesley Beary)", "nextmat (Matt Sanders)"]
29
s.email = 'geemus@gmail.com'
30
s.homepage = 'https://github.com/geemus/excon'
32
## This gets added to the $LOAD_PATH so that 'lib/NAME.rb' can be required as
33
## require 'NAME.rb' or'/lib/NAME/file.rb' can be as require 'NAME/file.rb'
34
s.require_paths = %w[lib]
36
## This sections is only necessary if you have C extensions.
37
# s.require_paths << 'ext'
38
# s.extensions = %w[ext/extconf.rb]
40
## If your gem includes any executables, list them here.
41
# s.executables = ["name"]
42
# s.default_executable = 'name'
44
## Specify any RDoc options here. You'll want to add your README and
45
## LICENSE files to the extra_rdoc_files list.
46
s.rdoc_options = ["--charset=UTF-8"]
47
s.extra_rdoc_files = %w[README.md]
49
## List your runtime dependencies here. Runtime dependencies are those
50
## that are needed for an end user to actually USE your code.
51
# s.add_dependency('DEPNAME', [">= 1.1.0", "< 2.0.0"])
53
## List your development dependencies here. Development dependencies are
54
## those that are only needed during development
55
# s.add_development_dependency('DEVDEPNAME', [">= 1.1.0", "< 2.0.0"])
56
s.add_development_dependency('activesupport', '~>3.1.3')
57
s.add_development_dependency('delorean')
58
s.add_development_dependency('open4')
59
s.add_development_dependency('rake')
60
s.add_development_dependency('rdoc')
61
s.add_development_dependency('shindo')
62
s.add_development_dependency('sinatra')
64
## Leave this section as-is. It will be automatically generated from the
65
## contents of your Git repository via the gemspec task. DO NOT REMOVE
66
## THE MANIFEST COMMENTS, they are used as delimiters by the task.
72
benchmarks/class_vs_lambda.rb
73
benchmarks/concat_vs_insert.rb
74
benchmarks/concat_vs_interpolate.rb
76
benchmarks/downcase-eq-eq_vs_casecmp.rb
78
benchmarks/excon_vs.rb
79
benchmarks/for_vs_array_each.rb
80
benchmarks/for_vs_hash_each.rb
81
benchmarks/has_key-vs-hash[key].rb
82
benchmarks/headers_case_sensitivity.rb
83
benchmarks/headers_split_vs_match.rb
84
benchmarks/implicit_block-vs-explicit_block.rb
86
benchmarks/single_vs_double_quotes.rb
87
benchmarks/string_ranged_index.rb
88
benchmarks/strip_newline.rb
89
benchmarks/vs_stdlib.rb
93
lib/excon/connection.rb
94
lib/excon/constants.rb
98
lib/excon/ssl_socket.rb
101
tests/header_tests.rb
102
tests/idempotent_tests.rb
103
tests/instrumentation_tests.rb
105
tests/query_string_tests.rb
106
tests/rackups/basic.ru
107
tests/rackups/basic_auth.ru
108
tests/rackups/proxy.ru
109
tests/rackups/query_string.ru
110
tests/rackups/request_methods.ru
111
tests/rackups/response_header.ru
113
tests/rackups/thread_safety.ru
114
tests/request_method_tests.rb
118
tests/thread_safety_tests.rb
122
## Test files will be grabbed from the file list. Make sure the path glob
123
## matches what you actually use.
124
s.test_files = s.files.select { |path| path =~ /^[spec|tests]\/.*_[spec|tests]\.rb/ }