td 0.10.47 → 0.10.48
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog +6 -0
- data/lib/td/command/job.rb +4 -4
- data/lib/td/version.rb +1 -1
- metadata +4 -4
data/ChangeLog
CHANGED
data/lib/td/command/job.rb
CHANGED
@@ -255,14 +255,14 @@ module Command
|
|
255
255
|
job.result_each {|row|
|
256
256
|
# TODO limit number of rows to show
|
257
257
|
rows << row.map {|v|
|
258
|
+
# TODO encoding check
|
258
259
|
if v.is_a?(String)
|
259
|
-
# TODO encoding check
|
260
260
|
s = v.to_s
|
261
|
-
s.force_encoding('ASCII-8BIT') if s.respond_to?(:force_encoding)
|
262
|
-
s
|
263
261
|
else
|
264
|
-
v.to_json
|
262
|
+
s = v.to_json
|
265
263
|
end
|
264
|
+
s.force_encoding('UTF-8') if s.respond_to?(:force_encoding)
|
265
|
+
s
|
266
266
|
}
|
267
267
|
}
|
268
268
|
|
data/lib/td/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: td
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.10.
|
4
|
+
version: 0.10.48
|
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: 2012-09-
|
12
|
+
date: 2012-09-17 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: msgpack
|
@@ -66,7 +66,7 @@ dependencies:
|
|
66
66
|
requirements:
|
67
67
|
- - ~>
|
68
68
|
- !ruby/object:Gem::Version
|
69
|
-
version: 0.8.
|
69
|
+
version: 0.8.27
|
70
70
|
type: :runtime
|
71
71
|
prerelease: false
|
72
72
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -74,7 +74,7 @@ dependencies:
|
|
74
74
|
requirements:
|
75
75
|
- - ~>
|
76
76
|
- !ruby/object:Gem::Version
|
77
|
-
version: 0.8.
|
77
|
+
version: 0.8.27
|
78
78
|
- !ruby/object:Gem::Dependency
|
79
79
|
name: td-logger
|
80
80
|
requirement: !ruby/object:Gem::Requirement
|