dorian-parallel 1.1.1 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/parallel +3 -2
- metadata +34 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d4c63005224146162c43c5ec88a66bb06dc9da40c0bd53611581915d4f59bc92
|
4
|
+
data.tar.gz: 8e0a9a5aab4ba23b05cfd59c19f34008b8449ed52536fec00daff1738bb7a763
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: af7f3ae095a4ddb33c0275f4e999684bea40cf9b60ef00b7accb4af2076952af1f310388ab5576ae50d80ec0418ca5512f04b5a4a0f654093edd4db7c471039b
|
7
|
+
data.tar.gz: 9650e8a913a3bbe554995314a2c3ee8987548135c58117fd549396e9cf2e1582c842d486963bc70a5624f793a35a4ff3a765b2c21ec000d0b1d7e30f103a01a1
|
data/bin/parallel
CHANGED
@@ -45,7 +45,7 @@ parsed =
|
|
45
45
|
abort parsed.help if parsed.options.help
|
46
46
|
|
47
47
|
if parsed.options.version
|
48
|
-
abort File.read(File.expand_path("
|
48
|
+
abort File.read(File.expand_path("../VERSION", __dir__))
|
49
49
|
end
|
50
50
|
|
51
51
|
input = parsed.files.map { |file| File.read(file) }.join("\n")
|
@@ -60,8 +60,9 @@ colorize = parsed.options.colorize
|
|
60
60
|
total = inputs.size
|
61
61
|
format = parsed.options.progress_format
|
62
62
|
progress = progress ? Dorian::Progress.create(total:, format:) : nil
|
63
|
+
rails = parsed.options.rails
|
63
64
|
|
64
65
|
Parallel.each(inputs) do |it|
|
65
|
-
Dorian::Eval.eval(it:, ruby:, debug:, stdout:, stderr:, colorize:)
|
66
|
+
Dorian::Eval.eval(it:, ruby:, debug:, stdout:, stderr:, colorize:, rails:)
|
66
67
|
progress&.increment
|
67
68
|
end
|
metadata
CHANGED
@@ -1,17 +1,17 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dorian-parallel
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dorian Marié
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-08-
|
11
|
+
date: 2024-08-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: dorian-arguments
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
@@ -25,7 +25,35 @@ dependencies:
|
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name: dorian-
|
28
|
+
name: dorian-eval
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: dorian-progress
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: parallel
|
29
57
|
requirement: !ruby/object:Gem::Requirement
|
30
58
|
requirements:
|
31
59
|
- - ">="
|
@@ -57,9 +85,9 @@ require_paths:
|
|
57
85
|
- lib
|
58
86
|
required_ruby_version: !ruby/object:Gem::Requirement
|
59
87
|
requirements:
|
60
|
-
- -
|
88
|
+
- - '='
|
61
89
|
- !ruby/object:Gem::Version
|
62
|
-
version:
|
90
|
+
version: 3.3.4
|
63
91
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
64
92
|
requirements:
|
65
93
|
- - ">="
|