Permalink
Browse files

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://macromates.com/svn/Bundles/trunk/Bundles/Ruby%20on%20Rails.tmbundle@9069 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
  • Loading branch information...
1 parent bb24cf7 commit a89dcbfd6bb37f827df2c792d340f16ba20fbd8b kevin committed Mar 8, 2008
Showing with 8,612 additions and 1,054 deletions.
  1. +3 −0 .gitignore
  2. +28 −2 ABOUT
  3. +82 −0 CHANGELOG
  4. +3 −0 Capfile
  5. +25 −0 Commands/Autocomplete Foreign Key Fixture Reference (habtm).tmCommand
  6. +25 −0 Commands/Autocomplete Foreign Key Fixture Reference.tmCommand
  7. +1 −1 Commands/Go To Alternate File.plist
  8. +1 −1 Commands/Go To File on This Line.plist
  9. +1 −1 Commands/Go To File.plist
  10. +1 −1 Commands/Go To Functional Test.plist
  11. +1 −1 Commands/Go To Helper.plist
  12. +1 −1 Commands/Go To Javascript.plist
  13. +23 −0 Commands/Go To Model.tmCommand
  14. +1 −1 Commands/Go To Stylesheet.plist
  15. +1 −1 Commands/Go To Unit Test.plist
  16. +2 −2 Commands/Go To View.plist
  17. +23 −0 Commands/Go to Fixture.tmCommand
  18. +1 −1 Commands/Make Selection in to Partial.plist
  19. +24 −0 Commands/Redo Last Migration.tmCommand
  20. +3 −31 Commands/Show DB Schema.tmCommand
  21. +7 −6 Commands/{Intelligent Go To File.plist → Test All.tmCommand}
  22. +23 −0 Commands/Test Functionals.tmCommand
  23. +23 −0 Commands/Test Integration.tmCommand
  24. +23 −0 Commands/Test Plugins.tmCommand
  25. +23 −0 Commands/Test Recent.tmCommand
  26. +23 −0 Commands/Test Uncommitted.tmCommand
  27. +23 −0 Commands/Test Units.tmCommand
  28. +27 −0 Commands/View demo help.tmCommand
  29. +1 −1 Macros/{Add : Remove Column.tmMacro → Add %3A Remove Column.tmMacro}
  30. +1 −1 Macros/{Add : Remove Index.tmMacro → Add %3A Remove Index.tmMacro}
  31. +1 −1 Macros/{Add : Remove Named Index.tmMacro → Add %3A Remove Named Index.tmMacro}
  32. +1 −1 ...s/{Add : Remove Several Columns (marcc).tmMacro → Add %3A Remove Several Columns (marcc).tmMacro}
  33. +1 −1 Macros/{Add : Remove Several Columns.tmMacro → Add %3A Remove Several Columns.tmMacro}
  34. +1 −1 Macros/{Add : Remove Unique Index.tmMacro → Add %3A Remove Unique Index.tmMacro}
  35. +1 −1 Macros/{Create : Drop Table.tmMacro → Create %3A Drop Table.tmMacro}
  36. +1 −1 Macros/{Drop : Create Table.tmMacro → Drop %3A Create Table.tmMacro}
  37. +1 −1 Macros/{Remove : Add Column.tmMacro → Remove %3A Add Column.tmMacro}
  38. +1 −1 ...ename : Rename Several Columns (mncc).tmMacro → Rename %3A Rename Several Columns (mncc).tmMacro}
  39. +1 −1 Macros/{Rename : Rename Several Columns.tmMacro → Rename %3A Rename Several Columns.tmMacro}
  40. +1 −1 Macros/Rename Column.tmMacro
  41. +1 −1 Macros/Rename Table.tmMacro
  42. +48 −0 Preferences/Template (ERB).tmPreferences
  43. +48 −0 Preferences/Template (Haml).tmPreferences
  44. +38 −0 README
  45. +19 −0 Rakefile
  46. +16 −0 Snippets/$LABEL.tmSnippet
  47. +16 −0 Snippets/%3C%= Fixtures_identify(%3Asymbol) %%3E.tmSnippet
  48. +4 −2 Snippets/180 rails form_tag.plist
  49. +17 −0 Snippets/Create binary column.tmSnippet
  50. +17 −0 Snippets/Create boolean column.tmSnippet
  51. +25 −0 Snippets/Create controller class.tmSnippet
  52. +17 −0 Snippets/Create date column.tmSnippet
  53. +17 −0 Snippets/Create datetime column.tmSnippet
  54. +17 −0 Snippets/Create decimal column.tmSnippet
  55. +17 −0 Snippets/Create float column.tmSnippet
  56. +21 −0 Snippets/Create functional test class.tmSnippet
  57. +17 −0 Snippets/Create integer column.tmSnippet
  58. +17 −0 Snippets/Create lock_version column.tmSnippet
  59. +17 −0 Snippets/Create references column.tmSnippet
  60. +17 −0 Snippets/Create string column.tmSnippet
  61. +17 −0 Snippets/Create text column.tmSnippet
  62. +17 −0 Snippets/Create time column.tmSnippet
  63. +17 −0 Snippets/Create timestamp column.tmSnippet
  64. +17 −0 Snippets/Create timestamps columns.tmSnippet
  65. +3 −2 Snippets/Migration Create Column (mcc).plist
  66. +3 −3 Snippets/Migration Create Column Continue (mccc).plist
  67. +1 −1 Snippets/Migration Drop Create Table (mdct).plist
  68. +1 −1 Snippets/Migration Remove and Add Column (mrac).plist
  69. +16 −0 Snippets/after_create.tmSnippet
  70. +16 −0 Snippets/after_destroy.tmSnippet
  71. +16 −0 Snippets/after_save.tmSnippet
  72. +16 −0 Snippets/after_update.tmSnippet
  73. +16 −0 Snippets/after_validation.tmSnippet
  74. +16 −0 Snippets/after_validation_on_create.tmSnippet
  75. +16 −0 Snippets/after_validation_on_update.tmSnippet
  76. +17 −0 Snippets/assert(var = assigns(%3Avar)).tmSnippet
  77. +18 −0 Snippets/assert_difference.tmSnippet
  78. +18 −0 Snippets/assert_no_difference.tmSnippet
  79. +16 −0 Snippets/assert_redirected_to (nested path plural).tmSnippet
  80. +16 −0 Snippets/assert_redirected_to (nested path).tmSnippet
  81. +16 −0 Snippets/assert_redirected_to (path plural).tmSnippet
  82. +16 −0 Snippets/assert_redirected_to (path).tmSnippet
  83. +4 −4 Snippets/{Rename Table.tmSnippet → assert_rjs.tmSnippet}
  84. +18 −0 Snippets/assert_select.tmSnippet
  85. +16 −0 Snippets/before_create.tmSnippet
  86. +16 −0 Snippets/before_destroy.tmSnippet
  87. +16 −0 Snippets/before_save.tmSnippet
  88. +16 −0 Snippets/before_update.tmSnippet
  89. +16 −0 Snippets/before_validation.tmSnippet
  90. +16 −0 Snippets/before_validation_on_create.tmSnippet
  91. +16 −0 Snippets/before_validation_on_update.tmSnippet
  92. +2 −2 Snippets/belongs_to (bt).plist
  93. +16 −0 Snippets/cattr_accessor.tmSnippet
  94. +30 −0 Snippets/def create - resource.tmSnippet
  95. +21 −0 Snippets/def get request.tmSnippet
  96. +21 −0 Snippets/def post request.tmSnippet
  97. +16 −0 Snippets/end.tmSnippet
  98. +16 −0 Snippets/find(%3Aall).tmSnippet
  99. +16 −0 Snippets/find(%3Afirst).tmSnippet
  100. +16 −0 Snippets/find(id).tmSnippet
  101. +23 −0 Snippets/for loop erb.tmSnippet
  102. +23 −0 Snippets/for loop in rhtml.tmSnippet
  103. +16 −0 Snippets/form_for check_box.tmSnippet
  104. +16 −0 Snippets/form_for checkbox.tmSnippet
  105. +16 −0 Snippets/form_for file_field 2.tmSnippet
  106. +16 −0 Snippets/form_for file_field.tmSnippet
  107. +16 −0 Snippets/form_for hidden_field 2.tmSnippet
  108. +16 −0 Snippets/form_for hidden_field.tmSnippet
  109. +16 −0 Snippets/form_for label 2.tmSnippet
  110. +16 −0 Snippets/form_for label.tmSnippet
  111. +16 −0 Snippets/form_for password_field 2.tmSnippet
  112. +16 −0 Snippets/form_for password_field.tmSnippet
  113. +16 −0 Snippets/form_for radio_box 2.tmSnippet
  114. +16 −0 Snippets/form_for radio_box.tmSnippet
  115. +16 −0 Snippets/form_for submit 2.tmSnippet
  116. +16 −0 Snippets/form_for submit.tmSnippet
  117. +16 −0 Snippets/form_for text_area 2.tmSnippet
  118. +16 −0 Snippets/form_for text_area.tmSnippet
  119. +16 −0 Snippets/form_for text_field 2.tmSnippet
  120. +16 −0 Snippets/form_for text_field.tmSnippet
  121. +20 −0 Snippets/form_for with errors.tmSnippet
  122. +18 −0 Snippets/form_for.tmSnippet
  123. +1 −1 Snippets/has_many (hm).plist
  124. +16 −0 Snippets/has_many (through).tmSnippet
  125. +2 −2 Snippets/has_one (ho).plist
  126. +16 −0 Snippets/image_submit_tag.tmSnippet
  127. +16 −0 Snippets/javascript_include_tag.tmSnippet
  128. +2 −2 Snippets/lia.plist
  129. +2 −2 Snippets/liai.plist
  130. +2 −2 Snippets/lic.plist
  131. +2 −2 Snippets/lica.plist
  132. +2 −2 Snippets/licai.plist
  133. +16 −0 Snippets/link_to (nested path plural).tmSnippet
  134. +16 −0 Snippets/link_to (nested path).tmSnippet
  135. +16 −0 Snippets/link_to (path plural).tmSnippet
  136. +16 −0 Snippets/link_to (path).tmSnippet
  137. +16 −0 Snippets/link_to model.tmSnippet
  138. +2 −2 Snippets/logger_debug.tmSnippet
  139. +2 −2 Snippets/logger_error.tmSnippet
  140. +2 −2 Snippets/logger_fatal.tmSnippet
  141. +2 −2 Snippets/logger_info.tmSnippet
  142. +2 −2 Snippets/logger_warn.tmSnippet
  143. 0 Snippets/{map(&:sym_proc).tmSnippet → map(&%3Asym_proc).tmSnippet}
  144. +17 −0 Snippets/map_catch_all.tmSnippet
  145. +16 −0 Snippets/map_named_route.tmSnippet
  146. +18 −0 Snippets/map_resource.tmSnippet
  147. +18 −0 Snippets/map_resources.tmSnippet
  148. +19 −0 Snippets/map_with_options.tmSnippet
  149. +16 −0 Snippets/mattr_accessor.tmSnippet
  150. +16 −0 Snippets/page_hide (%2Aids).tmSnippet
  151. +16 −0 Snippets/page_insert_html (position, id, partial).tmSnippet
  152. +16 −0 Snippets/page_replace (id, partial).tmSnippet
  153. +16 −0 Snippets/page_replace_html (id, partial).tmSnippet
  154. +16 −0 Snippets/page_show (%2Aids).tmSnippet
  155. +16 −0 Snippets/page_toggle (%2Aids).tmSnippet
  156. +16 −0 Snippets/page_visual_effect (effect, id).tmSnippet
  157. +0 −16 Snippets/rcea.plist
  158. +0 −16 Snippets/rcec.plist
  159. +0 −16 Snippets/rceca.plist
  160. +16 −0 Snippets/redirect_to (nested path plural).tmSnippet
  161. +16 −0 Snippets/redirect_to (nested path).tmSnippet
  162. +4 −6 Snippets/{Migration Create Table (mct).plist → redirect_to (path plural).tmSnippet}
  163. +16 −0 Snippets/redirect_to (path).tmSnippet
  164. +2 −2 Snippets/render (partial,collection) (rpc).plist
  165. +2 −2 Snippets/render (partial,locals) (rpl).plist
  166. +2 −2 Snippets/render (partial,object) (rpo).plist
  167. 0 Snippets/{render (text,layout=>true) (rtlt).plist → render (text,layout=%3Etrue) (rtlt).plist}
  168. +18 −0 Snippets/render (update).tmSnippet
  169. +21 −0 Snippets/respond_to (html).tmSnippet
  170. +18 −0 Snippets/respond_to.tmSnippet
  171. +18 −0 Snippets/returning do %7Cvariable%7C %E2%80%A6 end.tmSnippet
  172. +16 −0 Snippets/stylesheet_link_tag.tmSnippet
  173. +16 −0 Snippets/submit_tag.tmSnippet
  174. +17 −0 Snippets/t_binary (tcbi).tmSnippet
  175. +17 −0 Snippets/t_boolean (tcb).tmSnippet
  176. +17 −0 Snippets/t_date (tcda).tmSnippet
  177. +17 −0 Snippets/t_datetime (tcdt).tmSnippet
  178. +17 −0 Snippets/t_decimal (tcd).tmSnippet
  179. +17 −0 Snippets/t_float (tcf).tmSnippet
  180. +17 −0 Snippets/t_integer (tci).tmSnippet
  181. +17 −0 Snippets/t_lock_version (tcl).tmSnippet
  182. +17 −0 Snippets/t_references (tcr).tmSnippet
  183. +17 −0 Snippets/t_string (tcs).tmSnippet
  184. +17 −0 Snippets/t_text (tct).tmSnippet
  185. +17 −0 Snippets/t_time (tcti).tmSnippet
  186. +17 −0 Snippets/t_timestamp (tcts).tmSnippet
  187. +17 −0 Snippets/t_timestamps (tctss).tmSnippet
  188. +1 −1 Snippets/validates_exclusion_of (ve).plist
  189. +1 −1 Snippets/validates_exclusion_of if (veif).plist
  190. +16 −0 Snippets/validates_format_of if.tmSnippet
  191. +16 −0 Snippets/validates_format_of.tmSnippet
  192. +16 −0 Snippets/validates_inclusion_of if.tmSnippet
  193. +16 −0 Snippets/validates_inclusion_of.tmSnippet
  194. +16 −0 Snippets/validates_length_of if.tmSnippet
  195. +16 −0 Snippets/validates_numericality_of if.tmSnippet
  196. +16 −0 Snippets/validates_numericality_of.tmSnippet
  197. +1 −1 Snippets/validates_presence_of (vp).plist
  198. +16 −0 Snippets/wants_format.tmSnippet
  199. +4 −4 Snippets/{Rename Column.tmSnippet → xhr delete.tmSnippet}
  200. +4 −4 Snippets/{Migration Remove Column (mrc).plist → xhr get.tmSnippet}
  201. +4 −4 Snippets/{Migration Add Column (mac).plist → xhr post.tmSnippet}
  202. +4 −5 Snippets/{Migration Drop Table (mdt).plist → xhr put.tmSnippet}
  203. +3 −2 Support/bin/create_partial_from_selection.rb
  204. +78 −0 Support/bin/fixture_auto_complete.rb
  205. +13 −41 Support/bin/generate.rb
  206. +3 −1 Support/bin/generate_quick_migration.rb
  207. +3 −45 Support/bin/go_to_alternate_file.rb
  208. +3 −129 Support/bin/go_to_file_on_current_line.rb
  209. +16 −16 Support/bin/insert_add_column_or_create_table.rb
  210. +0 −248 Support/bin/intelligent_go_to_file.rb
  211. +20 −21 Support/bin/intelligent_migration_snippet.rb
  212. +1 −1 Support/bin/rake_helper.rb
  213. +35 −0 Support/bin/show_schema.rb
  214. +21 −11 Support/lib/rails/buffer.rb
  215. +187 −0 Support/lib/rails/command_go_to_file.rb
  216. +56 −0 Support/lib/rails/generate.rb
  217. +53 −0 Support/lib/rails/inflections.rb
  218. +282 −0 Support/lib/rails/inflector.rb
  219. +3 −3 Support/lib/rails/misc.rb
  220. +144 −86 Support/lib/rails/rails_path.rb
  221. +12 −12 Support/lib/rails/text_mate.rb
  222. +7 −1 Support/lib/rails_bundle_tools.rb
  223. +1 −1 Support/plugins/footnotes-edge/init.rb
  224. +3 −4 Support/plugins/footnotes-edge/lib/textmate_backtracer.rb
  225. +29 −29 Support/plugins/footnotes-edge/lib/textmate_footnotes.rb
  226. +2 −2 Support/plugins/footnotes-edge/templates/rescues/{template_error.rhtml → template_error.erb}
  227. +9 −9 Support/plugins/footnotes-edge/test/mock_controller.rb
  228. +12 −12 Support/plugins/footnotes-edge/test/textmate_footnotes_test.rb
  229. +1 −1 Support/plugins/footnotes/init.rb
  230. +2 −3 Support/plugins/footnotes/lib/textmate_backtracer.rb
  231. +30 −30 Support/plugins/footnotes/lib/textmate_footnotes.rb
  232. +9 −9 Support/plugins/footnotes/test/mock_controller.rb
  233. +12 −12 Support/plugins/footnotes/test/textmate_footnotes_test.rb
  234. +1 −1 Support/test/{fixtures → app_fixtures}/app/controllers/admin/base_controller.rb
  235. +24 −0 Support/test/app_fixtures/app/controllers/posts_controller.rb
  236. +1 −1 Support/test/{fixtures → app_fixtures}/app/controllers/user_controller.rb
  237. +31 −0 Support/test/app_fixtures/app/controllers/users_controller.rb
  238. 0 Support/test/{fixtures → app_fixtures}/app/helpers/user_helper.rb
  239. 0 Support/test/{fixtures → app_fixtures}/app/models/notifier.rb
  240. +2 −0 Support/test/app_fixtures/app/models/person.rb
  241. 0 Support/test/{fixtures → app_fixtures}/app/models/user.rb
  242. 0 Support/test/{fixtures/app/views/user/new.rhtml → app_fixtures/app/views/admin/base/action.html.erb}
  243. 0 .../views/notifier/forgot_password.rhtml → app_fixtures/app/views/notifier/forgot_password.html.erb}
  244. 0 Support/test/{fixtures/app/views/admin/base/action.rhtml → app_fixtures/app/views/user/new.rhtml}
  245. 0 Support/test/app_fixtures/app/views/users/create.html.erb
  246. +1 −0 Support/test/app_fixtures/app/views/users/existing_views.html.erb
  247. +1 −0 Support/test/app_fixtures/app/views/users/existing_views.js.rjs
  248. +1 −0 Support/test/app_fixtures/app/views/users/existing_views.wacky.erb
  249. +1 −0 Support/test/app_fixtures/app/views/users/existing_views.xml.builder
  250. 0 Support/test/app_fixtures/app/views/users/new.html.erb
  251. +109 −0 Support/test/app_fixtures/config/boot.rb
  252. +109 −0 Support/test/app_fixtures/config/environment.rb
  253. +3 −0 Support/test/app_fixtures/script/generate
  254. +67 −16 Support/test/buffer_test.rb
  255. +24 −0 Support/test/fixtures/app/controllers/posts_controller.rb
  256. 0 Support/test/fixtures/vendor/plugins/haml/init.rb
  257. +29 −0 Support/test/generator_test.rb
  258. +0 −5 Support/test/misc_test.rb
  259. +216 −18 Support/test/rails_path_test.rb
  260. +8 −2 Support/test/test_helper.rb
  261. +11 −11 Support/test/text_mate_mock.rb
  262. +1 −0 Support/test/text_mate_test.rb
  263. +82 −0 Syntaxes/JavaScript (Rails).tmLanguage
  264. +25 −0 Syntaxes/RJS.tmLanguage
  265. +67 −3 Syntaxes/Ruby on Rails.plist
  266. +2 −1 Syntaxes/SQL (Rails).plist
  267. +7 −4 TODO
  268. +6 −0 config/deploy.rb
  269. +3 −0 config/slicehost.yml.sample
  270. +2 −0 config/website.yml.sample
  271. +538 −82 info.plist
  272. +46 −0 script/clean_bundle_file_names
  273. +14 −0 script/destroy
  274. +14 −0 script/generate
  275. +97 −0 script/txt2html
  276. +9 −0 tasks/dist.rake
  277. +35 −0 tasks/website.rake
  278. +1,016 −0 website/demo.html
  279. +738 −0 website/demo.txt
  280. BIN website/images/logo_bundle.png
  281. +99 −0 website/index.html
  282. +31 −0 website/index.txt
  283. +285 −0 website/javascripts/rounded_corners_lite.inc.js
  284. +520 −0 website/peepcode.html
  285. +327 −0 website/peepcode.txt
  286. +177 −0 website/stylesheets/screen.css
  287. +60 −0 website/template.html.erb
