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 CHANGED
@@ -10,3 +10,7 @@
10
10
  19. Aug 2009 - 0.2.12
11
11
 
12
12
  * added ability to publish :wallet-restful-url (explicitly collapsed)
13
+
14
+ 20. Aug 2009 - 0.2.13
15
+
16
+ * hash serializer no longer dereferences ids
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 Restful::Rails.tools.dereference(value.value)
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.12"
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"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: purzelrakete-restful
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.12
4
+ version: 0.2.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Bornkessel