Sha256: d4fdc1e63f683ffe25597e0dd4c6b5d13d4e5e7ec8321bd618bd9d6bcd51d394

Contents?: true

Size: 308 Bytes

Versions: 17

Compression:

Stored size: 308 Bytes

Contents

if RUBY_VERSION == "1.8.7" # fix interaction between Ruby 187 and Rails 202, so we can at least run the test suite on that combination
  unless '1.9'.respond_to?(:force_encoding)
    String.class_eval do
      begin
        remove_method :chars
      rescue NameError
        # OK
      end
    end
  end
end

Version data entries

17 entries across 17 versions & 5 rubygems

Version Path
relevance-tarantula-0.1.6 lib/relevance/core_extensions/string_chars_fix.rb
relevance-tarantula-0.1.7 lib/relevance/core_extensions/string_chars_fix.rb
relevance-tarantula-0.1.8 lib/relevance/core_extensions/string_chars_fix.rb
relevance-tarantula-0.2.0 lib/relevance/core_extensions/string_chars_fix.rb
relevance-tarantula-0.2.1 lib/relevance/core_extensions/string_chars_fix.rb
relevance-tarantula-0.3.2 lib/relevance/core_extensions/string_chars_fix.rb
relevance-tarantula-0.3.3 lib/relevance/core_extensions/string_chars_fix.rb
romanbsd-tarantula-0.1.8 lib/relevance/core_extensions/string_chars_fix.rb
romanbsd-tarantula-0.2.0 lib/relevance/core_extensions/string_chars_fix.rb
tarantula-0.4.2 lib/relevance/core_extensions/string_chars_fix.rb
tarantula-0.4.1 lib/relevance/core_extensions/string_chars_fix.rb
tarantula-0.4.0 lib/relevance/core_extensions/string_chars_fix.rb
tarantula-rails3-0.3.3 lib/relevance/core_extensions/string_chars_fix.rb
panmind-tarantula-0.3.3 lib/relevance/core_extensions/string_chars_fix.rb
tarantula-0.3.3 lib/relevance/core_extensions/string_chars_fix.rb
tarantula-0.2.0 lib/relevance/core_extensions/string_chars_fix.rb
tarantula-0.1.8 lib/relevance/core_extensions/string_chars_fix.rb