Skip to content

Instantly share code, notes, and snippets.

View dbussink's full-sized avatar

Dirkjan Bussink dbussink

View GitHub Profile
(in /Users/dirkjan/Documents/projects/do/do_sqlite3)
** Invoke compile (first_time)
** Invoke compile:i686-darwin9 (first_time)
** Invoke compile:do_sqlite3_ext:i686-darwin9 (first_time)
** Invoke copy:do_sqlite3_ext:i686-darwin9 (first_time)
** Invoke lib (first_time, not_needed)
** Invoke tmp/i686-darwin9/do_sqlite3_ext/do_sqlite3_ext.bundle (first_time)
** Invoke tmp/i686-darwin9/do_sqlite3_ext/Makefile (first_time, not_needed)
** Invoke tmp/i686-darwin9/do_sqlite3_ext (first_time, not_needed)
** Invoke ext/do_sqlite3_ext/extconf.rb (first_time, not_needed)
rake announce
email
post_news
post_blog
publish_on_announce
rake audit
rake check_extra_deps
rake check_manifest
clean
rake clean
publish_on_announce: false
exclude: !ruby/regexp /tmp$|CVS|\.svn|_darcs|\.git|log$|local/.*\.rb$|Makefile|.*\.o$|.*\.bundle$ |.*\.so$|.*\.dll$/
(in /Users/dirkjan/Documents/projects/do/data_objects)
rake aborted!
<script>:1: , unexpected null
/opt/jruby-1.2.0/lib/ruby/gems/1.8/gems/hoe-1.12.1/lib/hoe.rb:501:in `with_config'
/opt/jruby-1.2.0/lib/ruby/gems/1.8/gems/hoe-1.12.1/lib/hoe.rb:607:in `define_tasks'
/opt/jruby-1.2.0/lib/ruby/gems/1.8/gems/hoe-1.12.1/lib/hoe.rb:490:in `initialize'
/Users/dirkjan/Documents/projects/do/tasks/hoe.rb:22
/Users/dirkjan/Documents/projects/do/tasks/hoe.rb:31:in `require'
/opt/jruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
/Users/dirkjan/Documents/projects/do/data_objects/Rakefile:24
diff --git a/lib/dm-core/associations/relationship.rb b/lib/dm-core/associations/relationship.rb
index 081d646..2ca1822 100644
--- a/lib/dm-core/associations/relationship.rb
+++ b/lib/dm-core/associations/relationship.rb
@@ -81,10 +81,8 @@ module DataMapper
with_repository(child_model) do |r|
parent_identity_map = parent.repository.identity_map(parent_model)
- child_identity_map = r.identity_map(child_model)
gcc -I. -I. -I/Users/dirkjan/Documents/projects/rubinius/vm/capi -I. -DHAVE_LIBPQ_FE_H -DHAVE_LIBPQ_LIBPQ_FS_H -DHAVE_POSTGRES_H -DHAVE_MB_PG_WCHAR_H -DHAVE_CATALOG_PG_TYPE_H -DHAVE_PQSETCLIENTENCODING -DHAVE_PG_ENCODING_TO_CHAR -DHAVE_PQFREEMEM -I/opt/local/include/postgresql83 -I/opt/local/include/postgresql83/server -ggdb3 -O2 -Wall -c do_postgres_ext.c
do_postgres_ext.c: In function ‘data_objects_debug’:
do_postgres_ext.c:88: warning: implicit declaration of function ‘gettimeofday’
do_postgres_ext.c: In function ‘seconds_to_offset’:
do_postgres_ext.c:161: warning: implicit declaration of function ‘rb_ll2inum’
do_postgres_ext.c: In function ‘parse_date_time’:
do_postgres_ext.c:255: warning: implicit declaration of function ‘rb_ull2inum’
do_postgres_ext.c: In function ‘parse_time’:
do_postgres_ext.c:276: error: ‘rb_cTime’ undeclared (first use in this function)
do_postgres_ext.c:276: error: (Each undeclared identifier is reported only once
rubinius 0.11.0-dev (ruby 1.8.6) (e6d148a3d 12/31/2009) [i686-apple-darwin9.6.0]
Garbage collector stats:
Young (6) total max min average
---------------------------------------------------------------------------------
Collections 7
times 153.00m 36.56m 16.82m 21.86m
objects promoted 54,449 54,449 54,449 7,778.43
objects copied 379,965 63,776 9,382 54,280.71
rubinius 0.11.0-dev (ruby 1.8.6) (e6d148a3d 12/31/2009) [i686-apple-darwin9.6.0]
Garbage collector stats:
Young (6) total max min average
---------------------------------------------------------------------------------
Collections 7
times 153.00m 36.56m 16.82m 21.86m
objects promoted 54,449 54,449 54,449 7,778.43
objects copied 379,965 63,776 9,382 54,280.71
1)
ArgumentError in 'DataMapper::Property with sqlite3#set_original_value when value changes before(:all)'
argument out of range
/Users/dirkjan/Documents/projects/dm-core/lib/dm-core/adapters/data_objects_adapter.rb:75:in `local'
/Users/dirkjan/Documents/projects/dm-core/lib/dm-core/adapters/data_objects_adapter.rb:75:in `next!'
/Users/dirkjan/Documents/projects/dm-core/lib/dm-core/adapters/data_objects_adapter.rb:75:in `read_many'
/Users/dirkjan/Documents/projects/dm-core/lib/dm-core/adapters/data_objects_adapter.rb:199:in `with_connection'
/Users/dirkjan/Documents/projects/dm-core/lib/dm-core/adapters/data_objects_adapter.rb:63:in `read_many'
/Users/dirkjan/Documents/projects/dm-core/lib/dm-core/repository.rb:143:in `read_many'
/Users/dirkjan/Documents/projects/dm-core/lib/dm-core/collection.rb:919:in `initialize'
diff --git a/do_mysql/ext/do_mysql_ext/do_mysql_ext.c b/do_mysql/ext/do_mysql_ext/do_mysql_ext.c
index 581663c..b749c43 100755
--- a/do_mysql/ext/do_mysql_ext/do_mysql_ext.c
+++ b/do_mysql/ext/do_mysql_ext/do_mysql_ext.c
@@ -85,7 +85,9 @@ static VALUE infer_ruby_type(MYSQL_FIELD *field) {
ruby_type = "TrueClass";
break;
}
+#ifdef MYSQL_TYPE_BIT
case MYSQL_TYPE_BIT: