gl_lint 0.3.3 → 0.3.4
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 +1 -1
- data/lib/gl_lint/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 49a4e6685b08e1fff3948a885c0be3264552f1b806ff52c6382febc364ab8fb7
|
4
|
+
data.tar.gz: 57bb7867bee08e7c7ce086f768a8b27558b2b50e2580f941f6b42bf0f8e6655a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5e23ec9c1ae8dea124e46f298e1695ea6169f084e770a47f35451da864b8fef7e533a3c6c2db12716c1e31c21801eaca41cfd10b39b3354faab64627b5f65138
|
7
|
+
data.tar.gz: be1e87ff734d69b4421a9f223dd996c32b24f1e0278a173e259161ca9891f455e1d82ea71a3253d920c7ce07f57c29f2a060d318f48a4d3a3a4493787ba28300
|
@@ -9,7 +9,7 @@ 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
|
|
data/lib/gl_lint/version.rb
CHANGED