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
$ perl vm/external_libs/llvm/Release/bin/llvm-config --cflags | |
-I/Users/brianmario/Downloads/rubinius.git/vm/external_libs/llvm/Release/include -D_DEBUG -D_GNU_SOURCE -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -O3 -fno-common |
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
# this is in the controller | |
def with_permission(permission, &blk) | |
if current_user.permissions.include?(permission) | |
concat(&blk.call) | |
end | |
end | |
helper_method :with_permission | |
... |
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
3) | |
NoMethodError in 'Chunked parser should parse a single chunk' | |
No method 'home_block' on an instance of Rubinius::BlockEnvironment. | |
kernel/delta/kernel.rb:47:in `home_block (method_missing)' | |
kernel/common/proc.rb:45:in `caller' | |
/Users/brianmario/Sites/yajl-ruby.git/spec/parsing/chunked_spec.rb:19:in `__script__ {}' | |
kernel/common/eval.rb:139:in `instance_eval' | |
/Users/brianmario/Downloads/rubinius.git/lib/timeout.rb:134:in `timeout' | |
kernel/bootstrap/array.rb:151:in `each' | |
kernel/bootstrap/array.rb:151:in `each' |
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
3) | |
NoMethodError in 'Chunked parser should parse a single chunk' | |
No method 'caller' on an instance of Proc. | |
kernel/delta/kernel.rb:47:in `caller (method_missing)' | |
/Users/brianmario/Sites/yajl-ruby.git/spec/parsing/chunked_spec.rb:19:in `__script__ {}' | |
kernel/common/eval.rb:139:in `instance_eval' | |
/Users/brianmario/Downloads/rubinius.git/lib/timeout.rb:134:in `timeout' | |
kernel/bootstrap/array.rb:151:in `each' | |
kernel/bootstrap/array.rb:151:in `each' | |
kernel/common/compiled_method.rb:232:in `as_script' |
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
3) | |
NoMethodError in 'Chunked parser should parse a single chunk' | |
No method 'home_block' on an instance of Rubinius::BlockEnvironment. | |
kernel/delta/kernel.rb:47:in `home_block (method_missing)' | |
kernel/common/proc.rb:45:in `caller' | |
/Users/brianmario/Sites/yajl-ruby.git/spec/parsing/chunked_spec.rb:19:in `__script__ {}' | |
kernel/common/eval.rb:139:in `instance_eval' | |
/Users/brianmario/Downloads/rubinius.git/lib/timeout.rb:134:in `timeout' | |
kernel/bootstrap/array.rb:151:in `each' | |
kernel/bootstrap/array.rb:151:in `each' |
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
1) | |
IOError in 'Yajl HTTP DELETE request should parse a raw response' | |
closed stream | |
kernel/common/io.rb:806:in `flush' | |
kernel/common/io.rb:1499:in `close' | |
/Users/brianmario/Sites/yajl-ruby.git/spec/http/http_delete_spec.rb:51:in `__script__ {}' | |
kernel/common/eval.rb:139:in `instance_eval' | |
/Users/brianmario/Downloads/rubinius.git/lib/timeout.rb:134:in `timeout' | |
kernel/bootstrap/array.rb:151:in `each' | |
kernel/bootstrap/array.rb:151:in `each' |
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
require 'rubygems' | |
require 'bert' | |
require 'json' | |
require 'yajl' | |
require 'benchmark' | |
ITER = 1_000 | |
tiny = t[:ok, :awesome] | |
small = t[:ok, :answers, [42] * 42] |
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
f = File.new('/path/to/some/file', 'r') | |
def blah | |
f.each_line do |line| | |
break | |
end | |
puts "should get here but doesn't?" | |
ensure | |
f.close | |
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
From c6342746131d2b0555ae0b90d33565f291058d76 Mon Sep 17 00:00:00 2001 | |
From: Brian Lopez <seniorlopez@gmail.com> | |
Date: Thu, 22 Oct 2009 14:20:33 -0700 | |
Subject: [PATCH] "Removed Proc#<sounds_like_dollar_but_starts_with_call>." | |
--- | |
kernel/common/proc.rb | 4 ---- | |
1 files changed, 0 insertions(+), 4 deletions(-) | |
diff --git a/kernel/common/proc.rb b/kernel/common/proc.rb |
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 ef7810850ddf9a6414c3f2098b2068579b7132b9 Mon Sep 17 00:00:00 2001 | |
From: Brian Lopez <seniorlopez@gmail.com> | |
Date: Thu, 22 Oct 2009 15:09:06 -0700 | |
Subject: [PATCH] Add rb_Float and rb_Integer to the capi | |
--- | |
spec/capi/ext/float_spec.c | 5 +++++ | |
spec/capi/ext/numeric_spec.c | 5 +++++ | |
spec/capi/float_spec.rb | 8 ++++++++ | |
spec/capi/numeric_spec.rb | 8 ++++++++ |