Commit 4ceb3ee 1 parent fb6d66e commit 4ceb3ee Copy full SHA for 4ceb3ee
File tree 3 files changed +3
-8
lines changed
3 files changed +3
-8
lines changed Original file line number Diff line number Diff line change 1
1
# frozen_string_literal: true
2
2
3
- # rubocop:disable Metrics/ClassLength
4
-
5
3
require "http/headers"
6
4
require "openssl"
7
5
require "socket"
8
6
require "http/uri"
9
7
10
8
module HTTP
11
- class Options
9
+ class Options # rubocop:disable Metrics/ClassLength
12
10
@default_socket_class = TCPSocket
13
11
@default_ssl_socket_class = OpenSSL ::SSL ::SSLSocket
14
12
@default_timeout_class = HTTP ::Timeout ::Null
Original file line number Diff line number Diff line change 2
2
3
3
module BlackHole
4
4
class << self
5
- # rubocop:disable Style/MethodMissingSuper
6
- def method_missing ( *)
5
+ def method_missing ( *) # rubocop:disable Style/MethodMissingSuper
7
6
self
8
7
end
9
- # rubocop:enable Style/MethodMissingSuper
10
8
11
9
def respond_to_missing? ( *)
12
10
true
Original file line number Diff line number Diff line change 2
2
# frozen_string_literal: true
3
3
4
4
class DummyServer < WEBrick ::HTTPServer
5
- # rubocop:disable Metrics/ClassLength
6
- class Servlet < WEBrick ::HTTPServlet ::AbstractServlet
5
+ class Servlet < WEBrick ::HTTPServlet ::AbstractServlet # rubocop:disable Metrics/ClassLength
7
6
def self . sockets
8
7
@sockets ||= [ ]
9
8
end
You can’t perform that action at this time.
0 commit comments