twail 0.1.5 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/twail.rb +1 -1
- data/twail.gemspec +1 -1
- metadata +4 -4
data/lib/twail.rb
CHANGED
|
@@ -149,6 +149,7 @@ trap("INT") {
|
|
|
149
149
|
|
|
150
150
|
seen = []
|
|
151
151
|
network = true
|
|
152
|
+
total_width = `tput cols`.to_i
|
|
152
153
|
|
|
153
154
|
loop do
|
|
154
155
|
raw = begin
|
|
@@ -179,7 +180,6 @@ loop do
|
|
|
179
180
|
text += " #{x['id']}" if options[:tweet_ids]
|
|
180
181
|
user_width = 18
|
|
181
182
|
from = x['user']['screen_name'][0,user_width]
|
|
182
|
-
total_width = `tput cols`.to_i
|
|
183
183
|
text_width = (total_width - user_width) - 3
|
|
184
184
|
textlines = options[:wrap] ? text.wrap(text_width).split(/\n/) : [text]
|
|
185
185
|
|
data/twail.gemspec
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: twail
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.6
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,11 +9,11 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2012-01-
|
|
12
|
+
date: 2012-01-31 00:00:00.000000000Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: twurl
|
|
16
|
-
requirement: &
|
|
16
|
+
requirement: &70173350282360 !ruby/object:Gem::Requirement
|
|
17
17
|
none: false
|
|
18
18
|
requirements:
|
|
19
19
|
- - ! '>='
|
|
@@ -21,7 +21,7 @@ dependencies:
|
|
|
21
21
|
version: 0.6.3
|
|
22
22
|
type: :runtime
|
|
23
23
|
prerelease: false
|
|
24
|
-
version_requirements: *
|
|
24
|
+
version_requirements: *70173350282360
|
|
25
25
|
description: tail your Twitter timelines, or search Twitter
|
|
26
26
|
email:
|
|
27
27
|
- dhchoi@gmail.com
|