serialization_scopes 0.9.2 → 0.9.3

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.2
1
+ 0.9.3
@@ -63,11 +63,7 @@ module SerializationScopes # :nodoc:
63
63
  end
64
64
 
65
65
  def attributes
66
- if @to
67
- serialized[root_name] ? serialized[root_name].keys : []
68
- else
69
- serialized.keys
70
- end
66
+ serialized[root_name] ? serialized[root_name].keys : []
71
67
  end
72
68
 
73
69
  def serialized
metadata CHANGED
@@ -1,8 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: serialization_scopes
3
3
  version: !ruby/object:Gem::Version
4
+ hash: 61
4
5
  prerelease:
5
- version: 0.9.2
6
+ segments:
7
+ - 0
8
+ - 9
9
+ - 3
10
+ version: 0.9.3
6
11
  platform: ruby
7
12
  authors:
8
13
  - Dimitrij Denissenko
@@ -11,7 +16,8 @@ autorequire:
11
16
  bindir: bin
12
17
  cert_chain: []
13
18
 
14
- date: 2011-07-02 00:00:00 Z
19
+ date: 2011-07-04 00:00:00 +01:00
20
+ default_executable:
15
21
  dependencies: []
16
22
 
17
23
  description: Adds named scopes for ActiveRecord/ActiveResource serialization methods (to_xml, to_json)
@@ -30,6 +36,7 @@ files:
30
36
  - lib/serialization_scopes/matchers/serialize_matcher.rb
31
37
  - lib/serialization_scopes/matchers.rb
32
38
  - rails/init.rb
39
+ has_rdoc: true
33
40
  homepage: http://github.com/dim/serialization_scopes
34
41
  licenses: []
35
42
 
@@ -43,17 +50,27 @@ required_ruby_version: !ruby/object:Gem::Requirement
43
50
  requirements:
44
51
  - - ">="
45
52
  - !ruby/object:Gem::Version
53
+ hash: 57
54
+ segments:
55
+ - 1
56
+ - 8
57
+ - 7
46
58
  version: 1.8.7
47
59
  required_rubygems_version: !ruby/object:Gem::Requirement
48
60
  none: false
49
61
  requirements:
50
62
  - - ">="
51
63
  - !ruby/object:Gem::Version
64
+ hash: 23
65
+ segments:
66
+ - 1
67
+ - 3
68
+ - 6
52
69
  version: 1.3.6
53
70
  requirements: []
54
71
 
55
72
  rubyforge_project:
56
- rubygems_version: 1.8.5
73
+ rubygems_version: 1.6.2
57
74
  signing_key:
58
75
  specification_version: 3
59
76
  summary: Named scopes for ActiveRecord/ActiveResource serialization methods (to_xml, to_json)