dorian-git-ls-ruby-files 1.0.0 → 1.1.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 +2 -2
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a07fcc9473272de42aaf0c7d81221166b5f7cddeb0239f9d27a3f1aaf20c820b
|
4
|
+
data.tar.gz: 67ab1d9f92424fb6210150e5cf4811ea92e86cc27aa965271323a1c94ef0b395
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fd952494f37faeb5b5b5a58fcdc19d6b7a7aca15222bc3b560670ce27fc6e089d509501a1d797fafc02e98b0072adb20459df7940bceed896a8436397f3aaa89
|
7
|
+
data.tar.gz: 9130387747027e0a75abad4da4a8f0d80b9b2158bcd92e49ee6a217a01902c645daf8d61f72ab7e3ce68a4ca2d297e674216795b4a8102fe37830b5b3173c1cc
|
data/bin/git-ls-ruby-files
CHANGED
@@ -9,7 +9,7 @@ parsed = Dorian::Arguments.parse(version: { alias: :v }, help: { alias: :h })
|
|
9
9
|
abort parsed.help if parsed.options.help
|
10
10
|
|
11
11
|
if parsed.options.version
|
12
|
-
abort File.read(File.expand_path("
|
12
|
+
abort File.read(File.expand_path("../VERSION", __dir__))
|
13
13
|
end
|
14
14
|
|
15
15
|
ruby_extensions = %w[
|
@@ -83,7 +83,7 @@ puts(
|
|
83
83
|
|
84
84
|
first_line =
|
85
85
|
File.open(path, &:gets).to_s.encode("UTF-8", invalid: :replace)
|
86
|
-
next true if
|
86
|
+
next true if /#!.*ruby/.match?(first_line)
|
87
87
|
|
88
88
|
false
|
89
89
|
end
|
metadata
CHANGED
@@ -1,17 +1,17 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dorian-git-ls-ruby-files
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.1.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-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: dorian-arguments
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
@@ -25,7 +25,7 @@ dependencies:
|
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
28
|
+
name: git
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - ">="
|
@@ -57,9 +57,9 @@ require_paths:
|
|
57
57
|
- lib
|
58
58
|
required_ruby_version: !ruby/object:Gem::Requirement
|
59
59
|
requirements:
|
60
|
-
- -
|
60
|
+
- - '='
|
61
61
|
- !ruby/object:Gem::Version
|
62
|
-
version:
|
62
|
+
version: 3.3.4
|
63
63
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
64
64
|
requirements:
|
65
65
|
- - ">="
|