pretty_multitask 0.1.13 → 0.1.14

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: 0c91011fe61ca3de3b63eac1713c06ebad723117a06ebbbb9a3da8717a744f75
4
- data.tar.gz: a71e9b7a7985efddc58e236cebfd624f98375cd30b206eff12e6382ecc838dc0
3
+ metadata.gz: 9c58a03adda54da68bff9b757023abe28a195f574cae58e1feec8b0b35e482ca
4
+ data.tar.gz: 8333c5fc9ca9b40bbab1cb0befedeca89b87484b4069ec12d0ee39e9f374e92b
5
5
  SHA512:
6
- metadata.gz: dcd6939ef5fc5435d458fc872fc96c3e248dfd8372e13d8e19c3394a76deeb3c1ea5f69dd0696e10a40d84c1300d8464ef9c6dfe0fc346bbda14f0546a34ce78
7
- data.tar.gz: a928da1e0d6661dc5bf46c6fad45c4d9c3201f561f86f8257938b2e4e023db9b21c0046f0f0c9c66efa386336e22eb8de92617f59ca2bc9ad7a228a5be32985c
6
+ metadata.gz: 0f7edda5153cdedaa928dd43a44997143d88f6e974379e44505dde9efbb79e48ab6780410d96d38f6baab7650b53cc8e8af1b2f92c6e0d3ed150212b26d10060
7
+ data.tar.gz: 805bc7e4e013800cb4e728d4c0fd570957bf43b3eb3dac045a8563fdb633b278a27f5dd3ddff57ea261acb956bccbde7d337174e96e9309e32e4e5b1ee5aa8df
@@ -3,6 +3,8 @@
3
3
  module PrettyMultitask
4
4
  # This class will run a callable, and wrap it's output adding nice format
5
5
  class RunCallable
6
+ LOGGER ||= Logger.new $stderr
7
+
6
8
  def initialize(opts = {})
7
9
  @opts = opts
8
10
  end
@@ -80,7 +82,8 @@ module PrettyMultitask
80
82
  rescue StandardError => e
81
83
  new_error = e.class.new(e.message)
82
84
  new_error.set_backtrace e.backtrace
83
- Logger.new(STDERR).error new_error
85
+ LOGGER.reopen STDERR
86
+ LOGGER.error new_error
84
87
  obj = { result: nil, error: new_error }
85
88
  socket_w.puts Marshal.dump(obj), 0
86
89
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module PrettyMultitask
4
- VERSION = '0.1.13'
4
+ VERSION = '0.1.14'
5
5
  end
@@ -36,5 +36,5 @@ Gem::Specification.new do |spec|
36
36
 
37
37
  spec.add_development_dependency 'bundler', '~> 2.1'
38
38
  spec.add_development_dependency 'minitest', '~> 5.0'
39
- spec.add_development_dependency 'rake', '~> 12.3.3'
39
+ spec.add_development_dependency 'rake', '~> 13.0'
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.13
4
+ version: 0.1.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tiago Lopo Da Silva
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-10-09 00:00:00.000000000 Z
11
+ date: 2024-03-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tlopo-executor
@@ -72,14 +72,14 @@ dependencies:
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: 12.3.3
75
+ version: '13.0'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: 12.3.3
82
+ version: '13.0'
83
83
  description: Multitask with pretty output for Rake
84
84
  email:
85
85
  - tiagolopo@yahoo.com.br
@@ -108,7 +108,7 @@ homepage: https://github.com/tlopo-ruby/tlopo-executor
108
108
  licenses:
109
109
  - MIT
110
110
  metadata: {}
111
- post_install_message:
111
+ post_install_message:
112
112
  rdoc_options: []
113
113
  require_paths:
114
114
  - lib
@@ -123,8 +123,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
123
123
  - !ruby/object:Gem::Version
124
124
  version: '0'
125
125
  requirements: []
126
- rubygems_version: 3.1.6
127
- signing_key:
126
+ rubygems_version: 3.4.10
127
+ signing_key:
128
128
  specification_version: 4
129
129
  summary: Multitask with pretty output for Rake
130
130
  test_files: []