gl_lint 0.3.1 → 0.3.2

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: 8c1993de87cae11e8c78789a86dd76ee188cd31981d236a28c133b52504abbe9
4
- data.tar.gz: b9ad1954c44aca7f018a2421e5bcae5d1f52985fca5d317a010f3703ad00d8fa
3
+ metadata.gz: d00b919c2100afc2ed238f0af9422723a7404399e167f48eeeb8c109aa3b2537
4
+ data.tar.gz: fc0eee0a041e7ae29af904986d9752d3d6a575ce17f41ab6806b0011932c46d6
5
5
  SHA512:
6
- metadata.gz: 38a4162f951fbd544db9bf19e8d695d59c1be219a46d293beca1a39fc229e62f758ee69cf621f2d6a500c6589fe80fa605505c76c8ec63f4a886f2e706e2c12d
7
- data.tar.gz: ee5565380924ff2faeddfd96e4d4ea823ec1988321597aeb426fbe21eb87bf5b67e9a83e3c048c3f8444d19fde3f5f72666f32340dd5d859ca18064121f456ff
6
+ metadata.gz: 7aabbfc425e9b4b2d91089648d117b55447cb08262416f067d6b1180a8e1effa170fc6fa408f11860cfee04b9bfbb303fb1b6b4675d5e822bb10332ef3ce722d
7
+ data.tar.gz: 3481a31d8fec1afa9214abe51566f0bb0485ef7cab4c3127ddba6ad1723105e4d30297efa56755c39afeb7f01ba3b94085f949126a8107c8dc93eb9464b4f951
@@ -2,6 +2,7 @@ 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
5
6
 
6
7
  class << self
7
8
  def files(filenames: nil, target_files: nil)
@@ -10,6 +11,7 @@ module GlLint
10
11
  if selected_files
11
12
  rubocop_files = selected_files.grep(/\.(rb|rake|gemspec)\z/)
12
13
  rubocop_files += selected_files & NON_RB_RUBY_FILES
14
+ rubocop_files -= IGNORED_FILES
13
15
 
14
16
  prettier_files = selected_files.grep(/\.(js|jsx|json|css|md)\z/)
15
17
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module GlLint
4
- VERSION = '0.3.1'
4
+ VERSION = '0.3.2'
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.1
4
+ version: 0.3.2
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-03-22 00:00:00.000000000 Z
11
+ date: 2024-04-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: optparse