enparallel-bin 1.0.11 → 1.1.0

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: dc0fa02d388e6a1c42c1dfeac34be7deab2644db290e57ed24104015df598e76
4
- data.tar.gz: 188617934c9522e84bd46a7d12d968c1df88c9440d5eed4acb40ef112fb9ff0d
3
+ metadata.gz: da276300e1d6f9f8032900aa39fffe908c0ae7216104aef86ab108a38dea4743
4
+ data.tar.gz: 8f9872dc3f9fe4b78c5780161d774c88afaa1c7e9a5ed195703e6a926bf8b3bb
5
5
  SHA512:
6
- metadata.gz: 2a70d53f12e64406cfa7e819d26b265bfa5029bb75a6caa30c15ef3dcaca80f15e0dd30ef5041e6110cb74dc1a82789bc7f244e1ee4a1b3784642a91dcf25190
7
- data.tar.gz: 4fa9c460d93cae10b379e7f2c5276af73c20902a0425b65fc045b7735348093448d4f9529d4cb70024d97f7146a383c61bd38ac66e1761592374a2d1b44a39d4
6
+ metadata.gz: 43b126fcc30124203115f75f2031b76b3e95b7a90a1ede3539c63ff541acde71aa1178344f43fa896fc9657dd984cd09e0706b2c47eba28532f44949c6d4c20b
7
+ data.tar.gz: 0671df6a324d30c6fec5b351e7136e881244793a25a91299a8f420c481d04edf588fe31f6a1c1ea54d80d54c098d045f067f658894bebbdbe424d0db7a0ebf47
@@ -24,18 +24,18 @@ module Enparallel
24
24
  new(opts, stdin)
25
25
  end
26
26
 
27
- def self.basename
28
- File.basename($0)
27
+ def self.program_name
28
+ File.basename($PROGRAM_NAME)
29
29
  end
30
30
 
31
31
  def self.usage
32
32
  <<~EOF
33
33
  Usage:
34
- #{basename} [options] [--] <command>...
35
- #{basename} ( --version | --help )
34
+ #{program_name} [options] [--] <command>...
35
+ #{program_name} --version
36
36
 
37
37
  Description:
38
- #{basename} operates by reading lines from standard input, and executing
38
+ #{program_name} operates by reading lines from standard input, and executing
39
39
  <command> once per entry, in parallel.
40
40
 
41
41
  The placeholder "{}", if present, is replaced with each line of input in turn.
@@ -50,14 +50,13 @@ module Enparallel
50
50
  seq 1 10 | enparallel -- bash -c "sleep {} && echo Slept for {}"
51
51
 
52
52
  Options:
53
- -w, --workers <n> Batch into a pool of <n> workers [default: #{workers_default}].
54
- -p, --pick <type> Task-picking rule (see "Types") [default: #{pick_default}].
55
- -v, --version Version.
56
- -h, --help Help.
53
+ -w, --workers <n> Batch into a pool of <n> workers [default: #{workers_default}]
54
+ -p, --pick <type> Task-picking rule (see "Types") [default: #{pick_default}]
55
+ -v, --version Show version
57
56
 
58
57
  Types:
59
- sequential The order in which the tasks were queued.
60
- random Random order.
58
+ sequential The order in which the tasks were queued
59
+ random Random order
61
60
  EOF
62
61
  end
63
62
 
@@ -1,3 +1,3 @@
1
1
  module Enparallel
2
- VERSION = '1.0.11'
2
+ VERSION = '1.1.0'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: enparallel-bin
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.11
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - crdx
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-11-17 00:00:00.000000000 Z
11
+ date: 2024-03-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: colorize
@@ -38,6 +38,20 @@ dependencies:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: 0.6.1
41
+ - !ruby/object:Gem::Dependency
42
+ name: json
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '2.7'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '2.7'
41
55
  - !ruby/object:Gem::Dependency
42
56
  name: require_all
43
57
  requirement: !ruby/object:Gem::Requirement
@@ -128,7 +142,7 @@ files:
128
142
  - lib/enparallel/version.rb
129
143
  homepage: https://github.com/crdx/enparallel
130
144
  licenses:
131
- - MIT
145
+ - GPLv3
132
146
  metadata:
133
147
  rubygems_mfa_required: 'true'
134
148
  post_install_message:
@@ -146,7 +160,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
146
160
  - !ruby/object:Gem::Version
147
161
  version: '0'
148
162
  requirements: []
149
- rubygems_version: 3.2.29
163
+ rubygems_version: 3.3.25
150
164
  signing_key:
151
165
  specification_version: 4
152
166
  summary: Parallel command runner with a colourful overview