From 8339f5cbff5829018b519f8db20ac56c5ed11949 Mon Sep 17 00:00:00 2001 From: Peter Ohler Date: Fri, 27 Feb 2015 19:54:37 -0800 Subject: [PATCH] testing on travis --- build_test.sh | 2 +- ext/oj/dump.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/build_test.sh b/build_test.sh index 3f773ef3..de9cebe6 100755 --- a/build_test.sh +++ b/build_test.sh @@ -2,7 +2,7 @@ for ruby in \ 1.8.7-p374\ - 1.9.3-p547\ + 1.9.3-p551\ 2.1.5\ 2.2.0 do diff --git a/ext/oj/dump.c b/ext/oj/dump.c index 0509db1d..e8c4ccc9 100644 --- a/ext/oj/dump.c +++ b/ext/oj/dump.c @@ -1114,6 +1114,8 @@ dump_xml_time(VALUE obj, Out out) { int tzhour, tzmin; char tzsign = '+'; + printf("*** HAS_RB_TIME_TIMESPEC: %d offset: %ld\n", HAS_RB_TIME_TIMESPEC, tzsecs); + if (out->end - out->cur <= 36) { grow(out, 36); }