dorian-each 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/each +3 -2
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 53b1afb015f36ef00cb836a68b07e9b381b535437b441615f13bf36f4b790677
|
4
|
+
data.tar.gz: 7607d6a60bb88a0d512624781c0ad83e3846c48c32c714b09a737eb6bff63351
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 37688f2230fd20c128f7c700475a96b082abbe6976f31bfd5f7d6e2bbc47de22d0ab0a32a362b6a7a0e71a1325eb7933583da7c1961f150d6e92a78ce77aa0de
|
7
|
+
data.tar.gz: 14cd0329357eaf9562536af59d0d930f53c99607cf9e51b35248adf5380e67950db6f07cbe4665820bf7248576ffdd01618067e8bdb86926df27a726545fe54e
|
data/bin/each
CHANGED
@@ -44,7 +44,7 @@ parsed =
|
|
44
44
|
abort parsed.help if parsed.options.help
|
45
45
|
|
46
46
|
if parsed.options.version
|
47
|
-
abort File.read(File.expand_path("
|
47
|
+
abort File.read(File.expand_path("../VERSION", __dir__))
|
48
48
|
end
|
49
49
|
|
50
50
|
input = parsed.files.map { |file| File.read(file) }.join("\n")
|
@@ -59,8 +59,9 @@ colorize = parsed.options.colorize
|
|
59
59
|
total = inputs.size
|
60
60
|
format = parsed.options.progress_format
|
61
61
|
progress = progress ? Dorian::Progress.create(total:, format:) : nil
|
62
|
+
rails = parsed.options.rails
|
62
63
|
|
63
64
|
inputs.each do |it|
|
64
|
-
Dorian::Eval.eval(it:, ruby:, debug:, stdout:, stderr:, colorize:)
|
65
|
+
Dorian::Eval.eval(it:, ruby:, debug:, stdout:, stderr:, colorize:, rails:)
|
65
66
|
progress&.increment
|
66
67
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dorian-each
|
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
14
|
name: dorian-arguments
|
@@ -71,9 +71,9 @@ require_paths:
|
|
71
71
|
- lib
|
72
72
|
required_ruby_version: !ruby/object:Gem::Requirement
|
73
73
|
requirements:
|
74
|
-
- -
|
74
|
+
- - '='
|
75
75
|
- !ruby/object:Gem::Version
|
76
|
-
version:
|
76
|
+
version: 3.3.4
|
77
77
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
78
78
|
requirements:
|
79
79
|
- - ">="
|