Add ruby-on-rails text mate bundle

This commit is contained in:
Nathan Sobo
2012-09-28 17:28:25 -06:00
parent 3a8fe2b24e
commit 9b8a73d4ed
351 changed files with 18290 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
config/*.yml
website/dist
.DS_Store

View File

@@ -0,0 +1,36 @@
== Rails Bundle 1.0 -> 2.0 SOON
This bundle is (c) 2006 syncPEOPLE, LLC.
As of version 1.0, it is distributed under the terms of the MIT License.
http://syncpeople.com/ - We develop social interaction tools for online and real-world conferences and events.
== Maintained by ==
Dr Nic Williams
drnicwilliams@gmail.com
http://drnicwilliams.com
== Created by ==
Duane Johnson
duane.johnson@gmail.com
http://blog.inquirylabs.com/
== Contributors (no doubt missing many) ==
Sami Samhuri
James Edward Grey II
Michael Sheets
Allan Odgaard
Cliff Matthews
Kent Siblev
Stephen Touset
Lawrence Pit
Dean Strelau
Daniel Kristensen
Simon Jefford
James Deville
Stephen Bannasch
Tom Morris
David Lowenfels
Sam Granieri
Jacob Swanner
Steve Ross
Charles Roper

View File

@@ -0,0 +1,109 @@
[Edge] Trundle to Rails 2.0 Bundle
Ruby on Rails bundle maintenance has been taken over by Dr Nic Williams from its initial legendary creator Duane Johnson.
See git branch two_point_ooh for initial drive to upgrade bundle for Rails 2.0 conventions (http://github.com/drnic/ruby-on-rails-tmbundle/tree/two_point_ooh)
Added so far:
* Snippets/Commands for:
* Tests
* assert_select (ass)
* assert_difference/assert_no_difference (asd/asnd)
* GET+POST test method stubs (deftg+deftp)
* posts(:) + Alt+Esc allows you to select a posts.yml fixture
* Controllers
* respond_to (rest) and respond_to(html) (Shift+Cmd+H)
* 'Go To View' within a respond_to will use the format/wants type as the default
* REMOVED: render_component snippets
* loggers - pass a block instead of raw string to save time if
logging not used (e.g. production) [Stephen Touset]
* redirect_to for resource paths (rep, repp, renp, renpp)
* render :update (ru) [Simon Jefford]
* Views
* form_for and form_for(with errors) (ff,ffe)
* Various form_for helpers in a drop-down list, e.g. f.text_field (f.)
* Various form_for helpers with own tab completion, e.g. f.text_field (fftf)
* link_to for resource paths (lip, lipp, linp, linpp)
* <% end -%> (end)
* for-loop (for)
* link_to(@model.name, @model) (ltm)
* Layouts
* javascript_include_tag - jit
* stylesheet_link_tag - slt
* Models
* has_many :through (hmt)
* association snippets give better defaults (e.g. bt + hm)
* validates_format_of (vf,vfif) [Dean Strelau]
* validates_numericality_of (vn,vnif) [Tom Morris]
* before/after callbacks (prefix bef/aft + 1st letter of words) [Sam Granieri]
* Migrations
* Sexy Migrations now available as "t." snippets and regular snippets [Lawrence Pit]
* Migration classes have own textmate scope
* Add/Remove Columns - the 'down' statements are in reverse
order [Lawrence Pit, Daniel Kristensen]
* Added 'Redo Last Migration' [Simon Jefford]
* Functional Tests
* assert_redirect_to for resource paths (artp, artpp, artnp, artnpp)
* assert(assigns(:model)) (asg)
* Routes
* named routes, resources snippets (map, mapr, maprs)
* catch_all (mapca) [Sam Granieri]
* Active Support
* cattr_accessor/mattr_accessor (crw/mrw) [Jacob Swanner]
* returning (returning) [Jacob Swanner]
* Language/Syntax
* New keywords: rescue_from, alias_method_chain, alias_attribute, delegate, respond_to [David Lowenfels, Jacob Swanner]
* Added rb as a valid Rails file type [James Deville]
* Commands
* Auto-completion for Foxy Fixtures
* html.erb is the default for new templates (backwards compatibility
is being worked on too)
* 'Go To XXX' - available for wide range of permutations.
Fixtures -> Models; Models -> Controllers, etc
* haml is a valid file extension [Steve Ross]
* specify alternate default file extensions for: [Steve Ross]
* javascript - ENV['RAILS_JS_EXT']
* stylesheet - ENV['RAILS_CSS_EXT']
* view - ENV['RAILS_VIEW_EXT']
* 'Call Generate Script' now accesses all a project's generators
* Plugins
* Footnote
* footnote-edge uses .erb for templates [Stephen Bannasch]
* Internals
* Rakefile - test runner [Steve Ross]
* Added generator_test
* Removed unnecessary misc_test
* script/clean_bundle_file_names - rename non-os-agnostic file names [Charles Roper]
* Haml support [Lawrence Pit]
For thoughts and patches, email drnicwilliams@gmail.com
* BLACKHOLE OF CHANGELOG *
...
* END OF BLACKHOLE *
2006-09-28 Added "Rake Migrate to Version", changed "rake migrate" to "rake db:migrate" to remove warning message.
2006-02-22 Changed key bindings to TextMate conventions (http://macromates.com/textmate/manual/key_bindings#conventions)
2006-02-22 Footnotes can be turned off for specific pages:
e.g. render :action => 'whatever', :footnotes => false [Duane]
2006-02-22 intelligent go to file now asks for a view file name if it doesn't exist before going there [Duane]
2006-02-22 Fixed that intelligent go to file was not recognizing view files other than rhtml [Duane]
2006-02-21 Generated files open automatically [Duane, Sami Samhuri]
2006-02-21 Generate migrations works (has to be chdir to rails_root to work) [Duane]
2006-02-21 Fixed that the footnotes plugin was doubling the /controllers/ segment [Duane, Cliff Matthews]
2006-02-21 Fixed that the footnotes plugin was rendering for rxml and rjs pages [Duane]
0.9.1 Released
2006-02-21 Fixed that the footnotes plugin was breaking on redirects [Duane]
0.9 Released
2006-02-20 Added Migration Snippets [Sami Samhuri]
2006-02-20 Added Rails Engines plugin [Duane]
2006-02-20 Added double quotes around call to CocoaDialog [Kent Siblev]
2006-02-20 Intelligent Go To File will now go to the file nearest the caret for stylesheet and javascript tags with multiple files [Cliff Matthews]
2006-02-20 Added plugin install script bound to ctrl-option-command-\ [Duane]
2006-02-20 Added 'plugins' directory to Support, and included textmate_footnotes plugin. [Duane]
2006-02-20 More intelligent argument regexps for javascripts and stylesheets [Cliff Matthews]
2006-02-20 Generate command is now a background process [Duane]
0.8 Released

View File

@@ -0,0 +1,3 @@
load 'deploy' if respond_to?(:namespace) # cap2 differentiator
Dir['vendor/plugins/*/recipes/*.rb'].each { |plugin| load(plugin) }
load 'config/deploy'

View File

@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>beforeRunningCommand</key>
<string>nop</string>
<key>command</key>
<string>RUBYLIB="$TM_BUNDLE_SUPPORT/lib:$RUBYLIB"
"${TM_RUBY:=ruby}" "${TM_BUNDLE_SUPPORT}/bin/fixture_auto_complete.rb" preserve</string>
<key>fallbackInput</key>
<string>line</string>
<key>input</key>
<string>selection</string>
<key>keyEquivalent</key>
<string>~$</string>
<key>name</key>
<string>Autocomplete Foreign Key Fixture Reference (habtm)</string>
<key>output</key>
<string>insertAsSnippet</string>
<key>scope</key>
<string>source.yaml</string>
<key>uuid</key>
<string>275C0B86-F735-49B6-8A22-218A8F4CC2E0</string>
</dict>
</plist>

View File

@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>beforeRunningCommand</key>
<string>nop</string>
<key>command</key>
<string>RUBYLIB="$TM_BUNDLE_SUPPORT/lib:$RUBYLIB"
"${TM_RUBY:=ruby}" -- "${TM_BUNDLE_SUPPORT}/bin/fixture_auto_complete.rb" </string>
<key>fallbackInput</key>
<string>line</string>
<key>input</key>
<string>selection</string>
<key>keyEquivalent</key>
<string>~</string>
<key>name</key>
<string>Autocomplete Foreign Key Fixture Reference</string>
<key>output</key>
<string>insertAsSnippet</string>
<key>scope</key>
<string>source.yaml, meta.rails.unit_test, meta.rails.functional_test</string>
<key>uuid</key>
<string>0BCF0EE2-35EE-4959-A771-E74D55271D5A</string>
</dict>
</plist>

View File

@@ -0,0 +1,24 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>beforeRunningCommand</key>
<string>nop</string>
<key>command</key>
<string>RUBYLIB="$TM_BUNDLE_SUPPORT/lib:$RUBYLIB"
"${TM_RUBY:=ruby}" -- "${TM_BUNDLE_SUPPORT}/bin/rake_helper.rb" db:test:clone
</string>
<key>input</key>
<string>none</string>
<key>keyEquivalent</key>
<string>^|</string>
<key>name</key>
<string>Clone Development DB to Test DB</string>
<key>output</key>
<string>showAsHTML</string>
<key>scope</key>
<string>source.ruby.rails, source.yaml</string>
<key>uuid</key>
<string>6F2AB859-46E3-4FF5-A9A7-E9A813AB5DE1</string>
</dict>
</plist>

View File

@@ -0,0 +1,24 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>beforeRunningCommand</key>
<string>nop</string>
<key>command</key>
<string>RUBYLIB="$TM_BUNDLE_SUPPORT/lib:$RUBYLIB"
"${TM_RUBY:=ruby}" -- "${TM_BUNDLE_SUPPORT}/bin/rake_helper.rb" db:schema:dump
</string>
<key>input</key>
<string>none</string>
<key>keyEquivalent</key>
<string>^|</string>
<key>name</key>
<string>Dump DB to schema.rb</string>
<key>output</key>
<string>showAsHTML</string>
<key>scope</key>
<string>source.ruby.rails, source.yaml</string>
<key>uuid</key>
<string>310C901C-EF32-4E88-938A-804ABBF8C428</string>
</dict>
</plist>

View File

@@ -0,0 +1,24 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>beforeRunningCommand</key>
<string>nop</string>
<key>command</key>
<string>RUBYLIB="$TM_BUNDLE_SUPPORT/lib:$RUBYLIB"
"${TM_RUBY:=ruby}" -- "${TM_BUNDLE_SUPPORT}/bin/rake_helper.rb" db:schema:load
</string>
<key>input</key>
<string>none</string>
<key>keyEquivalent</key>
<string>^|</string>
<key>name</key>
<string>Load schema.rb to DB</string>
<key>output</key>
<string>showAsHTML</string>
<key>scope</key>
<string>source.ruby.rails, source.yaml</string>
<key>uuid</key>
<string>6DEF923E-2347-46EC-AFBE-183D08E63DC1</string>
</dict>
</plist>

View File

@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>beforeRunningCommand</key>
<string>nop</string>
<key>command</key>
<string>RUBYLIB="$TM_BUNDLE_SUPPORT/lib:$RUBYLIB"
"${TM_RUBY:=ruby}" -- "${TM_BUNDLE_SUPPORT}/bin/generate_quick_migration.rb"</string>
<key>fallbackInput</key>
<string>word</string>
<key>input</key>
<string>none</string>
<key>keyEquivalent</key>
<string>^M</string>
<key>name</key>
<string>Quick Migration</string>
<key>output</key>
<string>discard</string>
<key>scope</key>
<string>source.ruby.rails, source.yaml, text.html.ruby</string>
<key>uuid</key>
<string>D696FA2C-785A-4B73-A2F6-F750904DD7C2</string>
</dict>
</plist>

View File

@@ -0,0 +1,24 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>beforeRunningCommand</key>
<string>nop</string>
<key>command</key>
<string>RUBYLIB="$TM_BUNDLE_SUPPORT/lib:$RUBYLIB"
"${TM_RUBY:=ruby}" -- "${TM_BUNDLE_SUPPORT}/bin/generate.rb" &amp;&gt;/dev/null &amp;
</string>
<key>input</key>
<string>none</string>
<key>keyEquivalent</key>
<string>^|</string>
<key>name</key>
<string>Call Generate Script</string>
<key>output</key>
<string>discard</string>
<key>scope</key>
<string>source.ruby.rails, source.yaml</string>
<key>uuid</key>
<string>4904EDC7-5ED3-4132-AAB2-C2AD87C97EFE</string>
</dict>
</plist>

View File

@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>beforeRunningCommand</key>
<string>nop</string>
<key>command</key>
<string>RUBYLIB="$TM_BUNDLE_SUPPORT/lib:$RUBYLIB"
"${TM_RUBY:=ruby}" -- "${TM_BUNDLE_SUPPORT}/bin/go_to_alternate_file.rb" controller</string>
<key>input</key>
<string>none</string>
<key>keyEquivalent</key>
<string>~$@</string>
<key>name</key>
<string>Go to Controller</string>
<key>output</key>
<string>showAsTooltip</string>
<key>scope</key>
<string>text.html.ruby, source.ruby.rails.embedded.html, meta.rails.helper, meta.rails.functional_test, source.js, source.css, source.yaml, meta.rails.model, meta.rails.unit_test, text.haml</string>
<key>uuid</key>
<string>9453F0B3-B946-445F-BDB0-B01DE70732FC</string>
</dict>
</plist>

View File

@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>beforeRunningCommand</key>
<string>nop</string>
<key>command</key>
<string>RUBYLIB="$TM_BUNDLE_SUPPORT/lib:$RUBYLIB"
"${TM_RUBY:=ruby}" -- "${TM_BUNDLE_SUPPORT}/bin/go_to_file_on_current_line.rb"</string>
<key>input</key>
<string>none</string>
<key>keyEquivalent</key>
<string>~@</string>
<key>name</key>
<string>File on Current Line</string>
<key>output</key>
<string>showAsTooltip</string>
<key>scope</key>
<string>source.ruby.rails, text.html.ruby, source.ruby.rails.embedded.html, text.haml</string>
<key>uuid</key>
<string>09BB96F2-75FD-48A7-8314-B5B56B09B477</string>
</dict>
</plist>

View File

@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>beforeRunningCommand</key>
<string>saveActiveFile</string>
<key>command</key>
<string>RUBYLIB="$TM_BUNDLE_SUPPORT/lib:$RUBYLIB"
"${TM_RUBY:=ruby}" -- "${TM_BUNDLE_SUPPORT}/bin/go_to_alternate_file.rb"</string>
<key>input</key>
<string>none</string>
<key>keyEquivalent</key>
<string>~@</string>
<key>name</key>
<string>Alternate File</string>
<key>output</key>
<string>showAsTooltip</string>
<key>scope</key>
<string>source.ruby.rails, text.html.ruby, source.ruby.rails.embedded.html, source.yaml, text.haml, source.css, source.js, source.sass</string>
<key>uuid</key>
<string>0CCC8443-40F3-4BAB-9440-D737562B5F45</string>
</dict>
</plist>

View File

@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>beforeRunningCommand</key>
<string>nop</string>
<key>command</key>
<string>RUBYLIB="$TM_BUNDLE_SUPPORT/lib:$RUBYLIB"
"${TM_RUBY:=ruby}" -- "${TM_BUNDLE_SUPPORT}/bin/go_to_alternate_file.rb" functional_test</string>
<key>input</key>
<string>none</string>
<key>keyEquivalent</key>
<string>~$@</string>
<key>name</key>
<string>Go to Functional Test</string>
<key>output</key>
<string>showAsTooltip</string>
<key>scope</key>
<string>meta.rails.controller, meta.rails.helper, meta.rails.model, source.yaml, meta.rails.unit_test</string>
<key>uuid</key>
<string>DFE393BE-0764-49FE-B464-6350A50921E6</string>
</dict>
</plist>

View File

@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>beforeRunningCommand</key>
<string>nop</string>
<key>command</key>
<string>RUBYLIB="$TM_BUNDLE_SUPPORT/lib:$RUBYLIB"
"${TM_RUBY:=ruby}" -- "${TM_BUNDLE_SUPPORT}/bin/go_to_alternate_file.rb" helper</string>
<key>input</key>
<string>none</string>
<key>keyEquivalent</key>
<string>~$@</string>
<key>name</key>
<string>Go to Helper</string>
<key>output</key>
<string>showAsTooltip</string>
<key>scope</key>
<string>text.html.ruby, source.ruby.rails.embedded.html, meta.rails.controller, meta.rails.model, meta.rails.unit_test, meta.rails.functional_test, text.haml</string>
<key>uuid</key>
<string>51C9C27A-D931-49F9-B6D8-C0E7ABEC992D</string>
</dict>
</plist>

View File

@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>beforeRunningCommand</key>
<string>nop</string>
<key>command</key>
<string>RUBYLIB="$TM_BUNDLE_SUPPORT/lib:$RUBYLIB"
"${TM_RUBY:=ruby}" -- "${TM_BUNDLE_SUPPORT}/bin/go_to_alternate_file.rb" javascript</string>
<key>input</key>
<string>none</string>
<key>keyEquivalent</key>
<string>~$@</string>
<key>name</key>
<string>Go to Javascript</string>
<key>output</key>
<string>showAsTooltip</string>
<key>scope</key>
<string>text.html.ruby, source.ruby.rails.embedded.html, meta.rails.controller, meta.rails.helper, text.haml</string>
<key>uuid</key>
<string>B078346F-61D8-4E75-9427-80720FBC67F7</string>
</dict>
</plist>

View File

@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>beforeRunningCommand</key>
<string>nop</string>
<key>command</key>
<string>RUBYLIB="$TM_BUNDLE_SUPPORT/lib:$RUBYLIB"
"${TM_RUBY:=ruby}" -- "${TM_BUNDLE_SUPPORT}/bin/go_to_alternate_file.rb" model</string>
<key>input</key>
<string>none</string>
<key>keyEquivalent</key>
<string>~$@</string>
<key>name</key>
<string>Go to Model</string>
<key>output</key>
<string>showAsTooltip</string>
<key>scope</key>
<string>text.html.ruby, source.ruby.rails.embedded.html, meta.rails.helper, meta.rails.unit_test, source.js, source.css, source.yaml, meta.rails.controller, meta.rails.functional_test, text.haml</string>
<key>uuid</key>
<string>C7151BF3-7068-4344-9B09-86F3BF4A9C63</string>
</dict>
</plist>

View File

@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>beforeRunningCommand</key>
<string>nop</string>
<key>command</key>
<string>RUBYLIB="$TM_BUNDLE_SUPPORT/lib:$RUBYLIB"
"${TM_RUBY:=ruby}" -- "${TM_BUNDLE_SUPPORT}/bin/go_to_alternate_file.rb" stylesheet</string>
<key>input</key>
<string>none</string>
<key>keyEquivalent</key>
<string>~$@</string>
<key>name</key>
<string>Go to Stylesheet</string>
<key>output</key>
<string>showAsTooltip</string>
<key>scope</key>
<string>text.html.ruby, source.ruby.rails.embedded.html, meta.rails.controller, meta.rails.helper, text.haml</string>
<key>uuid</key>
<string>B207BBD4-D6AA-41E9-9530-27210F2D7B66</string>
</dict>
</plist>

View File

@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>beforeRunningCommand</key>
<string>nop</string>
<key>command</key>
<string>RUBYLIB="$TM_BUNDLE_SUPPORT/lib:$RUBYLIB"
"${TM_RUBY:=ruby}" -- "${TM_BUNDLE_SUPPORT}/bin/go_to_alternate_file.rb" unit_test</string>
<key>input</key>
<string>none</string>
<key>keyEquivalent</key>
<string>~$@</string>
<key>name</key>
<string>Go to Unit Test</string>
<key>output</key>
<string>showAsTooltip</string>
<key>scope</key>
<string>meta.rails.controller, meta.rails.helper, meta.rails.model, meta.rails.functional_test, source.yaml</string>
<key>uuid</key>
<string>BDBB15A4-2824-4BEC-93A5-7475F9C46A39</string>
</dict>
</plist>

View File

@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>beforeRunningCommand</key>
<string>nop</string>
<key>command</key>
<string>RUBYLIB="$TM_BUNDLE_SUPPORT/lib:$RUBYLIB"
"${TM_RUBY:=ruby}" -- "${TM_BUNDLE_SUPPORT}/bin/go_to_alternate_file.rb" view</string>
<key>input</key>
<string>none</string>
<key>keyEquivalent</key>
<string>~$@</string>
<key>name</key>
<string>Go to View</string>
<key>output</key>
<string>showAsTooltip</string>
<key>scope</key>
<string>meta.rails.controller, meta.rails.mailer, source.js, source.css</string>
<key>uuid</key>
<string>EE862691-A624-4797-90CF-EDD39EFB2D8E</string>
</dict>
</plist>

View File

@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>beforeRunningCommand</key>
<string>nop</string>
<key>command</key>
<string>RUBYLIB="$TM_BUNDLE_SUPPORT/lib:$RUBYLIB"
"${TM_RUBY:=ruby}" -- "${TM_BUNDLE_SUPPORT}/bin/go_to_alternate_file.rb" fixture</string>
<key>input</key>
<string>none</string>
<key>keyEquivalent</key>
<string>~$@</string>
<key>name</key>
<string>Go to Fixture</string>
<key>output</key>
<string>showAsTooltip</string>
<key>scope</key>
<string>meta.rails.controller, meta.rails.helper, meta.rails.model, meta.rails.unit_test, meta.rails.functional_test</string>
<key>uuid</key>
<string>638D94A4-BDFC-4FE9-8909-9934F3FD2899</string>
</dict>
</plist>

View File

@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>beforeRunningCommand</key>
<string>nop</string>
<key>command</key>
<string>RUBYLIB="$TM_BUNDLE_SUPPORT/lib:$RUBYLIB"
"${TM_RUBY:=ruby}" -- "${TM_BUNDLE_SUPPORT}/bin/list_plugins.rb"</string>
<key>input</key>
<string>none</string>
<key>keyEquivalent</key>
<string>^|</string>
<key>name</key>
<string>Install Plugin</string>
<key>output</key>
<string>showAsHTML</string>
<key>scope</key>
<string>source.ruby.rails, source.yaml</string>
<key>uuid</key>
<string>46ECE243-0448-4A64-A223-27CC21E7704D</string>
</dict>
</plist>

View File

@@ -0,0 +1,24 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>beforeRunningCommand</key>
<string>nop</string>
<key>command</key>
<string>RUBYLIB="$TM_BUNDLE_SUPPORT/lib:$RUBYLIB"
"${TM_RUBY:=ruby}" -- "${TM_BUNDLE_SUPPORT}/bin/rake_helper.rb" db:fixtures:load -v RAILS_ENV -a test
</string>
<key>input</key>
<string>none</string>
<key>keyEquivalent</key>
<string>^|</string>
<key>name</key>
<string>Load Fixtures (Test DB)</string>
<key>output</key>
<string>showAsHTML</string>
<key>scope</key>
<string>source.ruby.rails, source.yaml</string>
<key>uuid</key>
<string>F758BFD1-00CA-4742-BE71-032580080F5C</string>
</dict>
</plist>

View File

@@ -0,0 +1,24 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>beforeRunningCommand</key>
<string>nop</string>
<key>command</key>
<string>RUBYLIB="$TM_BUNDLE_SUPPORT/lib:$RUBYLIB"
"${TM_RUBY:=ruby}" -- "${TM_BUNDLE_SUPPORT}/bin/rake_helper.rb" db:fixtures:load
</string>
<key>input</key>
<string>none</string>
<key>keyEquivalent</key>
<string>^|</string>
<key>name</key>
<string>Load Fixtures (Development DB)</string>
<key>output</key>
<string>showAsHTML</string>
<key>scope</key>
<string>source.ruby.rails, source.yaml</string>
<key>uuid</key>
<string>5EEA0C71-B34B-4408-953B-F47AAD343CCC</string>
</dict>
</plist>

View File

@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>beforeRunningCommand</key>
<string>saveModifiedFiles</string>
<key>command</key>
<string>RUBYLIB="$TM_BUNDLE_SUPPORT/lib:$RUBYLIB"
"${TM_RUBY:=ruby}" -- "${TM_BUNDLE_SUPPORT}/bin/create_partial_from_selection.rb"
</string>
<key>fallbackInput</key>
<string>line</string>
<key>input</key>
<string>selection</string>
<key>keyEquivalent</key>
<string>^H</string>
<key>name</key>
<string>Create Partial From Selection</string>
<key>output</key>
<string>replaceSelectedText</string>
<key>scope</key>
<string>source.ruby.rails, text.html.ruby, text.haml</string>
<key>uuid</key>
<string>1DD8A214-1C97-45BA-ADEE-8F888DDE8570</string>
</dict>
</plist>

View File

@@ -0,0 +1,29 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>beforeRunningCommand</key>
<string>nop</string>
<key>command</key>
<string>RUBYLIB="$TM_BUNDLE_SUPPORT/lib:$RUBYLIB"
# Find the previous version number from the schema.rb file
export PREVIOUS=`grep 'Schema\.define' "$TM_PROJECT_DIRECTORY/db/schema.rb" | ruby -e 'print $stdin.read.scan(/\d+/).first.to_i - 1'`
# Migrate database to the previous version
"${TM_RUBY:=ruby}" -- "${TM_BUNDLE_SUPPORT}/bin/rake_helper.rb" db:migrate -v VERSION -a $PREVIOUS
</string>
<key>input</key>
<string>none</string>
<key>keyEquivalent</key>
<string>^|</string>
<key>name</key>
<string>Migrate to Previous Version</string>
<key>output</key>
<string>showAsHTML</string>
<key>scope</key>
<string>source.ruby.rails, source.yaml</string>
<key>uuid</key>
<string>9A1AE6BA-8350-4AB7-B5BD-969A7E64CF29</string>
</dict>
</plist>

View File

@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>beforeRunningCommand</key>
<string>nop</string>
<key>command</key>
<string>RUBYLIB="$TM_BUNDLE_SUPPORT/lib:$RUBYLIB"
# Find the current version number from the schema.rb file
export CURRENT=`grep 'Schema\.define' "$TM_PROJECT_DIRECTORY/db/schema.rb" | ruby -e 'print $stdin.read.scan(/\d+/).first'`
"${TM_RUBY:=ruby}" -- "${TM_BUNDLE_SUPPORT}/bin/rake_helper.rb" db:migrate -q "Migrate to which version? (Current version: $CURRENT)" -v VERSION
</string>
<key>input</key>
<string>none</string>
<key>keyEquivalent</key>
<string>^|</string>
<key>name</key>
<string>Migrate to Version ...</string>
<key>output</key>
<string>showAsHTML</string>
<key>scope</key>
<string>source.ruby.rails, source.yaml</string>
<key>uuid</key>
<string>07C696F8-79F5-4E0B-9EE9-03B693A54ABB</string>
</dict>
</plist>

View File

@@ -0,0 +1,24 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>beforeRunningCommand</key>
<string>nop</string>
<key>command</key>
<string>RUBYLIB="$TM_BUNDLE_SUPPORT/lib:$RUBYLIB"
"${TM_RUBY:=ruby}" -- "${TM_BUNDLE_SUPPORT}/bin/rake_helper.rb" db:migrate
</string>
<key>input</key>
<string>none</string>
<key>keyEquivalent</key>
<string>^|</string>
<key>name</key>
<string>Migrate to Current</string>
<key>output</key>
<string>showAsHTML</string>
<key>scope</key>
<string>source.ruby.rails, source.yaml</string>
<key>uuid</key>
<string>985F56D4-82ED-4C45-8250-2ECCFC71957E</string>
</dict>
</plist>

View File

@@ -0,0 +1,24 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>beforeRunningCommand</key>
<string>nop</string>
<key>command</key>
<string>RUBYLIB="$TM_BUNDLE_SUPPORT/lib:$RUBYLIB"
"${TM_RUBY:=ruby}" -- "${TM_BUNDLE_SUPPORT}/bin/rake_helper.rb" db:migrate:redo
</string>
<key>input</key>
<string>none</string>
<key>keyEquivalent</key>
<string>^|</string>
<key>name</key>
<string>Redo Last Migration</string>
<key>output</key>
<string>showAsHTML</string>
<key>scope</key>
<string>source.ruby.rails, source.yaml</string>
<key>uuid</key>
<string>CFDA9F62-D071-4E0F-AD10-66AE0729FFCF</string>
</dict>
</plist>

View File

@@ -0,0 +1,24 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>beforeRunningCommand</key>
<string>nop</string>
<key>command</key>
<string>RUBYLIB="$TM_BUNDLE_SUPPORT/lib:$RUBYLIB"
"${TM_RUBY:=ruby}" -- "${TM_BUNDLE_SUPPORT}/bin/show_schema.rb"
</string>
<key>input</key>
<string>none</string>
<key>keyEquivalent</key>
<string>^@S</string>
<key>name</key>
<string>Show DB Schema for Current Class</string>
<key>output</key>
<string>showAsTooltip</string>
<key>scope</key>
<string>source.ruby.rails</string>
<key>uuid</key>
<string>1970AE74-3949-40B3-B263-727AA3FF167A</string>
</dict>
</plist>

View File

@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>beforeRunningCommand</key>
<string>nop</string>
<key>command</key>
<string>RUBYLIB="$TM_BUNDLE_SUPPORT/lib:$RUBYLIB"
"${TM_RUBY:=ruby}" -- "${TM_BUNDLE_SUPPORT}/bin/rake_helper.rb" test</string>
<key>input</key>
<string>none</string>
<key>keyEquivalent</key>
<string>^\</string>
<key>name</key>
<string>Test All</string>
<key>output</key>
<string>showAsHTML</string>
<key>scope</key>
<string>source.ruby.rails, source.yaml</string>
<key>uuid</key>
<string>DC549A45-D9B0-11DC-94E9-00112475D960</string>
</dict>
</plist>

View File

@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>beforeRunningCommand</key>
<string>nop</string>
<key>command</key>
<string>RUBYLIB="$TM_BUNDLE_SUPPORT/lib:$RUBYLIB"
"${TM_RUBY:=ruby}" -- "${TM_BUNDLE_SUPPORT}/bin/rake_helper.rb" test:functionals</string>
<key>input</key>
<string>none</string>
<key>keyEquivalent</key>
<string>^\</string>
<key>name</key>
<string>Test Functionals</string>
<key>output</key>
<string>showAsHTML</string>
<key>scope</key>
<string>source.ruby.rails, source.yaml</string>
<key>uuid</key>
<string>F4EA552D-D9B0-11DC-94E9-00112475D960</string>
</dict>
</plist>

View File

@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>beforeRunningCommand</key>
<string>nop</string>
<key>command</key>
<string>RUBYLIB="$TM_BUNDLE_SUPPORT/lib:$RUBYLIB"
"${TM_RUBY:=ruby}" -- "${TM_BUNDLE_SUPPORT}/bin/rake_helper.rb" test:integration</string>
<key>input</key>
<string>none</string>
<key>keyEquivalent</key>
<string>^\</string>
<key>name</key>
<string>Test Integration</string>
<key>output</key>
<string>showAsHTML</string>
<key>scope</key>
<string>source.ruby.rails, source.yaml</string>
<key>uuid</key>
<string>04A30A4D-D9B1-11DC-94E9-00112475D960</string>
</dict>
</plist>

View File

@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>beforeRunningCommand</key>
<string>nop</string>
<key>command</key>
<string>RUBYLIB="$TM_BUNDLE_SUPPORT/lib:$RUBYLIB"
"${TM_RUBY:=ruby}" -- "${TM_BUNDLE_SUPPORT}/bin/rake_helper.rb" test:plugins</string>
<key>input</key>
<string>none</string>
<key>keyEquivalent</key>
<string>^\</string>
<key>name</key>
<string>Test Plugins</string>
<key>output</key>
<string>showAsHTML</string>
<key>scope</key>
<string>source.ruby.rails, source.yaml</string>
<key>uuid</key>
<string>0D966168-D9B1-11DC-94E9-00112475D960</string>
</dict>
</plist>

View File

@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>beforeRunningCommand</key>
<string>nop</string>
<key>command</key>
<string>RUBYLIB="$TM_BUNDLE_SUPPORT/lib:$RUBYLIB"
"${TM_RUBY:=ruby}" -- "${TM_BUNDLE_SUPPORT}/bin/rake_helper.rb" test:recent</string>
<key>input</key>
<string>none</string>
<key>keyEquivalent</key>
<string>^\</string>
<key>name</key>
<string>Test Recent</string>
<key>output</key>
<string>showAsHTML</string>
<key>scope</key>
<string>source.ruby.rails, source.yaml</string>
<key>uuid</key>
<string>190401C2-D9B1-11DC-94E9-00112475D960</string>
</dict>
</plist>

View File

@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>beforeRunningCommand</key>
<string>nop</string>
<key>command</key>
<string>RUBYLIB="$TM_BUNDLE_SUPPORT/lib:$RUBYLIB"
"${TM_RUBY:=ruby}" -- "${TM_BUNDLE_SUPPORT}/bin/rake_helper.rb" test:uncommitted</string>
<key>input</key>
<string>none</string>
<key>keyEquivalent</key>
<string>^\</string>
<key>name</key>
<string>Test Uncommitted</string>
<key>output</key>
<string>showAsHTML</string>
<key>scope</key>
<string>source.ruby.rails, source.yaml</string>
<key>uuid</key>
<string>212C3047-D9B1-11DC-94E9-00112475D960</string>
</dict>
</plist>

View File

@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>beforeRunningCommand</key>
<string>nop</string>
<key>command</key>
<string>RUBYLIB="$TM_BUNDLE_SUPPORT/lib:$RUBYLIB"
"${TM_RUBY:=ruby}" -- "${TM_BUNDLE_SUPPORT}/bin/rake_helper.rb" test:units</string>
<key>input</key>
<string>none</string>
<key>keyEquivalent</key>
<string>^\</string>
<key>name</key>
<string>Test Units</string>
<key>output</key>
<string>showAsHTML</string>
<key>scope</key>
<string>source.ruby.rails, source.yaml</string>
<key>uuid</key>
<string>2C60CBA1-D9B1-11DC-94E9-00112475D960</string>
</dict>
</plist>

View File

@@ -0,0 +1,27 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>beforeRunningCommand</key>
<string>nop</string>
<key>command</key>
<string>. "$TM_SUPPORT_PATH/lib/webpreview.sh"
html_header "Ruby on Rails Bundle Help" "Ruby on Rails"
cat "$TM_BUNDLE_SUPPORT/../website/demo.html"
html_footer
</string>
<key>input</key>
<string>none</string>
<key>keyEquivalent</key>
<string>^h</string>
<key>name</key>
<string>View demo help</string>
<key>output</key>
<string>showAsHTML</string>
<key>scope</key>
<string>source.ruby.rails</string>
<key>uuid</key>
<string>964436B8-E578-11DC-8177-00112475D960</string>
</dict>
</plist>

View File

@@ -0,0 +1,41 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>beforeRunningCommand</key>
<string>nop</string>
<key>command</key>
<string>#!/usr/bin/env ruby
file_path = ENV['TM_DROPPED_FILE'].gsub(/\.rb$/, '')
full_file_path = File.expand_path(file_path)
relative_path = nil
known_load_path = %w[app/controllers app/models app/helpers app config lib]
known_load_path.each do |path|
if full_file_path =~ %r{^#{File.join(ENV['TM_PROJECT_DIRECTORY'], path)}/(.*)}
relative_path = $1
break
end
end
if relative_path
puts "require '#{relative_path}'"
else
puts "require File.dirname(__FILE__) + '/#{file_path}'"
end
</string>
<key>draggedFileExtensions</key>
<array>
<string>rb</string>
</array>
<key>input</key>
<string>selection</string>
<key>name</key>
<string>Require Rails File</string>
<key>output</key>
<string>insertAsSnippet</string>
<key>scope</key>
<string>source.ruby.rails</string>
<key>uuid</key>
<string>56151E60-589F-4CE7-8062-3E087732E2F1</string>
</dict>
</plist>

View File

@@ -0,0 +1,7 @@
Copyright (c) 2006 syncPEOPLE, LLC.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

View File

@@ -0,0 +1,44 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>commands</key>
<array>
<dict>
<key>command</key>
<string>deleteWordLeft:</string>
</dict>
<dict>
<key>command</key>
<string>moveToBeginningOfLine:</string>
</dict>
<dict>
<key>command</key>
<string>moveToEndOfDocumentAndModifySelection:</string>
</dict>
<dict>
<key>argument</key>
<dict>
<key>command</key>
<string>intelligent_migration_snippet.rb add_remove_column</string>
<key>input</key>
<string>selection</string>
<key>output</key>
<string>insertAsSnippet</string>
</dict>
<key>command</key>
<string>executeCommandWithOptions:</string>
</dict>
</array>
<key>name</key>
<string>Add / Remove Column</string>
<key>scope</key>
<string>meta.rails.migration - meta.rails.migration.create_table - meta.rails.migration.change_table</string>
<key>scopeType</key>
<string>local</string>
<key>tabTrigger</key>
<string>mcol</string>
<key>uuid</key>
<string>18C76913-061C-4D65-866D-67AA3724AFEF</string>
</dict>
</plist>

View File

@@ -0,0 +1,44 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>commands</key>
<array>
<dict>
<key>command</key>
<string>deleteWordLeft:</string>
</dict>
<dict>
<key>command</key>
<string>moveToBeginningOfLine:</string>
</dict>
<dict>
<key>command</key>
<string>moveToEndOfDocumentAndModifySelection:</string>
</dict>
<dict>
<key>argument</key>
<dict>
<key>command</key>
<string>intelligent_migration_snippet.rb add_remove_index</string>
<key>input</key>
<string>selection</string>
<key>output</key>
<string>insertAsSnippet</string>
</dict>
<key>command</key>
<string>executeCommandWithOptions:</string>
</dict>
</array>
<key>name</key>
<string>Add / Remove Index</string>
<key>scope</key>
<string>meta.rails.migration - meta.rails.migration.create_table - meta.rails.migration.change_table</string>
<key>scopeType</key>
<string>local</string>
<key>tabTrigger</key>
<string>mind</string>
<key>uuid</key>
<string>95F83E1D-5B03-424F-8BEC-8AF66C8939BC</string>
</dict>
</plist>

View File

@@ -0,0 +1,44 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>commands</key>
<array>
<dict>
<key>command</key>
<string>deleteWordLeft:</string>
</dict>
<dict>
<key>command</key>
<string>moveToBeginningOfLine:</string>
</dict>
<dict>
<key>command</key>
<string>moveToEndOfDocumentAndModifySelection:</string>
</dict>
<dict>
<key>argument</key>
<dict>
<key>command</key>
<string>intelligent_migration_snippet.rb add_remove_named_index</string>
<key>input</key>
<string>selection</string>
<key>output</key>
<string>insertAsSnippet</string>
</dict>
<key>command</key>
<string>executeCommandWithOptions:</string>
</dict>
</array>
<key>name</key>
<string>Add / Remove Named Index</string>
<key>scope</key>
<string>meta.rails.migration - meta.rails.migration.create_table - meta.rails.migration.change_table</string>
<key>scopeType</key>
<string>local</string>
<key>tabTrigger</key>
<string>mind</string>
<key>uuid</key>
<string>A7F692C1-778A-48B8-945E-573568BA0403</string>
</dict>
</plist>

View File

@@ -0,0 +1,44 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>commands</key>
<array>
<dict>
<key>command</key>
<string>deleteWordLeft:</string>
</dict>
<dict>
<key>command</key>
<string>moveToBeginningOfLine:</string>
</dict>
<dict>
<key>command</key>
<string>moveToEndOfDocumentAndModifySelection:</string>
</dict>
<dict>
<key>argument</key>
<dict>
<key>command</key>
<string>intelligent_migration_snippet.rb add_remove_column_continue</string>
<key>input</key>
<string>selection</string>
<key>output</key>
<string>insertAsSnippet</string>
</dict>
<key>command</key>
<string>executeCommandWithOptions:</string>
</dict>
</array>
<key>name</key>
<string>Add / Remove Several Columns (marcc)</string>
<key>scope</key>
<string>meta.rails.migration - meta.rails.migration.create_table - meta.rails.migration.change_table</string>
<key>scopeType</key>
<string>local</string>
<key>tabTrigger</key>
<string>marcc</string>
<key>uuid</key>
<string>27A6C58A-896B-4956-BA81-D671A2EF9C7D</string>
</dict>
</plist>

View File

@@ -0,0 +1,44 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>commands</key>
<array>
<dict>
<key>command</key>
<string>deleteWordLeft:</string>
</dict>
<dict>
<key>command</key>
<string>moveToBeginningOfLine:</string>
</dict>
<dict>
<key>command</key>
<string>moveToEndOfDocumentAndModifySelection:</string>
</dict>
<dict>
<key>argument</key>
<dict>
<key>command</key>
<string>intelligent_migration_snippet.rb add_remove_column_continue</string>
<key>input</key>
<string>selection</string>
<key>output</key>
<string>insertAsSnippet</string>
</dict>
<key>command</key>
<string>executeCommandWithOptions:</string>
</dict>
</array>
<key>name</key>
<string>Add / Remove Several Columns</string>
<key>scope</key>
<string>meta.rails.migration - meta.rails.migration.create_table - meta.rails.migration.change_table</string>
<key>scopeType</key>
<string>local</string>
<key>tabTrigger</key>
<string>mcol</string>
<key>uuid</key>
<string>7BC860E6-7561-4E6E-983B-507D7A6F6228</string>
</dict>
</plist>

View File

@@ -0,0 +1,44 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>commands</key>
<array>
<dict>
<key>command</key>
<string>deleteWordLeft:</string>
</dict>
<dict>
<key>command</key>
<string>moveToBeginningOfLine:</string>
</dict>
<dict>
<key>command</key>
<string>moveToEndOfDocumentAndModifySelection:</string>
</dict>
<dict>
<key>argument</key>
<dict>
<key>command</key>
<string>intelligent_migration_snippet.rb add_remove_unique_index</string>
<key>input</key>
<string>selection</string>
<key>output</key>
<string>insertAsSnippet</string>
</dict>
<key>command</key>
<string>executeCommandWithOptions:</string>
</dict>
</array>
<key>name</key>
<string>Add / Remove Unique Index</string>
<key>scope</key>
<string>meta.rails.migration - meta.rails.migration.create_table - meta.rails.migration.change_table</string>
<key>scopeType</key>
<string>local</string>
<key>tabTrigger</key>
<string>mind</string>
<key>uuid</key>
<string>33057A79-677B-4DFB-99D4-1492778BDDC6</string>
</dict>
</plist>

View File

@@ -0,0 +1,44 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>commands</key>
<array>
<dict>
<key>command</key>
<string>deleteWordLeft:</string>
</dict>
<dict>
<key>command</key>
<string>moveToBeginningOfLine:</string>
</dict>
<dict>
<key>command</key>
<string>moveToEndOfDocumentAndModifySelection:</string>
</dict>
<dict>
<key>argument</key>
<dict>
<key>command</key>
<string>intelligent_migration_snippet.rb change_change_table</string>
<key>input</key>
<string>selection</string>
<key>output</key>
<string>insertAsSnippet</string>
</dict>
<key>command</key>
<string>executeCommandWithOptions:</string>
</dict>
</array>
<key>name</key>
<string>Change / Change Table</string>
<key>scope</key>
<string>meta.rails.migration - meta.rails.migration.create_table - meta.rails.migration.change_table</string>
<key>scopeType</key>
<string>local</string>
<key>tabTrigger</key>
<string>mtab</string>
<key>uuid</key>
<string>20FC02C5-32A3-4F20-B163-FF75C9FDFABF</string>
</dict>
</plist>

View File

@@ -0,0 +1,44 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>commands</key>
<array>
<dict>
<key>command</key>
<string>deleteWordLeft:</string>
</dict>
<dict>
<key>command</key>
<string>moveToBeginningOfLine:</string>
</dict>
<dict>
<key>command</key>
<string>moveToEndOfDocumentAndModifySelection:</string>
</dict>
<dict>
<key>argument</key>
<dict>
<key>command</key>
<string>intelligent_migration_snippet.rb create_drop_table</string>
<key>input</key>
<string>selection</string>
<key>output</key>
<string>insertAsSnippet</string>
</dict>
<key>command</key>
<string>executeCommandWithOptions:</string>
</dict>
</array>
<key>name</key>
<string>Create / Drop Table</string>
<key>scope</key>
<string>meta.rails.migration - meta.rails.migration.create_table - meta.rails.migration.change_table</string>
<key>scopeType</key>
<string>local</string>
<key>tabTrigger</key>
<string>mtab</string>
<key>uuid</key>
<string>25F8F5D8-2BD1-45D8-8B2A-9F2EA4F73AA2</string>
</dict>
</plist>

View File

@@ -0,0 +1,48 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>commands</key>
<array>
<dict>
<key>command</key>
<string>moveToBeginningOfLine:</string>
</dict>
<dict>
<key>command</key>
<string>moveToEndOfDocumentAndModifySelection:</string>
</dict>
<dict>
<key>argument</key>
<dict>
<key>command</key>
<string>insert_add_column_or_create_table.rb</string>
<key>input</key>
<string>selection</string>
<key>output</key>
<string>replaceSelectedText</string>
</dict>
<key>command</key>
<string>executeCommandWithOptions:</string>
</dict>
<dict>
<key>command</key>
<string>moveToBeginningOfLine:</string>
</dict>
<dict>
<key>command</key>
<string>moveToEndOfLine:</string>
</dict>
</array>
<key>name</key>
<string>Drop / Create Table (Second Half)</string>
<key>scope</key>
<string>meta.rails.migration - meta.rails.migration.create_table - meta.rails.migration.change_table</string>
<key>scopeType</key>
<string>local</string>
<key>tabTrigger</key>
<string>[press tab twice to generate create_table]</string>
<key>uuid</key>
<string>A2135370-67A1-488D-B43C-B4F221127C2F</string>
</dict>
</plist>

View File

@@ -0,0 +1,48 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>commands</key>
<array>
<dict>
<key>command</key>
<string>moveToBeginningOfLine:</string>
</dict>
<dict>
<key>command</key>
<string>moveToEndOfDocumentAndModifySelection:</string>
</dict>
<dict>
<key>argument</key>
<dict>
<key>command</key>
<string>insert_add_column_or_create_table.rb</string>
<key>input</key>
<string>selection</string>
<key>output</key>
<string>replaceSelectedText</string>
</dict>
<key>command</key>
<string>executeCommandWithOptions:</string>
</dict>
<dict>
<key>command</key>
<string>moveToBeginningOfLine:</string>
</dict>
<dict>
<key>command</key>
<string>moveToEndOfLine:</string>
</dict>
</array>
<key>name</key>
<string>Remove / Add Column (Second Half)</string>
<key>scope</key>
<string>meta.rails.migration - meta.rails.migration.create_table - meta.rails.migration.change_table</string>
<key>scopeType</key>
<string>local</string>
<key>tabTrigger</key>
<string>[press tab twice to generate add_column]</string>
<key>uuid</key>
<string>809BCA42-5C49-4B08-B3C4-BB773036C086</string>
</dict>
</plist>

View File

@@ -0,0 +1,44 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>commands</key>
<array>
<dict>
<key>command</key>
<string>deleteWordLeft:</string>
</dict>
<dict>
<key>command</key>
<string>moveToBeginningOfLine:</string>
</dict>
<dict>
<key>command</key>
<string>moveToEndOfDocumentAndModifySelection:</string>
</dict>
<dict>
<key>argument</key>
<dict>
<key>command</key>
<string>intelligent_migration_snippet.rb rename_column_continue</string>
<key>input</key>
<string>selection</string>
<key>output</key>
<string>insertAsSnippet</string>
</dict>
<key>command</key>
<string>executeCommandWithOptions:</string>
</dict>
</array>
<key>name</key>
<string>Rename / Rename Several Columns (mncc)</string>
<key>scope</key>
<string>meta.rails.migration - meta.rails.migration.create_table - meta.rails.migration.change_table</string>
<key>scopeType</key>
<string>local</string>
<key>tabTrigger</key>
<string>mncc</string>
<key>uuid</key>
<string>04A86178-71B1-430A-A06D-DFF7C9A338B5</string>
</dict>
</plist>

View File

@@ -0,0 +1,44 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>commands</key>
<array>
<dict>
<key>command</key>
<string>deleteWordLeft:</string>
</dict>
<dict>
<key>command</key>
<string>moveToBeginningOfLine:</string>
</dict>
<dict>
<key>command</key>
<string>moveToEndOfDocumentAndModifySelection:</string>
</dict>
<dict>
<key>argument</key>
<dict>
<key>command</key>
<string>intelligent_migration_snippet.rb rename_column_continue</string>
<key>input</key>
<string>selection</string>
<key>output</key>
<string>insertAsSnippet</string>
</dict>
<key>command</key>
<string>executeCommandWithOptions:</string>
</dict>
</array>
<key>name</key>
<string>Rename / Rename Several Columns</string>
<key>scope</key>
<string>meta.rails.migration - meta.rails.migration.create_table - meta.rails.migration.change_table</string>
<key>scopeType</key>
<string>local</string>
<key>tabTrigger</key>
<string>mcol</string>
<key>uuid</key>
<string>F03162DE-9DB6-417B-9DD7-52D9F11EA736</string>
</dict>
</plist>

View File

@@ -0,0 +1,44 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>commands</key>
<array>
<dict>
<key>command</key>
<string>deleteWordLeft:</string>
</dict>
<dict>
<key>command</key>
<string>moveToBeginningOfLine:</string>
</dict>
<dict>
<key>command</key>
<string>moveToEndOfDocumentAndModifySelection:</string>
</dict>
<dict>
<key>argument</key>
<dict>
<key>command</key>
<string>intelligent_migration_snippet.rb rename_column</string>
<key>input</key>
<string>selection</string>
<key>output</key>
<string>insertAsSnippet</string>
</dict>
<key>command</key>
<string>executeCommandWithOptions:</string>
</dict>
</array>
<key>name</key>
<string>Rename / Rename Column</string>
<key>scope</key>
<string>meta.rails.migration - meta.rails.migration.create_table - meta.rails.migration.change_table</string>
<key>scopeType</key>
<string>local</string>
<key>tabTrigger</key>
<string>mcol</string>
<key>uuid</key>
<string>AC50762C-DE40-4EB9-9A22-2F6AF2EA4EA3</string>
</dict>
</plist>

View File

@@ -0,0 +1,44 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>commands</key>
<array>
<dict>
<key>command</key>
<string>deleteWordLeft:</string>
</dict>
<dict>
<key>command</key>
<string>moveToBeginningOfLine:</string>
</dict>
<dict>
<key>command</key>
<string>moveToEndOfDocumentAndModifySelection:</string>
</dict>
<dict>
<key>argument</key>
<dict>
<key>command</key>
<string>intelligent_migration_snippet.rb rename_table</string>
<key>input</key>
<string>selection</string>
<key>output</key>
<string>insertAsSnippet</string>
</dict>
<key>command</key>
<string>executeCommandWithOptions:</string>
</dict>
</array>
<key>name</key>
<string>Rename / Rename Table</string>
<key>scope</key>
<string>meta.rails.migration - meta.rails.migration.create_table - meta.rails.migration.change_table</string>
<key>scopeType</key>
<string>local</string>
<key>tabTrigger</key>
<string>mtab</string>
<key>uuid</key>
<string>FD8CC811-2AD3-480F-B975-DF959DC96C67</string>
</dict>
</plist>

View File

@@ -0,0 +1,48 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>name</key>
<string>Template (ERB)</string>
<key>scope</key>
<string>text.html.ruby</string>
<key>settings</key>
<dict>
<key>shellVariables</key>
<array>
<dict>
<key>name</key>
<string>TM_RAILS_TEMPLATE_START_RUBY_EXPR</string>
<key>value</key>
<string>&lt;%= </string>
</dict>
<dict>
<key>name</key>
<string>TM_RAILS_TEMPLATE_END_RUBY_EXPR</string>
<key>value</key>
<string> %&gt;</string>
</dict>
<dict>
<key>name</key>
<string>TM_RAILS_TEMPLATE_START_RUBY_INLINE</string>
<key>value</key>
<string>&lt;% </string>
</dict>
<dict>
<key>name</key>
<string>TM_RAILS_TEMPLATE_END_RUBY_INLINE</string>
<key>value</key>
<string> -%&gt;</string>
</dict>
<dict>
<key>name</key>
<string>TM_RAILS_TEMPLATE_END_RUBY_BLOCK</string>
<key>value</key>
<string>&lt;% end -%&gt;</string>
</dict>
</array>
</dict>
<key>uuid</key>
<string>87EF33FE-E918-11DC-A399-00112475D960</string>
</dict>
</plist>

View File

@@ -0,0 +1,48 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>name</key>
<string>Template (Haml)</string>
<key>scope</key>
<string>text.haml</string>
<key>settings</key>
<dict>
<key>shellVariables</key>
<array>
<dict>
<key>name</key>
<string>TM_RAILS_TEMPLATE_START_RUBY_EXPR</string>
<key>value</key>
<string>= </string>
</dict>
<dict>
<key>name</key>
<string>TM_RAILS_TEMPLATE_END_RUBY_EXPR</string>
<key>value</key>
<string></string>
</dict>
<dict>
<key>name</key>
<string>TM_RAILS_TEMPLATE_START_RUBY_INLINE</string>
<key>value</key>
<string>- </string>
</dict>
<dict>
<key>name</key>
<string>TM_RAILS_TEMPLATE_END_RUBY_INLINE</string>
<key>value</key>
<string></string>
</dict>
<dict>
<key>name</key>
<string>TM_RAILS_TEMPLATE_END_RUBY_BLOCK</string>
<key>value</key>
<string></string>
</dict>
</array>
</dict>
<key>uuid</key>
<string>C0FD2646-E924-11DC-A399-00112475D960</string>
</dict>
</plist>

View File

@@ -0,0 +1,38 @@
TextMate bundle for Ruby on Rails development
GET IT NOW: with Rails 2.0 support.
Rails 2.0 (copied from CHANGELOG)
* Snippets/Commands for:
* Tests
* assert_select (ass)
* assert_difference/assert_no_difference (asd/asnd)
* GET+POST test method stubs (defg+defp)
* Controllers
* respond_to (rst)
* REMOVED: render_component snippets
* loggers - pass a block instead of raw string to save time if logging not used (e.g. production) [thx Stephen Touset]
* redirect_to for resource paths (rep, repp, renp, renpp)
* render :update (ru) [thx Simon Jefford]
* Views
* form_for (ff)
* link_to for resource paths (lip, lipp, linp, linpp)
* <% end -%> (end)
* Models
* has_many :though (hmt)
* association snippets give better defaults (e.g. bt + hm)
* validates_format_of (vf,vfif) [thx Dean Strelau]
* Migrations
* Sexy Migrations now available as "t." snippets [thx Lawrence Pit]
* Migration classes have own textmate scope
* Add/Remove Columns - the 'down' statements are in reverse order [thx Lawrence Pit, Daniel Kristensen]
* Language/Syntax
* New keywords: rescue_from
* Added rb as a valid Rails file type [thx James Deville]
* Commands
* html.erb is the default for new templates (backwards compatibility is being worked on too)
* Plugins
* Footnote
* footnote-edge uses .erb for templates [thx Stephen Bannasch]

View File

@@ -0,0 +1,19 @@
require 'rubygems'
require 'rake'
require 'rake/testtask'
APP_VERSION="2.0.0"
APP_NAME='Ruby on Rails.tmbundle'
APP_ROOT=File.dirname(__FILE__)
RUBY_APP='ruby'
desc "TMBundle Test Task"
task :default => [ :test ]
Rake::TestTask.new { |t|
t.libs << "test"
t.pattern = 'Support/test/*_test.rb'
t.verbose = true
t.warning = false
}
Dir['tasks/**/*.rake'].each { |file| load file }

