gl_lint 0.6.0 → 0.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 836ecbd9eb8d9a231c39ae7241b7070c1af7d146ba3c3228949e1cea281c8201
4
- data.tar.gz: 373971c3b5a492c56afb983d1e53a44e354cb597ec9183d72dd8a5a15d2e077e
3
+ metadata.gz: 9a11cf1a584e4688cba45f4d6ab67e5fc89394da6b86bf9f024f76696c93fd00
4
+ data.tar.gz: 9ea51c7939b6a90df6b0d55df288dafc4cac0279907df635b14ef70bd3ce0feb
5
5
  SHA512:
6
- metadata.gz: a80e065d4e61a72eac3ed35a9045e4ab993f13a8f1851187a7cfa98735b92ceae26255d4e466cd7764e9e05d1f919b39a280bc06d90775876825d0641a068683
7
- data.tar.gz: a7520aac3a6a0a9ea9a131d1b42ecd52c08c77fd7ae00b4734eaf535cb5b8277fcbb9bd40633496f0fb04fd4425bbf87b4c2fab7322db4b05f2ba8d089d0c8a9
6
+ metadata.gz: 1254ebbc689302163e4c6a00a5c28623eed92f797aed84db280c69e36841161bc79f282494053ff4f536aa922b98900d2f27e88ddef6700b3ebfa244f035aabc
7
+ data.tar.gz: b33e59182c6f01dc7b780f52a8c56cc498c91ca84500974e948c854c94d86c093083f2d6fdeb8f600c5d500abc7fcff0cf74c404c14ea1cc080cd96f86253ac0
data/gl_lint.gemspec CHANGED
@@ -5,8 +5,6 @@ lib = File.expand_path('lib', __dir__)
5
5
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
6
6
  require 'gl_lint/version'
7
7
 
8
- NON_GEM_FILES = ['Gemfile', 'Gemfile.lock', 'Guardfile', 'bin/lint'].freeze
9
-
10
8
  Gem::Specification.new do |spec|
11
9
  spec.name = 'gl_lint'
12
10
  spec.version = GLLint::VERSION
@@ -20,8 +18,10 @@ Gem::Specification.new do |spec|
20
18
 
21
19
  spec.extra_rdoc_files = ['README.md']
22
20
 
23
- spec.files = `git ls-files`
24
- .split($INPUT_RECORD_SEPARATOR).grep_v(/^(spec|\.)/) - NON_GEM_FILES
21
+ spec.files =
22
+ `git ls-files`.split($INPUT_RECORD_SEPARATOR).grep_v(/^(spec|\.)/) -
23
+ %w[Gemfile Gemfile.lock Guardfile bin/lint]
24
+
25
25
  spec.require_paths = ['lib']
26
26
 
27
27
  spec.add_dependency 'optparse'
@@ -1,6 +1,6 @@
1
1
  module GLLint
2
2
  class FileSelector
3
- NON_RB_RUBY_FILES = %w[Gemfile Rakefile config.ru
3
+ NON_RB_RUBY_FILES = %w[Gemfile Rakefile config.ru .erb .haml
4
4
  bin/bundle bin/lint bin/rubocop bin/setup bin/update].freeze
5
5
 
6
6
  class << self
@@ -54,7 +54,7 @@ module GLLint
54
54
  end
55
55
  puts '*Rubcop is running in unsafe mode*', '' if rubocop_arg == '-A'
56
56
  run_linter(
57
- 'bundle exec rubocop --format quiet -c .rubocop.yml ' \
57
+ 'bundle exec rubocop --format quiet ' \
58
58
  "#{rubocop_arg} #{files&.join(' ')}"
59
59
  )
60
60
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module GLLint
4
- VERSION = '0.6.0'
4
+ VERSION = '0.8.0'
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.6.0
4
+ version: 0.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Give Lively
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-01-23 00:00:00.000000000 Z
11
+ date: 2025-10-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: optparse