enparallel-bin 1.0.10 → 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: 41b497f7ab752ec2100b78f0966c191277afa65f1d645482697d38eb4d13e28d
4
- data.tar.gz: ce25b5ec3b39bc60ff067e235eacb192f31666ce8f3d49943be0c8647868ffdc
3
+ metadata.gz: da276300e1d6f9f8032900aa39fffe908c0ae7216104aef86ab108a38dea4743
4
+ data.tar.gz: 8f9872dc3f9fe4b78c5780161d774c88afaa1c7e9a5ed195703e6a926bf8b3bb
5
5
  SHA512:
6
- metadata.gz: 760618db0069de59d547f04c08aafd8564ae6a9b20f767d635b888ec798e8685e966dd1122e04cc895bb65863b8179c458b97c18b6850cad29c2c55acbdc3407
7
- data.tar.gz: 597fae7122f8bf27884df72b8c57c8464fb05cab168be927b2859e40d48c8092d66a8488e3bf90e6e5dd533bd76ece5a8102e5599bfea18881dba6948c396e94
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.10'
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.10
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-10-12 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,8 +142,9 @@ files:
128
142
  - lib/enparallel/version.rb
129
143
  homepage: https://github.com/crdx/enparallel
130
144
  licenses:
131
- - MIT
132
- metadata: {}
145
+ - GPLv3
146
+ metadata:
147
+ rubygems_mfa_required: 'true'
133
148
  post_install_message:
134
149
  rdoc_options: []
135
150
  require_paths:
@@ -145,7 +160,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
145
160
  - !ruby/object:Gem::Version
146
161
  version: '0'
147
162
  requirements: []
148
- rubygems_version: 3.2.21
163
+ rubygems_version: 3.3.25
149
164
  signing_key:
150
165
  specification_version: 4
151
166
  summary: Parallel command runner with a colourful overview