Permalink
Browse files

Make padrino more vim friendly.

  • Loading branch information...
1 parent 3389edf commit 81c70db9ac2528537e04b1d67bc653b971ddc8f5 @DAddYE DAddYE committed Aug 24, 2011
Showing with 302 additions and 302 deletions.
  1. +1 −1 .gitignore
  2. +1 −1 README.rdoc
  3. +1 −1 load_paths.rb
  4. +1 −1 padrino-admin/README.rdoc
  5. +5 −5 padrino-admin/lib/padrino-admin/access_control.rb
  6. +1 −1 padrino-admin/lib/padrino-admin/generators/templates/account/activerecord.rb.tt
  7. +1 −1 padrino-admin/lib/padrino-admin/generators/templates/account/couchrest.rb.tt
  8. +1 −1 padrino-admin/lib/padrino-admin/generators/templates/account/datamapper.rb.tt
  9. +1 −1 padrino-admin/lib/padrino-admin/generators/templates/account/mongoid.rb.tt
  10. +1 −1 padrino-admin/lib/padrino-admin/generators/templates/account/mongomapper.rb.tt
  11. +1 −1 padrino-admin/lib/padrino-admin/generators/templates/account/seeds.rb.tt
  12. +1 −1 padrino-admin/lib/padrino-admin/generators/templates/account/sequel.rb.tt
  13. +1 −1 padrino-admin/lib/padrino-admin/generators/templates/app/controllers/base.rb
  14. +1 −1 padrino-admin/lib/padrino-admin/generators/templates/app/controllers/sessions.rb
  15. +1 −1 padrino-admin/lib/padrino-admin/generators/templates/assets/stylesheets/base.css
  16. +1 −1 padrino-admin/lib/padrino-admin/generators/templates/assets/stylesheets/themes/amro/style.css
  17. +1 −1 padrino-admin/lib/padrino-admin/generators/templates/assets/stylesheets/themes/blue/style.css
  18. +1 −1 ...o-admin/lib/padrino-admin/generators/templates/assets/stylesheets/themes/djime-cerulean/style.css
  19. +1 −1 padrino-admin/lib/padrino-admin/generators/templates/assets/stylesheets/themes/olive/style.css
  20. +1 −1 padrino-admin/lib/padrino-admin/generators/templates/assets/stylesheets/themes/orange/style.css
  21. +1 −1 ...o-admin/lib/padrino-admin/generators/templates/assets/stylesheets/themes/reidb-greenish/style.css
  22. +1 −1 padrino-admin/lib/padrino-admin/generators/templates/assets/stylesheets/themes/ruby/style.css
  23. +1 −1 padrino-admin/lib/padrino-admin/generators/templates/erb/app/base/_sidebar.erb.tt
  24. +1 −1 padrino-admin/lib/padrino-admin/generators/templates/erb/app/base/index.erb.tt
  25. +1 −1 padrino-admin/lib/padrino-admin/generators/templates/erb/app/layouts/application.erb.tt
  26. +1 −1 padrino-admin/lib/padrino-admin/generators/templates/erb/app/sessions/new.erb.tt
  27. +1 −1 padrino-admin/lib/padrino-admin/generators/templates/erb/page/_form.erb.tt
  28. +1 −1 padrino-admin/lib/padrino-admin/generators/templates/erb/page/edit.erb.tt
  29. +1 −1 padrino-admin/lib/padrino-admin/generators/templates/erb/page/index.erb.tt
  30. +1 −1 padrino-admin/lib/padrino-admin/generators/templates/erb/page/new.erb.tt
  31. +1 −1 padrino-admin/lib/padrino-admin/generators/templates/haml/app/base/_sidebar.haml.tt
  32. +1 −1 padrino-admin/lib/padrino-admin/generators/templates/haml/app/base/index.haml.tt
  33. +1 −1 padrino-admin/lib/padrino-admin/generators/templates/haml/app/layouts/application.haml.tt
  34. +1 −1 padrino-admin/lib/padrino-admin/generators/templates/haml/app/sessions/new.haml.tt
  35. +1 −1 padrino-admin/lib/padrino-admin/generators/templates/haml/page/_form.haml.tt
  36. +1 −1 padrino-admin/lib/padrino-admin/generators/templates/haml/page/edit.haml.tt
  37. +1 −1 padrino-admin/lib/padrino-admin/generators/templates/haml/page/index.haml.tt
  38. +1 −1 padrino-admin/lib/padrino-admin/generators/templates/haml/page/new.haml.tt
  39. +1 −1 padrino-admin/lib/padrino-admin/generators/templates/page/controller.rb.tt
  40. +1 −1 padrino-admin/lib/padrino-admin/helpers/authentication_helpers.rb
  41. +1 −1 padrino-admin/lib/padrino-admin/helpers/view_helpers.rb
  42. +1 −1 padrino-admin/lib/padrino-admin/locale/admin/da.yml
  43. +1 −1 padrino-admin/lib/padrino-admin/locale/admin/de.yml
  44. +1 −1 padrino-admin/lib/padrino-admin/locale/admin/en.yml
  45. +1 −1 padrino-admin/lib/padrino-admin/locale/admin/es.yml
  46. +1 −1 padrino-admin/lib/padrino-admin/locale/admin/fr.yml
  47. +1 −1 padrino-admin/lib/padrino-admin/locale/admin/hu.yml
  48. +1 −1 padrino-admin/lib/padrino-admin/locale/admin/it.yml
  49. +1 −1 padrino-admin/lib/padrino-admin/locale/admin/nl.yml
  50. +1 −1 padrino-admin/lib/padrino-admin/locale/admin/no.yml
  51. +1 −1 padrino-admin/lib/padrino-admin/locale/admin/pl.yml
  52. +1 −1 padrino-admin/lib/padrino-admin/locale/admin/pt_br.yml
  53. +1 −1 padrino-admin/lib/padrino-admin/locale/admin/ru.yml
  54. +1 −1 padrino-admin/lib/padrino-admin/locale/admin/tr.yml
  55. +1 −1 padrino-admin/lib/padrino-admin/locale/admin/uk.yml
  56. +1 −1 padrino-admin/lib/padrino-admin/locale/orm/da.yml
  57. +1 −1 padrino-admin/lib/padrino-admin/locale/orm/de.yml
  58. +1 −1 padrino-admin/lib/padrino-admin/locale/orm/en.yml
  59. +1 −1 padrino-admin/lib/padrino-admin/locale/orm/es.yml
  60. +1 −1 padrino-admin/lib/padrino-admin/locale/orm/fr.yml
  61. +1 −1 padrino-admin/lib/padrino-admin/locale/orm/hu.yml
  62. +1 −1 padrino-admin/lib/padrino-admin/locale/orm/it.yml
  63. +1 −1 padrino-admin/lib/padrino-admin/locale/orm/nl.yml
  64. +1 −1 padrino-admin/lib/padrino-admin/locale/orm/no.yml
  65. +1 −1 padrino-admin/lib/padrino-admin/locale/orm/pl.yml
  66. +1 −1 padrino-admin/lib/padrino-admin/locale/orm/pt_br.yml
  67. +1 −1 padrino-admin/lib/padrino-admin/locale/orm/ru.yml
  68. +1 −1 padrino-admin/lib/padrino-admin/locale/orm/tr.yml
  69. +1 −1 padrino-admin/lib/padrino-admin/locale/orm/uk.yml
  70. +2 −2 padrino-admin/lib/padrino-admin/utils/crypt.rb
  71. +1 −1 padrino-admin/padrino-admin.gemspec
  72. +1 −1 padrino-admin/test/fixtures/data_mapper.rb
  73. +1 −1 padrino-admin/test/generators/test_admin_page_generator.rb
  74. +1 −1 padrino-admin/test/helper.rb
  75. +1 −1 padrino-cache/lib/padrino-cache.rb
  76. +2 −2 padrino-cache/lib/padrino-cache/helpers/cache_store.rb
  77. +1 −1 padrino-cache/lib/padrino-cache/helpers/fragment.rb
  78. +2 −2 padrino-cache/lib/padrino-cache/helpers/page.rb
  79. +1 −1 padrino-cache/lib/padrino-cache/store/file.rb
  80. +1 −1 padrino-cache/lib/padrino-cache/store/memcache.rb
  81. +1 −1 padrino-cache/lib/padrino-cache/store/memory.rb
  82. +1 −1 padrino-cache/lib/padrino-cache/store/redis.rb
  83. +1 −1 padrino-cache/padrino-cache.gemspec
  84. +1 −1 padrino-cache/test/test_padrino_cache.rb
  85. +1 −1 padrino-core/README.rdoc
  86. +2 −2 padrino-core/lib/padrino-core.rb
  87. +3 −3 padrino-core/lib/padrino-core/application.rb
  88. +3 −3 padrino-core/lib/padrino-core/application/rendering.rb
  89. +4 −4 padrino-core/lib/padrino-core/application/routing.rb
  90. +1 −1 padrino-core/lib/padrino-core/caller.rb
  91. +1 −1 padrino-core/lib/padrino-core/cli/adapter.rb
  92. +1 −1 padrino-core/lib/padrino-core/cli/rake.rb
  93. +1 −1 padrino-core/lib/padrino-core/command.rb
  94. BIN padrino-core/lib/padrino-core/images/404.png
  95. BIN padrino-core/lib/padrino-core/images/500.png
  96. +1 −1 padrino-core/lib/padrino-core/loader.rb
  97. +1 −1 padrino-core/lib/padrino-core/logger.rb
  98. +2 −2 padrino-core/lib/padrino-core/mounter.rb
  99. +1 −1 padrino-core/lib/padrino-core/router.rb
  100. +1 −1 padrino-core/lib/padrino-core/server.rb
  101. +1 −1 padrino-core/lib/padrino-core/support_lite.rb
  102. +1 −1 padrino-core/lib/padrino-core/tasks.rb
  103. +1 −1 padrino-core/test/fixtures/apps/complex.rb
  104. +1 −1 padrino-core/test/fixtures/apps/simple.rb
  105. +1 −1 padrino-core/test/fixtures/dependencies/a.rb
  106. +1 −1 padrino-core/test/fixtures/dependencies/b.rb
  107. +1 −1 padrino-core/test/fixtures/dependencies/c.rb
  108. +1 −1 padrino-core/test/fixtures/dependencies/d.rb
  109. +1 −1 padrino-core/test/test_application.rb
  110. +1 −1 padrino-core/test/test_core.rb
  111. +1 −1 padrino-core/test/test_logger.rb
  112. +1 −1 padrino-core/test/test_mounter.rb
  113. +1 −1 padrino-core/test/test_reloader_complex.rb
  114. +1 −1 padrino-core/test/test_reloader_simple.rb
  115. +1 −1 padrino-core/test/test_rendering.rb
  116. +1 −1 padrino-core/test/test_restful_routing.rb
  117. +1 −1 padrino-core/test/test_router.rb
  118. +1 −1 padrino-gen/README.rdoc
  119. +1 −1 padrino-gen/lib/padrino-gen.rb
  120. +1 −1 padrino-gen/lib/padrino-gen/command.rb
  121. +1 −1 padrino-gen/lib/padrino-gen/generators/app.rb
  122. +1 −1 padrino-gen/lib/padrino-gen/generators/app/app.rb.tt
  123. +1 −1 padrino-gen/lib/padrino-gen/generators/cli.rb
  124. +1 −1 padrino-gen/lib/padrino-gen/generators/components/actions.rb
  125. +1 −1 padrino-gen/lib/padrino-gen/generators/components/mocks/mocha.rb
  126. +1 −1 padrino-gen/lib/padrino-gen/generators/components/mocks/rr.rb
  127. +1 −1 padrino-gen/lib/padrino-gen/generators/components/renderers/erb.rb
  128. +1 −1 padrino-gen/lib/padrino-gen/generators/components/renderers/haml.rb
  129. +1 −1 padrino-gen/lib/padrino-gen/generators/components/renderers/liquid.rb
  130. +1 −1 padrino-gen/lib/padrino-gen/generators/components/renderers/slim.rb
  131. +1 −1 padrino-gen/lib/padrino-gen/generators/components/scripts/dojo.rb
  132. +1 −1 padrino-gen/lib/padrino-gen/generators/components/scripts/extcore.rb
  133. +1 −1 padrino-gen/lib/padrino-gen/generators/components/scripts/jquery.rb
  134. +1 −1 padrino-gen/lib/padrino-gen/generators/components/scripts/mootools.rb
  135. +1 −1 padrino-gen/lib/padrino-gen/generators/components/scripts/prototype.rb
  136. +1 −1 padrino-gen/lib/padrino-gen/generators/components/scripts/rightjs.rb
  137. +1 −1 padrino-gen/lib/padrino-gen/generators/components/stylesheets/compass.rb
  138. +1 −1 padrino-gen/lib/padrino-gen/generators/components/stylesheets/compass/application.scss
  139. +1 −1 padrino-gen/lib/padrino-gen/generators/components/stylesheets/compass/partials/_base.scss
  140. +1 −1 padrino-gen/lib/padrino-gen/generators/components/stylesheets/less.rb
  141. +1 −1 padrino-gen/lib/padrino-gen/generators/components/stylesheets/sass.rb
  142. +1 −1 padrino-gen/lib/padrino-gen/generators/controller.rb
  143. +1 −1 padrino-gen/lib/padrino-gen/generators/mailer.rb
  144. +1 −1 padrino-gen/lib/padrino-gen/generators/migration.rb
  145. +1 −1 padrino-gen/lib/padrino-gen/generators/plugin.rb
  146. +1 −1 padrino-gen/lib/padrino-gen/generators/project/config/boot.rb
  147. +1 −1 padrino-gen/lib/padrino-gen/generators/templates/controller.rb.tt
  148. +1 −1 padrino-gen/lib/padrino-gen/generators/templates/helper.rb.tt
  149. +1 −1 padrino-gen/lib/padrino-gen/generators/templates/initializer.rb.tt
  150. +1 −1 padrino-gen/lib/padrino-gen/generators/templates/mailer.rb.tt
  151. +1 −1 padrino-gen/lib/padrino-gen/padrino-tasks/seed.rb
  152. +1 −1 padrino-gen/lib/padrino-gen/padrino-tasks/sequel.rb
  153. +1 −1 padrino-gen/test/fixtures/admin_template.rb
  154. +1 −1 padrino-gen/test/fixtures/git_template.rb
  155. +1 −1 padrino-gen/test/fixtures/plugin_template.rb
  156. +1 −1 padrino-gen/test/fixtures/rake_template.rb
  157. +1 −1 padrino-gen/test/helper.rb
  158. +1 −1 padrino-gen/test/test_cli.rb
  159. +1 −1 padrino-gen/test/test_generator.rb
  160. +1 −1 padrino-gen/test/test_mailer_generator.rb
  161. +1 −1 padrino-gen/test/test_migration_generator.rb
  162. +1 −1 padrino-helpers/README.rdoc
  163. +1 −1 padrino-helpers/lib/padrino-helpers.rb
  164. +1 −1 padrino-helpers/lib/padrino-helpers/asset_tag_helpers.rb
  165. +3 −3 padrino-helpers/lib/padrino-helpers/form_builder/abstract_form_builder.rb
  166. +3 −3 padrino-helpers/lib/padrino-helpers/form_builder/standard_form_builder.rb
  167. +1 −1 padrino-helpers/lib/padrino-helpers/form_helpers.rb
  168. +1 −1 padrino-helpers/lib/padrino-helpers/format_helpers.rb
  169. +1 −1 padrino-helpers/lib/padrino-helpers/locale/da.yml
  170. +1 −1 padrino-helpers/lib/padrino-helpers/locale/en.yml
  171. +1 −1 padrino-helpers/lib/padrino-helpers/locale/es.yml
  172. +1 −1 padrino-helpers/lib/padrino-helpers/locale/hu.yml
  173. +1 −1 padrino-helpers/lib/padrino-helpers/locale/it.yml
  174. +1 −1 padrino-helpers/lib/padrino-helpers/locale/no.yml
  175. +1 −1 padrino-helpers/lib/padrino-helpers/locale/pl.yml
  176. +1 −1 padrino-helpers/lib/padrino-helpers/locale/pt_br.yml
  177. +1 −1 padrino-helpers/lib/padrino-helpers/locale/ru.yml
  178. +1 −1 padrino-helpers/lib/padrino-helpers/locale/tr.yml
  179. +1 −1 padrino-helpers/lib/padrino-helpers/locale/uk.yml
  180. +1 −1 padrino-helpers/lib/padrino-helpers/number_helpers.rb
  181. +3 −3 padrino-helpers/lib/padrino-helpers/output_helpers.rb
  182. +1 −1 padrino-helpers/lib/padrino-helpers/output_helpers/abstract_handler.rb
  183. +1 −1 padrino-helpers/lib/padrino-helpers/output_helpers/erb_handler.rb
  184. +1 −1 padrino-helpers/lib/padrino-helpers/output_helpers/haml_handler.rb
  185. +1 −1 padrino-helpers/lib/padrino-helpers/output_helpers/slim_handler.rb
  186. +1 −1 padrino-helpers/lib/padrino-helpers/render_helpers.rb
  187. +1 −1 padrino-helpers/lib/padrino-helpers/tag_helpers.rb
  188. +1 −1 padrino-helpers/lib/padrino-helpers/translation_helpers.rb
  189. +1 −1 padrino-helpers/padrino-helpers.gemspec
  190. +1 −1 padrino-helpers/test/fixtures/markup_app/app.rb
  191. +1 −1 padrino-helpers/test/fixtures/markup_app/views/capture_concat.erb
  192. +1 −1 padrino-helpers/test/fixtures/markup_app/views/content_for.erb
  193. +1 −1 padrino-helpers/test/fixtures/markup_app/views/content_for.haml
  194. +1 −1 padrino-helpers/test/fixtures/markup_app/views/content_for.slim
  195. +1 −1 padrino-helpers/test/fixtures/markup_app/views/content_tag.erb
  196. +1 −1 padrino-helpers/test/fixtures/markup_app/views/current_engine.erb
  197. +1 −1 padrino-helpers/test/fixtures/markup_app/views/current_engine.haml
  198. +1 −1 padrino-helpers/test/fixtures/markup_app/views/current_engine.slim
  199. +1 −1 padrino-helpers/test/fixtures/markup_app/views/fields_for.erb
  200. +1 −1 padrino-helpers/test/fixtures/markup_app/views/fields_for.haml
  201. +1 −1 padrino-helpers/test/fixtures/markup_app/views/fields_for.slim
  202. +1 −1 padrino-helpers/test/fixtures/markup_app/views/form_for.erb
  203. +1 −1 padrino-helpers/test/fixtures/markup_app/views/form_for.haml
  204. +1 −1 padrino-helpers/test/fixtures/markup_app/views/form_for.slim
  205. +1 −1 padrino-helpers/test/fixtures/markup_app/views/form_tag.erb
  206. +1 −1 padrino-helpers/test/fixtures/markup_app/views/form_tag.haml
  207. +1 −1 padrino-helpers/test/fixtures/markup_app/views/form_tag.slim
  208. +1 −1 padrino-helpers/test/fixtures/markup_app/views/link_to.erb
  209. +1 −1 padrino-helpers/test/fixtures/markup_app/views/link_to.haml
  210. +1 −1 padrino-helpers/test/fixtures/markup_app/views/link_to.slim
  211. +1 −1 padrino-helpers/test/fixtures/markup_app/views/mail_to.erb
  212. +1 −1 padrino-helpers/test/fixtures/markup_app/views/mail_to.haml
  213. +1 −1 padrino-helpers/test/fixtures/markup_app/views/mail_to.slim
  214. +1 −1 padrino-helpers/test/fixtures/markup_app/views/meta_tag.erb
  215. +1 −1 padrino-helpers/test/fixtures/markup_app/views/meta_tag.haml
  216. +1 −1 padrino-helpers/test/fixtures/markup_app/views/meta_tag.slim
  217. +1 −1 padrino-helpers/test/fixtures/markup_app/views/partials/_erb.erb
  218. +1 −1 padrino-helpers/test/fixtures/markup_app/views/partials/_haml.haml
  219. +1 −1 padrino-helpers/test/fixtures/markup_app/views/partials/_slim.slim
  220. +1 −1 padrino-helpers/test/fixtures/markup_app/views/simple_partial.erb
  221. +1 −1 padrino-helpers/test/fixtures/markup_app/views/simple_partial.haml
  222. +1 −1 padrino-helpers/test/fixtures/markup_app/views/simple_partial.slim
  223. +1 −1 padrino-helpers/test/fixtures/render_app/app.rb
  224. +1 −1 padrino-helpers/test/fixtures/render_app/views/current_engine.haml
  225. +1 −1 padrino-helpers/test/fixtures/render_app/views/current_engines/_erb.erb
  226. +1 −1 padrino-helpers/test/fixtures/render_app/views/current_engines/_haml.haml
  227. +1 −1 padrino-helpers/test/fixtures/render_app/views/current_engines/_slim.slim
  228. +1 −1 padrino-helpers/test/fixtures/render_app/views/erb/test.erb
  229. +1 −1 padrino-helpers/test/fixtures/render_app/views/explicit_engine.haml
  230. +1 −1 padrino-helpers/test/fixtures/render_app/views/haml/test.haml
  231. +1 −1 padrino-helpers/test/fixtures/render_app/views/template/_user.haml
  232. +1 −1 padrino-helpers/test/fixtures/render_app/views/template/haml_template.haml
  233. +1 −1 padrino-helpers/test/fixtures/render_app/views/template/some_template.haml
  234. +1 −1 padrino-helpers/test/helper.rb
  235. +1 −1 padrino-helpers/test/test_asset_tag_helpers.rb
  236. +1 −1 padrino-helpers/test/test_form_helpers.rb
  237. +1 −1 padrino-helpers/test/test_format_helpers.rb
  238. +1 −1 padrino-helpers/test/test_number_helpers.rb
  239. +1 −1 padrino-helpers/test/test_output_helpers.rb
  240. +1 −1 padrino-helpers/test/test_render_helpers.rb
  241. +1 −1 padrino-helpers/test/test_tag_helpers.rb
  242. +1 −1 padrino-mailer/README.rdoc
  243. +1 −1 padrino-mailer/lib/padrino-mailer.rb
  244. +2 −2 padrino-mailer/lib/padrino-mailer/base.rb
  245. +3 −3 padrino-mailer/lib/padrino-mailer/ext.rb
  246. +3 −3 padrino-mailer/lib/padrino-mailer/helpers.rb
  247. +1 −1 padrino-mailer/lib/padrino-mailer/mime.rb
  248. +1 −1 padrino-mailer/padrino-mailer.gemspec
  249. +1 −1 padrino-mailer/test/fixtures/basic.erb
  250. +1 −1 padrino-mailer/test/fixtures/layout.erb
  251. +1 −1 padrino-mailer/test/fixtures/padrino_app/app.rb
  252. +1 −1 padrino-mailer/test/fixtures/padrino_app/views/mailers/demo/sample_mail.erb
  253. +1 −1 padrino-mailer/test/fixtures/padrino_app/views/mailers/sample/anniversary.erb
  254. +1 −1 padrino-mailer/test/fixtures/padrino_app/views/mailers/sample/birthday.erb
  255. +1 −1 padrino-mailer/test/fixtures/padrino_app/views/mailers/sample/foo_message.erb
  256. +1 −1 padrino-mailer/test/fixtures/padrino_app/views/mailers/sample/helper_message.erb
  257. +1 −1 padrino-mailer/test/fixtures/sinatra_app/views/mailers/demo/sample_mail.erb
  258. +1 −1 padrino-mailer/test/fixtures/sinatra_app/views/mailers/sample/anniversary.erb
  259. +1 −1 padrino-mailer/test/fixtures/sinatra_app/views/mailers/sample/birthday.erb
  260. +1 −1 padrino-mailer/test/fixtures/sinatra_app/views/mailers/sample/foo_message.erb
  261. +1 −1 padrino-mailer/test/fixtures/views/mailers/alternate/foo.erb
  262. +1 −1 padrino-mailer/test/fixtures/views/mailers/bar.erb
  263. +1 −1 padrino-mailer/test/fixtures/views/mailers/i18n/hello.en.erb
  264. +1 −1 padrino-mailer/test/fixtures/views/mailers/i18n/hello.it.erb
  265. +1 −1 padrino-mailer/test/fixtures/views/mailers/layouts/sample.erb
  266. +1 −1 padrino-mailer/test/fixtures/views/mailers/multipart/basic.html.erb
  267. +1 −1 padrino-mailer/test/fixtures/views/mailers/multipart/basic.plain.erb
  268. +1 −1 padrino-mailer/test/fixtures/views/mailers/sample/foo.erb
  269. +1 −1 padrino-mailer/test/helper.rb
  270. +1 −1 padrino-mailer/test/test_email.rb
  271. +1 −1 padrino-mailer/test/test_message.rb
  272. +1 −1 padrino-mailer/test/test_padrino_mailer.rb
  273. +1 −1 padrino-mailer/test/test_part.rb
  274. +1 −1 padrino/README.rdoc
  275. +1 −1 padrino/padrino.gemspec
  276. +1 −1 padrino/test/helper.rb
  277. +1 −1 padrino/test/test_padrino.rb