View File

@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>content</key>
<string>\$LABEL</string>
<key>name</key>
<string>$LABEL</string>
<key>scope</key>
<string>source.yaml</string>
<key>tabTrigger</key>
<string>$L</string>
<key>uuid</key>
<string>786980D8-FA69-4542-85A3-5E48CFAA6814</string>
</dict>
</plist>

View File

@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>content</key>
<string>${TM_RAILS_TEMPLATE_START_RUBY_EXPR}Fixtures.identify(:${1:name})${TM_RAILS_TEMPLATE_END_RUBY_EXPR}$0</string>
<key>name</key>
<string>&lt;%= Fixtures.identify(:symbol) %&gt;</string>
<key>scope</key>
<string>source.yaml</string>
<key>tabTrigger</key>
<string>fi</string>
<key>uuid</key>
<string>9671EB7A-89D6-4C23-914F-88CBEE0D177A</string>
</dict>
</plist>

View File

@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>content</key>
<string>${TM_RAILS_TEMPLATE_START_RUBY_INLINE}form_tag(${1::action =&gt; "${5:update}"}${6:, {:${8:class} =&gt; "${9:form}"\}}) do${TM_RAILS_TEMPLATE_END_RUBY_EXPR}
$0
${TM_RAILS_TEMPLATE_END_RUBY_BLOCK}</string>
<key>name</key>
<string>form_tag</string>
<key>scope</key>
<string>text.html.ruby, text.haml</string>
<key>tabTrigger</key>
<string>ft</string>
<key>uuid</key>
<string>F0F6DACA-6A0B-11D9-BDC2-000D932CD5BA</string>
</dict>
</plist>

