Sha256: 94ed8683e337294d94843e9af76fff5222da04c69f3cf0e69744955fed816f62

Contents?: true

Size: 1.05 KB

Versions: 2

Compression:

Stored size: 1.05 KB

Contents

# Hacking RVM
module RVM
  module Shell
    class AbstractWrapper
      def raw_stdout_to_parts(c)
        raise IncompleteCommandError if !command_complete?(c)
        before, after = c.split(COMMAND_EPILOG_START, 2)
        epilog, after = after.split(COMMAND_EPILOG_END, 2)
        # HACK .. need to apply gsub to prevent yaml-related error
        return before, YAML.load(epilog.strip.gsub("\\\"\n","\"\n")), after
      end
    end
  end
end

# See http://github.com/tomas-stefano/infinity_test/wiki/Customize-Infinity-Test
infinity_test do

  # Sets bacon mute to avoid excessive noise that makes it hard to pinpoint errors
  ENV['MUTE_BACON'] = 'true'

  use \
    :test_framework => :bacon,
    :rubies => %w(
      ruby-1.8.6-p399@parsetree
      ruby-1.8.7-p302
      ree-1.8.7-2010.02
      ruby-1.9.2-p0
      jruby-1.5.3
    )
# NOTE: Right now, 1.9.1 fails due to a marshalling bug.
#    :rubies => %w(
#      ruby-1.8.6-p399@parsetree
#      ruby-1.8.7-p302
#      ree-1.8.7-2010.02
#      ruby-1.9.1-p378
#      ruby-1.9.2-p0
#      jruby-1.5.3
#    )
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
cross-stub-0.2.4 .infinity_test
cross-stub-0.2.3 .infinity_test