pt 0.3.3 → 0.3.4
Sign up to get free protection for your applications and to get access to all the features.
- data/Changelog.md +3 -0
- data/lib/pt.rb +1 -1
- data/lib/pt/data_row.rb +4 -1
- metadata +11 -4
data/Changelog.md
CHANGED
data/lib/pt.rb
CHANGED
data/lib/pt/data_row.rb
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
require 'iconv'
|
2
|
+
|
1
3
|
class PT::DataRow
|
2
4
|
|
3
5
|
attr_accessor :num, :record
|
@@ -8,7 +10,8 @@ class PT::DataRow
|
|
8
10
|
end
|
9
11
|
|
10
12
|
def method_missing(method)
|
11
|
-
@record.send
|
13
|
+
str = @record.send(method).to_s
|
14
|
+
str.respond_to?(:force_encoding) ? str.force_encoding('utf-8') : Iconv.iconv('UTF8', 'UTF8', str)
|
12
15
|
end
|
13
16
|
|
14
17
|
def to_s
|
metadata
CHANGED
@@ -1,12 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pt
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
4
|
+
hash: 27
|
5
|
+
prerelease:
|
5
6
|
segments:
|
6
7
|
- 0
|
7
8
|
- 3
|
8
|
-
-
|
9
|
-
version: 0.3.
|
9
|
+
- 4
|
10
|
+
version: 0.3.4
|
10
11
|
platform: ruby
|
11
12
|
authors:
|
12
13
|
- Raul Murciano
|
@@ -25,6 +26,7 @@ dependencies:
|
|
25
26
|
requirements:
|
26
27
|
- - ">="
|
27
28
|
- !ruby/object:Gem::Version
|
29
|
+
hash: 17
|
28
30
|
segments:
|
29
31
|
- 0
|
30
32
|
- 3
|
@@ -40,6 +42,7 @@ dependencies:
|
|
40
42
|
requirements:
|
41
43
|
- - ">="
|
42
44
|
- !ruby/object:Gem::Version
|
45
|
+
hash: 5
|
43
46
|
segments:
|
44
47
|
- 0
|
45
48
|
- 4
|
@@ -55,6 +58,7 @@ dependencies:
|
|
55
58
|
requirements:
|
56
59
|
- - ">="
|
57
60
|
- !ruby/object:Gem::Version
|
61
|
+
hash: 11
|
58
62
|
segments:
|
59
63
|
- 1
|
60
64
|
- 2
|
@@ -69,6 +73,7 @@ dependencies:
|
|
69
73
|
requirements:
|
70
74
|
- - ">="
|
71
75
|
- !ruby/object:Gem::Version
|
76
|
+
hash: 13
|
72
77
|
segments:
|
73
78
|
- 1
|
74
79
|
- 6
|
@@ -112,6 +117,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
112
117
|
requirements:
|
113
118
|
- - ">="
|
114
119
|
- !ruby/object:Gem::Version
|
120
|
+
hash: 3
|
115
121
|
segments:
|
116
122
|
- 0
|
117
123
|
version: "0"
|
@@ -120,13 +126,14 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
120
126
|
requirements:
|
121
127
|
- - ">="
|
122
128
|
- !ruby/object:Gem::Version
|
129
|
+
hash: 3
|
123
130
|
segments:
|
124
131
|
- 0
|
125
132
|
version: "0"
|
126
133
|
requirements: []
|
127
134
|
|
128
135
|
rubyforge_project: pt
|
129
|
-
rubygems_version: 1.
|
136
|
+
rubygems_version: 1.5.2
|
130
137
|
signing_key:
|
131
138
|
specification_version: 3
|
132
139
|
summary: Client to use Pivotal Tracker from the console.
|