purzelrakete-restful 0.2.12 → 0.2.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/CHANGES.markdown +4 -0
- data/TODO.markdown +2 -1
- data/lib/restful/serializers/hash_serializer.rb +1 -1
- data/restful.gemspec +1 -1
- metadata +1 -1
data/CHANGES.markdown
CHANGED
data/TODO.markdown
CHANGED
@@ -6,4 +6,5 @@ Refactor this shice. Seriously, this has devolved into some nasty-ass code.
|
|
6
6
|
* remove xml serialization here and test resource directly (in active_record_converter_test)
|
7
7
|
* get rid of to_a warning
|
8
8
|
* convert underscores to dashes (or not) in serializers instead of converter
|
9
|
-
* implement xml serialization of hashes
|
9
|
+
* implement xml serialization of hashes
|
10
|
+
* write tests to show that [Person.new].to_restful_xml(:include => :wallet) fails to preserve Person whitelist.
|
@@ -48,7 +48,7 @@ module Restful
|
|
48
48
|
def serialize_value(value)
|
49
49
|
case value.type
|
50
50
|
when :collection then serialize_collection(value)
|
51
|
-
when :link then
|
51
|
+
when :link then value.value
|
52
52
|
when :resource then serialize(value)
|
53
53
|
else formatted_value(value)
|
54
54
|
end
|
data/restful.gemspec
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = "restful"
|
3
|
-
s.version = "0.2.
|
3
|
+
s.version = "0.2.13"
|
4
4
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
5
5
|
s.authors = ["Daniel Bornkessel", "Rany Keddo"]
|
6
6
|
s.date = "2009-08-11"
|