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
jruby 1.4.0dev (ruby 1.8.7p174) (2009-08-16 6586) (Java HotSpot(TM) Client VM 1.5.0_12) [sparc-java] | |
........................................................................................................................................................................................................................................................................................................................................................................................................F...............F...............F...........................F...............F................................................................................ | |
1) | |
Array#pack with format 'f' accepts a NaN FAILED | |
Expected "\177\377\377\377" | |
to match /\xFF(?:[\x81-\xFF]..|\x80[\x01-\xFF].|\x80.[\x01-\xFF])/n | |
/net_home/hasari/tools/jruby/spec/mspec/lib/mspec/expectations/expectations.rb:15:in `fail_with' | |
/net_home/hasari/tools/jruby/spec/mspec/lib/mspec/matchers/base.rb:44:in `=~' |
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
# poor man's ruby version manager | |
# assume you have ZenTest installed | |
# usage: | |
# rvm help | |
# rvm list | |
# rvm reset | |
# rvm switch VERSION | |
# rvm show | |
PRE_RVM_PATH=$PATH |
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
surfboard:~$ ruby -v -e 'p Math.atanh("abc")' | |
ruby 1.8.7 (2008-08-11 patchlevel 72) [universal-darwin10.0] | |
-e:1:in `atanh': invalid value for Float(): "abc" (ArgumentError) | |
from -e:1 | |
surfboard:~$ ruby19 -v -e 'p Math.atanh("abc")' | |
ruby 1.9.2dev (2009-10-09 trunk 25274) [x86_64-darwin10.0.0] | |
-e:1:in `atanh': can't convert String into Float (TypeError) | |
from -e:1:in `<main>' |
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
$ jruby -rubygems -ve 'p false.tainted?' | |
jruby 1.5.0dev (ruby 1.8.7 patchlevel 174) (2009-10-17 ac73a49) (Java HotSpot(TM) 64-Bit Server VM 1.6.0_15) [x86_64-java] | |
org.yecht.ruby.RubyLoadHandler.handle:50 | |
org.yecht.Parser.addNode:300 | |
org.yecht.DefaultYAMLParser.yyparse:676 | |
org.yecht.Parser.yechtparse:290 | |
org.yecht.Parser.parse:284 | |
org.yecht.ruby.YParser.load:152 | |
org.yecht.ruby.YParser$s_method_0_1$RUBYINVOKER$load.call:-1 | |
org.jruby.internal.runtime.methods.JavaMethod$JavaMethodN.call:623 |
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
module Termtter::Client | |
config.plugins.edit_plugin.set_default(:local_dir, File.join(config.system.conf_dir, 'plugins')) | |
config.plugins.edit_plugin.set_default(:editor, ENV["EDITOR"] || ENV["VISUAL"] || '') | |
if config.plugins.edit_plugin.editor.empty? | |
warn "Unable to determine appropriate editor command" | |
return | |
end | |
register_command( |
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
module Termtter::Client | |
config.plugins.jiho.set_default( :format, '%c' ) | |
config.plugins.jiho.set_default( :interval, 3600 ) | |
add_task( :name => :jiho, :interval => 1 ) do | |
begin | |
if (Time.now.to_i % config.plugins.jiho.interval == 0) | |
puts Time.now.strftime(config.plugins.jiho.format) | |
end | |
rescue Exception => e |
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
config.plugins.searchline.set_default(:interval, 300) | |
config.plugins.searchline_multi.set_default(:verbose, false) | |
config.plugins.searchline_multi.set_default(:searches,[]) | |
module Termtter::Client | |
class << self | |
def delete_task(key) | |
@task_manager.delete_task(key) # returns nil if task for key is not exist | |
end |
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
surfboard:jruby[git:personal]$ jruby spec/mspec/bin/mspec -T--1.9 -T-X-C spec/ruby/library/mathn/integer/prime_division_spec.rb | |
jruby 1.5.0.dev (ruby 1.9.2dev trunk 24787) (2009-10-30 28b8827) (Java HotSpot(TM) 64-Bit Server VM 1.6.0_15) [x86_64-java] | |
F. | |
1) | |
Integer#prime_division Performs a prime factorization of an integer FAILED | |
Expected [[-1, 1], [2, 1], [13, 1]] | |
to equal [[2, 1]] | |
/Users/asari/Development/src/jruby/spec/ruby/library/mathn/integer/prime_division_spec.rb:7 |
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
surfboard:jruby[git:personal]$ ruby19 -v | |
ruby 1.9.2dev (2009-10-31 trunk 25580) [x86_64-darwin10.0.0] | |
surfboard:jruby[git:personal]$ ruby19 -e 'p (:Z..:a).to_a' | |
[:Z, :"[", :"\\", :"]", :^, :_, :`, :a] | |
surfboard:jruby[git:personal]$ ruby19 -e 'p (:Z..:aa).to_a' | |
[:Z, :AA, :AB, :AC, :AD, :AE, :AF, :AG, :AH, :AI, :AJ, :AK, :AL, :AM, :AN, :AO, :AP, :AQ, :AR, :AS, :AT, :AU, :AV, :AW, :AX, :AY, :AZ, :BA, :BB, :BC, :BD, :BE, :BF, :BG, :BH, :BI, :BJ, :BK, :BL, :BM, :BN, :BO, :BP, :BQ, :BR, :BS, :BT, :BU, :BV, :BW, :BX, :BY, :BZ, :CA, :CB, :CC, :CD, :CE, :CF, :CG, :CH, :CI, :CJ, :CK, :CL, :CM, :CN, :CO, :CP, :CQ, :CR, :CS, :CT, :CU, :CV, :CW, :CX, :CY, :CZ, :DA, :DB, :DC, :DD, :DE, :DF, :DG, :DH, :DI, :DJ, :DK, :DL, :DM, :DN, :DO, :DP, :DQ, :DR, :DS, :DT, :DU, :DV, :DW, :DX, :DY, :DZ, :EA, :EB, :EC, :ED, :EE, :EF, :EG, :EH, :EI, :EJ, :EK, :EL, :EM, :EN, :EO, :EP, :EQ, :ER, :ES, :ET, :EU, :EV, :EW, :EX, :EY, :EZ, :FA, :FB, :FC, :FD, :FE, :FF, :FG, :FH, :FI, :FJ, :FK, :FL, :FM, :FN, :FO, :FP, :FQ, :FR, :FS, :FT, :FU, :FV |
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
From e1871a7d1f872489dca7c74c42003341dc7588f0 Mon Sep 17 00:00:00 2001 | |
From: Hiro Asari <[email protected]> | |
Date: Mon, 9 Nov 2009 10:42:22 -0600 | |
Subject: [PATCH] Catch Zlib::BufError while reading history. | |
--- | |
lib/plugins/history.rb | 9 +++++++++ | |
1 files changed, 9 insertions(+), 0 deletions(-) | |
diff --git a/lib/plugins/history.rb b/lib/plugins/history.rb |