Skip to content
Commits on May 24, 2008
Commits on May 21, 2008
  1. • Revert of r9642 and r9632.

    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://macromates.com/svn/Bundles/trunk/Bundles/Ruby.tmbundle@9643 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
    ldaley committed May 21, 2008
  2. • Fix handling of script's with hashbangs.

    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://macromates.com/svn/Bundles/trunk/Bundles/Ruby.tmbundle@9642 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
    ldaley committed May 21, 2008
Commits on May 20, 2008
  1. • Update ScriptMate to use new TextMate::Process.run() API.

    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://macromates.com/svn/Bundles/trunk/Bundles/Ruby.tmbundle@9632 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
    ldaley committed May 20, 2008
Commits on May 3, 2008
  1. Switch from the directory name Test to Tests.

    git-svn-id: http://macromates.com/svn/Bundles/trunk/Bundles/Ruby.tmbundle@9502 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
    msheets committed May 3, 2008
Commits on Apr 10, 2008
  1. Fixing a Ruby syntax parsing bug where a no argument method followed …

    …by a commit on the same line (like RDoc's # :nodoc:) would cause the next line to be parsed as arguments. This was really screwing up how TM was parsing the source code for Rails.
    
    git-svn-id: http://macromates.com/svn/Bundles/trunk/Bundles/Ruby.tmbundle@9362 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
    JEG2 committed Apr 10, 2008
Commits on Mar 5, 2008
  1. A minor readability patch from Robert Fuchs.

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

    …fferently than Tiger.
    
    git-svn-id: http://macromates.com/svn/Bundles/trunk/Bundles/Ruby.tmbundle@9048 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
    JEG2 committed Mar 4, 2008
Commits on Feb 28, 2008
  1. Support embedded SQL in heredocs marked by an <<-SQL token

    git-svn-id: http://macromates.com/svn/Bundles/trunk/Bundles/Ruby.tmbundle@9022 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
    ciaran committed Feb 28, 2008
Commits on Feb 22, 2008
  1. The require completion would fail if there was an entry in $LOAD_PATH…

    … which did not exist
    
    git-svn-id: http://macromates.com/svn/Bundles/trunk/Bundles/Ruby.tmbundle@8979 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
    ciaran committed Feb 22, 2008
Commits on Feb 18, 2008
  1. Fixing a syntax highlighting bug by removing an unneeded rule. This s…

    …yntax is only allowed in method definitions and is covered by those grammar rules. Bug reported by Malesca and fixed by Eridius.
    
    git-svn-id: http://macromates.com/svn/Bundles/trunk/Bundles/Ruby.tmbundle@8945 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
    JEG2 committed Feb 18, 2008
Commits on Feb 4, 2008
Commits on Dec 1, 2007
  1. • use #!/bin/sh as shebang for “Ruby → Run” and “TextMate → Relaunch”.

    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://macromates.com/svn/Bundles/trunk/Bundles/Ruby.tmbundle@8572 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
    duff committed Dec 1, 2007
Commits on Nov 15, 2007
Commits on Nov 13, 2007
  1. Relaxing the scope of this command so it will work inside interpolate…

    …d Strings. This may cause problems with some ERb templates, but we're deferring that fix until the scopes for Ruby are improved.
    
    git-svn-id: http://macromates.com/svn/Bundles/trunk/Bundles/Ruby.tmbundle@8444 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
    JEG2 committed Nov 13, 2007
Commits on Nov 7, 2007
  1. Supporting method arguments when parentheses aren't used and optimizi…

    …ng the related rules.
    
    git-svn-id: http://macromates.com/svn/Bundles/trunk/Bundles/Ruby.tmbundle@8411 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
    JEG2 committed Nov 7, 2007
Commits on Oct 29, 2007
  1. Bringing the tab-trigger to name relationship of these snippets in li…

    …ne with the bundle conventions.
    
    git-svn-id: http://macromates.com/svn/Bundles/trunk/Bundles/Ruby.tmbundle@8361 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
    JEG2 committed Oct 29, 2007
  2. Fixing the bug Malesca reported where assert_match //, … wasn't synta…

    …x highlighted correctly.
    
    git-svn-id: http://macromates.com/svn/Bundles/trunk/Bundles/Ruby.tmbundle@8360 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
    JEG2 committed Oct 29, 2007
Commits on Oct 23, 2007
  1. An enhanced version of the Ruby bundle's Open Require command by ph^.…

    … This new version can pick up requires anywhere in the file and has better support for RubyGems. Much of this command was inspired by the PHP version created by ciaran.
    
    git-svn-id: http://macromates.com/svn/Bundles/trunk/Bundles/Ruby.tmbundle@8329 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
    JEG2 committed Oct 23, 2007
Commits on Oct 19, 2007
  1. Making the argument parsing of this snippet smarter.

    git-svn-id: http://macromates.com/svn/Bundles/trunk/Bundles/Ruby.tmbundle@8314 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
    JEG2 committed Oct 19, 2007
  2. Mirroring Jacob's change in the Ruby bundle.

    git-svn-id: http://macromates.com/svn/Bundles/trunk/Bundles/Ruby.tmbundle@8313 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
    JEG2 committed Oct 19, 2007
  3. Updating this command's string order. The default string of the Ruby …

    …bundle is "…" to support interpolation. Logically '…' should be the second most popular and thus "…" strings should convert to '…'. Beyond that, I want to support %Q{…} for complex quoting scenarios. This is preferable to the %q{…} which adds very little over '…' and doesn't support interpolation.
    
    git-svn-id: http://macromates.com/svn/Bundles/trunk/Bundles/Ruby.tmbundle@8310 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
    JEG2 committed Oct 19, 2007
  4. • revert my previous (accidental) commit (where the ‘rb’ extension wa…

    …s moved to the Rails grammar)
    
    git-svn-id: http://macromates.com/svn/Bundles/trunk/Bundles/Ruby.tmbundle@8307 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
    duff committed Oct 19, 2007
  5. • use TM_FULLNAME instead of TM_USERNAME in all templates and remove …

    …the setup of TM_USERNAME from the template script/helper
    
    git-svn-id: http://macromates.com/svn/Bundles/trunk/Bundles/Ruby.tmbundle@8306 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
    duff committed Oct 19, 2007
Commits on Oct 14, 2007
  1. Change keyword.control.ruby.start-block to keyword.control.start-bloc…

    …k.ruby
    
    git-svn-id: http://macromates.com/svn/Bundles/trunk/Bundles/Ruby.tmbundle@8288 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
    msheets committed Oct 14, 2007
Commits on Oct 11, 2007
  1. Bringing this tab trigger inline with our convention.

    git-svn-id: http://macromates.com/svn/Bundles/trunk/Bundles/Ruby.tmbundle@8281 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
    JEG2 committed Oct 11, 2007
  2. A minor menu order change.

    git-svn-id: http://macromates.com/svn/Bundles/trunk/Bundles/Ruby.tmbundle@8280 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
    JEG2 committed Oct 11, 2007
  3. Cleaning up the order of items in the Ruby bundle when viewed in the …

    …editor.
    
    git-svn-id: http://macromates.com/svn/Bundles/trunk/Bundles/Ruby.tmbundle@8279 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
    JEG2 committed Oct 11, 2007
Commits on Oct 10, 2007
  1. Removing an ancient template that serves no purpose. Use ⌘N, ⌃⌥⇧E, rb…

    …⇥ instead.
    
    git-svn-id: http://macromates.com/svn/Bundles/trunk/Bundles/Ruby.tmbundle@8275 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
    JEG2 committed Oct 10, 2007
  2. Applying Infininight's fix to the issue reported by Malesca where emb…

    …edded Ruby source, say in an RHTML file, could sometimes receive improper syntax highlighting. All $base references have been switched to $self (allan prefers this to source.ruby).
    
    git-svn-id: http://macromates.com/svn/Bundles/trunk/Bundles/Ruby.tmbundle@8274 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
    JEG2 committed Oct 10, 2007
Commits on Oct 7, 2007
  1. Trying a workaround for the issue Allan reported with RubyMate where …

    …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://macromates.com/svn/Bundles/trunk/Bundles/Ruby.tmbundle@8267 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
    JEG2 committed Oct 7, 2007
Commits on Sep 22, 2007
  1. [NEW] The documentation command now supports fastri. If you want fast…

    …er and more accurate documentation for Ruby, just install fastri (sudo gem install fastri) and build the index used by the qri command (fastri-server -b).
    
    git-svn-id: http://macromates.com/svn/Bundles/trunk/Bundles/Ruby.tmbundle@8200 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
    JEG2 committed Sep 22, 2007
Commits on Sep 13, 2007
  1. Adding the not operator as one of the things that can preceed a regul…

    …ar expression in the Ruby grammar.
    
    git-svn-id: http://macromates.com/svn/Bundles/trunk/Bundles/Ruby.tmbundle@8157 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
    JEG2 committed Sep 13, 2007
Commits on Sep 10, 2007
  1. Bringing this tab trigget inline with our convention.

    git-svn-id: http://macromates.com/svn/Bundles/trunk/Bundles/Ruby.tmbundle@8139 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
    JEG2 committed Sep 10, 2007
  2. Simplifying the code for these snippets.

    git-svn-id: http://macromates.com/svn/Bundles/trunk/Bundles/Ruby.tmbundle@8138 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
    JEG2 committed Sep 10, 2007
Something went wrong with that request. Please try again.