panolint 0.1.3 → 0.1.4
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/.github/workflows/tests.yml +1 -1
- data/Gemfile.lock +24 -25
- data/README.md +1 -1
- data/lib/panolint/version.rb +1 -1
- data/{rubocop.yml → panolint-rubocop.yml} +2 -1
- data/panolint.gemspec +1 -0
- metadata +5 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a7bcaf44939e18713d7b9072ee3236b2508388b4fd061240d6ec1bc704c44a6e
|
|
4
|
+
data.tar.gz: 90f7a81732f9f894ddfe08019a40ed6bf889150f9a7422b10090419d346bc683
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c9a0b75079305a13426a1261f30326001ddf50685634314ebd8714690b24bbbc124acd3b6004d02979db160294abab01c91ac3fc0b784f21e1eba6612e7f77c5
|
|
7
|
+
data.tar.gz: 222e53ef2cb0a74c4e2a0c00e6e5eff97c4c9feed130d39c0c91aa2485b1be95dd5b14c4f16f5ebb42d873dd5ba2969fe8b3e7df3610a2fa3fafffd9e7e9c42a
|
data/.github/workflows/tests.yml
CHANGED
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
panolint (0.1.
|
|
4
|
+
panolint (0.1.4)
|
|
5
5
|
brakeman (>= 4.8, < 6.0)
|
|
6
6
|
rubocop (>= 0.83, < 2.0)
|
|
7
7
|
rubocop-performance (~> 1.5)
|
|
@@ -12,27 +12,27 @@ PATH
|
|
|
12
12
|
GEM
|
|
13
13
|
remote: https://rubygems.org/
|
|
14
14
|
specs:
|
|
15
|
-
activesupport (6.1.1)
|
|
15
|
+
activesupport (6.1.4.1)
|
|
16
16
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
|
17
17
|
i18n (>= 1.6, < 2)
|
|
18
18
|
minitest (>= 5.1)
|
|
19
19
|
tzinfo (~> 2.0)
|
|
20
20
|
zeitwerk (~> 2.3)
|
|
21
21
|
ast (2.4.2)
|
|
22
|
-
brakeman (5.
|
|
23
|
-
concurrent-ruby (1.1.
|
|
22
|
+
brakeman (5.1.2)
|
|
23
|
+
concurrent-ruby (1.1.9)
|
|
24
24
|
diff-lcs (1.4.4)
|
|
25
|
-
i18n (1.8.
|
|
25
|
+
i18n (1.8.11)
|
|
26
26
|
concurrent-ruby (~> 1.0)
|
|
27
|
-
minitest (5.14.
|
|
28
|
-
parallel (1.
|
|
29
|
-
parser (3.0.
|
|
27
|
+
minitest (5.14.4)
|
|
28
|
+
parallel (1.21.0)
|
|
29
|
+
parser (3.0.2.0)
|
|
30
30
|
ast (~> 2.4.1)
|
|
31
31
|
rack (2.2.3)
|
|
32
32
|
rainbow (3.0.0)
|
|
33
|
-
rake (13.0.
|
|
33
|
+
rake (13.0.6)
|
|
34
34
|
regexp_parser (2.1.1)
|
|
35
|
-
rexml (3.2.
|
|
35
|
+
rexml (3.2.5)
|
|
36
36
|
rspec (3.10.0)
|
|
37
37
|
rspec-core (~> 3.10.0)
|
|
38
38
|
rspec-expectations (~> 3.10.0)
|
|
@@ -46,34 +46,33 @@ GEM
|
|
|
46
46
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
47
47
|
rspec-support (~> 3.10.0)
|
|
48
48
|
rspec-support (3.10.0)
|
|
49
|
-
rubocop (1.
|
|
49
|
+
rubocop (1.22.1)
|
|
50
50
|
parallel (~> 1.10)
|
|
51
51
|
parser (>= 3.0.0.0)
|
|
52
52
|
rainbow (>= 2.2.2, < 4.0)
|
|
53
53
|
regexp_parser (>= 1.8, < 3.0)
|
|
54
54
|
rexml
|
|
55
|
-
rubocop-ast (>= 1.
|
|
55
|
+
rubocop-ast (>= 1.12.0, < 2.0)
|
|
56
56
|
ruby-progressbar (~> 1.7)
|
|
57
57
|
unicode-display_width (>= 1.4.0, < 3.0)
|
|
58
|
-
rubocop-ast (1.
|
|
59
|
-
parser (>=
|
|
60
|
-
rubocop-performance (1.
|
|
61
|
-
rubocop (>=
|
|
58
|
+
rubocop-ast (1.13.0)
|
|
59
|
+
parser (>= 3.0.1.1)
|
|
60
|
+
rubocop-performance (1.11.5)
|
|
61
|
+
rubocop (>= 1.7.0, < 2.0)
|
|
62
62
|
rubocop-ast (>= 0.4.0)
|
|
63
|
-
rubocop-rails (2.
|
|
63
|
+
rubocop-rails (2.12.2)
|
|
64
64
|
activesupport (>= 4.2.0)
|
|
65
65
|
rack (>= 1.1)
|
|
66
|
-
rubocop (>=
|
|
67
|
-
rubocop-rake (0.
|
|
68
|
-
rubocop
|
|
69
|
-
rubocop-rspec (2.2.0)
|
|
66
|
+
rubocop (>= 1.7.0, < 2.0)
|
|
67
|
+
rubocop-rake (0.6.0)
|
|
70
68
|
rubocop (~> 1.0)
|
|
71
|
-
|
|
69
|
+
rubocop-rspec (2.5.0)
|
|
70
|
+
rubocop (~> 1.19)
|
|
72
71
|
ruby-progressbar (1.11.0)
|
|
73
72
|
tzinfo (2.0.4)
|
|
74
73
|
concurrent-ruby (~> 1.0)
|
|
75
|
-
unicode-display_width (2.
|
|
76
|
-
zeitwerk (2.
|
|
74
|
+
unicode-display_width (2.1.0)
|
|
75
|
+
zeitwerk (2.5.1)
|
|
77
76
|
|
|
78
77
|
PLATFORMS
|
|
79
78
|
ruby
|
|
@@ -85,4 +84,4 @@ DEPENDENCIES
|
|
|
85
84
|
rspec (~> 3.0)
|
|
86
85
|
|
|
87
86
|
BUNDLED WITH
|
|
88
|
-
2.
|
|
87
|
+
2.2.29
|
data/README.md
CHANGED
|
@@ -37,7 +37,7 @@ You can use `panolint`'s rubocop configuration in your project with the followin
|
|
|
37
37
|
|
|
38
38
|
```
|
|
39
39
|
inherit_gem:
|
|
40
|
-
panolint: rubocop.yml
|
|
40
|
+
panolint: panolint-rubocop.yml
|
|
41
41
|
```
|
|
42
42
|
|
|
43
43
|
Note that it for this gem in particular in needs to not be a `.rubocop.yml` file because of rubocop's [path relativity](https://github.com/rubocop-hq/rubocop/blob/master/manual/configuration.md#path-relativity).
|
data/lib/panolint/version.rb
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
# You can use this in your project's .rubocop.yml with the following at the top:
|
|
4
4
|
#
|
|
5
5
|
# inherit_gem:
|
|
6
|
-
# panolint: rubocop.yml
|
|
6
|
+
# panolint: panolint-rubocop.yml
|
|
7
7
|
#
|
|
8
8
|
# This allows you to selectively override settings in projects, for example, if
|
|
9
9
|
# you're working on a Sinatra project, disabling the Rails cops is probably
|
|
@@ -18,6 +18,7 @@ AllCops:
|
|
|
18
18
|
- !ruby/regexp /vendor\/(?!panoramaed).*$/
|
|
19
19
|
- "db/schema.rb"
|
|
20
20
|
- "db/migrate/**/*"
|
|
21
|
+
- "node_modules/**/*"
|
|
21
22
|
NewCops: enable
|
|
22
23
|
|
|
23
24
|
Gemspec/RequiredRubyVersion:
|
data/panolint.gemspec
CHANGED
|
@@ -13,6 +13,7 @@ Gem::Specification.new do |spec|
|
|
|
13
13
|
spec.summary = "Rules for linting code at Panorama Education"
|
|
14
14
|
spec.homepage = "https://github.com/panorama-ed/panolint"
|
|
15
15
|
spec.license = "MIT"
|
|
16
|
+
spec.metadata = { "rubygems_mfa_required" => "true" }
|
|
16
17
|
|
|
17
18
|
spec.files = Dir.chdir(File.expand_path(__dir__)) do
|
|
18
19
|
`git ls-files -z`.split("\x0").reject do |f|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: panolint
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Kevin Deisz
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2021-
|
|
11
|
+
date: 2021-12-03 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: brakeman
|
|
@@ -173,12 +173,13 @@ files:
|
|
|
173
173
|
- brakeman.yml
|
|
174
174
|
- lib/panolint.rb
|
|
175
175
|
- lib/panolint/version.rb
|
|
176
|
+
- panolint-rubocop.yml
|
|
176
177
|
- panolint.gemspec
|
|
177
|
-
- rubocop.yml
|
|
178
178
|
homepage: https://github.com/panorama-ed/panolint
|
|
179
179
|
licenses:
|
|
180
180
|
- MIT
|
|
181
|
-
metadata:
|
|
181
|
+
metadata:
|
|
182
|
+
rubygems_mfa_required: 'true'
|
|
182
183
|
post_install_message:
|
|
183
184
|
rdoc_options: []
|
|
184
185
|
require_paths:
|