twine 0.10.0 → 0.10.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/twine/cli.rb +6 -1
- data/lib/twine/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6dcdb67ead79faa41f6f4849e7ae0e187ea98b92
|
4
|
+
data.tar.gz: 11ca78a313a5d092dc107b2100abb95f3ac4cc5b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0e097325df41ef943e72ecc58e663c5b7261a46103fd7d27f4e187c1f2c1bbdd03e49fb11dd6d2b5534c3bfde939cf28f4725a458c444b935ba519f0aecf219c
|
7
|
+
data.tar.gz: 71d7c5d2e9c61b7038f69d9780f0f1137314a44be5849152fd39baddfa0312799cc6a887ce13f9b66ba13dca470d398b4c3b6311be80e78ce5c527826583cd3f
|
data/lib/twine/cli.rb
CHANGED
@@ -306,8 +306,13 @@ module Twine
|
|
306
306
|
end
|
307
307
|
end
|
308
308
|
|
309
|
+
if IO.console
|
310
|
+
console_width = IO.console.winsize[1]
|
311
|
+
else
|
312
|
+
console_width = 100
|
313
|
+
end
|
309
314
|
summary_width += 7 # account for description padding
|
310
|
-
max_description_width =
|
315
|
+
max_description_width = console_width - summary_width
|
311
316
|
merged_lines.map! do |line|
|
312
317
|
if line[0] == ' '
|
313
318
|
line = word_wrap(line.strip, max_description_width - 2)
|
data/lib/twine/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: twine
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.10.
|
4
|
+
version: 0.10.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sebastian Celis
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-01-
|
11
|
+
date: 2017-01-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubyzip
|