My Recent Pastes (225 and counting)

Pastes by VVSiz (225 and counting)

Pages:

Below are the 15 most recent pasties by VVSiz.

July 23, 2008
3:25PM EDT
by VVSiz

require 'rubygems'
gem 'activerecord'
require 'active_record'

if defined? JRUBY_VERSION

July 22, 2008
7:05AM EDT
by VVSiz

diff --git a/1.8/library/net/ftp/abort_spec.rb b/1.8/library/net/ftp/abort_spec.rb
index 3d27eb1..6f229c2 100644
--- a/1.8/library/net/ftp/abort_spec.rb
+++ b/1.8/library/net/ftp/abort_spec.rb
@@ -17,15 +17,18 @@ describe "Net::FTP#abort" do

July 22, 2008
6:23AM EDT
by VVSiz

1)
Net::FTP#abort sends the ABOR command over the socket FAILED
Expected to not get Exception
/opt/work/rubyspec.git/./1.8/library/net/ftp/abort_spec.rb:26
/opt/work/rubyspec.git/./1.8/library/net/ftp/abort_spec.rb:5

July 22, 2008
6:09AM EDT
by VVSiz

mspec -t j 1.8/library/net/ftp/abort_spec.rb
jruby 1.1.3 (ruby 1.8.6 patchlevel 114) (2008-07-21 rev 7254+1) [i386-java]
EEEEEEEE

1)

July 18, 2008
4:51PM EDT
by VVSiz

a = []
100000.times { a << 1 }

t1 = Thread.new do
  loop { p a.to_s.length; sleep 0.5 }

July 17, 2008
5:33PM EDT
by VVSiz

Failed to load native POSIX impl; falling back on Java impl. Stacktrace follows.
java.lang.UnsatisfiedLinkError: jnidispatch (/com/sun/jna/win32-amd64/jnidispatch.dll) not found in resource p
ath
        at com.sun.jna.Native.loadNativeLibrary(Native.java:468)
        at com.sun.jna.Native.<clinit>(Native.java:91)

July 17, 2008
5:31PM EDT
by VVSiz

                if (Platform.IS_MAC) {
                    posix = loadMacOSPOSIX(handler);
                } else if (Platform.IS_LINUX) {
                    posix = loadLinuxPOSIX(handler);
                } else if (false && Platform.IS_FREEBSD) {

July 17, 2008
1:54PM EDT
by VVSiz

1)
CGI::HtmlExtension#checkbox_group when passed name, values ... returns a sequence of 'checkbox'-elements with the passed name and the passed values FAILED
Expected "<INPUT TYPE=\"checkbox\" NAME=\"test\" VALUE=\"foo\">foo<INPUT TYPE=\"checkbox\" NAME=\"test\" VALUE=\"bar\">bar<INPUT TYPE=\"checkbox\" NAME=\"test\" VALUE=\"baz\">baz"
to equal "<INPUT NAME=\"test\" TYPE=\"checkbox\" VALUE=\"foo\">foo<INPUT NAME=\"test\" TYPE=\"checkbox\" VALUE=\"bar\">bar<INPUT NAME=\"test\" TYPE=\"checkbox\" VALUE=\"baz\">baz"

July 16, 2008
2:11PM EDT
by VVSiz

D:\>ruby t.rb
t.rb:1: Invalid char `\344' in expression
t.rb:1: Invalid char `\275' in expression
t.rb:1: Invalid char `\240' in expression
t.rb:1: Invalid char `\345' in expression

July 14, 2008
4:33PM EDT
by VVSiz

require 'benchmark'
require 'rubygems'
gem 'activerecord', '2.1'
require 'active_record'

July 11, 2008
2:26PM EDT
by VVSiz

mspec ci 1.8/core/proc/new_spec.rb
jruby 1.1.3-dev (ruby 1.8.6 patchlevel 114) (2008-07-11 rev 7143+1) [i386-java]
.F....

1)

July 11, 2008
4:26AM EDT
by VVSiz

require 'rubygems'
require 'jdbc/mysql' # load jdbc dirver for mysql
require 'java'
require 'jruby'

July 11, 2008
3:40AM EDT
by VVSiz

>mspec ci -t j 1.8/core/proc/new_spec.rb
jruby 1.1.3-dev (ruby 1.8.6 patchlevel 114) (2008-07-11 rev 7139+1) [i386-java]
.F....

1)

July 11, 2008
3:26AM EDT
by VVSiz

1)
Bignum#size returns the number of bytes in the machine representation of self FAILED
No behavior expectation was found in the example
/opt/work/rubyspec.git/./1.8/core/bignum/size_spec.rb:3
/opt/work/rubyspec.git/./1.8/core/bignum/size_spec.rb:51:in `load'

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]

Next page

Previous page