View File

@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>content</key>
<string>t.binary :${1:title}${2:, :limit =&gt; ${3:2}.megabytes}
$0</string>
<key>name</key>
<string>Table column binary</string>
<key>scope</key>
<string>meta.rails.migration.create_table, meta.rails.migration.change_table</string>
<key>tabTrigger</key>
<string>tcbi</string>
<key>uuid</key>
<string>5E9B8B0E-D532-11DC-BD8E-00112475D960</string>
</dict>
</plist>

View File

@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>content</key>
<string>t.boolean :${1:title}
$0</string>
<key>name</key>
<string>Table column boolean</string>
<key>scope</key>
<string>meta.rails.migration.create_table, meta.rails.migration.change_table</string>
<key>tabTrigger</key>
<string>tcb</string>
<key>uuid</key>
<string>967093B4-D532-11DC-BD8E-00112475D960</string>
</dict>
</plist>

View File

@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>content</key>
<string>class ${1:Model}Controller &lt; ApplicationController
before_filter :find_${2:model}
$0
private
def find_${2}
@$2 = ${3:$1}.find(params[:id]) if params[:id]
end
end</string>
<key>name</key>
<string>Create controller class</string>
<key>scope</key>
<string>source.ruby</string>
<key>tabTrigger</key>
<string>cla</string>
<key>uuid</key>
<string>4B3F798E-E3B6-48C8-8C2F-CB8631011638</string>
</dict>
</plist>

