Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Aug 21, 2011
  1. @infininight
Commits on Dec 3, 2010
  1. @stonefield
  2. @stonefield

    Cleaned up run_file, by removing redundant code, fixed path_to_chunk,…

    stonefield authored
    … and added nicer formatting for shoulda errors
Commits on Nov 18, 2010
  1. @sorbits

    Improve htmlizer for ri output.

    sorbits authored
    We now show most text in <pre> since it is clearly intended for that.
    
    We break out the headings (and put in <h2>), replace dividers with <hr> and a few other things in addition to making method and class names into links.
Commits on Nov 29, 2009
  1. A first pass at a much smarter block toggling command. It's now able …

    authored
    …to cope with scenarios like braces inside a String literal and it properly handles some nesting. This restores the command to working order after it broke due to an Oniguruma update in the last TextMate update.
Commits on Jul 22, 2009
  1. @simongregory
Commits on Jun 8, 2009
  1. A patch from Paul Ingles that fixes some broken relative paths when t…

    JEG2 authored
    …esting inside Rails 2.3.2.
    
    git-svn-id: http://svn.textmate.org/trunk/Bundles/Ruby.tmbundle@11602 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
Commits on Jun 2, 2009
Commits on May 8, 2009
  1. Updating the documentation command to support ri's changed format for…

    authored
    … ambiguous selections in Ruby 1.9.
    
    git-svn-id: http://svn.textmate.org/trunk/Bundles/Ruby.tmbundle@11525 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
Commits on Mar 23, 2009
Commits on Mar 22, 2009
Commits on Feb 5, 2009
  1. A fix for non-existance filename errors in RubyMate when formatting b…

    authored
    …acktraces inside a test. Patch from Stonefield.
    
    git-svn-id: http://svn.textmate.org/trunk/Bundles/Ruby.tmbundle@11237 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
Commits on Jan 16, 2009
  1. RubyMate patch to fix links to eval() in a stack trace. Patch by Elli…

    authored
    …ot Winkler.
    
    git-svn-id: http://svn.textmate.org/trunk/Bundles/Ruby.tmbundle@11113 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
Commits on Jan 4, 2009
  1. Adding encoding comments to the Bundles directory where needed. Patch…

    authored
    … from Dave Thomas.
    
    git-svn-id: http://svn.textmate.org/trunk/Bundles/Ruby.tmbundle@11072 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
Commits on Jan 3, 2009
  1. This is a first attempt at getting the Ruby Run command working on 1.…

    authored
    …9 (while keeping 1.8 support). I doubt I have located all of the edge cases yet, but it seems to be running simple scripts for me now, with and without errors in them.
    
    I'm not sure if this is the best way to handle encoding, since I'm forcing a -KU on the executed code in both 1.8 and 1.9 now.  This should just change the default source encoding for 1.9 and hopefully not break code since that's user overridable.  It's probably more hostile in Ruby 1.8, but our executor library was already doing this in a different way.  If you don't like this policy, email me suggestions.
    
    
    git-svn-id: http://svn.textmate.org/trunk/Bundles/Ruby.tmbundle@11067 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
Commits on Sep 17, 2008
  1. @lasersox

    • Let Executor handle default output. Eg. don't touch script output u…

    lasersox authored
    …nless we are a test script and type == :out.
    
    • Refactor code to expect lines, as Executor provides lines to the block.
    • Fix the way untitled files are handled, the executor block was looking for ‘-’ but that token hasn't been used since scriptmate.
    • Fix the formatting of test output; there were missing </a> tags.
    • Fix test script detection.  If the “require test/unit” came at the start of the script it would fail.
    
    
    
    git-svn-id: http://svn.textmate.org/trunk/Bundles/Ruby.tmbundle@10581 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
Commits on Aug 29, 2008
Commits on Aug 28, 2008
Commits on Aug 16, 2008
  1. @sorbits

    • setup a special channel (pipe) for “local echo” (that is, text ente…

    sorbits authored
    …red into the dialog which shows when the process reads from stdin) and make text read from this channel be shown in italic.
    
    git-svn-id: http://svn.textmate.org/trunk/Bundles/Ruby.tmbundle@10452 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
Commits on Jul 24, 2008
  1. Refactoring Run focused unit test so it no longer needs to save the c…

    authored
    …urrent file.
    
    git-svn-id: http://svn.textmate.org/trunk/Bundles/Ruby.tmbundle@10324 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
Commits on Jul 23, 2008
Commits on Jul 22, 2008
  1. Fixing things so you can run unit tests in Rails 2.1 in some cases. R…

    authored
    …un Focused Unit Test is still broken there, for reasons I haven't fully figured out yet. I'm working on it…
    
    git-svn-id: http://svn.textmate.org/trunk/Bundles/Ruby.tmbundle@10301 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
  2. @alkemist
