My Recent Pastes (231 and counting)

Pastes by VVSiz (231 and counting)

Pages: 1 2 4 6 16

Below are the 15 most recent pasties by VVSiz.

July 11, 2008
2:42AM EDT
by VVSiz

run-junit-reflected-interpreted:
     [echo] compile=OFF, jit.threshold=20, jit.max=-1, objectspace=true threadpool=false reflection=true version=ruby1_8
    [junit] Testsuite: org.jruby.test.MainTestSuite
    [junit] Tests run: 230, Failures: 0, Errors: 0, Time elapsed: 19.944 sec
    [junit]

July 10, 2008
5:39AM EDT
by VVSiz

describe "one" do
  describe "two" do
    describe "three" do
      it "does stuff" do        
      end

July 09, 2008
2:43PM EDT
by VVSiz

1)
CGI::Cookie#value= automatically converts the passed Object to an Array using #Array FAILED
Expected "test"
 to equal ["test"]

July 09, 2008
1:17PM EDT
by VVSiz

mspec -t /opt/work/rbx.git/shotgun/rubinius 1.8/library/zlib/
rubinius 0.9.0 (ruby 1.8.6 compatible) (4ed3ea128) (07/08/2008) [i686-pc-linux-gnu]
.....................EE.......

1)

July 07, 2008
4:43AM EDT
by VVSiz

### NEW ONE ####
2)
Executing break from within a block returns from the original invoking method even in case of chained calls ERROR
LocalJumpError: break from proc-closure
/opt/work/rubyspec.git/./1.8/language/break_spec.rb:79:in `call'

July 06, 2008
4:18PM EDT
by VVSiz

>mspec ci -t r 1.8/language/method_spec.rb -f s
ruby 1.8.6 (2007-09-24 patchlevel 111) [i486-linux]
./1.8/language/method_spec.rb:162: warning: (...) interpreted as grouped expression
./1.8/language/method_spec.rb:171: warning: parenthesize argument(s) for future version
./1.8/language/method_spec.rb:175: warning: parenthesize argument(s) for future version

July 06, 2008
3:26PM EDT
by VVSiz

Proc.new without a block
- raises an ArgumentError
- raises an ArgumentError if invoked from within a method with no block
- returns the Proc object of its containing method's block

July 06, 2008
8:45AM EDT
by VVSiz

1)
CGI::QueryExtension#read_from_cmdline when the ARGV Array contains no values returns the lines read from $stdin converted to a HTTP Query String FAILED
Expected "1.8/library/cgi/"
 to equal "one=value&two=other_value&three"

July 06, 2008
3:57AM EDT
by VVSiz

MISSING EXCEPTION HANDLER for pc 0x0000000002a345cc and handler bci -1
   Exception:

 Compiled exception table :
ExceptionHandlerTable (size = 472 bytes)

July 06, 2008
3:55AM EDT
by VVSiz

# SIGSEGVs MRI
# Crashes JRuby (actually, crashes JVM!)
# Locks up linux box when executed with Rubinius

syms = []

July 06, 2008
3:53AM EDT
by VVSiz

>ruby obj-methods.rb
Object responds to: class
Object responds to: clone
Object responds to: epeje
Object responds to: epewh

July 06, 2008
3:47AM EDT
by VVSiz

obj = Object.new

('aaaaa'..'zzzzz').each do |name|
  puts "Object responds to: #{name}" if obj.respond_to?(name)
end

July 05, 2008
5:38PM EDT
by VVSiz

STOP HARRASSING ME!!!

July 05, 2008
4:50PM EDT
by VVSiz

Exception in thread "Ruby Thread26870430" java.lang.ArrayIndexOutOfBoundsException: 91106
        at org.jruby.RubyArray.append(RubyArray.java:890)
        at org.jruby.RubyArrayInvoker$append_method_1_0.call(Unknown Source)
        at org.jruby.runtime.CallSite$InlineCachingCallSite.call(CallSite.java:304)
        at ruby.opt.work.samples.cr.closure_11_5(cr.rb:12)

July 05, 2008
10:12AM EDT
by VVSiz

private static IRubyObject jdbc_to_ruby(Ruby runtime, int row, int type, int scale, ResultSet rs)
        try {
            int n;
            switch (type) {
                case Types.BINARY:

Next page

Previous page