oracle_enhanced_plus_xmltype 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -14,6 +14,7 @@ if defined?(::Rails::Railtie)
14
14
  ActiveRecord::ConnectionAdapters::OracleEnhancedAdapter.class_eval do
15
15
  self.send :include, ::OracleEnhancedAdapterPlusXmltype
16
16
  end
17
+
17
18
  ActiveRecord::ConnectionAdapters::OracleEnhancedColumn.class_eval do
18
19
  self.send :include, ::OracleEnhancedColumnWithXmltype
19
20
  end
@@ -10,7 +10,7 @@ module OracleEnhancedOCIConnectionWithXmltype
10
10
  value
11
11
  when String
12
12
  if value.match(/\<\?xml/i)
13
- Hash.from_xml(value)
13
+ Hash.from_xml(value)[:hash]
14
14
  else
15
15
  value
16
16
  end
@@ -1,3 +1,3 @@
1
1
  module OracleEnhancedPlusXmltype
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: oracle_enhanced_plus_xmltype
3
3
  version: !ruby/object:Gem::Version
4
- hash: 29
4
+ hash: 27
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 1
10
- version: 0.0.1
9
+ - 2
10
+ version: 0.0.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Jake Varghese
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-07-28 00:00:00 -05:00
18
+ date: 2011-08-18 00:00:00 -05:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency