My Recent Pastes (12 and counting)

Recent Pasties by fbuilesv (12 and counting)

Below are summaries of the 12 most recent pasties by fbuilesv.

July 21, 2008
12:39PM EDT
by fbuilesv

1
2
3
4
5
federico@korobushka 
~/programacion/jruby
$ mspec ci
jruby 1.1.3 (ruby 1.8.6 patchlevel 114) (2008-07-21 rev 7252) [i386-java]
/usr/local/lib/ruby/gems/1.8/gems/mspec-1.4.0/lib/mspec/commands/mspec-ci.rb:55:in `run': No such file or directory - No such file or directory - /Users/federico/programacion/jruby/spec/ruby/1.8/core (Errno::ENOENT)

June 20, 2008
5:27PM EDT
by fbuilesv

1
2
3
4
5
Sampling process 49961 for 1 seconds with 1 millisecond of run time between samples
Sampling completed, processing symbols...
Analysis of sampling rubinius.local.bin (pid 49961) every 1 millisecond
Call graph:
    755 Thread_2503

June 15, 2008
11:19AM EDT
by fbuilesv

1
2
3
4
5
federicobuiles@korobushka ~/programacion/rbx
$ mspec -tr spec/ruby/

1)
Net::FTP#sendport when using IPv4 sends a HOST-PORT specification for the passed host and port using the PORT command FAILED

June 11, 2008
2:25PM EDT
by fbuilesv

1
2
3
4
5
  it "returns false on empty strings or all comments" do
    YAML.load("").should == false
    YAML.load("# nothing\n# still nothing").should == false
  end

June 05, 2008
11:22AM EDT
by fbuilesv

1
2
3
4
5
## Spec

  it "accepts an regex for invalid expressions and raises an error if text matches" do
    lambda {REXML::Text.read_with_substitution("this is illegal", 
                                               /illegal/)}.should raise_error(REXML::ParseException)  

May 05, 2008
1:56PM EDT
by fbuilesv

1
2
3
4
5
127.0.0.1        korobushka.local
127.0.0.1        localhost
255.255.255.255        broadcasthost
67.207.132.254  vps
200.116.149.196 bach

May 01, 2008
2:40PM EDT
by fbuilesv

1
2
3
4
5
federico@korobeiniki: ~/rbx
$ bin/mspec spec/ruby/1.8/core/kernel/eval_spec.rb
....F......

1)

May 01, 2008
1:48PM EDT
by fbuilesv

1
2
3
4
5
1)
TCPSocket#gethostbyname should resolve a hostname to an address FAILED
Expected "korobeiniki"
 to match /^localhost,?$/

April 19, 2008
1:58AM EDT
by fbuilesv

1
2
3
4
5
  it "returns a copy of the matrix values" do
    b = @a.clone
    b.class.should == Matrix
    b.should == @a
    0.upto(@a.row_size - 1) do |i|

April 19, 2008
1:17AM EDT
by fbuilesv

1
2
3
4
5
federicobuiles@korobushka: ~/rbx
$ irb
>> [1,2] === [1,2].dup
=> true
>> quit

April 07, 2008
10:31PM EDT
by fbuilesv

1
2
3
4
5
require 'rexml/document'

shared :elements_to_a do |klass, cmd| 
  describe "REXML::#{klass}##{cmd}" do
    before :each do

April 07, 2008
9:45PM EDT
by fbuilesv

1
2
3
4
5
federico@korobeiniki: ~/programacion/rbx
$ ./bin/mspec ci -trbx
An exception has occurred:
    No method 'pretty_inspect' on an instance of String. (NoMethodError)