twail 0.1.5 → 0.1.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/twail.rb +1 -1
  2. data/twail.gemspec +1 -1
  3. 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
@@ -2,7 +2,7 @@
2
2
  $:.push File.expand_path("../lib", __FILE__)
3
3
  Gem::Specification.new do |s|
4
4
  s.name = "twail"
5
- s.version = '0.1.5'
5
+ s.version = '0.1.6'
6
6
  s.platform = Gem::Platform::RUBY
7
7
  s.required_ruby_version = '>= 1.9.0'
8
8
 
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.5
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-25 00:00:00.000000000Z
12
+ date: 2012-01-31 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: twurl
16
- requirement: &70163396021780 !ruby/object:Gem::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: *70163396021780
24
+ version_requirements: *70173350282360
25
25
  description: tail your Twitter timelines, or search Twitter
26
26
  email:
27
27
  - dhchoi@gmail.com