View File

@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>content</key>
<string>t.date :${1:title}
$0</string>
<key>name</key>
<string>Table column date</string>
<key>scope</key>
<string>meta.rails.migration.create_table, meta.rails.migration.change_table</string>
<key>tabTrigger</key>
<string>tcda</string>
<key>uuid</key>
<string>56276686-D532-11DC-BD8E-00112475D960</string>
</dict>
</plist>

View File

@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>content</key>
<string>t.datetime :${1:title}
$0</string>
<key>name</key>
<string>Table column datetime</string>
<key>scope</key>
<string>meta.rails.migration.create_table, meta.rails.migration.change_table</string>
<key>tabTrigger</key>
<string>tcdt</string>
<key>uuid</key>
<string>D6CBCA96-D52F-11DC-BD8E-00112475D960</string>
</dict>
</plist>

View File

@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>content</key>
<string>t.decimal :${1:title}${2:${3:, :precision =&gt; ${4:10}}${5:, :scale =&gt; ${6:2}}}
$0</string>
<key>name</key>
<string>Table column decimal</string>
<key>scope</key>
<string>meta.rails.migration.create_table, meta.rails.migration.change_table</string>
<key>tabTrigger</key>
<string>tcd</string>
<key>uuid</key>
<string>93A16768-D52E-11DC-BD8E-00112475D960</string>
</dict>
</plist>

