pretty_multitask 0.1.11 → 0.1.12

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e01812677f6e3b459a2202d578e1de026078513dca7cbe335b4916160a84c5e7
4
- data.tar.gz: '0311972bb6ec45cb360e253a55cc70a756d626d19e370564827219bd8bceefe4'
3
+ metadata.gz: f17834bf6e69de1ac60b9c3ef85057af450b3f2670c7436e95ce586bfa85abd5
4
+ data.tar.gz: f7489e37732d411b20f10b541ad8f0a8df6d989a3b6e9889f7bed027e649ffe4
5
5
  SHA512:
6
- metadata.gz: 7db22eaa39c4efcd3f29d6a683c20af6184a9c15306e5c7c4af50e24a2d00c6e7b35dd57eeab7f3c5f6d2df7ba58657a2e94d8b2bc41e4afb9059bfa1fc8920b
7
- data.tar.gz: 6d0001b6c098af0a0ba330d85afdec788d2ccec897b9c811735a3b70004218f3b8921079d589177171c47ca4e7043f37b52e6ff250948f8f9b77caffbd94b715
6
+ metadata.gz: 79848302a5152c65f2262dfb30b045dd090270a8890caba3ef277df3924ebadd1a9b18babe82ac508dd61e1b5232b6ad9eac9e2f474f6f6b5fe0c95f9bb29f43
7
+ data.tar.gz: b3d559a22457161fb6b1d52dec37d3faeb5120eefb37df0e279582779e91b6ecd64132cb16e8f2f55d18c80511255d7fee633fd6ee6df211c7b9267794a39ca0
@@ -35,6 +35,7 @@ module PrettyMultitask
35
35
  @jobs.each do |j|
36
36
  label = "[ #{j[:name]} ]"
37
37
  width = IO.console.winsize[-1]
38
+ width = 80 unless width > 0
38
39
  left = '=' * ((width - label.length) / 2)
39
40
  right = j[:name].length.even? ? left : left + '='
40
41
  puts "\n"
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module PrettyMultitask
4
- VERSION = '0.1.11'
4
+ VERSION = '0.1.12'
5
5
  end
@@ -34,7 +34,7 @@ Gem::Specification.new do |spec|
34
34
  spec.add_dependency 'tlopo-executor', '~> 0.1.0'
35
35
  spec.add_dependency 'io-console', '~> 0.4'
36
36
 
37
- spec.add_development_dependency 'bundler', '~> 1.15'
37
+ spec.add_development_dependency 'bundler', '~> 2.1'
38
38
  spec.add_development_dependency 'minitest', '~> 5.0'
39
39
  spec.add_development_dependency 'rake', '~> 12.3.3'
40
40
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pretty_multitask
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.11
4
+ version: 0.1.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tiago Lopo Da Silva
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-09-30 00:00:00.000000000 Z
11
+ date: 2021-01-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tlopo-executor
@@ -44,14 +44,14 @@ dependencies:
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '1.15'
47
+ version: '2.1'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '1.15'
54
+ version: '2.1'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: minitest
57
57
  requirement: !ruby/object:Gem::Requirement