Permalink
Browse files

Update version to 1.5.3, update the readme and the changelog

  • Loading branch information...
1 parent 8297953 commit 1f6ab56fd7a62f138b54dc06ec61b551cda6702a @Sutto committed Jul 18, 2012
Showing with 16 additions and 7 deletions.
  1. +8 −0 CHANGELOG.md
  2. +4 −3 README.md
  3. +4 −4 rocket_pants.gemspec
View
@@ -2,6 +2,14 @@
**Please Note**: This change log only covers v1.3 forwards - apologies for anything missing prior to that.
+## Version 1.5.3
+
+* Add in support for messages on `RocketPants::InvalidResource` to `RocketPants::Client`, thanks to @fredwu
+
+## Version 1.5.2
+
+* Map `ActiveRecord::RecordNotUnique` to `RocketPants::Conflict`.
+
## Version 1.5.1
* Merge in a fix from [nagash](https://github.com/nagash) that prevents reusing decoded / parsed responses in the test helper.
View
@@ -153,7 +153,7 @@ Using the example above, we could then use the following to write a client:
```ruby
class FoodsClient < RocketPants::Client
-
+
version 1
base_uri 'http://localhost:3000'
@@ -455,7 +455,7 @@ get :index, :version => 1
Otherwise it will raise an exception.
-RocketPants includes a set of helpers to make testing controllers built on `RocketPants::Base` simpler.
+RocketPants includes a set of helpers to make testing controllers built on `RocketPants::Base` simpler.
* `be_singular_resource` - Checks the response is a single resource - e.g. `response.should be_siingular_resource`.
* `be_collection_resource` - Checks the response is collection of resources - e.g. `response.should be_collection_resource`.
@@ -481,8 +481,9 @@ Inside the `RSpec.configure do |config|` block.
- [Darcy Laycock](https://github.com/Sutto) - Main developer, current maintainer.
- [Steve Webb](https://github.com/swebb) - Helped with original work at [The Frontier Group](https://github.com/thefrontiergroup), inc. original design.
-- [Fred Wu](https://github.com/fredwu) - README fixes.
+- [Fred Wu](https://github.com/fredwu) - README fixes, other contributions / fixes.
- [Levi Buzolic](https://github.com/levibuzolic) - README fixes.
+- [Samuel Cochran](https://github.com/sj26) - Misc. work on RocketPants / tweaks.
## Contributing
@@ -1,18 +1,18 @@
# -*- encoding: utf-8 -*-
lib = File.expand_path('../lib/', __FILE__)
$:.unshift lib unless $:.include?(lib)
-
+
Gem::Specification.new do |s|
s.name = "rocket_pants"
- s.version = "1.5.2"
+ s.version = "1.5.3"
s.platform = Gem::Platform::RUBY
s.authors = ["Darcy Laycock"]
s.email = ["sutto@sutto.net"]
s.homepage = "http://github.com/filtersquad"
s.summary = "JSON API love for Rails and ActionController"
s.description = "Rocket Pants adds JSON API love to Rails and ActionController, making it simpler to build API-oriented controllers."
s.required_rubygems_version = ">= 1.3.6"
-
+
s.add_dependency 'actionpack', '~> 3.0'
s.add_dependency 'railties', '~> 3.0'
s.add_dependency 'will_paginate', '~> 3.0'
@@ -27,7 +27,7 @@ Gem::Specification.new do |s|
s.add_development_dependency 'sqlite3-ruby'
s.add_development_dependency 'reversible_data', '~> 1.0'
s.add_development_dependency 'kaminari'
-
+
s.files = Dir.glob("{lib}/**/*")
s.require_path = 'lib'
end

0 comments on commit 1f6ab56

Please sign in to comment.