dorian-dirs 0.1.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 +7 -0
  2. data/bin/dirs +9 -0
  3. metadata +48 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 19f346efd6ca200fd40e3c49c25ca509aa8d966610823043b36d5c3981c94221
4
+ data.tar.gz: 9b64c42be9fc31cf67c9b15406b9a606431dbdffe0044f89899500ac6281b84c
5
+ SHA512:
6
+ metadata.gz: ca4c7dd967688b55b52db8025c01787a698a4d4abe9b1f5e115f9a7be5689e5f4776b14791d2d6b9651ed9746b80f256c61c9d5c305f7a888fd70baf0ee8b65a
7
+ data.tar.gz: 0e45151982efa5bd51001f9546f8deecec8eecb7c1e37be508d29e0e6297617f72e84fb732aa26ef96279e8483c231ffa08a11aefbc1348539ab050bcc523eaa
data/bin/dirs ADDED
@@ -0,0 +1,9 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ if ARGV.any?
5
+ puts "USAGE: dirs"
6
+ exit
7
+ end
8
+
9
+ puts Dir["*"].select { |path| Dir.exist?(path) }
metadata ADDED
@@ -0,0 +1,48 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: dorian-dirs
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Dorian Marié
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2024-04-05 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description: |-
14
+ List directories
15
+
16
+ e.g. `dirs`
17
+ email: dorian@dorianmarie.com
18
+ executables:
19
+ - dirs
20
+ extensions: []
21
+ extra_rdoc_files: []
22
+ files:
23
+ - bin/dirs
24
+ homepage: https://github.com/dorianmariecom/dorian-dirs
25
+ licenses:
26
+ - MIT
27
+ metadata:
28
+ rubygems_mfa_required: 'true'
29
+ post_install_message:
30
+ rdoc_options: []
31
+ require_paths:
32
+ - lib
33
+ required_ruby_version: !ruby/object:Gem::Requirement
34
+ requirements:
35
+ - - ">="
36
+ - !ruby/object:Gem::Version
37
+ version: 3.3.0
38
+ required_rubygems_version: !ruby/object:Gem::Requirement
39
+ requirements:
40
+ - - ">="
41
+ - !ruby/object:Gem::Version
42
+ version: '0'
43
+ requirements: []
44
+ rubygems_version: 3.5.7
45
+ signing_key:
46
+ specification_version: 4
47
+ summary: List directories
48
+ test_files: []