forked from alto/ruby-on-rails.tmbundle
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This is a merge from the git repository hosted by Dr. Nic
http://github.com/drnic/ruby-on-rails-tmbundle/commit/7edadd1 == 1.90.0 2008-03-08 * Major Upgrade to Rails 2.0 - Initial release * Ruby on Rails bundle maintenance has been taken over by Dr Nic Williams from its initial legendary creator Duane Johnson. * 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 :though (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 git-svn-id: http://svn.textmate.org/trunk/Bundles/Ruby on Rails.tmbundle@9069 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
- Loading branch information
Showing
287 changed files
with
8,612 additions
and
1,054 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
config/*.yml | ||
website/dist | ||
.DS_Store |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,36 @@ | ||
== Rails Bundle 1.0 | ||
== 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. | ||
|
||
== Author(s) == | ||
== 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
load 'deploy' if respond_to?(:namespace) # cap2 differentiator | ||
Dir['vendor/plugins/*/recipes/*.rb'].each { |plugin| load(plugin) } | ||
load 'config/deploy' |
25 changes: 25 additions & 0 deletions
25
Commands/Autocomplete Foreign Key Fixture Reference (habtm).tmCommand
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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> |
25 changes: 25 additions & 0 deletions
25
Commands/Autocomplete Foreign Key Fixture Reference.tmCommand
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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> |
Oops, something went wrong.