View File

@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>content</key>
<string>t.float :${1:title}
$0</string>
<key>name</key>
<string>Table column float</string>
<key>scope</key>
<string>meta.rails.migration.create_table, meta.rails.migration.change_table</string>
<key>tabTrigger</key>
<string>tcf</string>
<key>uuid</key>
<string>8AF989C4-D52E-11DC-BD8E-00112475D960</string>
</dict>
</plist>

View File

@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>content</key>
<string>require File.dirname(__FILE__) + '/../test_helper'
class ${1:Model}ControllerTest &lt; ActionController::TestCase
deft$0
end
</string>
<key>name</key>
<string>Create functional test class</string>
<key>scope</key>
<string>source.ruby</string>
<key>tabTrigger</key>
<string>cla</string>
<key>uuid</key>
<string>F60D0630-CBF5-4283-9D20-FA46C787A88D</string>
</dict>
</plist>

View File

@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>content</key>
<string>t.integer :${1:title}
$0</string>
<key>name</key>
<string>Table column integer</string>
<key>scope</key>
<string>meta.rails.migration.create_table, meta.rails.migration.change_table</string>
<key>tabTrigger</key>
<string>tci</string>
<key>uuid</key>
<string>729D559E-D52D-11DC-BD8E-00112475D960</string>
</dict>
</plist>

