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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3d897ef0ace348163faa4a5b6cffae1827e8e035ab7c8d665b4626882d4cbffe
4
- data.tar.gz: c3a1bb840c05986ed712ebaf545868c049287da3c4bdc2edfddb1969d9cb1640
3
+ metadata.gz: eb422c4349f4b70e17c8877ca8982da55b3d5826fef5d3b5a01cdfe99a1084b7
4
+ data.tar.gz: 1bb10ab8e411d11ed81953b4ba94996c6a663e9dfff17776b507a7a17ca3d411
5
5
  SHA512:
6
- metadata.gz: 919b38ccddaedb8db302f708f0f273997ed869dbee1411ea201eb228b886993033f3d6c95217a7753ee1692c9c724e9f11a184d43bbdf5d49aab94edb5b2b588
7
- data.tar.gz: 6a8b0c6dc917969f2698ae4dca6c252a3f935bdcf1cd45634fc2d61ec8123561d4f055363deebd9bc7c5e0007db4cf97c76feb1215f76439c7a9904b37f1f04f
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 & NON_RB_RUBY_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|md)\z/)
16
+ prettier_files = selected_files.grep(/\.(js|jsx|json|css)\z/)
17
17
  end
18
18
 
19
19
  { rubocop: rubocop_files, prettier: prettier_files }
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module GlLint
4
- VERSION = '0.3.3'
4
+ VERSION = '0.3.5'
5
5
  end
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.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-07 00:00:00.000000000 Z
11
+ date: 2024-05-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: optparse