View
@@ -0,0 +1,3 @@
+config/*.yml
+website/dist
+.DS_Store
View
@@ -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
View
@@ -1,3 +1,85 @@
+[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 :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
+
+* 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:
View
@@ -0,0 +1,3 @@
+load 'deploy' if respond_to?(:namespace) # cap2 differentiator
+Dir['vendor/plugins/*/recipes/*.rb'].each { |plugin| load(plugin) }
+load 'config/deploy'
@@ -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>
@@ -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>
@@ -16,7 +16,7 @@
<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>
+ <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>
@@ -16,7 +16,7 @@
<key>output</key>
<string>showAsTooltip</string>
<key>scope</key>
- <string>source.ruby.rails, text.html.ruby, source.ruby.rails.embedded.html</string>
+ <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>
@@ -16,7 +16,7 @@
<key>output</key>
<string>showAsTooltip</string>
<key>scope</key>
- <string>source.ruby.rails, text.html.ruby, source.ruby.rails.embedded.html</string>
+ <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>
@@ -16,7 +16,7 @@
<key>output</key>
<string>showAsTooltip</string>
<key>scope</key>
- <string>meta.rails.controller</string>
+ <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>
@@ -16,7 +16,7 @@
<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>
+ <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>
@@ -16,7 +16,7 @@
<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>
+ <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>
@@ -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>
@@ -16,7 +16,7 @@
<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>
+ <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>
@@ -16,7 +16,7 @@
<key>output</key>
<string>showAsTooltip</string>
<key>scope</key>
- <string>meta.rails.model, meta.rails.helper</string>
+ <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>
@@ -1,5 +1,5 @@
<?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">
+<!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>
@@ -16,7 +16,7 @@
<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>
+ <string>meta.rails.controller, meta.rails.mailer, source.js, source.css</string>
<key>uuid</key>
<string>EE862691-A624-4797-90CF-EDD39EFB2D8E</string>
</dict>
@@ -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>
@@ -19,7 +19,7 @@
<key>output</key>
<string>replaceSelectedText</string>
<key>scope</key>
- <string>source.ruby.rails, text.html.ruby</string>
+ <string>source.ruby.rails, text.html.ruby, text.haml</string>
<key>uuid</key>
<string>1DD8A214-1C97-45BA-ADEE-8F888DDE8570</string>
</dict>
@@ -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.

0 comments on commit a89dcbf

Please sign in to comment.