Skip to content

Commit

Permalink
Fixed for 1.9 syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
keita committed Sep 11, 2008
1 parent 6467d01 commit 85724c1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/ramaze/adapter/base.rb
Expand Up @@ -11,7 +11,7 @@ module Adapter
# Rack::Deflater,
Ramaze::Reloader,
Ramaze::Current,
Ramaze::Dispatcher,
Ramaze::Dispatcher
]

def self.middleware(mws = MIDDLEWARE)
Expand Down
2 changes: 1 addition & 1 deletion lib/ramaze/dispatcher.rb
Expand Up @@ -20,7 +20,7 @@ def initialize(*args)
end

# requests are passed to every
FILTER = OrderedSet[ Dispatcher::File, Dispatcher::Action, ]
FILTER = OrderedSet[ Dispatcher::File, Dispatcher::Action ]

# Response codes to cache the output of for repeated requests.
trait :shielded => [ STATUS_CODE["Not Found"] ]
Expand Down

3 comments on commit 85724c1

@keita
Copy link
Collaborator Author

@keita keita commented on 85724c1 Sep 12, 2008

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this because 1.9 trunk’s bug? If so, I am great sorry. need to revert?

@manveru
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I’m trying to find out why this was changed, wrote to ruby-core about it but haven’t received an answer yet.

@clivecrous
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh dear :( i have loads of code that will break if this change is needed

Please sign in to comment.