reactive_resource 0.0.1 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- reactive_resource (0.0.1)
4
+ reactive_resource (0.5.0)
5
5
  activeresource (~> 2.3.10)
6
6
 
7
7
  GEM
data/README.rdoc CHANGED
@@ -1,7 +1,10 @@
1
1
  = Reactive Resource
2
2
 
3
- Reactive Resource is a collection of extensions extracted from
4
- ActiveResource wrappers around various APIs.
3
+ Reactive Resource is a useful collection of extensions extracted from
4
+ ActiveResource wrappers around various APIs. Among other things, it
5
+ adds +belongs_to+, +has_one+, and +has_many+ relationships to
6
+ ActiveResource models and has significantly better support for
7
+ one-to-one relationships.
5
8
 
6
9
  == Usage
7
10
 
@@ -53,7 +56,7 @@ in each class.
53
56
  === Support for singleton resources
54
57
 
55
58
  For singleton resources, ActiveResource would still use the plural and
56
- generate paths like "/lawyers/1/headshots.json". I didn't like this, so you
59
+ generate paths like <tt>/lawyers/1/headshots.json</tt>. I didn't like this, so you
57
60
  can now mark a resource as a singleton resource:
58
61
 
59
62
  class ReactiveResource::Headshot < ReactiveResource::Base
@@ -69,4 +72,3 @@ In ActiveResource, if you had nested URLs specified in the resource
69
72
  path in your class definition, you had to set those params at the
70
73
  object's creation time. Reactive Resource allows you to set those
71
74
  parameters at any time after object creation.
72
-
@@ -1,4 +1,4 @@
1
1
  module ReactiveResource
2
2
  # The current version of ReactiveResource
3
- VERSION = "0.0.1"
3
+ VERSION = "0.5.0"
4
4
  end
metadata CHANGED
@@ -4,9 +4,9 @@ version: !ruby/object:Gem::Version
4
4
  prerelease: false
5
5
  segments:
6
6
  - 0
7
+ - 5
7
8
  - 0
8
- - 1
9
- version: 0.0.1
9
+ version: 0.5.0
10
10
  platform: ruby
11
11
  authors:
12
12
  - Justin Weiss
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2011-01-14 00:00:00 -08:00
17
+ date: 2011-01-18 00:00:00 -08:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency