serialization_scopes 0.9.0 → 0.9.1

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.9.0
1
+ 0.9.1
@@ -63,7 +63,11 @@ module SerializationScopes # :nodoc:
63
63
  end
64
64
 
65
65
  def attributes
66
- serialized[root_name] ? serialized[root_name].keys : []
66
+ if @to
67
+ serialized[root_name] ? serialized[root_name].keys : []
68
+ else
69
+ serialized.keys
70
+ end
67
71
  end
68
72
 
69
73
  def serialized
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: serialization_scopes
3
3
  version: !ruby/object:Gem::Version
4
- hash: 59
4
+ hash: 57
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 9
9
- - 0
10
- version: 0.9.0
9
+ - 1
10
+ version: 0.9.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Dimitrij Denissenko
@@ -16,7 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2011-04-21 00:00:00 +01:00
19
+ date: 2011-05-16 00:00:00 +01:00
20
20
  default_executable:
21
21
  dependencies: []
22
22