View
@@ -1,5 +1,5 @@
-.bundle
Gemfile.lock
+.bundle
.rvmrc
.yardoc
*.rbc
View
@@ -81,4 +81,4 @@ The individual Padrino sub-gems also contain README's which outlines their funct
== Copyright
-Copyright (c) 2011 Padrino. See LICENSE for details.
+Copyright (c) 2011 Padrino. See LICENSE for details.
View
@@ -3,4 +3,4 @@
else
require 'rubygems'
end
-require 'bundler/setup'
+require 'bundler/setup'
@@ -67,4 +67,4 @@ For a more complete look at using the Admin panel functionality and access featu
== Copyright
-Copyright (c) 2011 Padrino. See LICENSE for details.
+Copyright (c) 2011 Padrino. See LICENSE for details.
@@ -1,6 +1,6 @@
module Padrino
module Admin
- class AccessControlError < StandardError ## @private
+ class AccessControlError < StandardError # @private
end
##
# This module give to a padrino application an access control functionality
@@ -22,7 +22,7 @@ def registered(app)
end
class Base
- def initialize ## @private
+ def initialize # @private
@roles, @authorizations, @project_modules = [], [], []
end
@@ -80,7 +80,7 @@ def allowed?(account=nil, path=nil)
class Authorization
attr_reader :allowed, :denied, :project_modules, :roles
- def initialize(*roles, &block) ## @private
+ def initialize(*roles, &block) # @private
@roles = roles
@allowed = []
@denied = []
@@ -117,7 +117,7 @@ def project_module(name, path)
class ProjectModule
attr_reader :name
- def initialize(name, path) ## @private
+ def initialize(name, path) # @private
@name, @path = name, path
end
@@ -146,4 +146,4 @@ def path(prefix=nil)
end # ProjectModule
end # AccessControl
end # Admin
-end # Padrino
+end # Padrino
@@ -35,4 +35,4 @@ class Account < ActiveRecord::Base
def password_required
crypted_password.blank? || password.present?
end
-end
+end
@@ -63,4 +63,4 @@ class Account < CouchRest::Model::Base
errors.add(:email, "is not unique")
end
-end
+end
@@ -52,4 +52,4 @@ class Account
def encrypt_password
self.crypted_password = ::BCrypt::Password.create(password) if password.present?
end
-end
+end
@@ -50,4 +50,4 @@ class Account
def password_required
crypted_password.blank? || self.password.present?
end
-end
+end
@@ -43,4 +43,4 @@ class Account
def password_required
crypted_password.blank? || password.present?
end
-end
+end
@@ -25,4 +25,4 @@ else
account.errors.full_messages.each { |m| shell.say " - #{m}" }
end
-shell.say ""
+shell.say ""
@@ -49,4 +49,4 @@ class Account < ::Sequel::Model
def password_required
crypted_password.blank? || password.present?
end
-end
+end
@@ -3,4 +3,4 @@
get :index, :map => "/" do
render "base/index"
end
-end
+end
@@ -22,4 +22,4 @@
set_current_account(nil)
redirect url(:sessions, :new)
end
-end
+end
@@ -92,4 +92,4 @@ ul.list li .item .avatar{float:left;margin:0 5px 5px 0;width:30px;height:30px;}
#box .block h2{padding:10px 15px;margin:0;}
#box .block .content{padding:10px 20px;}
/* custom */
-.code{font-family: Courier, 'Courier New', monospace;color:#36393D;}
+.code{font-family: Courier, 'Courier New', monospace;color:#36393D;}
@@ -361,4 +361,4 @@ ul.list li .item .avatar {
-webkit-border-bottom-left-radius: 4px;
-moz-border-radius-bottomright: 4px;
-webkit-border-bottom-right-radius: 4px;
-}
+}
@@ -284,4 +284,4 @@ ul.list li .item .avatar {
-webkit-border-bottom-left-radius: 4px;
-moz-border-radius-bottomright: 4px;
-webkit-border-bottom-right-radius: 4px;
-}
+}
@@ -302,4 +302,4 @@ ul.list li .item .avatar {
-webkit-border-bottom-left-radius: 4px;
-moz-border-radius-bottomright: 4px;
-webkit-border-bottom-right-radius: 4px;
-}
+}
@@ -342,4 +342,4 @@ ul.list li .item .avatar {
-webkit-border-bottom-left-radius: 4px;
-moz-border-radius-bottomright: 4px;
-webkit-border-bottom-right-radius: 4px;
-}
+}
@@ -266,4 +266,4 @@ ul.list li .item .avatar {
-webkit-border-bottom-left-radius: 4px;
-moz-border-radius-bottomright: 4px;
-webkit-border-bottom-right-radius: 4px;
-}
+}
@@ -299,4 +299,4 @@ ul.list li .item .avatar {
-webkit-border-bottom-left-radius: 4px;
-moz-border-radius-bottomright: 4px;
-webkit-border-bottom-right-radius: 4px;
-}
+}
@@ -278,4 +278,4 @@ ul.list li .item .avatar {
-webkit-border-bottom-left-radius: 4px;
-moz-border-radius-bottomright: 4px;
-webkit-border-bottom-right-radius: 4px;
-}
+}
@@ -10,4 +10,4 @@
<li><%%= link_to "Link 1" %></li>
<li><%%= link_to "Link 1" %></li>
</ul>
-</div>
+</div>
@@ -14,4 +14,4 @@
</div>
</div>
</div>
-<%% content_for :sidebar, partial("base/sidebar") %>
+<%% content_for :sidebar, partial("base/sidebar") %>
@@ -41,4 +41,4 @@
</div>
</div>
</body>
-</html>
+</html>
@@ -53,4 +53,4 @@
</div>
</div>
</body>
-</html>
+</html>
@@ -8,4 +8,4 @@
<div class="group navform wat-cf">
<%%= f.submit pat(:save), :class => :button %>
<%%= f.submit pat(:cancel), :onclick => "window.location='#{url(:<%= @orm.name_plural %>, :index)}';return false", :class => :button %>
-</div>
+</div>
@@ -15,4 +15,4 @@
</div>
</div>
</div>
-<%% content_for :sidebar, partial("base/sidebar") %>
+<%% content_for :sidebar, partial("base/sidebar") %>
@@ -33,4 +33,4 @@
</div>
</div>
</div>
-<%% content_for :sidebar, partial("base/sidebar") %>
+<%% content_for :sidebar, partial("base/sidebar") %>
@@ -14,4 +14,4 @@
</div>
</div>
</div>
-<%% content_for :sidebar, partial("base/sidebar") %>
+<%% content_for :sidebar, partial("base/sidebar") %>
@@ -8,4 +8,4 @@
%h3 Links
%ul.navigation
%li=link_to "Link 1"
- %li=link_to "Link 2"
+ %li=link_to "Link 2"
@@ -22,4 +22,4 @@
%span.hightlight
Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
--content_for :sidebar, partial("base/sidebar")
+-content_for :sidebar, partial("base/sidebar")
@@ -28,4 +28,4 @@
=Time.now.year
Your Site - Powered by
=link_to "Padrino v.#{Padrino.version}", "http://padrino.github.com", :target => :_blank
- #sidebar=yield_content :sidebar
+ #sidebar=yield_content :sidebar
@@ -27,4 +27,4 @@
%label.label.right Bypass login?
.right=check_box_tag :bypass
.group.navform.wat-cf
- .right=submit_tag('Sign In', :class => :button)
+ .right=submit_tag('Sign In', :class => :button)
@@ -9,4 +9,4 @@
.group.navform.wat-cf
=f.submit pat(:save), :class => :button
- =f.submit pat(:cancel), :onclick => "window.location='#{url(:<%= @orm.name_plural %>, :index)}';return false", :class => :button
+ =f.submit pat(:cancel), :onclick => "window.location='#{url(:<%= @orm.name_plural %>, :index)}';return false", :class => :button
@@ -12,4 +12,4 @@
-form_for :<%= @orm.name_singular %>, url(:<%= @orm.name_plural %>, :update, :id => @<%= @orm.name_singular %>.id), :method => :put, :class => :form do |f|
=partial "<%= @orm.name_plural %>/form", :locals => { :f => f }
--content_for :sidebar, partial("base/sidebar")
+-content_for :sidebar, partial("base/sidebar")
@@ -26,4 +26,4 @@
.actions-bar.wat-cf
.actions="&nbsp;"
--content_for :sidebar, partial("base/sidebar")
+-content_for :sidebar, partial("base/sidebar")
@@ -11,4 +11,4 @@
-form_for :<%= @orm.name_singular %>, url(:<%= @orm.name_plural %>, :create), :class => :form do |f|
=partial "<%= @orm.name_plural %>/form", :locals => { :f => f }
--content_for :sidebar, partial("base/sidebar")
+-content_for :sidebar, partial("base/sidebar")
@@ -44,4 +44,4 @@ Admin.controllers :<%= @orm.name_plural %> do
end
redirect url(:<%= @orm.name_plural %>, :index)
end
-end
+end
@@ -99,4 +99,4 @@ def login_from_session
end # AuthenticationHelpers
end # Helpers
end # Admin
-end # Padrino
+end # Padrino
@@ -46,4 +46,4 @@ def model_translate(model)
end # ViewHelpers
end # Helpers
end # Admin
-end # Padrino
+end # Padrino
@@ -13,4 +13,4 @@ da:
all: Alle
profile: Profil
settings: Indstillinger
- logout: Log ud
+ logout: Log ud
@@ -13,4 +13,4 @@ de:
all: Alle
profile: Benutzerkonto
settings: Einstellungen
- logout: Abmelden
+ logout: Abmelden
@@ -13,4 +13,4 @@ en:
all: All
profile: Profile
settings: Settings
- logout: Logout
+ logout: Logout
@@ -13,4 +13,4 @@ es:
all: Todos
profile: Perfil
settings: Configuración
- logout: Cerrar sesión
+ logout: Cerrar sesión
@@ -13,4 +13,4 @@ fr:
all: Tous
profile: Profile
settings: Paramètres
- logout: Déconnexion
+ logout: Déconnexion
@@ -13,4 +13,4 @@ hu:
all: mind
profile: adatlap
settings: beállítások
- logout: kilépés
+ logout: kilépés
@@ -13,4 +13,4 @@ it:
all: Tutti
profile: Profilo
settings: Impostazioni
- logout: Esci
+ logout: Esci
@@ -13,4 +13,4 @@ nl:
all: Alle
profile: Profiel
settings: Voorkeuren
- logout: Afmelden
+ logout: Afmelden
@@ -13,4 +13,4 @@
all: Alle
profile: Profil
settings: Instillinger
- logout: Logg ut
+ logout: Logg ut
@@ -13,4 +13,4 @@ pl:
all: Wszystkie
profile: Profil
settings: Ustawienia
- logout: Wyloguj
+ logout: Wyloguj
@@ -13,4 +13,4 @@ pt_br:
all: Todos
profile: Perfil
settings: Preferências
- logout: Sair
+ logout: Sair
Oops, something went wrong.

2 comments on commit 81c70db

Owner

achiu commented on 81c70db Aug 24, 2011

seems eerily familiar to what i use to do hmm? :) fd66302#commitcomment-393216

Owner

DAddYE replied Aug 24, 2011

Yep, in textmate it's possible to add a \n char but is not possible to remove \n in vim, so I prefer to keep a unique way, your way ;)

Please sign in to comment.