standard 1.21.0 → 1.21.1
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/CHANGELOG.md +4 -0
- data/Gemfile.lock +2 -2
- data/lib/standard/rubocop/ext.rb +9 -0
- data/lib/standard/version.rb +1 -1
- metadata +7 -7
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7a7fc419962214950950e1f1babe8ea008c878c3309e7066a7a971fea897df23
|
|
4
|
+
data.tar.gz: b0d510b5788332ebca799de9a665ca8df590cb5679360daca36d67dcddf2e539
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 59badefc6eb57920133e0f6440374e60d96211f5496fae8acc1be5b1e90852152c38f44043918818af54a7bfa59489472af47f3b41883b7ab343ee4330d02d84
|
|
7
|
+
data.tar.gz: 44fcaabf3eeedae4935562e4cc73d90e3b6e0116be4b18a0ae9f5359f21c8bb6cce4df77a69d27f7bd680350be052161eb6d7bcc26e2e71f45a0513078a9d25c
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
standard (1.21.
|
|
4
|
+
standard (1.21.1)
|
|
5
5
|
language_server-protocol (~> 3.17.0.2)
|
|
6
6
|
rubocop (= 1.42.0)
|
|
7
7
|
rubocop-performance (= 1.15.2)
|
|
@@ -49,7 +49,7 @@ GEM
|
|
|
49
49
|
simplecov_json_formatter (~> 0.1)
|
|
50
50
|
simplecov-html (0.12.3)
|
|
51
51
|
simplecov_json_formatter (0.1.4)
|
|
52
|
-
unicode-display_width (2.4.
|
|
52
|
+
unicode-display_width (2.4.2)
|
|
53
53
|
|
|
54
54
|
PLATFORMS
|
|
55
55
|
ruby
|
data/lib/standard/rubocop/ext.rb
CHANGED
|
@@ -13,4 +13,13 @@ module RuboCop
|
|
|
13
13
|
.gsub(" ", '\s*')
|
|
14
14
|
)
|
|
15
15
|
end
|
|
16
|
+
|
|
17
|
+
class CommentConfig
|
|
18
|
+
alias_method :old_initialize, :initialize
|
|
19
|
+
|
|
20
|
+
def initialize(processed_source)
|
|
21
|
+
old_initialize(processed_source)
|
|
22
|
+
@no_directives &&= !processed_source.raw_source.include?("standard")
|
|
23
|
+
end
|
|
24
|
+
end
|
|
16
25
|
end
|
data/lib/standard/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: standard
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.21.
|
|
4
|
+
version: 1.21.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Justin Searls
|
|
8
|
-
autorequire:
|
|
8
|
+
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2023-01-
|
|
11
|
+
date: 2023-01-04 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rubocop
|
|
@@ -52,7 +52,7 @@ dependencies:
|
|
|
52
52
|
- - "~>"
|
|
53
53
|
- !ruby/object:Gem::Version
|
|
54
54
|
version: 3.17.0.2
|
|
55
|
-
description:
|
|
55
|
+
description:
|
|
56
56
|
email:
|
|
57
57
|
- searls@gmail.com
|
|
58
58
|
executables:
|
|
@@ -118,7 +118,7 @@ files:
|
|
|
118
118
|
homepage: https://github.com/testdouble/standard
|
|
119
119
|
licenses: []
|
|
120
120
|
metadata: {}
|
|
121
|
-
post_install_message:
|
|
121
|
+
post_install_message:
|
|
122
122
|
rdoc_options: []
|
|
123
123
|
require_paths:
|
|
124
124
|
- lib
|
|
@@ -133,8 +133,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
133
133
|
- !ruby/object:Gem::Version
|
|
134
134
|
version: '0'
|
|
135
135
|
requirements: []
|
|
136
|
-
rubygems_version: 3.
|
|
137
|
-
signing_key:
|
|
136
|
+
rubygems_version: 3.3.26
|
|
137
|
+
signing_key:
|
|
138
138
|
specification_version: 4
|
|
139
139
|
summary: Ruby Style Guide, with linter & automatic code fixer
|
|
140
140
|
test_files: []
|