Added test case to reproduce issue #1311.

Signed-off-by: Charles Oliver Nutter <headius@headius.com>
Making the test pass

Signed-off-by: Charles Oliver Nutter <headius@headius.com>
using an inline if

Signed-off-by: Charles Oliver Nutter <headius@headius.com>
FIxing bad indentation

Signed-off-by: Charles Oliver Nutter <headius@headius.com>
Adding comment to explain how the Date works in Java (Using JODA Time lib) and how it should work in Ruby to keep the mri compatiblity

Signed-off-by: Charles Oliver Nutter <headius@headius.com>
Added more tests cases to fully cover all the expected behavior on
DateTime#<=> method.

Signed-off-by: Charles Oliver Nutter <headius@headius.com>
Comparing two DateTimes (and sub milliseconds) using <=> and returning -1, 0, or +1 depending
on whether the receiver is less than, equal to, or greater than the
other object.

Signed-off-by: Charles Oliver Nutter <headius@headius.com>
Fix spelling of test for #1311.
Fixing issue
added some task to help with releases
t branch
Merge branch 'jruby-1_7' of jruby.org:jruby into jruby-1_7
fixed wrong task name [skip ci]
Array#repeated_permutation should have arity 1

Remove arg-less Array#repeated_permutation to match MRI behavior.
#enum_slice and #enum_cons are 1.8-only
Merge pull request #1334 from dmarcotte/enum_slice_cons

#enum_slice and #enum_cons are 1.8-only
Merge pull request #1335 from dmarcotte/repeat-perm-arg

Array#repeated_permutation should have arity 1
Hmm I thought this was fixed on 1.7 already...missing double quote in rakelib/maven.rake
Fixing Enumerator#peek behaviour. When the Enumerator position is already at the end and method peek is called then JRuby was throwing a NullPointerException. But the correct behaviour should be raise a StopIteration.
Derp also update 1.7 to use released joni
UnmarshalStream: Fixed two off-by-one errors in unmarshalInt; it is now consistent with r_long in marshal.c of MRI.  This also means there are three different ways to marshal the number 0.