View File

@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>content</key>
<string>t.integer :lock_version, :null =&gt; false, :default =&gt; 0
$0</string>
<key>name</key>
<string>Table column lock_version</string>
<key>scope</key>
<string>meta.rails.migration.create_table, meta.rails.migration.change_table</string>
<key>tabTrigger</key>
<string>tcl</string>
<key>uuid</key>
<string>FC2523C1-D532-11DC-BD8E-00112475D960</string>
</dict>
</plist>

View File

@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>content</key>
<string>t.references :${1:taggable}${2:, :polymorphic =&gt; ${3:{ :default =&gt; '${4:Photo}' \}}}
$0</string>
<key>name</key>
<string>Table column(s) references</string>
<key>scope</key>
<string>meta.rails.migration.create_table, meta.rails.migration.change_table</string>
<key>tabTrigger</key>
<string>tcr</string>
<key>uuid</key>
<string>EDA6568B-D533-11DC-BD8E-00112475D960</string>
</dict>
</plist>

View File

@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>content</key>
<string>t.string :${1:title}
$0</string>
<key>name</key>
<string>Table column string</string>
<key>scope</key>
<string>meta.rails.migration.create_table, meta.rails.migration.change_table</string>
<key>tabTrigger</key>
<string>tcs</string>
<key>uuid</key>
<string>377BF814-D52D-11DC-BD8E-00112475D960</string>
</dict>
</plist>

