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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/bin/dir +4 -3
  3. metadata +4 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5e1523a968b4f4ead263e5a085587c49e12c2e39ad8fa9d546d6843ad84be2f0
4
- data.tar.gz: 31b089b9f96e36e447fdb5f7f26e84fd0d5b2bd24fc10caa1d140b51e85d6273
3
+ metadata.gz: e7b8eadb36a8a3c8368e2722f10066bbe8ac135e0000d751dd4dd1184c867665
4
+ data.tar.gz: fd91af32c88f26400401f18e8c99210d5ae94b4988854ad2a50a400558c2ae24
5
5
  SHA512:
6
- metadata.gz: 270b02d1e7d72f27333de43ef26bc06ccaf9754529e555c68c4008eda4bb1e64220055c6ecfe62d5af505e1f80bcf9e2f26576334c592bcf537e3ecb4c574f2d
7
- data.tar.gz: 96cf503446c99f6bf673c6be4eeb1c6331614137acd26f4f2cd6d9e17ea3ab62cf9447c61fd62991b73b734b1fc025406d90532ba6e0df9cad0132ebc3e3f206
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.glob("#{path}/*").select { |path| Dir.exist?(path) }.map do |path|
14
- File.basename(path)
15
- end
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.3.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-04-07 00:00:00.000000000 Z
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: 3.3.0
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.7
44
+ rubygems_version: 3.5.11
45
45
  signing_key:
46
46
  specification_version: 4
47
47
  summary: List directories