activerecord-sqlserver-adapter 3.2.11 → 3.2.12

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG CHANGED
@@ -1,4 +1,9 @@
1
1
 
2
+ * 3.2.12 *
3
+
4
+ * Revert string_to_binary changes in 457af60e. Fixes #273.
5
+
6
+
2
7
  * 3.2.11 *
3
8
 
4
9
  * Handle "No such column" when renaming some columns in the migrations. Fixes #237. Thanks @michelgrootjans.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 3.2.11
1
+ 3.2.12
@@ -69,9 +69,6 @@ module ActiveRecord
69
69
  end
70
70
 
71
71
  def binary_to_string(value)
72
- if value.respond_to?(:force_encoding) && value.encoding != Encoding::ASCII_8BIT
73
- value = value.force_encoding(Encoding::ASCII_8BIT)
74
- end
75
72
  value =~ /[^[:xdigit:]]/ ? value : [value].pack('H*')
76
73
  end
77
74
 
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: activerecord-sqlserver-adapter
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 3.2.11
5
+ version: 3.2.12
6
6
  platform: ruby
7
7
  authors:
8
8
  - Ken Collins
@@ -13,7 +13,7 @@ authors:
13
13
  autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
- date: 2013-07-07 00:00:00.000000000 Z
16
+ date: 2013-07-14 00:00:00.000000000 Z
17
17
  dependencies:
18
18
  - !ruby/object:Gem::Dependency
19
19
  name: activerecord