Rails 2.1 RC1

Updated Instiki to Rails 2.1 RC1 (aka 2.0.991).
This commit is contained in:
Jacques Distler 2008-05-17 23:22:34 -05:00
parent 14afed5893
commit 5292899c9a
971 changed files with 46318 additions and 17450 deletions

View file

@ -1,11 +1,15 @@
module TestingSandbox
# Temporarily replaces KCODE for the block
def with_kcode(kcode)
old_kcode, $KCODE = $KCODE, kcode
begin
if RUBY_VERSION < '1.9'
old_kcode, $KCODE = $KCODE, kcode
begin
yield
ensure
$KCODE = old_kcode
end
else
yield
ensure
$KCODE = old_kcode
end
end
end