Permalink
Switch branches/tags
Nothing to show
Commits on Mar 8, 2016
  1. Cleanup info.plist

    infininight committed Mar 8, 2016
    Remove outdated keys.
  2. Add refinement methods

    elifoster committed with infininight Nov 20, 2015
    Add support for the refinement methods using and refine.
  3. Distinguish :: separators for methods/constants

    nikhilofthesouth committed with infininight May 23, 2015
    `::` isn't always a method separator in ruby, it also allows you to access module hierarchies and other constants. Constants are signified by starting with a capital letter.
    
    Discussed in atom/language-ruby#101
  4. Fix require special highlighting on method calls

    nikhilofthesouth committed with infininight May 22, 2015
    `require` should only be highlighted as a special method if it's not called on an object. Use negative look-behind to check if it's preceded by `.` or `::`.
    
    Discussed in atom/language-ruby#100
  5. Fix comparable operator symbol highlighting

    nikhilofthesouth committed with infininight May 19, 2015
    Now correctly matches `:<=>` instead of only matching the `:<=` portion.
  6. Support Emacs file mode comments

    tobiashm committed with infininight Apr 13, 2015
    Files starting with a comment line of the form:
    
        # -*- ruby -*-
    
    should be recognized as Ruby source. This “standard” originates from [Emacs], but is also used by others.
    
    [Emacs]: http://www.gnu.org/software/emacs/manual/html_node/emacs/Choosing-Modes.html
  7. Support &&= as augmented assignment

    Agent Antelope committed with infininight Nov 27, 2014
    This is to match ||=, |=, and &=.
  8. Allow symbols to start with $

    infininight committed Mar 8, 2016
    Discussed in atom/language-ruby#59. Handled in a different manner to only allow `$` as the first character similar to `@` usage.
  9. Change iterator? to `keyword.control.pseudo-method`

    hgoodman committed with infininight Feb 14, 2016
    This is to better match the scope given to `block_given?` which is synonymous with `iterator?` (although "mildly deprecated" according to Ruby docs). Discussed in atom/language-ruby#136
  10. Correct matching of autoload?, iterator?, and exit!

    infininight committed Mar 8, 2016
    A word boundary at the end of this match was preventing the rule from matching correctly.
  11. Allow ^ and !~ as method names

    infininight committed Mar 8, 2016
    Mentioned in atom/language-ruby#23, list taken from [method syntax documentation](http://ruby-doc.org/core-2.3.0/doc/syntax/methods_rdoc.html).
Commits on Feb 21, 2016
  1. Add support for <<~ heredocs

    GBH committed with infininight Feb 20, 2016
    Fixes #91
  2. Support old-style hashes without spaces before/after `=>`

    noniq committed with infininight Jan 19, 2016
    The spaces are optional (for example, `pp` generates hashes without spaces around `=>`).
  3. Add puppetfile and fix definition of capfile

    Ma27 committed with infininight Dec 25, 2015
    puppetfile should be supported as custom type
    capfile should be uppercase as capistrano auto-generates a file called "Capfile" and not "capfile" which causes mismatches
Commits on Oct 26, 2015
  1. Match argument names on the second line of definition

    infininight committed Oct 26, 2015
    An error in the previous regular expression was preventing the first argument of successive lines of a definition from being matched unless they were at the very beginning of the line. Fixed by strictly matching the beginning of the argument.
    
    Fixes #87 as first mentioned in github/linguist#2692.
Commits on Sep 19, 2015
  1. Embedded code snippet (#{}) functions in percent literals

    infininight committed Sep 19, 2015
    Only in the ones that allow interpolation of course.
  2. Improve scoping of regular expression components

    infininight committed Sep 19, 2015
    This better lines up with the scopes given in other languages to these items.
  3. Overhaul matching of percent delimited literals

    infininight committed Sep 16, 2015
    This adds new types and improves the scoping to better match the contents, includes several test cases in a new test file.
    
    One limitation I am aware of is that `%q foo ` is not recognized as a string when it should be. Allowing whitespace as a delimiter though adds a lot of ambiguity I don't think is worth getting into.
    
    Based on patches from @pelargir, @noniq, and @elia, thanks to @elia for testing help. Fixes #41.
Commits on Sep 14, 2015
  1. Add command to run script in Terminal

    TimothyXu committed with infininight Mar 29, 2015
    Executes the current script. Defaults to running in Terminal.app but will use iTerm instead if it is already running. Can also be customized using the `TM_TERMINAL` variable set to `iTerm`. Also respects the `TM_RUBY` variable.