Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Apr 4, 2012
  1. Bump to version 0.6.8

    authored
  2. Add to changelog

    authored
  3. Merge pull request #215 from databyte/master

    authored
    support Ruby 1.8 by not using parameters
  4. @databyte

    support Ruby 1.8 by not using parameters

    databyte authored
    Can't use arity because it's -2 for both 3.1 and 3.2 since
    the method signatures are compatible even though 
    3.1 has 4 parameters and 3.2 has 5 parameters which
    isn't what we were testing for.
    
    This will have to be checked with Rails 4.0 but should work.
  5. Bump version to 0.6.7

    authored
  6. Update changelog

    authored
  7. Merge pull request #213 from databyte/master

    authored
    allow builder's request_format to default to 'json' like engine
  8. @databyte

    allow builder's request_format to default to 'json' like engine

    databyte authored
    Handles extended templates whose format is nil to find
    the right template and works similar to how engine
    is already working.
    
    Unfortunately, I couldn't find a good test to setup
    to mimic what I'm seeing though it does fix a problem
    I have in my project.
Commits on Apr 2, 2012
  1. Merge pull request #209 from databyte/cache_within_extends

    authored
    support using cache keys within extended templates
  2. @databyte
Commits on Mar 31, 2012
  1. Merge pull request #208 from databyte/master

    authored
    Allow rails3 fixture to execute properly
  2. @databyte
  3. Bump to version 0.6.6

    authored
Commits on Mar 30, 2012
  1. Adds to changelog

    authored
  2. Merge branch 'rails3_fixes'

    authored
  3. Merge pull request #206 from simonc/master

    authored
    Adding a note about Padrino and Gemfile in the README
  4. Adding a not about Padrino and Gemfile in the README

    Simon COURTOIS authored
  5. Updates notes for fixtures

    authored
  6. Adds views_rails_3

    authored
  7. Fix ashared notes

    authored
  8. @databyte

    if running Rails ~> 3.2, send to find a 5th parameter for formats

    databyte authored committed
    * Rails 3.0 find has 3 parameters
    * Rails 3.1 find has 4 parameters
    * Rails 3.2 find has 5 parameters
    
    The easiest check is on parameter than, say, parsing version since
    most likely 4.0 will continue to have 5 or more parameters.
    
    Tested on: Rails '3.0.12', '3.1.4', '3.2.0', '3.2.1', '3.2.2', '3.2.3.rc2'
  9. @databyte

    switch renders to file and send along format to find_template

    databyte authored committed
    * need to hardcode the format to json so that 
      ActionView::PathResolver doesn't also return any matching
      html files, instead it should only return rabl files
    
    * WORKS with Rails 3.2.2 and 3.2.3.rc1
    
    * BROKEN on Rails 3.0.8 due to parameter changes to 
      ActionView::LookupContext::ViewPaths.find only taking in 
      3 parameters in 3.0 and 5 parameters in 3.2
      (didn't check 3.1)
  10. @databyte

    index and show now contain both Rails 3.2.3 template rendering problems:

    databyte authored committed
    **index** test will render index.rabl which references show.rabl,
      but rabl grabs show.html instead of show.rabl
    
    exact error:
    
    ~/projects/popular/rabl/lib/rabl/engine.rb:22:in `instance_eval': ~/projects/popular/rabl/fixtures/rails3_2/app/views/posts/show.html.erb:1: syntax error, unexpected '<' (ActionView::Template::Error)
    <%= content_for :footer_scripts do %>
     ^
    ~/projects/popular/rabl/fixtures/rails3_2/app/views/posts/show.html.erb:2: syntax error, unexpected tIDENTIFIER, expecting $end
      <%= render partial: "show_footer_script", formats: :js %>
    
    
    **show** test results in Missing partial
    
    exact error:
    
    ~/.rvm/gems/ruby-1.9.3-p125@rabl/gems/actionpack-3.2.3.rc1/lib/action_view/path_set.rb:58:in `find': Missing partial users/phone_number with {:locale=>[:en], :formats=>[:html], :handlers=>[:erb, :builder, :coffee, :rabl]}. Searched in: (ActionView::Template::Error)
  11. @databyte

    add the ability to render html, BREAKS TESTS

    databyte authored committed
    * shows problem with Rails 3.2 rendering templates
      BREAKS RAILS3 and RAILS3_2 tests
    
    * THIS BREAKS PADRINO TESTS (need help to fix)
    
    ~/.rvm/gems/ruby-1.9.3-p125@rabl/gems/actionpack-3.2.2/lib/action_view/path_set.rb:58:in `find': Missing template /index with {:locale=>[:en], :formats=>[:json], :handlers=>[:erb, :builder, :coffee, :rabl]}. Searched in: (ActionView::Template::Error)
  12. @databyte
  13. @databyte
Something went wrong with that request. Please try again.