dorian-git-ls-ruby-files 0.2.2 → 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/git-ls-ruby-files +7 -3
- 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: 27d92c5dece7839846ef2b6dcd7fefe52ecae4491d7907e6e94426bfebba209d
|
4
|
+
data.tar.gz: a66609e3d11ff8f2600b8553c07edfe0b70e811ffbeab02717bd3e336c141692
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2084b3f921c219fa9de1f178ac5f30d6540fd9cba7df5e94616788cecc4a14318d3834b92343b8a8577f36c5ea8bff4616c5bc2eb9117135c125994062c4ebdf
|
7
|
+
data.tar.gz: f1b67b676f2660b1adb4918320f9ef7937860a0bc427af7db24cfbc9bcb13b498d64f513b8b35449fab8262273a8223f4b49521d29cd7fcd8e68b542f61142b8
|
data/bin/git-ls-ruby-files
CHANGED
@@ -2,10 +2,14 @@
|
|
2
2
|
# frozen_string_literal: true
|
3
3
|
|
4
4
|
require "git"
|
5
|
+
require "dorian/arguments"
|
5
6
|
|
6
|
-
|
7
|
-
|
8
|
-
|
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__))
|
9
13
|
end
|
10
14
|
|
11
15
|
ruby_extensions = %w[
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dorian-git-ls-ruby-files
|
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 ruby files in git
|
28
42
|
email: dorian@dorianmarie.com
|
29
43
|
executables:
|