Permalink
Commits on Jul 23, 2012
  1. Merge pull request #210 from adamgotterer/master

    Fix for #body_params causing undefined method `size'
    dblock committed Jul 23, 2012
Commits on Jul 22, 2012
  1. Removed duplicate test

    adamgotterer committed Jul 22, 2012
Commits on Jul 21, 2012
  1. Merge pull request #208 from ppadron/master

    Entity#serializable_hash must also check if attribute is generated by a user supplied block
    dblock committed Jul 21, 2012
Commits on Jul 20, 2012
  1. fixes a bug introduced by #203 where entities that expose attributes …

    …returned by a block (therefore absent from the object) would not be serialized
    ppadron committed Jul 20, 2012
  2. Merge pull request #207 from tim-vandecasteele/adapt_validation

    Add support for Rack::Multipart::UploadedFile and don't care about parameter presence
    dblock committed Jul 20, 2012
  3. Add test for file validation

    +some cleanup of unnecessary spaces
    tim-vandecasteele committed Jul 20, 2012
  4. Add support for Rack::Multipart::UploadedFile and don't care about pa…

    …rameter presence in the validation.
    tim-vandecasteele committed Jul 20, 2012
  5. Who knew? Grape has a logo.

    dblock committed Jul 20, 2012
  6. Minor cleanup, pass in README.

    dblock committed Jul 20, 2012
Commits on Jul 19, 2012
  1. When parameters where in the path and in a validation, they were twic…

    …e in the params hash (once with symbol key, once with string key)
    tim-vandecasteele committed Jul 19, 2012
  2. Add possibility for namespace parameters.

    Specific method options (parameters and description) are now merged with the namespace parameters. So you can do something like below, and the serial parameter will be described for all methods in the namespace:
    
    ```
      desc 'description', :params => { "serial" => { :desc => "Serial of requested object." } }
      segment '/:serial' do
          desc "Get details on specific object"
          get do
              present object, with: API::Entities::Object
          end
    
          desc "Reserve an object"
          post '/reserve' do
              present object.reserve, with: API::Entities::ObjectReserved
          end
      end
    ```
    tim-vandecasteele committed Jul 18, 2012
Commits on Jul 18, 2012
  1. Merge pull request #206 from adamgotterer/master

    Fixed incorrect #requires name in validation documentation
    dblock committed Jul 18, 2012
  2. Merged with master.

    dblock committed Jul 18, 2012
  3. Fixed Ruby 1.8.7 specs.

    dblock committed Jul 18, 2012
  4. Don't convert empty body on POST/PUT.

    When posting with content type 'application/json' and an empty body, multi_json crashes on the empty string.
    tim-vandecasteele committed Jul 18, 2012
Commits on Jul 17, 2012
  1. Merged #181.

    dblock committed Jul 17, 2012
  2. Merge pull request #203 from adamgotterer/master

    Add a check to Entity#serializable_hash to verify an entity exists on a model
    dblock committed Jul 17, 2012
Commits on Jul 16, 2012
  1. Improved Entity#serializable_hash to check that an attribute exists on

    an object before accessing it.
    
    Improved Entity#serializable_hash check for an entity on an object before accessing the value.
    
    Converted proc and using condition to #conditions_met
    adamgotterer committed Jul 13, 2012
  2. Merge branch 'master' of https://github.com/intridea/grape

    Conflicts:
    	CHANGELOG.markdown
    benrosenblum committed Jul 16, 2012
Commits on Jul 15, 2012
Commits on Jul 14, 2012
  1. updated README

    schmurfy committed Jul 14, 2012
  2. moved Boolean class definition

    reworked spec as a result for scope issues
    schmurfy committed Jul 14, 2012