My Recent Pastes (225 and counting)
Pastes by VVSiz (225 and counting)
Below are the 15 most recent pasties by VVSiz.
June 06, 2008
1:32PM EDT
by VVSiz
View all 161 lines
mspec ci -t /opt/ruby186/bin/ruby spec/ruby/1.8/library/set/ .........F....F........F....F.F........................................... 1) Set#classify classifies the Objects in self based on the block's return value FAILED
June 06, 2008
12:59PM EDT
by VVSiz
View all 40 lines
## MRI ruby -e "require 'fcntl'; Fcntl.constants.sort.each { |x| puts %Q[#{x} = #{Fcntl.const_get(x)}] }" FD_CLOEXEC = 1 F_DUPFD = 0 F_GETFD = 1
June 04, 2008
4:46PM EDT
by VVSiz
View all 91 lines
diff -r -u ./lib/rubygems/commands/install_command.rb /opt/work/jruby.git/lib/ruby/site_ruby/1.8/rubygems/commands/install_command.rb --- ./lib/rubygems/commands/install_command.rb 2008-06-04 22:42:06.000000000 +0200 +++ /opt/work/jruby.git/lib/ruby/site_ruby/1.8/rubygems/commands/install_command.rb 2008-06-04 13:53:20.000000000 +0200 @@ -19,6 +19,7 @@ :install_dir => Gem.dir,
June 04, 2008
12:21PM EDT
by VVSiz
View all 216 lines
jruby -X+C test/externals/mri/webrick/test_server.rb Loaded suite test/externals/mri/webrick/test_server Started 2008-06-04 18:23:01
May 30, 2008
5:37AM EDT
by VVSiz
View all 153 lines
mspec run -t /opt/ruby1.8-stable/bin/ruby spec/ruby/1.8/library/readline/history/ ......F.F.EFE............... 1) Readline::HISTORY.each yields each item but the first in the history FAILED
May 30, 2008
3:36AM EDT
by VVSiz
View all 10 lines
describe "A mocked method" do it "returns the return value of the last mock" do m = mock("foo") m.should_receive(:foo).any_number_of_times.and_return(true) m.foo.should == true
May 28, 2008
2:10PM EDT
by VVSiz
obj.should_receive(:=~).with(str).any_number_of_times.and_return(true) obj.should_receive(:=~).with(str).any_number_of_times.and_return(false) obj =~ str # now false, but with earlier mspec - true
May 27, 2008
12:01PM EDT
by VVSiz
View all 24 lines
D:\work\jruby-dev\hello>jruby script/server webrick => Booting WEBrick... JRuby limited openssl loaded. gem install jruby-openssl for full support. http://wiki.jruby.org/wiki/JRuby_Builtin_OpenSSL => Rails application started on http://0.0.0.0:3000
May 27, 2008
11:17AM EDT
by VVSiz
View all 6 lines
D:\work\jruby-dev\jruby>jruby -S gem uninstall rails file:/D:/work/jruby-dev/jruby/lib/jruby.jar!/jruby/extract.rb:12:in `initialize': undefined method `getResourc e' for nil:NilClass (NoMethodError) from file:/D:/work/jruby-dev/jruby/lib/jruby.jar!/jruby/commands.rb:13:in `new' from file:/D:/work/jruby-dev/jruby/lib/jruby.jar!/jruby/commands.rb:13:in `gem'
May 27, 2008
9:40AM EDT
by VVSiz
View all 13 lines
using System; using System.Linq; using System.IO; using System.Text.RegularExpressions;
May 24, 2008
8:02PM EDT
by VVSiz
View all 325 lines
/opt/work/rbx.git/lib/rbconfig.rb:7: looks like you loaded rubinius' rbconfig from ruby (RuntimeError)
from /opt/work/rbx.git/lib/rubygems.rb:60:in `require'
from /opt/work/rbx.git/lib/rubygems.rb:60
from /opt/work/rbx.git/lib/ubygems.rb:10:in `require'
from /opt/work/rbx.git/lib/ubygems.rb:10
May 19, 2008
5:04PM EDT
by VVSiz
View all 215 lines
# MRI 1.8.6 pl 111 failures against the latest (todays) rubyspecs 1) File.lchmod changes the file mode of the link and not of the file ERROR NotImplementedError: lchmod() function is unimplemented on this machine
May 19, 2008
4:47PM EDT
by VVSiz
View all 15 lines
+Mon Mar 3 23:34:13 2008 GOTOU Yuuzou <gotoyuzo@notwork.org> + + * lib/webrick/httpservlet/filehandler.rb: should normalize path + separators in path_info to prevent directory traversal attacks + on DOSISH platforms.
May 17, 2008
5:11PM EDT
by VVSiz
View all 216 lines
rake (in /opt/work/mspec.git) .........................................................................................................................................................................................F...............................................................................................F.F..F.FF.F...F.F.....FF.F..F.FF..F..FF.F..........................................................................................................................................................................................................................................................................................................................................................................................................................Missing --action-tag or --action-string. mspec [COMMAND] [options] (FILE|DIRECTORY|GLOB)+