Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Mar 3, 2015
  1. sshao
Commits on Mar 2, 2015
  1. Joe Eli McIlvain

    Remove special case logic for String#slice(<Symbol>)

    jemc authored
    It is okay to remove this special-case logic here
    because Symbol#to_int no longer exists in Ruby 1.9+,
    so Symbol-to-Fixnum coercion will fail with TypeError
    (which matches MRI behavior).
    Resolves #3335.
  2. sshao
  3. sshao
  4. sshao

    Added new Marshal.load spec for object with user-defined _dump

    sshao authored
    Spec covers another edge case.
Commits on Feb 27, 2015
  1. sshao

    Fix Marshal for objects whose _dump returns an immediate.

    sshao authored
    specs and context behind this change: db857ab & 8300291
  2. sshao

    Added more Marshal.load specs for objects with user-defined _dumps

    sshao authored
    Added a new case to test loading an object with a
    user-defined _load/_dump method. This case was broken, and
    would throw an erroneous exception instead of marshalling
    correctly.
  3. Joe Eli McIlvain

    Merge pull request #3333 from ruipserra/fix_failing_enumerator_rewind…

    jemc authored
    …_spec
    
    Fix a failing Enumerator#rewind spec
  4. Rui Serra
Commits on Feb 25, 2015
  1. Joe Eli McIlvain

    Fix Ruby 2.0+ behavior for respond_to? on protected methods.

    jemc authored
    From Ruby 2.0 forward, respond_to? returns false for protected methods.
    Resolves #3328
Commits on Feb 24, 2015
  1. Yorick Peterse

    Added FFI generators for ifaddrs.h/socket.h

    YorickPeterse authored
    These will be used to implement Socket.ip_address_list.
Commits on Feb 23, 2015
  1. Yorick Peterse
  2. Yorick Peterse

    Updated Gems list.

    YorickPeterse authored
Commits on Feb 20, 2015
  1. Joe Eli McIlvain

    Merge pull request #3324 from ruipserra/fix_array_slice_with_length_a…

    jemc authored
    …rgument
    
    Fix array slice with length argument
  2. Rui Serra
  3. Rui Serra
Commits on Feb 18, 2015
  1. Joe Eli McIlvain

    Make `rake ci` output slightly less verbose.

    jemc authored
    Travis-CI currently truncates the highly verbose output.
  2. Brian Shirai
  3. Brian Shirai

    Fixed Console plumbing.

    brixen authored
    Also fixes finalizer and immix mark thread so that the associated
    Ruby thread is initialized. This needs to be refactored.
Commits on Feb 17, 2015
  1. Nicos Gollan Yorick Peterse

    Tag specs for `load(_, true)` as failing

    ngollan authored YorickPeterse committed
  2. Nicos Gollan Yorick Peterse

    Spec for calling top-level methods in wrapped load

    ngollan authored YorickPeterse committed
    This specifies the expected behaviour for issue #3276 and splits up an
    existing spec for `load(_, true)` into multiple tests.
  3. Yorick Peterse

    Fix enum size/counting for each_slice & friends.

    YorickPeterse authored
    As it turns out we can't always use Enumerable#count as a fallback as this
    doesn't work for either very large enumerators or lazy ones that go on to
    infinity (e.g. 0..Float::INFINITY).
    
    To work around this we _only_ use Enumerable#count as a fallback for
    Enumerable#each_slice and _only_ if the enumerator is not a Enumerator::Lazy
    instance. The resulting code is a bit messy but I can't think of any better
    place to put it.
  4. Joe Eli McIlvain
  5. Yorick Peterse

    Don't use Enumerator#count for lazy enums.

    YorickPeterse authored
    This causes methods such as Enumerable#enumerator_size to go into a (near)
    infinite loop depending on the size of the lazy enumerator.
  6. Brandon Fish Yorick Peterse

    Reverting some change and applying a dffierent fix

    bjfish authored YorickPeterse committed
    This also resolved this each_slice issue and each_with_index
  7. Joe Eli McIlvain

    Merge pull request #3318 from fmfdias/spec-enumerable-size

    jemc authored
    Spec size method calls on Enumerator instances returned by Enumerable methods.
  8. Filipe Dias

    Updates spec name.

    fmfdias authored
Commits on Feb 16, 2015
  1. Filipe Dias

    Tag tests as failing.

    fmfdias authored
Commits on Feb 15, 2015
  1. Filipe Dias

    Adds specs to Array methods that return an Enumerator.

    fmfdias authored
    The tests check if the size method on the resulting Enumerator instance returns the correct value.
  2. Filipe Dias

    Adds specs to Enumerable methods that return an Enumerator.

    fmfdias authored
    The tests check if the size method on the resulting Enumerator instance returns the correct value.
  3. Filipe Dias

    Adds NumerousWithSize class to help spec the size method behaviour on…

    fmfdias authored
    … Enumerable methods that return an Enumerator.
  4. Brian Shirai
  5. Brian Shirai

    Fixed using tag describe info.

    brixen authored
  6. Brian Shirai
Commits on Feb 13, 2015
  1. Joe Eli McIlvain

    Merge pull request #3315 from bjfish/enumerator_issues

    jemc authored
    Trying to fix #3306 each_slice
Something went wrong with that request. Please try again.