gl_lint 0.3.3 → 0.3.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/gl_lint/file_selector.rb +2 -2
- data/lib/gl_lint/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: eb422c4349f4b70e17c8877ca8982da55b3d5826fef5d3b5a01cdfe99a1084b7
|
4
|
+
data.tar.gz: 1bb10ab8e411d11ed81953b4ba94996c6a663e9dfff17776b507a7a17ca3d411
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fc51e5343ca6dadcc1038203deefbef12562243e69d2b5a87aed01a7315cda56d2ce7ee67ce0692708d56f999ae6956b3490884dc8a9cc0ed0645070ac2deaa7
|
7
|
+
data.tar.gz: 24bb3a8cf4081e4e2525819154e4c7e6a23aaad067e7a8b1d175c1775fcad9dc80424e19e662f1c23168f5fcb007af7a5c31e8c2ece4ea9ea19764099f2a04ac
|
@@ -9,11 +9,11 @@ module GlLint
|
|
9
9
|
|
10
10
|
if selected_files
|
11
11
|
rubocop_files = selected_files.grep(/\.(rb|rake|gemspec)\z/)
|
12
|
-
rubocop_files += selected_files
|
12
|
+
rubocop_files += selected_files.select { |f| f.end_with?(*NON_RB_RUBY_FILES) }
|
13
13
|
# Make certain that schemas are ignored
|
14
14
|
rubocop_files.reject! { |f| f.match?(%r{db/.*schema.rb}) }
|
15
15
|
|
16
|
-
prettier_files = selected_files.grep(/\.(js|jsx|json|css
|
16
|
+
prettier_files = selected_files.grep(/\.(js|jsx|json|css)\z/)
|
17
17
|
end
|
18
18
|
|
19
19
|
{ rubocop: rubocop_files, prettier: prettier_files }
|
data/lib/gl_lint/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gl_lint
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Give Lively
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-05-
|
11
|
+
date: 2024-05-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: optparse
|