Skip to content
Commits on Feb 15, 2011
  1. added snippets for Test::Unit 2.2.0 assertions

    I dumped the bulk of these snippets by cooking up the following in IRB.
    I then adjusted the corner cases and existing snippet conflicts by hand.
    
    gem 'test-unit', '>= 2.2.0'
    require 'test/unit'
    (assertions = Test::Unit::Assertions).instance_methods.map do |name|
      abbr = name.to_s.split('_').map {|w| w[0, w == 'assert' ? 2 : 1] }.join
      File.open(abbr + '.snippet', 'w') do |snippet|
        snippet.puts [name,
          assertions.instance_method(name).parameters.
          select {|type, param| type == :req }.each_with_index.
          map {|(type,param),idx| "${#{idx.next}:#{param}}" }.join(', ')
        ].join(' ')
      end
    end
    Suraj N. Kurapati committed Feb 15, 2011
Commits on Feb 14, 2011
  1. @scrooloose
Commits on Feb 8, 2011
  1. @kalkin @scrooloose

    Added try catch snippet for php

    kalkin committed with scrooloose Nov 22, 2010
  2. @jarmo @scrooloose

    detect correctly Windows OS

    work with pathogen.vim too
    jarmo committed with scrooloose Dec 24, 2010
Commits on Dec 9, 2010
  1. @mikem
  2. @mikem

    Simplify RSpec require

    Also enhance RubyClassNameFromFilename to strip out _spec suffixes.
    mikem committed Nov 10, 2010
Commits on Nov 8, 2010
  1. @jcf @scrooloose
  2. @kalkin @scrooloose
Commits on Aug 24, 2010
  1. @scrooloose

    fix the lorem snippet

    scrooloose committed Aug 25, 2010
Commits on Jun 12, 2010
  1. @scrooloose

    fix the eruby/unlesse snippet

    scrooloose committed Jun 12, 2010
Commits on Jun 3, 2010
  1. @brianjriddle

    added snippets for xslt

    brianjriddle committed Jun 3, 2010
Commits on Dec 17, 2009
  1. @joaovitor @scrooloose
  2. @joaovitor @scrooloose
  3. @enriquez @scrooloose
  4. @enriquez @scrooloose
Commits on Nov 25, 2009
  1. @scrooloose

    add sshconfig/host snippet

    scrooloose committed Nov 26, 2009
Commits on Aug 21, 2009
  1. @scrooloose

    fix rakefile to recognize the home directory

    Signed-off-by: Martin Grenfell <martin_grenfell@msn.com>
    Antonio Lorusso committed with scrooloose Aug 19, 2009
Commits on Aug 18, 2009
  1. @kris7t @scrooloose

    refactor Rakefile

    * FileUtils instead of shell commands
    * directory name not hard-coded any more
    * support for Microsoft Windows
    * user can choose the install directory by setting the VIMFILES enviromental variable
    
    Signed-off-by: Martin Grenfell <martin_grenfell@msn.com>
    kris7t committed with scrooloose Aug 14, 2009
Commits on Aug 8, 2009
  1. @fishman @scrooloose

    added content_tag snippet

    Signed-off-by: Martin Grenfell <martin_grenfell@msn.com>
    fishman committed with scrooloose Jul 17, 2009
  2. @scrooloose

    Added rest of Shoulda's activerecord helper methods. Renamed some sni…

    …ppet variables.
    
    Signed-off-by: Reza Jelveh <toyb0mb@gmx.net>
    
    Signed-off-by: Martin Grenfell <martin_grenfell@msn.com>
    Jason Ong committed with scrooloose May 29, 2009
  3. @scrooloose

    Added snippets for some shoulda helper methods.

    Signed-off-by: Reza Jelveh <toyb0mb@gmx.net>
    
    Signed-off-by: Martin Grenfell <martin_grenfell@msn.com>
    Jason Ong committed with scrooloose May 29, 2009
  4. @fishman @scrooloose

    more fixes to the method snippet

    Signed-off-by: Martin Grenfell <martin_grenfell@msn.com>
    fishman committed with scrooloose Jun 3, 2009
  5. @fishman @scrooloose

    fix bug by adding text in the snippet placeholder

    Signed-off-by: Martin Grenfell <martin_grenfell@msn.com>
    fishman committed with scrooloose May 18, 2009
  6. @fishman @scrooloose

    fix issue with if snippet

    Signed-off-by: Martin Grenfell <martin_grenfell@msn.com>
    fishman committed with scrooloose Jul 29, 2009
  7. @fishman @scrooloose

    add before_filter

    Signed-off-by: Martin Grenfell <martin_grenfell@msn.com>
    fishman committed with scrooloose Jun 22, 2009
  8. @fishman @scrooloose

    fix mccc snippet

    Signed-off-by: Martin Grenfell <martin_grenfell@msn.com>
    fishman committed with scrooloose Jun 22, 2009
  9. @fishman @scrooloose

    changed m objc snippet

    Signed-off-by: Martin Grenfell <martin_grenfell@msn.com>
    fishman committed with scrooloose Jun 3, 2009
  10. @zuf @scrooloose

    Some formattings change

    Signed-off-by: Martin Grenfell <martin_grenfell@msn.com>
    zuf committed with scrooloose Jul 23, 2009
Commits on Jul 22, 2009
  1. @zuf @scrooloose

    Fix for ffl

    Signed-off-by: Martin Grenfell <martin_grenfell@msn.com>
    zuf committed with scrooloose Jul 22, 2009
  2. @zuf @scrooloose

    Translate snippets from eruby to haml

    Signed-off-by: Martin Grenfell <martin_grenfell@msn.com>
    zuf committed with scrooloose Jul 22, 2009
  3. @zuf @scrooloose

    Add haml snippets (translation from eruby-rails)

    Signed-off-by: Martin Grenfell <martin_grenfell@msn.com>
    zuf committed with scrooloose Jul 22, 2009
Commits on Jul 3, 2009
  1. @scrooloose
Commits on Jun 23, 2009
  1. @scrooloose
  2. @scrooloose
  3. @halorgium @scrooloose

    Fix the rspec 'it' snippet

    Signed-off-by: Martin Grenfell <martin_grenfell@msn.com>
    halorgium committed with scrooloose Jun 24, 2009
Something went wrong with that request. Please try again.