Changeset [b3b44e2bffea809675c230bdfb09ac184c1f1500] by James Adam

September 27th, 2009 @ 01:21 PM

Sweeping changes which co-incide with switching soup to a file-based store.

Most notably:

  • Routing methods are no longer static module methods, but included in the renderers (e.g. link_to, url_for, etc)
  • The interface to the soup is consistent - Vanilla::App#soup returns the soup instance, and is available via the app attribute of renderers and dynasnips
  • Some direct accesses to private Soup implementations have been 'fixed'. http://github.com/lazyatom/vanilla-rb/commit/b3b44e2bffea809675c230...

Committed by James Adam

  • R lib/vanilla/snip_handling.rb
  • R lib/vanilla/test_snips.rb
  • R spec/vanilla_snip_finding_spec.rb
  • M .gitignore
  • M config.example.yml
  • M config.ru
  • M lib/tasks/vanilla.rake
  • M lib/vanilla.rb
  • M lib/vanilla/app.rb
  • M lib/vanilla/console.rb
  • M lib/vanilla/dynasnip.rb
  • M lib/vanilla/dynasnips/comments.rb
  • M lib/vanilla/dynasnips/edit.rb
  • M lib/vanilla/dynasnips/edit_link.rb
  • M lib/vanilla/dynasnips/index.rb
  • M lib/vanilla/dynasnips/kind.rb
  • M lib/vanilla/dynasnips/link_to.rb
  • M lib/vanilla/dynasnips/link_to_current_snip.rb
  • M lib/vanilla/dynasnips/notes.rb
  • M lib/vanilla/dynasnips/pre.rb
  • M lib/vanilla/dynasnips/raw.rb
  • M lib/vanilla/dynasnips/url_to.rb
  • M lib/vanilla/renderers/base.rb
  • M lib/vanilla/request.rb
  • M lib/vanilla/routes.rb
  • M lib/vanilla/snips/start.rb
  • M lib/vanilla/snips/system.rb
  • M lib/vanilla/snips/tutorial.rb
  • M spec/dynasnip_spec.rb
  • M spec/renderers/ruby_renderer_spec.rb
  • M spec/renderers/vanilla_app_detecting_renderer_spec.rb
  • M spec/spec_helper.rb
  • M spec/vanilla_app_spec.rb
  • M spec/vanilla_presenting_spec.rb
  • M spec/vanilla_request_spec.rb
  • M vanilla.gemspec
New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

A sort of meta-wiki thing