…een 1.8 and 1.9.
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.
… 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.
…squeeze in 1.9
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.
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.