README.md in restfulness-0.2.1 vs README.md in restfulness-0.2.2

- old
+ new

@@ -1,9 +1,11 @@ # Restfulness Because REST APIs are all about resources, not routes. +[![Build Status](https://travis-ci.org/samlown/restfulness.png)](https://travis-ci.org/samlown/restfulness) + ## Introduction Restfulness is an attempt to create a Ruby library that helps create truly REST based APIs to your services. The focus is placed on performing HTTP actions on resources via specific routes, as opposed to the current convention of assigning routes and HTTP actions to methods or blocks of code. The difference is subtle, but makes for a much more natural approach to building APIs. The current version is very minimal, as it only support JSON content types, and does not have more advanced commonly used HTTP features like sessions or cookies. For most APIs this should be sufficient. @@ -114,11 +116,10 @@ routes do add 'project', ProjectResource add 'projects', ProjectsResource end end - ``` An application is designed to be included in your Rails, Sinatra, or other Rack project, simply include a new instance of your application in the `config.ru` file: ```ruby @@ -395,15 +396,16 @@ If you're adding Restfulness to a Rails project, you can take advantage of the `ActionDispatch::Reloader` rack middleware. Simply include it in the application definition: ```ruby class MyAPI < Restfulness::Application if Rails.env.development? - middlewares << ActionDispatch::Relaoder + middlewares << ActionDispatch::Reloader end routes do # etc. etc. end +end ``` We're still working on ways to improve this. If you have any ideas, please send me a pull request! ## Contributing @@ -419,9 +421,14 @@ Restfulness was created by Sam Lown <me@samlown.com> as a solution for building simple APIs at [Cabify](http://www.cabify.com). ## History + +### 0.2.2 - October 31, 2013 + + * Refactoring logging support to not depend on Rack CommonLogger nor ShowExceptions. + * Using ActiveSupport::Logger instead of MonoLogger. ### 0.2.1 - October 22, 2013 * Removing some unnecessary logging and using Rack::CommonLogger. * Improving some test coverage.