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 +4 -4
- data/gl_lint.gemspec +4 -4
- data/lib/gl_lint/file_selector.rb +1 -1
- data/lib/gl_lint/linter.rb +1 -1
- data/lib/gl_lint/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9a11cf1a584e4688cba45f4d6ab67e5fc89394da6b86bf9f024f76696c93fd00
|
|
4
|
+
data.tar.gz: 9ea51c7939b6a90df6b0d55df288dafc4cac0279907df635b14ef70bd3ce0feb
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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 =
|
|
24
|
-
|
|
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'
|
data/lib/gl_lint/linter.rb
CHANGED
|
@@ -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
|
|
57
|
+
'bundle exec rubocop --format quiet ' \
|
|
58
58
|
"#{rubocop_arg} #{files&.join(' ')}"
|
|
59
59
|
)
|
|
60
60
|
end
|
data/lib/gl_lint/version.rb
CHANGED
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.
|
|
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-
|
|
11
|
+
date: 2025-10-31 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: optparse
|