agile_serializer 0.0.1 → 0.0.2
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/README.markdown +5 -3
- data/lib/agile_serializer.rb +1 -1
- data/lib/agile_serializer/version.rb +1 -1
- metadata +3 -3
data/README.markdown
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
The fork
|
|
2
|
-
|
|
1
|
+
Agile Serializer, The fork
|
|
2
|
+
==========================
|
|
3
3
|
|
|
4
|
-
This fork changes the core behavior of SerializeWithOptions plugin, it follows deep relations so it's up to you to handle infinite recursions (SerializeWithOptions drops 1+ level relations). This repo is a work in progress so use
|
|
4
|
+
This fork changes the core behavior of SerializeWithOptions plugin, it follows deep relations so it's up to you to handle infinite recursions (SerializeWithOptions drops 1+ level relations). This repo is a work in progress and the documentation isn't up to date so... use the source, Luke.
|
|
5
|
+
|
|
6
|
+
gem install agile_serializer
|
|
5
7
|
|
|
6
8
|
SerializeWithOptions
|
|
7
9
|
====================
|
data/lib/agile_serializer.rb
CHANGED
|
@@ -32,7 +32,7 @@ module AgileSerializer
|
|
|
32
32
|
hash.merge(class_name)
|
|
33
33
|
else
|
|
34
34
|
begin
|
|
35
|
-
klass = class_name.
|
|
35
|
+
klass = reflections[class_name].options[:class_name].constantize
|
|
36
36
|
hash[class_name] = klass.serialization_options(set)
|
|
37
37
|
hash
|
|
38
38
|
rescue NameError
|
metadata
CHANGED
|
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
|
5
5
|
segments:
|
|
6
6
|
- 0
|
|
7
7
|
- 0
|
|
8
|
-
-
|
|
9
|
-
version: 0.0.
|
|
8
|
+
- 2
|
|
9
|
+
version: 0.0.2
|
|
10
10
|
platform: ruby
|
|
11
11
|
authors:
|
|
12
12
|
- Christos Trochalakis
|
|
@@ -14,7 +14,7 @@ autorequire:
|
|
|
14
14
|
bindir: bin
|
|
15
15
|
cert_chain: []
|
|
16
16
|
|
|
17
|
-
date: 2010-05-
|
|
17
|
+
date: 2010-05-26 00:00:00 +03:00
|
|
18
18
|
default_executable:
|
|
19
19
|
dependencies: []
|
|
20
20
|
|