dorian-dir 0.3.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/dir +4 -3
- 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: e7b8eadb36a8a3c8368e2722f10066bbe8ac135e0000d751dd4dd1184c867665
|
4
|
+
data.tar.gz: fd91af32c88f26400401f18e8c99210d5ae94b4988854ad2a50a400558c2ae24
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ad05e0cc975fe2a452d0b9b255e8b7159bdd3f5676535035a1915478c16ae7d8600752d32816e8dad7eafac046acb6be56852f91df07662b66e7c376dc80176f
|
7
|
+
data.tar.gz: 2a6765bcb256de2abaac68f2c9df191e468a9d5cdd32649e9ea971bce6b2e07a4c4606d462d58d91f45cdf14095378c464fe42d83659ec3e9c0ff37300b823f9
|
data/bin/dir
CHANGED
@@ -10,8 +10,9 @@ PATHS = ARGV.any? ? ARGV : ["."]
|
|
10
10
|
|
11
11
|
PATHS.each do |path|
|
12
12
|
puts(
|
13
|
-
Dir
|
14
|
-
|
15
|
-
|
13
|
+
Dir
|
14
|
+
.glob("#{path}/*")
|
15
|
+
.select { |path| Dir.exist?(path) }
|
16
|
+
.map { |path| File.basename(path) }
|
16
17
|
)
|
17
18
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dorian-dir
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.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-
|
11
|
+
date: 2024-07-05 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: |-
|
14
14
|
List directories
|
@@ -34,14 +34,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
34
34
|
requirements:
|
35
35
|
- - ">="
|
36
36
|
- !ruby/object:Gem::Version
|
37
|
-
version:
|
37
|
+
version: '0'
|
38
38
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
39
39
|
requirements:
|
40
40
|
- - ">="
|
41
41
|
- !ruby/object:Gem::Version
|
42
42
|
version: '0'
|
43
43
|
requirements: []
|
44
|
-
rubygems_version: 3.5.
|
44
|
+
rubygems_version: 3.5.11
|
45
45
|
signing_key:
|
46
46
|
specification_version: 4
|
47
47
|
summary: List directories
|