gl_lint 0.3.2 → 0.3.3

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: d00b919c2100afc2ed238f0af9422723a7404399e167f48eeeb8c109aa3b2537
4
- data.tar.gz: fc0eee0a041e7ae29af904986d9752d3d6a575ce17f41ab6806b0011932c46d6
3
+ metadata.gz: 3d897ef0ace348163faa4a5b6cffae1827e8e035ab7c8d665b4626882d4cbffe
4
+ data.tar.gz: c3a1bb840c05986ed712ebaf545868c049287da3c4bdc2edfddb1969d9cb1640
5
5
  SHA512:
6
- metadata.gz: 7aabbfc425e9b4b2d91089648d117b55447cb08262416f067d6b1180a8e1effa170fc6fa408f11860cfee04b9bfbb303fb1b6b4675d5e822bb10332ef3ce722d
7
- data.tar.gz: 3481a31d8fec1afa9214abe51566f0bb0485ef7cab4c3127ddba6ad1723105e4d30297efa56755c39afeb7f01ba3b94085f949126a8107c8dc93eb9464b4f951
6
+ metadata.gz: 919b38ccddaedb8db302f708f0f273997ed869dbee1411ea201eb228b886993033f3d6c95217a7753ee1692c9c724e9f11a184d43bbdf5d49aab94edb5b2b588
7
+ data.tar.gz: 6a8b0c6dc917969f2698ae4dca6c252a3f935bdcf1cd45634fc2d61ec8123561d4f055363deebd9bc7c5e0007db4cf97c76feb1215f76439c7a9904b37f1f04f
@@ -2,7 +2,6 @@ module GlLint
2
2
  class FileSelector
3
3
  NON_RB_RUBY_FILES = %w[Gemfile Rakefile config.ru
4
4
  bin/bundle bin/lint bin/rubocop bin/setup bin/update].freeze
5
- IGNORED_FILES = %w[db/schema.rb].freeze
6
5
 
7
6
  class << self
8
7
  def files(filenames: nil, target_files: nil)
@@ -11,7 +10,8 @@ module GlLint
11
10
  if selected_files
12
11
  rubocop_files = selected_files.grep(/\.(rb|rake|gemspec)\z/)
13
12
  rubocop_files += selected_files & NON_RB_RUBY_FILES
14
- rubocop_files -= IGNORED_FILES
13
+ # Make certain that schemas are ignored
14
+ rubocop_files.reject! { |f| f.match?(%r{db/.*schema.rb}) }
15
15
 
16
16
  prettier_files = selected_files.grep(/\.(js|jsx|json|css|md)\z/)
17
17
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module GlLint
4
- VERSION = '0.3.2'
4
+ VERSION = '0.3.3'
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.2
4
+ version: 0.3.3
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-04-22 00:00:00.000000000 Z
11
+ date: 2024-05-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: optparse