Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Renaming bundle to "Ruby on Rails" to conform to bundle style guide.

  • Loading branch information...
commit 01fece1a11577b15b51c7311324a72f2b8ad336f 0 parents
msheets authored
Showing with 8,576 additions and 0 deletions.
  1. +10 −0 ABOUT
  2. +27 −0 CHANGELOG
  3. +24 −0 Commands/Clone Development DB to Test DB.tmCommand
  4. +24 −0 Commands/DB Schema Dump.plist
  5. +24 −0 Commands/DB Schema Import.plist
  6. +25 −0 Commands/Generate Quick Migration.tmCommand
  7. +24 −0 Commands/Generate.plist
  8. +23 −0 Commands/Go To Alternate File.plist
  9. +23 −0 Commands/Go To File on This Line.plist
  10. +23 −0 Commands/Go To File.plist
  11. +23 −0 Commands/Go To Functional Test.plist
  12. +23 −0 Commands/Go To Helper.plist
  13. +23 −0 Commands/Go To Javascript.plist
  14. +23 −0 Commands/Go To Stylesheet.plist
  15. +23 −0 Commands/Go To Unit Test.plist
  16. +23 −0 Commands/Go To View.plist
  17. +23 −0 Commands/Install Bundled Plugin.plist
  18. +22 −0 Commands/Intelligent Go To File.plist
  19. +24 −0 Commands/Load Fixtures (Test DB).tmCommand
  20. +24 −0 Commands/Load Fixtures.tmCommand
  21. +26 −0 Commands/Make Selection in to Partial.plist
  22. +29 −0 Commands/Migrate to Previous Version.tmCommand
  23. +28 −0 Commands/Rake Migrate to Version.tmCommand
  24. +24 −0 Commands/Rake Migrate.plist
  25. +52 −0 Commands/Show DB Schema.tmCommand
  26. +7 −0 LICENSE
  27. +44 −0 Macros/Add : Remove Column.tmMacro
  28. +44 −0 Macros/Add : Remove Index.tmMacro
  29. +44 −0 Macros/Add : Remove Named Index.tmMacro
  30. +44 −0 Macros/Add : Remove Several Columns (marcc).tmMacro
  31. +44 −0 Macros/Add : Remove Several Columns.tmMacro
  32. +44 −0 Macros/Add : Remove Unique Index.tmMacro
  33. +44 −0 Macros/Create : Drop Table.tmMacro
  34. +48 −0 Macros/Drop : Create Table.tmMacro
  35. +48 −0 Macros/Remove : Add Column.tmMacro
  36. +44 −0 Macros/Rename : Rename Several Columns (mncc).tmMacro
  37. +44 −0 Macros/Rename : Rename Several Columns.tmMacro
  38. +44 −0 Macros/Rename Column.tmMacro
  39. +44 −0 Macros/Rename Table.tmMacro
  40. +16 −0 Snippets/180 rails form_tag.plist
  41. +16 −0 Snippets/Migration Add Column (mac).plist
  42. +16 −0 Snippets/Migration Create Column (mcc).plist
  43. +17 −0 Snippets/Migration Create Column Continue (mccc).plist
  44. +18 −0 Snippets/Migration Create Table (mct).plist
  45. +16 −0 Snippets/Migration Drop Create Table (mdct).plist
  46. +17 −0 Snippets/Migration Drop Table (mdt).plist
  47. +16 −0 Snippets/Migration Remove Column (mrc).plist
  48. +16 −0 Snippets/Migration Remove and Add Column (mrac).plist
  49. +16 −0 Snippets/RAILS_DEFAULT_LOGGER.debug (rdb).plist
  50. +16 −0 Snippets/Rename Column.tmSnippet
  51. +16 −0 Snippets/Rename Table.tmSnippet
  52. +16 −0 Snippets/Test Assert Redirected To (art).plist
  53. +16 −0 Snippets/Test Assert Response (are).plist
  54. +16 −0 Snippets/belongs_to (bt).plist
  55. +16 −0 Snippets/has_and_belongs_to_many (habtm).plist
  56. +16 −0 Snippets/has_many (hm).plist
  57. +16 −0 Snippets/has_one (ho).plist
  58. +16 −0 Snippets/lia.plist
  59. +16 −0 Snippets/liai.plist
  60. +16 −0 Snippets/lic.plist
  61. +16 −0 Snippets/lica.plist
  62. +16 −0 Snippets/licai.plist
  63. +16 −0 Snippets/logger_debug.tmSnippet
  64. +16 −0 Snippets/logger_error.tmSnippet
  65. +16 −0 Snippets/logger_fatal.tmSnippet
  66. +16 −0 Snippets/logger_info.tmSnippet
  67. +16 −0 Snippets/logger_warn.tmSnippet
  68. +16 −0 Snippets/map(&:sym_proc).tmSnippet
  69. +16 −0 Snippets/rails flash.plist
  70. +16 −0 Snippets/rails params.plist
  71. +16 −0 Snippets/rails session.plist
  72. +16 −0 Snippets/rcea.plist
  73. +16 −0 Snippets/rcec.plist
  74. +16 −0 Snippets/rceca.plist
  75. +16 −0 Snippets/rea.plist
  76. +16 −0 Snippets/reai.plist
  77. +16 −0 Snippets/rec.plist
  78. +16 −0 Snippets/reca.plist
  79. +16 −0 Snippets/recai.plist
  80. +16 −0 Snippets/render (action)... (ra).plist
  81. +16 −0 Snippets/render (action,layout) (ral).plist
  82. +16 −0 Snippets/render (file) (rf).plist
  83. +16 −0 Snippets/render (file,use_full_path) (rfu).plist
  84. +16 −0 Snippets/render (inline) (ri).plist
  85. +16 −0 Snippets/render (inline,locals) (ril).plist
  86. +16 −0 Snippets/render (inline,type) (rit).plist
  87. +16 −0 Snippets/render (layout) (rl).plist
  88. +16 −0 Snippets/render (nothing) (rn).plist
  89. +16 −0 Snippets/render (nothing,status) (rns).plist
  90. +16 −0 Snippets/render (partial) (rp).plist
  91. +16 −0 Snippets/render (partial,collection) (rpc).plist
  92. +16 −0 Snippets/render (partial,locals) (rpl).plist
  93. +16 −0 Snippets/render (partial,object) (rpo).plist
  94. +16 −0 Snippets/render (partial,status) (rps).plist
  95. +16 −0 Snippets/render (text) (rt).plist
  96. +16 −0 Snippets/render (text,layout) (rtl).plist
  97. +16 −0 Snippets/render (text,layout=>true) (rtlt).plist
  98. +16 −0 Snippets/render (text,status) (rts).plist
  99. +16 −0 Snippets/validates_associated (va).plist
  100. +16 −0 Snippets/validates_associated if (vaif).plist
  101. +16 −0 Snippets/validates_confirmation_of (vc).plist
  102. +16 −0 Snippets/validates_confirmation_of if (vcif).plist
  103. +16 −0 Snippets/validates_exclusion_of (ve).plist
  104. +16 −0 Snippets/validates_exclusion_of if (veif).plist
  105. +16 −0 Snippets/validates_length_of (vl).plist
  106. +16 −0 Snippets/validates_presence_of (vp).plist
  107. +16 −0 Snippets/validates_presence_of if (vpif) 2.plist
  108. +16 −0 Snippets/validates_uniqueness_of (vu).plist
  109. +16 −0 Snippets/validates_uniqueness_of if (vuif).plist
  110. +19 −0 Snippets/verify (verify).plist
  111. +19 −0 Snippets/verify - redirect (verify).plist
  112. +86 −0 Support/bin/create_partial_from_selection.rb
  113. +85 −0 Support/bin/generate.rb
  114. +55 −0 Support/bin/generate_quick_migration.rb
  115. +55 −0 Support/bin/go_to_alternate_file.rb
  116. +139 −0 Support/bin/go_to_file_on_current_line.rb
  117. +67 −0 Support/bin/insert_add_column_or_create_table.rb
  118. +248 −0 Support/bin/intelligent_go_to_file.rb
  119. +96 −0 Support/bin/intelligent_migration_snippet.rb
  120. +42 −0 Support/bin/list_plugins.rb
  121. +122 −0 Support/bin/rake_helper.rb
  122. BIN  Support/images/home.gif
  123. BIN  Support/images/install.gif
  124. BIN  Support/images/rails.png
  125. BIN  Support/images/svn.png
  126. +2,287 −0 Support/javascripts/prototype.js
  127. +106 −0 Support/lib/rails/buffer.rb
  128. +61 −0 Support/lib/rails/misc.rb
  129. +259 −0 Support/lib/rails/rails_path.rb
  130. +170 −0 Support/lib/rails/text_mate.rb
  131. +23 −0 Support/lib/rails/unobtrusive_logger.rb
  132. +14 −0 Support/lib/rails_bundle_tools.rb
  133. +20 −0 Support/plugins/footnotes-edge/init.rb
  134. +43 −0 Support/plugins/footnotes-edge/lib/textmate_backtracer.rb
  135. +264 −0 Support/plugins/footnotes-edge/lib/textmate_footnotes.rb
  136. +14 −0 Support/plugins/footnotes-edge/lib/textmate_initialize.rb
  137. +21 −0 Support/plugins/footnotes-edge/templates/rescues/template_error.rhtml
  138. +65 −0 Support/plugins/footnotes-edge/test/mock_controller.rb
  139. +85 −0 Support/plugins/footnotes-edge/test/textmate_footnotes_test.rb
  140. +20 −0 Support/plugins/footnotes/init.rb
  141. +43 −0 Support/plugins/footnotes/lib/textmate_backtracer.rb
  142. +264 −0 Support/plugins/footnotes/lib/textmate_footnotes.rb
  143. +14 −0 Support/plugins/footnotes/lib/textmate_initialize.rb
  144. +21 −0 Support/plugins/footnotes/templates/rescues/template_error.rhtml
  145. +65 −0 Support/plugins/footnotes/test/mock_controller.rb
  146. +85 −0 Support/plugins/footnotes/test/textmate_footnotes_test.rb
  147. +267 −0 Support/templates/list_plugins.rhtml
  148. +67 −0 Support/test/buffer_test.rb
  149. +9 −0 Support/test/fixtures/app/controllers/admin/base_controller.rb
  150. +9 −0 Support/test/fixtures/app/controllers/user_controller.rb
  151. +2 −0  Support/test/fixtures/app/helpers/user_helper.rb
  152. +6 −0 Support/test/fixtures/app/models/notifier.rb
  153. +2 −0  Support/test/fixtures/app/models/user.rb
  154. 0  Support/test/fixtures/app/views/admin/base/action.rhtml
  155. +15 −0 Support/test/fixtures/app/views/notifier/forgot_password.rhtml
  156. 0  Support/test/fixtures/app/views/user/new.rhtml
  157. +5 −0 Support/test/misc_test.rb
  158. +91 −0 Support/test/rails_path_test.rb
  159. +3 −0  Support/test/test_helper.rb
  160. +48 −0 Support/test/text_mate_mock.rb
  161. 0  Support/test/text_mate_test.rb
  162. +90 −0 Syntaxes/HTML (Rails).plist
  163. +202 −0 Syntaxes/Ruby on Rails.plist
  164. +50 −0 Syntaxes/SQL (Rails).plist
  165. +21 −0 TODO
  166. +384 −0 info.plist