View File

@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>content</key>
<string>t.text :${1:title}
$0</string>
<key>name</key>
<string>Table column text</string>
<key>scope</key>
<string>meta.rails.migration.create_table, meta.rails.migration.change_table</string>
<key>tabTrigger</key>
<string>tct</string>
<key>uuid</key>
<string>6A9D4C30-D52D-11DC-BD8E-00112475D960</string>
</dict>
</plist>

View File

@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>content</key>
<string>t.time :${1:title}
$0</string>
<key>name</key>
<string>Table column time</string>
<key>scope</key>
<string>meta.rails.migration.create_table, meta.rails.migration.change_table</string>
<key>tabTrigger</key>
<string>tcti</string>
<key>uuid</key>
<string>4F5DDD37-D532-11DC-BD8E-00112475D960</string>
</dict>
</plist>

View File

@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>content</key>
<string>t.timestamp :${1:title}
$0</string>
<key>name</key>
<string>Table column timestamp</string>
<key>scope</key>
<string>meta.rails.migration.create_table, meta.rails.migration.change_table</string>
<key>tabTrigger</key>
<string>tcts</string>
<key>uuid</key>
<string>4600CE20-D532-11DC-BD8E-00112475D960</string>
</dict>
</plist>

View File

@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>content</key>
<string>t.timestamps
$0</string>
<key>name</key>
<string>Table column timestamps</string>
<key>scope</key>
<string>meta.rails.migration.create_table, meta.rails.migration.change_table</string>
<key>tabTrigger</key>
<string>tctss</string>
<key>uuid</key>
<string>E0C8FDC4-D532-11DC-BD8E-00112475D960</string>
</dict>
</plist>

