Changeset [0b22a41ed653] by adgar

May 6th, 2010 @ 01:36 AM

Some good changes to some template code.
Made an actual RawERbTemplate class to encapsulate the logic of a template formed by
just a bare string.
Made to_templated_s able to receive a Template object through the :template option,
forgoing lookup via the template's name.
Rewrote the locals logic for #to_templated_s so that the locals being sent to the
template are explicitly in a locals hash, and can be distinguished from the locals
used by the method's actual logic. Looks much nicer now.
http://bitbucket.org/carbonica/amp/changeset/0b22a41ed653/

Committed by adgar

  • M lib/amp/templates/template.rb
  • M lib/amp/repository/mercurial/repo_format/changeset.rb
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 ยป

Rethink Version Control.- http://amp.carboni.ca/

Amp aims to put control of version-control software in your hands as a developer. The entire system is written in Ruby (with C extensions to improve performance), and aims to implement all major VCS's in Ruby. Currently, Mercurial is implemented.

Other features:
Commands are first-class members of the system - drop in an "Ampfile" in your repository, and you can add commands to amp in the same manner you add commands to rake (only with far, far more power!)
Documentation is one of our biggest priorities. We require all methods to be documented - even comically simple ones.
Heavy testing.
Multiple "workflows" - use git's commands to power a mercurial repository.
Add hooks/callbacks in minutes.

Shared Ticket Bins