10 ABOUT
@@ -0,0 +1,10 @@
+== Rails Bundle 1.0
+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) ==
+Duane Johnson
+duane.johnson@gmail.com
+http://blog.inquirylabs.com/
27 CHANGELOG
@@ -0,0 +1,27 @@
+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
24 Commands/Clone Development DB to Test DB.tmCommand
@@ -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>
24 Commands/DB Schema Dump.plist
@@ -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>
24 Commands/DB Schema Import.plist
@@ -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>
25 Commands/Generate Quick Migration.tmCommand
@@ -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>
24 Commands/Generate.plist
@@ -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>
23 Commands/Go To Alternate File.plist
@@ -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</string>
+ <key>uuid</key>
+ <string>9453F0B3-B946-445F-BDB0-B01DE70732FC</string>
+</dict>
+</plist>
23 Commands/Go To File on This Line.plist
@@ -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</string>
+ <key>uuid</key>
+ <string>09BB96F2-75FD-48A7-8314-B5B56B09B477</string>
+</dict>
+</plist>
23 Commands/Go To File.plist
@@ -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</string>
+ <key>uuid</key>
+ <string>0CCC8443-40F3-4BAB-9440-D737562B5F45</string>
+</dict>
+</plist>
23 Commands/Go To Functional Test.plist
@@ -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</string>
+ <key>uuid</key>
+ <string>DFE393BE-0764-49FE-B464-6350A50921E6</string>
+</dict>
+</plist>
23 Commands/Go To Helper.plist
@@ -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.unit_test</string>
+ <key>uuid</key>
+ <string>51C9C27A-D931-49F9-B6D8-C0E7ABEC992D</string>
+</dict>
+</plist>
23 Commands/Go To Javascript.plist
@@ -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</string>
+ <key>uuid</key>
+ <string>B078346F-61D8-4E75-9427-80720FBC67F7</string>
+</dict>
+</plist>
23 Commands/Go To Stylesheet.plist
@@ -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</string>
+ <key>uuid</key>
+ <string>B207BBD4-D6AA-41E9-9530-27210F2D7B66</string>
+</dict>
+</plist>
23 Commands/Go To Unit Test.plist
@@ -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.model, meta.rails.helper</string>
+ <key>uuid</key>
+ <string>BDBB15A4-2824-4BEC-93A5-7475F9C46A39</string>
+</dict>
+</plist>
23 Commands/Go To View.plist
@@ -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" 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, meta.rails.functional_test</string>
+ <key>uuid</key>
+ <string>EE862691-A624-4797-90CF-EDD39EFB2D8E</string>
+</dict>
+</plist>
23 Commands/Install Bundled Plugin.plist
@@ -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>
22 Commands/Intelligent Go To File.plist
@@ -0,0 +1,22 @@
+<?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/intelligent_go_to_file.rb"
+</string>
+ <key>input</key>
+ <string>none</string>
+ <key>name</key>
+ <string>Intelligent Go to File</string>
+ <key>output</key>
+ <string>afterSelectedText</string>
+ <key>scope</key>
+ <string>source.ruby.rails, text.html.ruby, comment.line.number-sign.ruby</string>
+ <key>uuid</key>
+ <string>43304E62-66F7-424D-8AF6-33E0237BF349</string>
+</dict>
+</plist>
24 Commands/Load Fixtures (Test DB).tmCommand
@@ -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>
24 Commands/Load Fixtures.tmCommand
@@ -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>
26 Commands/Make Selection in to Partial.plist
@@ -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</string>
+ <key>uuid</key>
+ <string>1DD8A214-1C97-45BA-ADEE-8F888DDE8570</string>
+</dict>
+</plist>
29 Commands/Migrate to Previous Version.tmCommand
@@ -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>
28 Commands/Rake Migrate to Version.tmCommand
@@ -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>
24 Commands/Rake Migrate.plist
@@ -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>
52 Commands/Show DB Schema.tmCommand
@@ -0,0 +1,52 @@
+<?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>#!/usr/bin/env ruby
+
+require "#{ENV['TM_SUPPORT_PATH']}/lib/progress"
+TextMate.call_with_progress(:title =&gt; "Contacting SQL Server", :message =&gt; "Fetching database schema…") do
+
+ project = ENV['TM_PROJECT_DIRECTORY']
+ word = ENV['TM_CURRENT_WORD']
+
+ require "#{project}/config/boot"
+ require "#{project}/config/environment"
+
+ klass = Object.const_get(word) rescue nil
+ if klass and klass.class == Class and klass.ancestors.include?(ActiveRecord::Base)
+ columns = klass.columns_hash
+
+ data = []
+ data += [%w[column primary sql_type default]]
+ data += [%w[------ ------- -------- -------]]
+ data += columns.collect { |col, attrs| [col, attrs.primary.to_s, attrs.sql_type.to_s, attrs.default.to_s] }
+
+ STDOUT &lt;&lt; data.inject('') do |output, array|
+ output + array.inject('') { |row_str, value| row_str + value.ljust(20) } + "\n"
+ end
+ elsif klass and klass.class == Class and not klass.ancestors.include?(ActiveRecord::Base)
+ STDOUT &lt;&lt; "#{word} is not an Active Record derived class"
+ else
+ STDOUT &lt;&lt; "#{word} was not recognised as a class"
+ end
+
+end
+</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>
7 LICENSE
@@ -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.
44 Macros/Add : Remove Column.tmMacro
@@ -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>source.ruby.rails</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>
44 Macros/Add : Remove Index.tmMacro
@@ -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>source.ruby.rails</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>
44 Macros/Add : Remove Named Index.tmMacro
@@ -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>source.ruby.rails</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>
44 Macros/Add : Remove Several Columns (marcc).tmMacro
@@ -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>source.ruby.rails</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>
44 Macros/Add : Remove Several Columns.tmMacro
@@ -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>source.ruby.rails</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>
44 Macros/Add : Remove Unique Index.tmMacro
@@ -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>source.ruby.rails</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>
44 Macros/Create : Drop Table.tmMacro
@@ -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>source.ruby.rails</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>
48 Macros/Drop : Create Table.tmMacro
@@ -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>source.ruby.rails</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>
48 Macros/Remove : Add Column.tmMacro
@@ -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>source.ruby.rails</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>
44 Macros/Rename : Rename Several Columns (mncc).tmMacro
@@ -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>source.ruby.rails</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>
44 Macros/Rename : Rename Several Columns.tmMacro
@@ -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>source.ruby.rails</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>
44 Macros/Rename Column.tmMacro
@@ -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>source.ruby.rails</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>
44 Macros/Rename Table.tmMacro
@@ -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>source.ruby.rails</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>
16 Snippets/180 rails form_tag.plist
@@ -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>&lt;%= form_tag :action =&gt; "${1:update}" %&gt;</string>
+ <key>name</key>
+ <string>form_tag</string>
+ <key>scope</key>
+ <string>text.html.ruby</string>
+ <key>tabTrigger</key>
+ <string>ft</string>
+ <key>uuid</key>
+ <string>F0F6DACA-6A0B-11D9-BDC2-000D932CD5BA</string>
+</dict>
+</plist>
16 Snippets/Migration Add Column (mac).plist
@@ -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>add_column :${1:table}, :${2:column}, :${3:string}</string>
+ <key>name</key>
+ <string>Add Column</string>
+ <key>scope</key>
+ <string>source.ruby.rails</string>
+ <key>tabTrigger</key>
+ <string>mcol</string>
+ <key>uuid</key>
+ <string>0D8DA40B-0652-42E8-AB20-5B6847DC2F11</string>
+</dict>
+</plist>
16 Snippets/Migration Create Column (mcc).plist
@@ -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>t.column :${1:title}, :${2:string}$0</string>
+ <key>name</key>
+ <string>Create Column in Table</string>
+ <key>scope</key>
+ <string>source.ruby.rails</string>
+ <key>tabTrigger</key>
+ <string>mcol</string>
+ <key>uuid</key>
+ <string>7592CA99-75D7-48B6-9133-00B9F148FF43</string>
+</dict>
+</plist>
17 Snippets/Migration Create Column Continue (mccc).plist
@@ -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</string>
+ <key>scope</key>
+ <string>source.ruby.rails</string>
+ <key>tabTrigger</key>
+ <string>mccc</string>
+ <key>uuid</key>
+ <string>67FD2F8F-5F25-45F2-A451-2F39977A9EDE</string>
+</dict>
+</plist>
18 Snippets/Migration Create Table (mct).plist
@@ -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>create_table :${1:table} do |t|
+ $0
+end</string>
+ <key>name</key>
+ <string>Create Table</string>
+ <key>scope</key>
+ <string>source.ruby.rails</string>
+ <key>tabTrigger</key>
+ <string>mtab</string>
+ <key>uuid</key>
+ <string>59A47C33-97C5-411D-ADBE-ABD2324BD130</string>
+</dict>
+</plist>
16 Snippets/Migration Drop Create Table (mdct).plist
@@ -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>source.ruby.rails</string>
+ <key>tabTrigger</key>
+ <string>mtab</string>
+ <key>uuid</key>
+ <string>20375601-B13F-4314-B8E4-362706566636</string>
+</dict>
+</plist>
17 Snippets/Migration Drop Table (mdt).plist
@@ -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>drop_table :${1:table}
+$0</string>
+ <key>name</key>
+ <string>Drop Table</string>
+ <key>scope</key>
+ <string>source.ruby.rails</string>
+ <key>tabTrigger</key>
+ <string>mtab</string>
+ <key>uuid</key>
+ <string>C3ED4A88-B9CF-4F2B-B195-3C582ED58C5F</string>
+</dict>
+</plist>
16 Snippets/Migration Remove Column (mrc).plist
@@ -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}</string>
+ <key>name</key>
+ <string>Remove Column</string>
+ <key>scope</key>
+ <string>source.ruby.rails</string>
+ <key>tabTrigger</key>
+ <string>mcol</string>
+ <key>uuid</key>
+ <string>F0A39EAD-6D01-437B-9A79-468E0571CB3D</string>
+</dict>
+</plist>
16 Snippets/Migration Remove and Add Column (mrac).plist
@@ -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>source.ruby.rails</string>
+ <key>tabTrigger</key>
+ <string>mcol</string>
+ <key>uuid</key>
+ <string>16A705EB-10DC-42B5-9FF2-377E206421DC</string>
+</dict>
+</plist>
16 Snippets/RAILS_DEFAULT_LOGGER.debug (rdb).plist
@@ -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>
16 Snippets/Rename Column.tmSnippet
@@ -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>rename_column :${1:column}, :${2:new_column}</string>
+ <key>name</key>
+ <string>Rename Column</string>
+ <key>scope</key>
+ <string>source.ruby.rails</string>
+ <key>tabTrigger</key>
+ <string>mcol</string>
+ <key>uuid</key>
+ <string>86DD56A8-C655-49DA-997B-8929E5D9407E</string>
+</dict>
+</plist>
16 Snippets/Rename Table.tmSnippet
@@ -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>rename_table :${1:table}, :${2:new_name}$0</string>
+ <key>name</key>
+ <string>Rename Table</string>
+ <key>scope</key>
+ <string>source.ruby.rails</string>
+ <key>tabTrigger</key>
+ <string>mtab</string>
+ <key>uuid</key>
+ <string>23BAF50A-CAFC-468E-929C-B6EAC75937A8</string>
+</dict>
+</plist>
16 Snippets/Test Assert Redirected To (art).plist
@@ -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 :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>
16 Snippets/Test Assert Response (are).plist
@@ -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}</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>
16 Snippets/belongs_to (bt).plist
@@ -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>belongs_to :${1:object}${2:, :class_name =&gt; "${3:ClassName}", :foreign_key =&gt; "${4:${1}_id}"}</string>
+ <key>name</key>
+ <string>belongs_to</string>
+ <key>scope</key>
+ <string>source.ruby.rails</string>
+ <key>tabTrigger</key>
+ <string>bt</string>
+ <key>uuid</key>
+ <string>B8F08BD7-6160-482C-8A3D-CBC6BD2079A4</string>
+</dict>
+</plist>
16 Snippets/has_and_belongs_to_many (habtm).plist
@@ -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>has_and_belongs_to_many :${1:object}${2:, :join_table =&gt; "${3:table_name}", :foreign_key =&gt; "${4:${1}_id}"}</string>
+ <key>name</key>
+ <string>has_and_belongs_to_many</string>
+ <key>scope</key>
+ <string>source.ruby.rails</string>
+ <key>tabTrigger</key>
+ <string>habtm</string>
+ <key>uuid</key>
+ <string>2AC3AC1F-743B-4A33-863C-C37885073806</string>
+</dict>
+</plist>
16 Snippets/has_many (hm).plist
@@ -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>has_many :${1:objects}${2:, :class_name =&gt; "${3:ClassName}", :foreign_key =&gt; "${4:${1}_id}"}</string>
+ <key>name</key>
+ <string>has_many</string>
+ <key>scope</key>
+ <string>source.ruby.rails</string>
+ <key>tabTrigger</key>
+ <string>hm</string>
+ <key>uuid</key>
+ <string>F396B7BD-8255-48B1-904A-06E7D7CC2741</string>
+</dict>
+</plist>
16 Snippets/has_one (ho).plist
@@ -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>has_one :${1:object}${2:, :class_name =&gt; "${3:ClassName}", :foreign_key =&gt; "${4:${1}_id}"}</string>
+ <key>name</key>
+ <string>has_one</string>
+ <key>scope</key>
+ <string>source.ruby.rails</string>
+ <key>tabTrigger</key>
+ <string>ho</string>
+ <key>uuid</key>
+ <string>BD2E4045-54E6-450E-B31B-5E1865CFFBC9</string>
+</dict>
+</plist>
16 Snippets/lia.plist
@@ -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>&lt;%= link_to "${1:link text...}", :action =&gt; "${2:index}" %&gt;</string>
+ <key>name</key>
+ <string>link_to (action)</string>
+ <key>scope</key>
+ <string>text.html.ruby</string>
+ <key>tabTrigger</key>
+ <string>lia</string>
+ <key>uuid</key>
+ <string>9E2B42FE-7BC8-11D9-906A-000D932CD5BA</string>
+</dict>
+</plist>
16 Snippets/liai.plist
@@ -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>&lt;%= link_to "${1:link text...}", :action =&gt; "${2:edit}", :id =&gt; ${3:@item} %&gt;</string>
+ <key>name</key>
+ <string>link_to (action, id)</string>
+ <key>scope</key>
+ <string>text.html.ruby</string>
+ <key>tabTrigger</key>
+ <string>liai</string>
+ <key>uuid</key>
+ <string>B4F952F4-7BC8-11D9-906A-000D932CD5BA</string>
+</dict>
+</plist>
16 Snippets/lic.plist
@@ -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>&lt;%= link_to "${1:link text...}", :controller =&gt; "${2:items}" %&gt;</string>
+ <key>name</key>
+ <string>link_to (controller)</string>
+ <key>scope</key>
+ <string>text.html.ruby</string>
+ <key>tabTrigger</key>
+ <string>lic</string>
+ <key>uuid</key>
+ <string>74590E16-7BCB-11D9-906A-000D932CD5BA</string>
+</dict>
+</plist>
16 Snippets/lica.plist
@@ -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>&lt;%= link_to "${1:link text...}", :controller =&gt; "${2:items}", :action =&gt; "${3:index}" %&gt;</string>
+ <key>name</key>
+ <string>link_to (controller, action)</string>
+ <key>scope</key>
+ <string>text.html.ruby</string>
+ <key>tabTrigger</key>
+ <string>lica</string>
+ <key>uuid</key>
+ <string>C11C0BF5-7BC8-11D9-906A-000D932CD5BA</string>
+</dict>
+</plist>
16 Snippets/licai.plist
@@ -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>&lt;%= link_to "${1:link text...}", :controller =&gt; "${2:items}", :action =&gt; "${3:edit}", :id =&gt; ${4:@item} %&gt;</string>
+ <key>name</key>
+ <string>link_to (controller, action, id)</string>
+ <key>scope</key>
+ <string>text.html.ruby</string>
+ <key>tabTrigger</key>
+ <string>licai</string>
+ <key>uuid</key>
+ <string>D21BE958-7BC8-11D9-906A-000D932CD5BA</string>
+</dict>
+</plist>
16 Snippets/logger_debug.tmSnippet
@@ -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>logger.debug "${1:message}"$0</string>
+ <key>name</key>
+ <string>logger.debug</string>
+ <key>scope</key>
+ <string>source.ruby.rails</string>
+ <key>tabTrigger</key>
+ <string>log</string>
+ <key>uuid</key>
+ <string>D975E5C1-42C2-40F1-8960-0DA533B18113</string>
+</dict>
+</plist>
16 Snippets/logger_error.tmSnippet
@@ -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>logger.error "${1:message}"$0</string>
+ <key>name</key>
+ <string>logger.error</string>
+ <key>scope</key>
+ <string>source.ruby.rails</string>
+ <key>tabTrigger</key>
+ <string>log</string>
+ <key>uuid</key>
+ <string>7053B86A-9B81-4154-AB3C-61B8035C5D33</string>
+</dict>
+</plist>
16 Snippets/logger_fatal.tmSnippet
@@ -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>logger.fatal "${1:message}"$0</string>
+ <key>name</key>
+ <string>logger.fatal</string>
+ <key>scope</key>
+ <string>source.ruby.rails</string>
+ <key>tabTrigger</key>
+ <string>log</string>
+ <key>uuid</key>
+ <string>35E95C81-22F7-4C40-8297-ED21086DDA81</string>
+</dict>
+</plist>
16 Snippets/logger_info.tmSnippet
@@ -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>logger.info "${1:message}"$0</string>
+ <key>name</key>
+ <string>logger.info</string>
+ <key>scope</key>
+ <string>source.ruby.rails</string>
+ <key>tabTrigger</key>
+ <string>log</string>
+ <key>uuid</key>
+ <string>36E2A3EE-E9CC-4B7F-A4CF-AFAF970B8699</string>
+</dict>
+</plist>
16 Snippets/logger_warn.tmSnippet
@@ -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>logger.warn "${1:message}"$0</string>
+ <key>name</key>
+ <string>logger.warn</string>
+ <key>scope</key>
+ <string>source.ruby.rails</string>
+ <key>tabTrigger</key>
+ <string>log</string>
+ <key>uuid</key>
+ <string>38D5CA05-E219-4399-A244-609AF40B1D0B</string>
+</dict>
+</plist>
16 Snippets/map(&:sym_proc).tmSnippet
@@ -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>map(&amp;:${1:id})</string>
+ <key>name</key>
+ <string>map(&amp;:sym_proc)</string>
+ <key>scope</key>
+ <string>source.ruby.rails</string>
+ <key>tabTrigger</key>
+ <string>mp</string>
+ <key>uuid</key>
+ <string>EC605540-C431-4FD0-AD91-D913118DACA7</string>
+</dict>
+</plist>
16 Snippets/rails flash.plist
@@ -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>flash[:${1:notice}] = "${2:Successfully created...}"$0</string>
+ <key>name</key>
+ <string>flash[…]</string>
+ <key>scope</key>
+ <string>source.ruby.rails</string>
+ <key>tabTrigger</key>
+ <string>flash</string>
+ <key>uuid</key>
+ <string>D864896E-8763-11D9-897C-000393CBCE2E</string>
+</dict>
+</plist>
16 Snippets/rails params.plist
@@ -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>params[:${1:id}]</string>
+ <key>keyEquivalent</key>
+ <string>^p</string>
+ <key>name</key>
+ <string>params[…]</string>
+ <key>scope</key>
+ <string>source.ruby.rails</string>
+ <key>uuid</key>
+ <string>AC8EDA3E-875B-11D9-897C-000393CBCE2E</string>
+</dict>
+</plist>
16 Snippets/rails session.plist
@@ -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>session[:${1:user}]</string>
+ <key>keyEquivalent</key>
+ <string>^j</string>
+ <key>name</key>
+ <string>session[…]</string>
+ <key>scope</key>
+ <string>source.ruby.rails</string>
+ <key>uuid</key>
+ <string>7B02ABF8-8763-11D9-897C-000393CBCE2E</string>
+</dict>
+</plist>
16 Snippets/rcea.plist
@@ -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>render_component :action =&gt; "${1:index}"</string>
+ <key>name</key>
+ <string>render_component (action)</string>
+ <key>scope</key>
+ <string>source.ruby.rails</string>
+ <key>tabTrigger</key>
+ <string>rcea</string>
+ <key>uuid</key>
+ <string>EB781D86-84C5-11D9-A094-000D932CD5BA</string>
+</dict>
+</plist>
16 Snippets/rcec.plist
@@ -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>render_component :controller =&gt; "${1:items}"</string>
+ <key>name</key>
+ <string>render_component (controller)</string>
+ <key>scope</key>
+ <string>source.ruby.rails</string>
+ <key>tabTrigger</key>
+ <string>rcec</string>
+ <key>uuid</key>
+ <string>F8EE4249-84C5-11D9-A094-000D932CD5BA</string>
+</dict>
+</plist>
16 Snippets/rceca.plist
@@ -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>render_component :controller =&gt; "${1:items}", :action =&gt; "${2:index}"</string>
+ <key>name</key>
+ <string>render_component (controller, action)</string>
+ <key>scope</key>
+ <string>source.ruby.rails</string>
+ <key>tabTrigger</key>
+ <string>rceca</string>
+ <key>uuid</key>
+ <string>060DC5CD-84C6-11D9-A094-000D932CD5BA</string>
+</dict>
+</plist>
16 Snippets/rea.plist
@@ -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>redirect_to :action =&gt; "${1:index}"</string>
+ <key>name</key>
+ <string>redirect_to (action)</string>
+ <key>scope</key>
+ <string>source.ruby.rails</string>
+ <key>tabTrigger</key>
+ <string>rea</string>
+ <key>uuid</key>
+ <string>F2F3167C-73B9-11D9-B752-000D932CD5BA</string>
+</dict>
+</plist>
16 Snippets/reai.plist
@@ -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>redirect_to :action =&gt; "${1:show}", :id =&gt; ${0:@item}</string>
+ <key>name</key>
+ <string>redirect_to (action, id)</string>
+ <key>scope</key>
+ <string>source.ruby.rails</string>
+ <key>tabTrigger</key>
+ <string>reai</string>
+ <key>uuid</key>
+ <string>2233B484-73BA-11D9-B752-000D932CD5BA</string>
+</dict>
+</plist>
16 Snippets/rec.plist
@@ -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>redirect_to :controller =&gt; "${1:items}"</string>
+ <key>name</key>
+ <string>redirect_to (controller)</string>
+ <key>scope</key>
+ <string>source.ruby.rails</string>
+ <key>tabTrigger</key>
+ <string>rec</string>
+ <key>uuid</key>
+ <string>053490FE-73BA-11D9-B752-000D932CD5BA</string>
+</dict>
+</plist>
16 Snippets/reca.plist
@@ -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>redirect_to :controller =&gt; "${1:items}", :action =&gt; "${2:list}"</string>
+ <key>name</key>
+ <string>redirect_to (controller, action)</string>
+ <key>scope</key>
+ <string>source.ruby.rails</string>
+ <key>tabTrigger</key>
+ <string>reca</string>
+ <key>uuid</key>
+ <string>0C137FBF-73BA-11D9-B752-000D932CD5BA</string>
+</dict>
+</plist>
16 Snippets/recai.plist
@@ -0,0 +1,16 @@