Commits on Jun 20, 2008
  1. @alkemist

    • Transitioned from scriptmate to TextMate::Executor.run().

    alkemist authored
    Every attempt was made to preserve the original logic.
    
    git-svn-id: http://svn.textmate.org/trunk/Bundles/Ruby.tmbundle@9980 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
Commits on Jun 11, 2008
  1. @lasersox

    • Check for TM_SCRIPT_IS_UNTITLED when formatting exceptions, to avoi…

    lasersox authored
    …d pointing at the temporary file scriptmate uses when running unsaved buffers.
    
    git-svn-id: http://svn.textmate.org/trunk/Bundles/Ruby.tmbundle@9895 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
  2. @lasersox

    • Update PHP, Ruby, Perl, and Python runners to reflect changes in sc…

    lasersox authored
    …riptmate.rb. Namely, add the default_extension method to each class inheriting from UserScript so that ScriptMate will know what extension to use when creating temporary files.
    
    git-svn-id: http://svn.textmate.org/trunk/Bundles/Ruby.tmbundle@9890 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
  3. @sorbits

    • remove the (old) stdin overload — the new stuff though requires ble…

    sorbits authored
    …eding-edge builds, which require you to manually hold ⌥ when doing “Check Now”. There will seen be a new minor build (knock on wood)
    
    git-svn-id: http://svn.textmate.org/trunk/Bundles/Ruby.tmbundle@9888 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
Commits on May 21, 2008
  1. @alkemist

    • Revert of r9642 and r9632.

    alkemist authored
    Backing out the usage of TextMate::Process.run(). Not running the command through shell expansion before executing caused unforeseen problems. The scriptmate API needs a thorough revamp which is going to necessitate (maybe dramatically) changing the all of the clients. Stay tuned.
    
    
    git-svn-id: http://svn.textmate.org/trunk/Bundles/Ruby.tmbundle@9643 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
  2. @alkemist

    • Fix handling of script's with hashbangs.

    alkemist authored
    If the script contains a hashbang, we use that to form the basis of the command to launch the script (but still append any additional args). To do this, we run Shellwords over the hashbang instead of calling `executable`. The python and ruby scriptmates have been updated to be compatible with this change.
    
    
    git-svn-id: http://svn.textmate.org/trunk/Bundles/Ruby.tmbundle@9642 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
Commits on May 20, 2008
  1. @alkemist

    • Update ScriptMate to use new TextMate::Process.run() API.

    alkemist authored
    The previous implementation of scriptmate passed a single string to exec(). This version aims to be safer by passing an array of components that make up the command and as a result not be subject to shell expansion. The Ruby and Python scriptmate implementations either relied upon or catered for shell expansion so they had to be modified.
    
    
    git-svn-id: http://svn.textmate.org/trunk/Bundles/Ruby.tmbundle@9632 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
Commits on Mar 5, 2008
  1. A minor readability patch from Robert Fuchs.

    authored
    git-svn-id: http://svn.textmate.org/trunk/Bundles/Ruby.tmbundle@9051 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
Commits on Mar 4, 2008
  1. Adding a workaround for Leopard where Bash's built-in echo behaves di…

    authored
    …fferently than Tiger.
    
    git-svn-id: http://svn.textmate.org/trunk/Bundles/Ruby.tmbundle@9048 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
Commits on Dec 1, 2007
  1. @sorbits

    • use #!/bin/sh as shebang for “Ruby → Run” and “TextMate → Relaunch”.

    sorbits authored
    This is to prevent running ‘Support/lib/bash_init.sh’ which sets up RUBYLIB. Having RUBYLIB set to include Support/lib means users who run scripts that require libraries named the same as those we have in TextMate will likely get the wrong one.
    
    Very few commands actually make use of the fact that RUBYLIB is set, so maybe we should edit ‘bash_init.sh’ to simply not set it, although I am waiting with such change till after next build, so we have time to thoroughly test that everything still works.
    
    The downside by this change is that running a ruby script in TM intended to be used by a TM command, now require TM support libraries to be included using the full path (or the Support/lib folder be added to the include path).
    
    On that note, RubyMate/stdin_dialog.rb had to be updated to do so, since it is indirectly loaded when running scripts (now in an environment w/o Support/lib in RUBYLIB).
    
    
    git-svn-id: http://svn.textmate.org/trunk/Bundles/Ruby.tmbundle@8572 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
Commits on Oct 7, 2007
  1. Trying a workaround for the issue Allan reported with RubyMate where …

    authored
    …we prompt for user input when an unsaved script has data in the __END__ section. We now only prompt for input when our stream does not have pending data.
    
    git-svn-id: http://svn.textmate.org/trunk/Bundles/Ruby.tmbundle@8267 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
Something went wrong with that request. Please try again.