View try.diff
1 2 3 4 5 6 7 8 9 10
diff --git a/insns.def b/insns.def
index 81aca8f..1c14bb9 100644
--- a/insns.def
+++ b/insns.def
@@ -318,8 +318,15 @@ putspecialobject
val = rb_mRubyVMFrozenCore;
break;
case VM_SPECIAL_OBJECT_CBASE:
- val = vm_get_cbase(GET_ISEQ(), GET_EP());
+ {
View cov.rb
1 2 3 4 5 6 7 8 9
require 'coverage'
require 'json'
 
# This must be run with this patch applied:
# https://bugs.ruby-lang.org/issues/10816
 
Coverage.start
 
require 'minitest'
View doh.rb
1 2 3 4 5 6 7 8 9
require 'coverage'
require 'json'
 
Coverage.start
 
require 'minitest'
 
class Minitest::Runnable
LOG = File.open('run_log.txt', 'w')
View heap_dump.rb
1 2 3 4 5 6 7 8 9
# Activate the gem you are reporting the issue against.
gem 'activerecord'
gem 'activesupport'
 
require 'active_support'
require 'active_support/core_ext/numeric/conversions'
require 'objspace'
 
require 'active_record'
View gist:6cdbb412a22715ce39ec
1 2 3 4 5 6 7 8 9 10
7) MiqSchedule with schedule infrastructure and valid run_ats valid schedules for db_backup calling run adhoc_db_backup should create no database backups
Failure/Error: @region.database_backups.count.should == 0
ActiveRecord::StatementInvalid:
PGError: ERROR: column database_backups.miq_region_id does not exist
LINE 1: SELECT COUNT(*) FROM "database_backups" WHERE "database_bac...
^
: SELECT COUNT(*) FROM "database_backups" WHERE "database_backups"."miq_region_id" = 594
# /Users/aaron/.rbenv/versions/2.0.0-p451/lib/ruby/gems/2.0.0/bundler/gems/rails-cab310aeee22/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb:1346:in `async_exec'
# /Users/aaron/.rbenv/versions/2.0.0-p451/lib/ruby/gems/2.0.0/bundler/gems/rails-cab310aeee22/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb:1346:in `block in exec_no_cache'
# /Users/aaron/.rbenv/versions/2.0.0-p451/lib/ru
View fix.diff
1 2 3 4 5 6 7 8 9 10
diff --git a/test/namespaces/test_namespaces_in_merged_doc.rb b/test/namespaces/test_namespaces_in_merged_doc.rb
index fb7355d..d9b739c 100644
--- a/test/namespaces/test_namespaces_in_merged_doc.rb
+++ b/test/namespaces/test_namespaces_in_merged_doc.rb
@@ -21,7 +21,10 @@ module Nokogiri
root = @doc1.at("defs")
toadd = @doc2.at("svg")
- root.add_child(toadd.children)
+ text_node = @doc2.at("text")
View lisp.rb
1 2 3 4 5 6 7 8 9
cons = lambda { |x,y| lambda { |m| m.call x, y } }
car = lambda { |z| z.call lambda { |p, q| p } }
cdr = lambda { |z| z.call lambda { |p, q| q } }
 
each = lambda { |list, cb|
break unless list
cb.(car.(list))
each.(cdr.(list), cb)
}
View bug.rb
1 2 3 4 5 6 7 8 9 10
require 'active_record'
require 'logger'
 
ActiveRecord::Base.establish_connection adapter: "sqlite3", database: ":memory:"
 
ActiveRecord::Base.connection.instance_eval do
create_table(:parents)
 
create_table(:children) do |t|
t.references :parent
View out.txt
1 2 3 4 5 6 7 8 9 10
[aaron@Aarons-MacBook-Pro usb (master)]$ csi -s tests/run.scm
 
Error: unbound variable: |\xcf\xfa\xed\xfe\x07\x00\x00\x01\x03\x00\x00\x00\x08\x00\x00\x00\x0f\x00\x00\x00\xf8\x05\x00\x00\x85\x00\x00\x00\x00\x00\x00\x00\x19\x00\x00\x00|
 
Call history:
 
<syntax> (##core#undefined)
<syntax> (##core#undefined)
<syntax> (##core#begin (##core#begin (##core#begin (##sys#require (quote test))) (import test)) (##core#undef......
<syntax> (##core#begin (##core#begin (##sys#require (quote test))) (import test))
View rm_cache.patch
1 2 3 4 5 6 7 8 9 10
diff --git a/activerecord/lib/active_record/fixtures.rb b/activerecord/lib/active_record/fixtures.rb
index a85ba6b..a7502db 100644
--- a/activerecord/lib/active_record/fixtures.rb
+++ b/activerecord/lib/active_record/fixtures.rb
@@ -945,16 +945,10 @@ module ActiveRecord
@fixture_cache = {}
@fixture_connections = []
- @@already_loaded_fixtures ||= {}
Something went wrong with that request. Please try again.