View File

@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>content</key>
<string>t.column ${1:title}, :${2:string}
$0</string>
<key>name</key>
<string>Create Column in Table</string>
<key>scope</key>
<string>meta.rails.migration.create_table</string>
<key>tabTrigger</key>
<string>mcol</string>
<key>uuid</key>
<string>7592CA99-75D7-48B6-9133-00B9F148FF43</string>
</dict>
</plist>

View File

@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>content</key>
<string>t.column ${1:title}, :${2:string}
mccc$0</string>
<key>name</key>
<string>Create Several Columns in Table</string>
<key>scope</key>
<string>meta.rails.migration.create_table</string>
<key>tabTrigger</key>
<string>mccc</string>
<key>uuid</key>
<string>67FD2F8F-5F25-45F2-A451-2F39977A9EDE</string>
</dict>
</plist>

View File

@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>content</key>
<string>drop_table :${1:table}${2: [press tab twice to generate create_table]}</string>
<key>name</key>
<string>Drop / Create Table</string>
<key>scope</key>
<string>meta.rails.migration - meta.rails.migration.create_table - meta.rails.migration.change_table</string>
<key>tabTrigger</key>
<string>mtab</string>
<key>uuid</key>
<string>20375601-B13F-4314-B8E4-362706566636</string>
</dict>
</plist>

View File

@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>content</key>
<string>remove_column :${1:table}, :${2:column}${3: [press tab twice to generate add_column]}</string>
<key>name</key>
<string>Remove / Add Column</string>
<key>scope</key>
<string>meta.rails.migration - meta.rails.migration.create_table - meta.rails.migration.change_table</string>
<key>tabTrigger</key>
<string>mcol</string>
<key>uuid</key>
<string>16A705EB-10DC-42B5-9FF2-377E206421DC</string>
</dict>
</plist>

View File

@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>content</key>
<string>RAILS_DEFAULT_LOGGER.debug "${1:message}"$0</string>
<key>name</key>
<string>RAILS_DEFAULT_LOGGER.debug</string>
<key>scope</key>
<string>source.ruby.rails</string>
<key>tabTrigger</key>
<string>rdb</string>
<key>uuid</key>
<string>7B15B396-1F41-4529-9253-32761E94448C</string>
</dict>
</plist>

View File

@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>content</key>
<string>t.rename(:${1:old_column_name}, :${2:new_column_name})
$0</string>
<key>name</key>
<string>Table column(s) rename</string>
<key>scope</key>
<string>meta.rails.migration.create_table, meta.rails.migration.change_table</string>
<key>tabTrigger</key>
<string>tre</string>
<key>uuid</key>
<string>DF30226E-1111-448A-B669-7CA34EE83909</string>
</dict>
</plist>

View File

@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>content</key>
<string>assert_redirected_to ${2::action =&gt; "${1:index}"}</string>
<key>name</key>
<string>assert_redirected_to</string>
<key>scope</key>
<string>source.ruby.rails</string>
<key>tabTrigger</key>
<string>art</string>
<key>uuid</key>
<string>CD60F800-850D-47CF-BE32-3DE665DD5C68</string>
</dict>
</plist>

View File

@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>content</key>
<string>assert_response :${1:success}, @response.body$0</string>
<key>name</key>
<string>assert_response</string>
<key>scope</key>
<string>source.ruby.rails</string>
<key>tabTrigger</key>
<string>asre</string>
<key>uuid</key>
<string>2BD82DCB-1F19-4C8F-BC70-C0BBB06A2138</string>
</dict>
</plist>

View File

@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>content</key>
<string>after_create </string>
<key>name</key>
<string>after_create</string>
<key>scope</key>
<string>source.ruby.rails</string>
<key>tabTrigger</key>
<string>aftc</string>
<key>uuid</key>
<string>279D1981-B055-4693-B9AF-5B571A62A6AE</string>
</dict>
</plist>

View File

@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>content</key>
<string>after_destroy </string>
<key>name</key>
<string>after_destroy</string>
<key>scope</key>
<string>source.ruby.rails</string>
<key>tabTrigger</key>
<string>aftd</string>
<key>uuid</key>
<string>A2F3E8C1-4216-4890-8491-2F8C7534ED03</string>
</dict>
</plist>

View File

@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>content</key>
<string>after_save </string>
<key>name</key>
<string>after_save</string>
<key>scope</key>
<string>source.ruby.rails</string>
<key>tabTrigger</key>
<string>afts</string>
<key>uuid</key>
<string>4D1787E3-1583-4CF3-8D99-CC45D7C35EED</string>
</dict>
</plist>

View File

@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>content</key>
<string>after_update </string>
<key>name</key>
<string>after_update</string>
<key>scope</key>
<string>source.ruby.rails</string>
<key>tabTrigger</key>
<string>aftu</string>
<key>uuid</key>
<string>0C9EA1A1-66C5-4E1C-9C30-E1FFE8EC6EAE</string>
</dict>
</plist>

View File

@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>content</key>
<string>after_validation </string>
<key>name</key>
<string>after_validation</string>
<key>scope</key>
<string>source.ruby.rails</string>
<key>tabTrigger</key>
<string>aftv</string>
<key>uuid</key>
<string>44FBD811-70A9-462B-AC56-F975ADAD62AF</string>
</dict>
</plist>

View File

@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>content</key>
<string>after_validation_on_create </string>
<key>name</key>
<string>after_validation_on_create</string>
<key>scope</key>
<string>source.ruby.rails</string>
<key>tabTrigger</key>
<string>aftvoc</string>
<key>uuid</key>
<string>BA0DE6C7-EAD3-42C9-8ABB-2B9A5F2FE225</string>
</dict>
</plist>

View File

@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>content</key>
<string>after_validation_on_update </string>
<key>name</key>
<string>after_validation_on_update</string>
<key>scope</key>
<string>source.ruby.rails</string>
<key>tabTrigger</key>
<string>aftvou</string>
<key>uuid</key>
<string>BCB25D36-2D3F-41E9-B2CF-37D6E883E8D1</string>
</dict>
</plist>

View File

@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>content</key>
<string>assert(${1:var} = assigns(:${1}), "Cannot find @${1}")
$0</string>
<key>name</key>
<string>assert(var = assigns(:var))</string>
<key>scope</key>
<string>source.ruby</string>
<key>tabTrigger</key>
<string>asg</string>
<key>uuid</key>
<string>FE9C4B4E-860D-49F0-AAF7-5582B98F5F54</string>
</dict>
</plist>

View File

@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>content</key>
<string>assert_difference "${1:Model}.${2:count}", ${3:1} do
$0
end</string>
<key>name</key>
<string>assert_difference</string>
<key>scope</key>
<string>source.ruby</string>
<key>tabTrigger</key>
<string>asd</string>
<key>uuid</key>
<string>30BEA6FB-301C-4460-93EC-FA3404688962</string>
</dict>
</plist>

View File

@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>content</key>
<string>assert_no_difference "${1:Model}.${2:count}" do
$0
end</string>
<key>name</key>
<string>assert_no_difference</string>
<key>scope</key>
<string>source.ruby</string>
<key>tabTrigger</key>
<string>asnd</string>
<key>uuid</key>
<string>5C6F4462-70E6-40B4-B3F2-F371656E7784</string>
</dict>
</plist>

View File

@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>content</key>
<string>assert_redirected_to ${10:${2:parent}_${3:child}_path(${4:@}${5:${2}})}</string>
<key>name</key>
<string>assert_redirected_to (nested path plural)</string>
<key>scope</key>
<string>source.ruby.rails</string>
<key>tabTrigger</key>
<string>artnpp</string>
<key>uuid</key>
<string>4C92C020-7337-4D6E-91EE-7ABF2BFC7F41</string>
</dict>
</plist>

View File

@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>content</key>
<string>assert_redirected_to ${2:${12:parent}_${13:child}_path(${14:@}${15:${12}}, ${16:@}${17:${13}})}</string>
<key>name</key>
<string>assert_redirected_to (nested path)</string>
<key>scope</key>
<string>source.ruby.rails</string>
<key>tabTrigger</key>
<string>artnp</string>
<key>uuid</key>
<string>97021C0D-EB65-4046-B688-01F09B3B1615</string>
</dict>
</plist>

View File

@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>content</key>
<string>assert_redirected_to ${10:${2:model}s_path}</string>
<key>name</key>
<string>assert_redirected_to (path plural)</string>
<key>scope</key>
<string>source.ruby.rails</string>
<key>tabTrigger</key>
<string>artpp</string>
<key>uuid</key>
<string>0249637E-0720-46DA-A8FD-E176A2CC458B</string>
</dict>
</plist>

View File

@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>content</key>
<string>assert_redirected_to ${2:${12:model}_path(${13:@}${14:${12}})}</string>
<key>name</key>
<string>assert_redirected_to (path)</string>
<key>scope</key>
<string>source.ruby.rails</string>
<key>tabTrigger</key>
<string>artp</string>
<key>uuid</key>
<string>D33EDCE7-F8AF-48D4-AA7A-852BBF03E31D</string>
</dict>
</plist>

Some files were not shown because too many files have changed in this diff Show More