Skip to content
Commits on Feb 26, 2013
  1. Merge pull request #10 from inkel/mote-dependency

    Add mote as a runtime dependency
    committed Feb 26, 2013
  2. @inkel

    Add mote as a runtime dependency

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

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

    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.
    committed Jul 24, 2012
  2. Update README.

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

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

    - 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.
    committed Jul 24, 2012
  2. Fixes issue #6 and #7.

    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.
    committed Jul 23, 2012
Commits on Jul 18, 2012
  1. Release 3.1.0.rc2.

    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.
    committed Jul 18, 2012
  2. Fix the requires in cuba/contrib.

    committed Jul 18, 2012
  3. Remove old abs_path view file.

    committed Jul 18, 2012
  4. Move the files down into cuba/*.

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

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

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

    I think they're way too magicky for in retrospect.
    committed Jul 12, 2012
  3. Cleanup TextHelpers module.

    - 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).
    committed Jul 12, 2012
  4. Retain existing vars when nesting (@tizoc).

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

    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.
    committed Jun 30, 2012
  2. Add implicit `this` to locals variables of partial

    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.
    committed Jun 30, 2012
  3. Release 3.0.1.rc1.

    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.
    committed Jun 29, 2012
  4. Ignore /pkg folder.

    committed Jun 29, 2012
  5. Use context => self for mote_vars (@djanowski).

    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.
    committed Jun 29, 2012
Commits on May 18, 2012
  1. Write more tests for mote helper.

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

    committed Apr 20, 2012
  2. Bump to 3.0.1.

    committed Apr 20, 2012
  3. Add Cuba::With.

    committed Apr 20, 2012
  4. Update gem manifest to use cuba 3.0.

    committed Apr 20, 2012
Commits on Mar 22, 2012
  1. Bump 3.0 release.

    committed Mar 22, 2012
Commits on Feb 16, 2012
  1. Bump to 3.0.0.rc2.

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

    committed Feb 15, 2012
Something went wrong with that request. Please try again.