dorian-dir 0.5.1 → 1.0.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 +9 -0
- metadata +16 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1fee9981e9896ddf9c114502466103d6a0db365687d3303486a6ad43432d7e13
|
4
|
+
data.tar.gz: 6f0da3e92d874c47f597a68aa845b9e0a9cefb23d7fb75bb243fbb733b98def1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2bed41b2bd103f9ebeeff9005c7050e02ced2f5f86b665a3e5127173ffb9c767c67065f0c09d966ec75882c2df9f01f84f4090bee356ebbe4b5cccdf2bb73245
|
7
|
+
data.tar.gz: 57b342d0db34303e5dc55b9844098c333b839d1ea39a8a042284ec818603c08e0ee6d0be1837914a87459a1b929e922b4e5dc6d95f496d9a19286761be1e071d
|
data/bin/dir
CHANGED
@@ -2,6 +2,15 @@
|
|
2
2
|
# frozen_string_literal: true
|
3
3
|
|
4
4
|
require "git"
|
5
|
+
require "dorian/arguments"
|
6
|
+
|
7
|
+
parsed = Dorian::Arguments.parse(version: { alias: :v }, help: { alias: :h })
|
8
|
+
|
9
|
+
abort parsed.help if parsed.options.help
|
10
|
+
|
11
|
+
if parsed.options.version
|
12
|
+
abort File.read(File.expand_path("../../VERSION", __FILE__))
|
13
|
+
end
|
5
14
|
|
6
15
|
puts(
|
7
16
|
Git
|
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: 1.0.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-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: git
|
@@ -24,6 +24,20 @@ dependencies:
|
|
24
24
|
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: dorian-arguments
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
27
41
|
description: list directories
|
28
42
|
email: dorian@dorianmarie.com
|
29
43
|
executables:
|