agile_serializer 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/agile_serializer/version.rb +1 -1
- data/lib/agile_serializer.rb +1 -1
- metadata +5 -10
data/lib/agile_serializer.rb
CHANGED
@@ -27,7 +27,7 @@ module AgileSerializer
|
|
27
27
|
|
28
28
|
def serialization_options(set)
|
29
29
|
options = read_inheritable_attribute(:options)
|
30
|
-
options[set] ||=
|
30
|
+
options[set] ||= serialization_configuration(set).tap do |opts|
|
31
31
|
includes = opts.delete(:includes)
|
32
32
|
|
33
33
|
if includes
|
metadata
CHANGED
@@ -1,13 +1,12 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: agile_serializer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash: 21
|
5
4
|
prerelease: false
|
6
5
|
segments:
|
7
6
|
- 0
|
8
7
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
8
|
+
- 6
|
9
|
+
version: 0.0.6
|
11
10
|
platform: ruby
|
12
11
|
authors:
|
13
12
|
- Christos Trochalakis
|
@@ -15,7 +14,7 @@ autorequire:
|
|
15
14
|
bindir: bin
|
16
15
|
cert_chain: []
|
17
16
|
|
18
|
-
date: 2011-
|
17
|
+
date: 2011-04-10 00:00:00 +03:00
|
19
18
|
default_executable:
|
20
19
|
dependencies: []
|
21
20
|
|
@@ -34,8 +33,8 @@ files:
|
|
34
33
|
- lib/agile_serializer.rb
|
35
34
|
- lib/agile_serializer/version.rb
|
36
35
|
- lib/agile_serializer/railtie.rb
|
37
|
-
- test/serialize_with_options_test.rb
|
38
36
|
- test/test_helper.rb
|
37
|
+
- test/serialize_with_options_test.rb
|
39
38
|
- rails/init.rb
|
40
39
|
has_rdoc: true
|
41
40
|
homepage: http://github.com/ctrochalakis/agile_serializer
|
@@ -47,27 +46,23 @@ rdoc_options: []
|
|
47
46
|
require_paths:
|
48
47
|
- lib
|
49
48
|
required_ruby_version: !ruby/object:Gem::Requirement
|
50
|
-
none: false
|
51
49
|
requirements:
|
52
50
|
- - ">="
|
53
51
|
- !ruby/object:Gem::Version
|
54
|
-
hash: 3
|
55
52
|
segments:
|
56
53
|
- 0
|
57
54
|
version: "0"
|
58
55
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
59
|
-
none: false
|
60
56
|
requirements:
|
61
57
|
- - ">="
|
62
58
|
- !ruby/object:Gem::Version
|
63
|
-
hash: 3
|
64
59
|
segments:
|
65
60
|
- 0
|
66
61
|
version: "0"
|
67
62
|
requirements: []
|
68
63
|
|
69
64
|
rubyforge_project:
|
70
|
-
rubygems_version: 1.3.
|
65
|
+
rubygems_version: 1.3.6
|
71
66
|
signing_key:
|
72
67
|
specification_version: 3
|
73
68
|
summary: Enhanced serialize options for rails, forked from serialize_with_options
|