Skip to content
This repository has been archived by the owner on Dec 7, 2018. It is now read-only.

Commit

Permalink
Merge 42b5f82 into d7e7ee2
Browse files Browse the repository at this point in the history
  • Loading branch information
digitalextremist committed May 28, 2013
2 parents d7e7ee2 + 42b5f82 commit 4a70a68
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 9 deletions.
4 changes: 2 additions & 2 deletions lib/reel/mixins.rb
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,11 @@ def uri
end

def path
@http_parser.request_path
@path ||= uri.path
end

def query_string
@http_parser.query_string
@query ||= uri.query
end

end
Expand Down
6 changes: 0 additions & 6 deletions lib/reel/request_parser.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,6 @@ def initialize
reset
end

[:request_path, :query_string].each do |m|
define_method m do
@parser.send m
end
end

def add(data)
@parser << data
end
Expand Down
2 changes: 1 addition & 1 deletion reel.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Gem::Specification.new do |gem|

gem.add_runtime_dependency 'celluloid-io', '>= 0.8.0'
gem.add_runtime_dependency 'http', '>= 0.2.0'
gem.add_runtime_dependency 'http_parser.rb', '>= 0.5.3'
gem.add_runtime_dependency 'http_parser.rb', '>= 0.6.0.beta.2'
gem.add_runtime_dependency 'websocket_parser', '>= 0.1.4'
gem.add_runtime_dependency 'rack', '>= 1.4.0'

Expand Down

0 comments on commit 4a70a68

Please sign in to comment.