This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'rubygems' | |
require 'id3lib' | |
$KCODE = 'u' | |
require 'jcode' | |
require 'kconv' | |
FOLDER = '/Users/pa/Tmp/book' | |
AUTHOR = 'Лем С.' | |
BOOK_TITLE = 'Возвращение со звезд' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
user system total real | |
pure functional 1.820000 0.000000 1.820000 ( 1.817629) | |
mutable discriminator 1.530000 0.000000 1.530000 ( 1.534346) | |
imperative 1.110000 0.020000 1.130000 ( 1.118294) | |
cursor/iterator 2.370000 0.000000 2.370000 ( 2.373262) | |
true enumerator 2.090000 0.000000 2.090000 ( 2.089513) | |
Loaded suite sequences_by | |
Started | |
. | |
Finished in 0.000497 seconds. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This is a monkey patch for MessageVerifier — I need to change Marshal.load to JSON | |
if defined?(ActionController::Flash::FlashHash) | |
class ActionController::Flash::FlashHash | |
def to_json(*args) | |
{}.merge(self).merge({:used => @used}).to_json | |
end | |
end | |
end |
NewerOlder