Skip to content

Commit

Permalink
Updated readme, bumped version
Browse files Browse the repository at this point in the history
  • Loading branch information
justinweiss committed Jan 18, 2011
1 parent 79d122e commit 6e28e24
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
10 changes: 6 additions & 4 deletions README.rdoc
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
= Reactive Resource

Reactive Resource is a collection of extensions extracted from
ActiveResource wrappers around various APIs.
Reactive Resource is a useful collection of extensions extracted from
ActiveResource wrappers around various APIs. Among other things, it
adds +belongs_to+, +has_one+, and +has_many+ relationships to
ActiveResource models and has significantly better support for
one-to-one relationships.

== Usage

Expand Down Expand Up @@ -53,7 +56,7 @@ in each class.
=== Support for singleton resources

For singleton resources, ActiveResource would still use the plural and
generate paths like "/lawyers/1/headshots.json". I didn't like this, so you
generate paths like <tt>/lawyers/1/headshots.json</tt>. I didn't like this, so you
can now mark a resource as a singleton resource:

class ReactiveResource::Headshot < ReactiveResource::Base
Expand All @@ -69,4 +72,3 @@ In ActiveResource, if you had nested URLs specified in the resource
path in your class definition, you had to set those params at the
object's creation time. Reactive Resource allows you to set those
parameters at any time after object creation.

2 changes: 1 addition & 1 deletion lib/reactive_resource/version.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module ReactiveResource
# The current version of ReactiveResource
VERSION = "0.0.1"
VERSION = "0.5.0"
end

0 comments on commit 6e28e24

Please sign in to comment.