Skip to content

Commit 2b02726

Browse files
committed
Remove the HTTPkit adapter
The HTTPkit project seems not to be maintained: - the git repository has been removed from GitHub - there has been no release since 2014
1 parent e66a9b4 commit 2b02726

File tree

7 files changed

+4
-103
lines changed

7 files changed

+4
-103
lines changed

Gemfile

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,6 @@ group :test do
1515
gem "websocket_parser", "~>1.0"
1616
end
1717

18-
group :webservers do
19-
gem 'http', '~> 0.6.0'
20-
gem 'httpkit', :platform => [:mri, :rbx]
21-
end
22-
2318
group :guard do
2419
gem 'guard-rspec', '~> 4.7'
2520
case RbConfig::CONFIG['host_os']

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@ are up to you.
2020
requests, and response codes for you.
2121
* Provides a base resource with points of extension to let you
2222
describe what is relevant about your particular resource.
23-
* Supports WEBrick, Reel, HTTPkit, and a Rack shim. Other host
24-
servers are being investigated.
23+
* Supports WEBrick and a Rack shim. Other host servers are being investigated.
2524
* Streaming/chunked response bodies are permitted as Enumerables,
2625
Procs, or Fibers!
2726
* Unlike the Erlang original, it does real Language negotiation.

documentation/adapters.md

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
### Adapters
22

3-
Webmachine includes adapters for [WEBrick][webrick], and
4-
[HTTPkit][httpkit]. Additionally, the [Rack][rack] adapter lets it
3+
Webmachine includes an adapter for [WEBrick][webrick].
4+
Additionally, the [Rack][rack] adapter lets it
55
run on any webserver that provides a Rack interface. It also lets it run on
66
[Shotgun][shotgun] ([example][shotgun_example]).
77

@@ -24,15 +24,7 @@ For an example of using Webmachine with Rack middleware, see the [Pact Broker][m
2424

2525
See the [Rack Adapter API docs][rack-adapter-api-docs] for more information.
2626

27-
#### A Note about MRI 1.9
28-
29-
The [HTTPkit][httpkit]
30-
adapter might crash with a `SystemStackError` on MRI 1.9 due to its
31-
limited fiber stack size. If your application is affected by this, the
32-
only known solution is to switch to JRuby, Rubinius or MRI 2.0.
33-
3427
[webrick]: http://rubydoc.info/stdlib/webrick
35-
[httpkit]: https://github.com/lgierth/httpkit
3628
[rack]: https://github.com/rack/rack
3729
[shotgun]: https://github.com/rtomayko/shotgun
3830
[shotgun_example]: https://gist.github.com/4389220

lib/webmachine/adapters.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,5 @@ module Webmachine
55
# Contains classes and modules that connect Webmachine to Ruby
66
# application servers.
77
module Adapters
8-
autoload :HTTPkit, 'webmachine/adapters/httpkit'
98
end
109
end

lib/webmachine/adapters/httpkit.rb

Lines changed: 0 additions & 74 deletions
This file was deleted.

spec/spec_helper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
require "bundler/setup"
2-
Bundler.require :default, :test, :webservers
2+
Bundler.require :default, :test
33
require 'logger'
44

55
class NullLogger < Logger

spec/webmachine/adapters/httpkit_spec.rb

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)