Skip to content

Commit

Permalink
Fix syntax error in rails adapter, oye! Bump version number to 1.2.4
Browse files Browse the repository at this point in the history
  • Loading branch information
macournoyer committed Sep 6, 2009
1 parent 4ad001c commit f52228f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
== 1.2.3
== 1.2.4 Flaming Astroboy
* Fix a few issues in thin to make it a better "gem citizen" [josh]
* Fix test for rack based Rails in adapter under Ruby >= 1.8.7 [#109 state:resolved]
* Fix Remote address spoofing vulnerability in Connection#remote_address [Alexey Borzenkov]
Expand Down
4 changes: 2 additions & 2 deletions lib/rack/adapter/rails.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ def initialize(options={})

def rack_based?
ActionController.const_defined?(:Dispatcher) &&
(ActionController::Dispatcher.instance_methods.include?(:call)
|| ActionController::Dispatcher.instance_methods.include?("call"))
(ActionController::Dispatcher.instance_methods.include?(:call) ||
ActionController::Dispatcher.instance_methods.include?("call"))
end

def load_application
Expand Down
2 changes: 1 addition & 1 deletion lib/thin/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ class PlatformNotSupported < RuntimeError; end
module VERSION #:nodoc:
MAJOR = 1
MINOR = 2
TINY = 3
TINY = 4

STRING = [MAJOR, MINOR, TINY].join('.')

Expand Down

0 comments on commit f52228f

Please sign in to comment.