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.
- data/lib/omf-web/rack/websocket_handler.rb +3 -2
- data/lib/omf-web/version.rb +1 -1
- metadata +2 -2
@@ -87,7 +87,8 @@ module OMF::Web::Rack
|
|
87
87
|
action: action
|
88
88
|
#offset: offset
|
89
89
|
}
|
90
|
-
|
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
|
data/lib/omf-web/version.rb
CHANGED
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.
|
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-
|
12
|
+
date: 2014-07-28 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: omf_oml
|