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'
11
-
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
15
- s . name = 'excon'
16
- s . version = '0.59.0'
17
- s . date = '2017-09-05'
18
- s . rubyforge_project = 'excon'
19
-
20
- ## Make sure your summary is short. The description may be as long
21
- ## as you like.
22
- s . summary = "speed, persistence, http(s)"
23
- s . description = "EXtended http(s) CONnections"
24
-
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
-
30
- s . homepage = 'https://github.com/excon/excon'
31
- s . license = 'MIT'
32
-
33
- ## This gets added to the $LOAD_PATH so that 'lib/NAME.rb' can be required as
34
- ## require 'NAME.rb' or'/lib/NAME/file.rb' can be as require 'NAME/file.rb'
35
- s . require_paths = %w[ lib ]
1
+ require File . join ( File . dirname ( __FILE__ ) , 'lib' , 'excon' , 'version' )
36
2
37
- ## This sections is only necessary if you have C extensions.
38
- # s.require_paths << 'ext'
39
- # s.extensions = %w[ext/extconf.rb]
40
-
41
- ## If your gem includes any executables, list them here.
42
- # s.executables = ["name"]
43
- # s.default_executable = 'name'
44
-
45
- ## Specify any RDoc options here. You'll want to add your README and
46
- ## LICENSE files to the extra_rdoc_files list.
47
- s . rdoc_options = [ "--charset=UTF-8" ]
48
- s . extra_rdoc_files = %w[ README.md ]
49
-
50
- ## List your runtime dependencies here. Runtime dependencies are those
51
- ## that are needed for an end user to actually USE your code.
52
- # s.add_dependency('DEPNAME', [">= 1.1.0", "< 2.0.0"])
3
+ Gem ::Specification . new do |s |
4
+ s . name = 'excon'
5
+ s . version = Excon ::VERSION
6
+ s . summary = "speed, persistence, http(s)"
7
+ s . description = "EXtended http(s) CONnections"
8
+ s . authors = [ "dpiddy (Dan Peterson)" , "geemus (Wesley Beary)" , "nextmat (Matt Sanders)" ]
9
+
10
+ s . homepage = 'https://github.com/excon/excon'
11
+ s . license = 'MIT'
12
+ s . rdoc_options = [ "--charset=UTF-8" ]
13
+ s . extra_rdoc_files = %w[ README.md CONTRIBUTORS.md CONTRIBUTING.md ]
14
+ s . files = `git ls-files -z` . split ( "\x0 " )
15
+ s . test_files = s . files . select { |path | path =~ /^[spec|tests]\/ .*_[spec|tests]\. rb/ }
53
16
54
- ## List your development dependencies here. Development dependencies are
55
- ## those that are only needed during development
56
- # s.add_development_dependency('DEVDEPNAME', [">= 1.1.0", "< 2.0.0"])
57
17
s . add_development_dependency ( 'rspec' , '>= 3.5.0' )
58
18
s . add_development_dependency ( 'activesupport' )
59
19
s . add_development_dependency ( 'delorean' )
@@ -65,138 +25,5 @@ Gem::Specification.new do |s|
65
25
s . add_development_dependency ( 'sinatra' )
66
26
s . add_development_dependency ( 'sinatra-contrib' )
67
27
s . add_development_dependency ( 'json' , '>= 1.8.5' )
68
- if RUBY_VERSION . to_f >= 1.9
69
- s . add_development_dependency 'puma'
70
- end
71
- ## Leave this section as-is. It will be automatically generated from the
72
- ## contents of your Git repository via the gemspec task. DO NOT REMOVE
73
- ## THE MANIFEST COMMENTS, they are used as delimiters by the task.
74
- # = MANIFEST =
75
- s . files = %w[
76
- CONTRIBUTING.md
77
- CONTRIBUTORS.md
78
- Gemfile
79
- Gemfile.lock
80
- LICENSE.md
81
- README.md
82
- Rakefile
83
- benchmarks/class_vs_lambda.rb
84
- benchmarks/concat_vs_insert.rb
85
- benchmarks/concat_vs_interpolate.rb
86
- benchmarks/cr_lf.rb
87
- benchmarks/downcase-eq-eq_vs_casecmp.rb
88
- benchmarks/excon.rb
89
- benchmarks/excon_vs.rb
90
- benchmarks/for_vs_array_each.rb
91
- benchmarks/for_vs_hash_each.rb
92
- benchmarks/has_key-vs-lookup.rb
93
- benchmarks/headers_case_sensitivity.rb
94
- benchmarks/headers_split_vs_match.rb
95
- benchmarks/implicit_block-vs-explicit_block.rb
96
- benchmarks/merging.rb
97
- benchmarks/single_vs_double_quotes.rb
98
- benchmarks/string_ranged_index.rb
99
- benchmarks/strip_newline.rb
100
- benchmarks/vs_stdlib.rb
101
- changelog.txt
102
- data/cacert.pem
103
- excon.gemspec
104
- lib/excon.rb
105
- lib/excon/connection.rb
106
- lib/excon/constants.rb
107
- lib/excon/error.rb
108
- lib/excon/extensions/uri.rb
109
- lib/excon/headers.rb
110
- lib/excon/middlewares/base.rb
111
- lib/excon/middlewares/capture_cookies.rb
112
- lib/excon/middlewares/decompress.rb
113
- lib/excon/middlewares/escape_path.rb
114
- lib/excon/middlewares/expects.rb
115
- lib/excon/middlewares/idempotent.rb
116
- lib/excon/middlewares/instrumentor.rb
117
- lib/excon/middlewares/mock.rb
118
- lib/excon/middlewares/redirect_follower.rb
119
- lib/excon/middlewares/response_parser.rb
120
- lib/excon/pretty_printer.rb
121
- lib/excon/response.rb
122
- lib/excon/socket.rb
123
- lib/excon/ssl_socket.rb
124
- lib/excon/standard_instrumentor.rb
125
- lib/excon/test/plugin/server/exec.rb
126
- lib/excon/test/plugin/server/puma.rb
127
- lib/excon/test/plugin/server/unicorn.rb
128
- lib/excon/test/plugin/server/webrick.rb
129
- lib/excon/test/server.rb
130
- lib/excon/unix_socket.rb
131
- lib/excon/utils.rb
132
- spec/excon/error_spec.rb
133
- spec/excon/test/server_spec.rb
134
- spec/excon_spec.rb
135
- spec/helpers/file_path_helpers.rb
136
- spec/requests/basic_spec.rb
137
- spec/requests/eof_requests_spec.rb
138
- spec/requests/unix_socket_spec.rb
139
- spec/spec_helper.rb
140
- spec/support/shared_contexts/test_server_context.rb
141
- spec/support/shared_examples/shared_example_for_clients.rb
142
- spec/support/shared_examples/shared_example_for_streaming_clients.rb
143
- spec/support/shared_examples/shared_example_for_test_servers.rb
144
- tests/authorization_header_tests.rb
145
- tests/bad_tests.rb
146
- tests/basic_tests.rb
147
- tests/complete_responses.rb
148
- tests/data/127.0.0.1.cert.crt
149
- tests/data/127.0.0.1.cert.key
150
- tests/data/excon.cert.crt
151
- tests/data/excon.cert.key
152
- tests/data/xs
153
- tests/error_tests.rb
154
- tests/header_tests.rb
155
- tests/middlewares/canned_response_tests.rb
156
- tests/middlewares/capture_cookies_tests.rb
157
- tests/middlewares/decompress_tests.rb
158
- tests/middlewares/escape_path_tests.rb
159
- tests/middlewares/idempotent_tests.rb
160
- tests/middlewares/instrumentation_tests.rb
161
- tests/middlewares/mock_tests.rb
162
- tests/middlewares/redirect_follower_tests.rb
163
- tests/pipeline_tests.rb
164
- tests/proxy_tests.rb
165
- tests/query_string_tests.rb
166
- tests/rackups/basic.rb
167
- tests/rackups/basic.ru
168
- tests/rackups/basic_auth.ru
169
- tests/rackups/deflater.ru
170
- tests/rackups/proxy.ru
171
- tests/rackups/query_string.ru
172
- tests/rackups/redirecting.ru
173
- tests/rackups/redirecting_with_cookie.ru
174
- tests/rackups/request_headers.ru
175
- tests/rackups/request_methods.ru
176
- tests/rackups/response_header.ru
177
- tests/rackups/ssl.ru
178
- tests/rackups/ssl_mismatched_cn.ru
179
- tests/rackups/ssl_verify_peer.ru
180
- tests/rackups/streaming.ru
181
- tests/rackups/thread_safety.ru
182
- tests/rackups/timeout.ru
183
- tests/rackups/webrick_patch.rb
184
- tests/request_headers_tests.rb
185
- tests/request_method_tests.rb
186
- tests/request_tests.rb
187
- tests/response_tests.rb
188
- tests/servers/bad.rb
189
- tests/servers/eof.rb
190
- tests/servers/error.rb
191
- tests/servers/good.rb
192
- tests/test_helper.rb
193
- tests/thread_safety_tests.rb
194
- tests/timeout_tests.rb
195
- tests/utils_tests.rb
196
- ]
197
- # = MANIFEST =
198
-
199
- ## Test files will be grabbed from the file list. Make sure the path glob
200
- ## matches what you actually use.
201
- s . test_files = s . files . select { |path | path =~ /^[spec|tests]\/ .*_[spec|tests]\. rb/ }
28
+ s . add_development_dependency ( 'puma' )
202
29
end
0 commit comments