Permalink
Commits on May 20, 2012
Commits on May 19, 2012
  1. Refactored input validation for String#squeeze and String#delete in 1.9.

    antekpiechnik committed May 19, 2012
    Moved the validation to String#count_tables from String#squeeze and String#delete
    respectively and separated its implementations for both 1.8 and 1.9.
  2. Added specs to cover different behaviour of String#count_table in 1.8…

    antekpiechnik committed May 19, 2012
    … and 1.9.
    
    Specs that had illegal input have been separated into two ruby versions, and
    respective valid-input cases have been provided for both versions.
  3. fixed Rake deprecation warning

    nazgob committed May 18, 2012
  4. Define the prototype of rb_cvar_set_internal

    ryoqun committed May 19, 2012
    This suppresses a following warning by running specs with Rubinius built by
    clang:
    
      spec/ruby/optional/capi/ext/class_spec.c:108:2: warning:
        implicit declaration of function 'rb_cvar_set_internal' is invalid in C99
          [-Wimplicit-function-declaration]
            rb_cvar_set(klass, rb_intern(StringValuePtr(name)), val);
            ^
      vm/capi/19/include/ruby/ruby.h:1096:23: note: expanded from:
        #define rb_cvar_set   rb_cvar_set_internal
                              ^
      1 warning generated.
  5. Make some Zlib::ZStream methods private

    IPGlider committed May 19, 2012
    These methods should't be public, there are more methods that shouldn't
    be public but they need more work or is not currently possible.
  6. Remove Zlib::ZStream#detach_input & #detach_output

    IPGlider committed May 19, 2012
    These methods where called directly by #flush_next_in and #flush_next_out
    and are not in MRI so let's remove them for the sake of consistency.
Commits on May 18, 2012
  1. Fix indent..

    ryoqun committed May 18, 2012
Commits on May 17, 2012
  1. Wrap condition in curlies.

    ileitch committed May 17, 2012
  2. Merge pull request #1732 from antekpiechnik/specs_typo_fix

    nazgob committed May 17, 2012
    Corrected a typo in Float#to_s spec description
  3. Fixed invalid spec descriptions for Float#to_s

    antekpiechnik committed May 17, 2012
    Instead of *decimal places* we should use *significant figures* to describe
    the number of digits that carry meaning contributing to precision of those numbers.
    
    http://en.wikipedia.org/wiki/Significant_figures
    
    I think :)
  4. Merge pull request #1731 from antekpiechnik/string_delete_fixes

    nazgob committed May 17, 2012
    String#delete raises ArgumentError if the given ranges are invalid in 1....