Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: rubinius/rubinius
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: ac5f92af7c86
Choose a base ref
...
head repository: rubinius/rubinius
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 64d73f9bd5fb
Choose a head ref

Commits on Mar 12, 2015

  1. Creates enumeratorized shared specs.

    The enumerable_enumeratorized shared specs are to be used by the Enumerable spec
    while the enumeratorized shared specs are to be used by Enumerable
    implementations.
    
    The shared specs cover the following cases:
    
    * The resulting enumerator size returns the enumerable size (collect, find_all,
      etc...)
    * The resulting enumerator size returns nil (find_index, take_while, etc...)
    * The cycle method (Array as it's own implementation)
    
    The enumerable specific tests add tests for the case where the enumerable
    doesn't have the size method.
    fmfdias authored and Yorick Peterse committed Mar 12, 2015
    Copy the full SHA
    ec7bd05 View commit details
  2. Extra arg validation tests on each_cons/each_slice

    The tests check if ArgumentError is raised also when no block is given,
    complying with MRI.
    fmfdias authored and Yorick Peterse committed Mar 12, 2015
    Copy the full SHA
    b01d96f View commit details
  3. New Enumerator/Enumerable size calculation tests

    It also removes the old falling tests tags.
    fmfdias authored and Yorick Peterse committed Mar 12, 2015
    Copy the full SHA
    2dd66e4 View commit details
  4. Update Enumerable#size when returning Enumerator

    Moves Enumerable#each_cons and Enumerable#each_slice argument validation to be
    done before checking if there's no block given.
    
    It creates the EnumerableHelper module to implement the cycle_size 'function'
    calculation. It avoids 'polluting' the Enumerable module and also allows the
    cycle_size function to be used on Array.
    fmfdias authored and Yorick Peterse committed Mar 12, 2015
    Copy the full SHA
    f36b84d View commit details
  5. New Enumerator#size tests for the Array class.

    It also removes the old falling tests tags.
    fmfdias authored and Yorick Peterse committed Mar 12, 2015
    Copy the full SHA
    3fb3933 View commit details
  6. Updated Array#size when returning an Enumerator

    It uses the array mirror to implement the helper methods needed for the more
    complex calculations to avoid 'polluting' the Array class.
    fmfdias authored and Yorick Peterse committed Mar 12, 2015
    Copy the full SHA
    6eddafb View commit details
  7. Enumerator#size calculation specs for Hash

    These are specs for methods that return an Enumerator instance.
    fmfdias authored and Yorick Peterse committed Mar 12, 2015
    Copy the full SHA
    1170e4e View commit details
  8. Update Enumerator#size calculation for Hash

    These are specs for methods that return an Enumerator instance.
    fmfdias authored and Yorick Peterse committed Mar 12, 2015
    Copy the full SHA
    28539a6 View commit details
  9. Enumerator#size calculation specs for Range

    These are specs for methods that return an Enumerator instance.
    fmfdias authored and Yorick Peterse committed Mar 12, 2015
    Copy the full SHA
    e99ab4c View commit details
  10. Update Enumerator#size calculation for Range

    These are changes for methods that return an Enumerator instance.
    
    It creates the range mirror to implement the helper methods needed for the more
    complex calculations to avoid 'polluting' the Range class.
    fmfdias authored and Yorick Peterse committed Mar 12, 2015
    Copy the full SHA
    525277e View commit details
  11. Update Enumerator#size specs for Integer

    These are specs for methods that return an Enumerator instance.
    fmfdias authored and Yorick Peterse committed Mar 12, 2015
    Copy the full SHA
    1db7053 View commit details
  12. Update Enumerator#size for Integer

    These are changes for methods that return an Enumerator instance.
    fmfdias authored and Yorick Peterse committed Mar 12, 2015
    Copy the full SHA
    defb1a4 View commit details
  13. Enumerator#size specs for Kernel#loop.

    fmfdias authored and Yorick Peterse committed Mar 12, 2015
    Copy the full SHA
    8314546 View commit details
  14. Update Enumerator#size for Kernel#loop.

    fmfdias authored and Yorick Peterse committed Mar 12, 2015
    Copy the full SHA
    f4323e3 View commit details
  15. Update specs for Numeric#step with a block

    This updates specs for Numeric#step when a block is given and the step is not
    Numeric. The exception raised in this situation has changed on MRI 2.1.0 from
    TypeError to ArgumentError.
    fmfdias authored and Yorick Peterse committed Mar 12, 2015
    Copy the full SHA
    c193494 View commit details
  16. Enumerator#size specs for Numeric#step.

    fmfdias authored and Yorick Peterse committed Mar 12, 2015
    Copy the full SHA
    4617886 View commit details
  17. Update Enumerator#size for Numeric#step.

    It creates a numeric mirror class to implement the helper methods needed for the
    step size calculation to avoid 'polluting' the Numeric class.
    
    It also updates the Numeric#step exception used when a block is given and step
    is not Numeric to ArgumentError to comply with the specs.
    fmfdias authored and Yorick Peterse committed Mar 12, 2015
    Copy the full SHA
    9ee5aa2 View commit details
  18. Updated Enumerator#size specs for String

    These are specs for methods that return an Enumerator instance.
    fmfdias authored and Yorick Peterse committed Mar 12, 2015
    Copy the full SHA
    633d9c4 View commit details
  19. Update Enumerator#size for String

    These are changes for methods that return an Enumerator instance.
    fmfdias authored and Yorick Peterse committed Mar 12, 2015
    Copy the full SHA
    6c5c5c6 View commit details
  20. Specs for Enumerator#size for ARGF

    These are specs for methods that return a Enumerator instance.
    fmfdias authored and Yorick Peterse committed Mar 12, 2015
    Copy the full SHA
    85b4dc2 View commit details
  21. Specs for Enumerator#size for Dir

    These are specs for methods that return an Enumerator instance.
    fmfdias authored and Yorick Peterse committed Mar 12, 2015
    Copy the full SHA
    a384101 View commit details
  22. Enumerator#size specs for ENV

    These are specs for methods that return an Enumerator instance.
    fmfdias authored and Yorick Peterse committed Mar 12, 2015
    Copy the full SHA
    ff761aa View commit details
  23. Update Enumerator#size for ENV

    These are changes for methods that return an Enumerator instance.
    fmfdias authored and Yorick Peterse committed Mar 12, 2015
    Copy the full SHA
    c6a363b View commit details
  24. Enumerator#size specs for IO

    These are specs for methods that return an Enumerator.
    fmfdias authored and Yorick Peterse committed Mar 12, 2015
    Copy the full SHA
    fbb9bd4 View commit details
  25. Enumerator#size specs for Struct

    These are specs for methods that return an Enumerator instance.
    fmfdias authored and Yorick Peterse committed Mar 12, 2015
    Copy the full SHA
    acc7a85 View commit details
  26. Update Enumerator#size for Struct

    These are changes for methods that return an Enumerator instance.
    fmfdias authored and Yorick Peterse committed Mar 12, 2015
    Copy the full SHA
    68d2e23 View commit details
  27. Enumerator#size specs for Enumerator

    These are specs for methods that return an Enumerator instance.
    fmfdias authored and Yorick Peterse committed Mar 12, 2015
    Copy the full SHA
    67b41f3 View commit details
  28. Update Enumerator#size for Enumerator

    These are changes for methods that return an Enumerator instance.
    fmfdias authored and Yorick Peterse committed Mar 12, 2015
    Copy the full SHA
    64d73f9 View commit details
Loading