omf_web 1.2.7 → 1.2.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -87,7 +87,8 @@ module OMF::Web::Rack
87
87
  action: action
88
88
  #offset: offset
89
89
  }
90
- send_data(msg.to_json.force_encoding("UTF-8"))
90
+ # http://stackoverflow.com/questions/17022394/convert-string-to-utf8-in-ruby
91
+ send_data(msg.to_json.encode("iso-8859-1").force_encoding("UTF-8"))
91
92
  rows.clear
92
93
  end
93
94
 
@@ -155,4 +156,4 @@ module OMF::Web::Rack
155
156
 
156
157
  end # WebsocketHandler
157
158
 
158
- end # module
159
+ end # module
@@ -1,7 +1,7 @@
1
1
 
2
2
  module OMF
3
3
  module Web
4
- VERSION = '1.2.7'
4
+ VERSION = '1.2.8'
5
5
  # Used for finding the example directory
6
6
  TOP_DIR = File.dirname(File.dirname(File.dirname(__FILE__)))
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omf_web
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.7
4
+ version: 1.2.8
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-07-24 00:00:00.000000000 Z
12
+ date: 2014-07-28 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: omf_oml