Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Commits on Feb 26, 2013
  1. Merge pull request #10 from inkel/mote-dependency

    authored
    Add mote as a runtime dependency
  2. @inkel

    Add mote as a runtime dependency

    inkel authored
    Mote is not a development dependency, as cuba/contrib requires
    cuba/mote, which in turn requires mote.
Commits on Oct 28, 2012
  1. Merge pull request #9 from bemurphy/layout_example

    authored
    Add example of layout using {{ content }} tag.
Commits on Oct 13, 2012
  1. @bemurphy
Commits on Jul 24, 2012
  1. Release 3.1.0.

    authored
    CHANGELOG:
    
    - Cuba::Mote now uses TOPLEVEL_BINDING.
    - All mote templates have an implicit `this` referring to the
      context of your cuba app.
    - Moved the files to cuba/*, so you can do 'require cuba/mote', etc.
    - Removed form_helpers, will probably create a separate cuba-bootstrap
      gem using gn.
    - Mote is now namespaced.
    - General cleanup.
    - `mote_vars` should now be deprecated in favor of using `this`.
    - Cleanup all text helpers methods and add a `delimit` function.
  2. Update README.

    authored
    - Document `render` method of Cuba::Mote.
    - Make the markdown example more complete by requiring
      bluecloth.
  3. Fix gem manifest file.

    authored
    Need to upgrade the versions in the list of gems.
Commits on Jul 23, 2012
  1. Update to mote v1.0.0 integration.

    authored
    - Need to pass in TOPLEVEL_BINDING in `mote(...)` call.
    - Add tests verifying that we don't accidentally use the
      cuba context when instance evaling.
    - Add tests verifying that we can still use helpers, but
      through the `this` variable.
  2. Fixes issue #6 and #7.

    authored
    Finally updated thanks to @activestylus for reminding me
    that the README is completely outdated and refers to how
    stuff were in Cuba 2.x and Cuba-contrib 2.x.
Commits on Jul 18, 2012
  1. Release 3.1.0.rc2.

    authored
    CHANGELOG:
    
    - Moved the files to cuba/*, so you can do 'require cuba/mote', etc.
    - Removed form_helpers, will probably create a separate cuba-bootstrap
      gem.
    - Mote is now namespaced.
    - General cleanup.
  2. Fix the requires in cuba/contrib.

    authored
  3. Remove old abs_path view file.

    authored
  4. Move the files down into cuba/*.

    authored
    This makes it more intuitive to require stuff one by one, i.e.
    
        require 'cuba/mote'
        require 'cuba/prelude'
Commits on Jul 14, 2012
  1. Remove form_helpers from required files.

    authored
    This should have been done sooner, but I kind of forgot ^_^".
Commits on Jul 12, 2012
  1. Mark `mote_vars` with a deprecation warning.

    authored
    Since we've solved the context problem using an implicit `this`
    local variable, the value of mote_vars has been diminished.
  2. Remove Cuba::FormHelpers.

    authored
    I think they're way too magicky for in retrospect.
  3. Cleanup TextHelpers module.

    authored
    - Add delimit method i.e. delimit(1000) == 1,000.
    - Make titlecase use mutating string manipulation methods.
    - Make underscore more robust.
    - Add additional tests (and rename test to match the actual file).
  4. Retain existing vars when nesting (@tizoc).

    authored
    Also rename the test to test/with.rb
Commits on Jun 29, 2012
  1. Bump to 3.1.0.rc1.

    authored
    This release finalizes the changes related to `Cuba::Mote`.
    The local variable `this` is always available in every
    partial and is automatically included for every call of
    partial.
  2. Add implicit `this` to locals variables of partial

    authored
    When using `Cuba::Mote` and doing `partial`, we've changed
    it so that you always have to use the explicit context `this`:
    
    `{{ this.partial("something") }}`
    
    In addition, the partials automatically get `this` as
    a local variable.
    
    Helpers and all other stuff are accessed through this too.
  3. Release 3.0.1.rc1.

    authored
    What's expected in this release:
    
    - Cuba::Mote now avoids the use of context
    - Cuba::Mote now uses `settings[:mote]` as the namespace
      for all other settings.
  4. Ignore /pkg folder.

    authored
  5. Use context => self for mote_vars (@djanowski).

    authored
    This also solves the problem of having to use
    `Rack::Session::Cookie` when you don't care about
    sessions entirely.
    
    Also goes hand in hand with the latest mote style
    which evals on the TOPLEVEL_BINDING instead of
    on the current context.
Commits on May 18, 2012
  1. Write more tests for mote helper.

    authored
    Verify that custom layout paths will work as intended.
Commits on Apr 20, 2012
  1. Drop autoload.

    authored
  2. Bump to 3.0.1.

    authored
  3. Add Cuba::With.

    authored
Commits on Mar 22, 2012
  1. Bump 3.0 release.

    authored
Commits on Feb 16, 2012
  1. Bump to 3.0.0.rc2.

    authored
Commits on Feb 14, 2012
  1. Bump to 3.0.0.0.rc1.

    authored
Something went wrong with that request. Please try again.