custom_fields 1.0.0.beta.9 → 1.0.0.beta.10

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.
@@ -107,7 +107,7 @@ module CustomFields
107
107
  end
108
108
 
109
109
  def to_json
110
- self.to_hash.to_json
110
+ ActiveSupport::JSON.encode(self.to_hash)
111
111
  end
112
112
 
113
113
  protected
@@ -98,7 +98,7 @@ module CustomFields
98
98
  end
99
99
 
100
100
  def to_json
101
- self.to_hash.to_json
101
+ ActiveSupport::JSON.encode(self.to_hash)
102
102
  end
103
103
 
104
104
  end
@@ -1,5 +1,5 @@
1
1
  module Mongoid
2
2
  module CustomFields
3
- VERSION = "1.0.0.beta.9"
3
+ VERSION = "1.0.0.beta.10"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: custom_fields
3
3
  version: !ruby/object:Gem::Version
4
- hash: 62196369
4
+ hash: 62196375
5
5
  prerelease: 6
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
9
  - 0
10
10
  - beta
11
- - 9
12
- version: 1.0.0.beta.9
11
+ - 10
12
+ version: 1.0.0.beta.10
13
13
  platform: ruby
14
14
  authors:
15
15
  - Didier Lafforgue
@@ -17,7 +17,7 @@ autorequire:
17
17
  bindir: bin
18
18
  cert_chain: []
19
19
 
20
- date: 2011-03-22 00:00:00 +01:00
20
+ date: 2011-05-01 00:00:00 +02:00
21
21
  default_executable:
22
22
  dependencies:
23
23
  - !ruby/object:Gem::Dependency