dorian-all 0.7.3 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/bin/all +8 -6
  3. metadata +4 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c70b4f9da4519e867c7b3d9849957f267b32dd55cae8d7b3b99faf66857a5087
4
- data.tar.gz: ed8db36ae2dff133b4a1f8931d37b9e9569eea0e3e88d47b492697872d4aa9a8
3
+ metadata.gz: f5d85037aab312515bf8c2dcd56e4fc9b71c3eb325b3673133d8480a1c17cd94
4
+ data.tar.gz: efd334a148d302bcb08040f5c6c45f09f02275663d80a3c9718d248180293cbc
5
5
  SHA512:
6
- metadata.gz: 2cc13c788e75deca955fa2690141b85a534259bb6d90f2ed48e13474a3558e2bde76d25b88412f112ea82adf1231c93b221379cde511a74ada301ac2230f7967
7
- data.tar.gz: 4e4f40b503d429db72a3052a1981afbec29f652bcfecb07a87baa075dfc4f22c01c33d73abe6d454467044acd84d7326f6633ed5f8bb040e81a822d969504796
6
+ metadata.gz: 1670d4828105c764c1562fd7aff85f19e1624f11c3c6912ada8568dd18b3542103881d572e704ce6d1116b382f1019a758c18e2da95c49f4fd822429cafbb653
7
+ data.tar.gz: 8bff07cc102a1cd3ea03f26be796c555d949765abd591634f4b692731810c87535b4bb24caf648efb5be52f21fd3b13e19799bd93a6859f9e4cb2b6fc8bb4449
data/bin/all CHANGED
@@ -6,14 +6,16 @@ require "dorian/arguments"
6
6
  parsed = Dorian::Arguments.parse(version: { alias: :v }, help: { alias: :h })
7
7
 
8
8
  abort parsed.help if parsed.options.help
9
+
9
10
  if parsed.options.version
10
- abort File.read(File.expand_path("../../VERSION", __FILE__))
11
+ abort File.read(File.expand_path("../VERSION", __dir__))
11
12
  end
12
13
 
13
- if parsed.files.any?
14
- it = parsed.files.map { |file| File.read(file) }.join
15
- else
16
- it = $stdin.each_line.to_a.map(&:strip)
17
- end
14
+ it =
15
+ if parsed.files.any?
16
+ parsed.files.map { |file| File.read(file) }.join
17
+ else
18
+ $stdin.each_line.to_a.map(&:strip)
19
+ end
18
20
 
19
21
  eval(parsed.arguments.join(" "))
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dorian-all
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.3
4
+ version: 1.1.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-22 00:00:00.000000000 Z
11
+ date: 2024-08-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dorian-arguments
@@ -43,9 +43,9 @@ require_paths:
43
43
  - lib
44
44
  required_ruby_version: !ruby/object:Gem::Requirement
45
45
  requirements:
46
- - - ">="
46
+ - - '='
47
47
  - !ruby/object:Gem::Version
48
- version: '0'
48
+ version: 3.3.4
49
49
  required_rubygems_version: !ruby/object:Gem::Requirement
50
50
  requirements:
51
51
  - - ">="