standard 1.40.0 → 1.40.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/Gemfile.lock +1 -1
- data/README.md +1 -0
- data/lib/standard/lsp/stdin_rubocop_runner.rb +10 -2
- data/lib/standard/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 31361372316502ea3e10dc90985afa89b1553397bcb055f4a7514688d7bf60ad
|
4
|
+
data.tar.gz: 0d3596a473a8f2f5c2695fb5bba5938ba576606592d20b2563afe38166a34cf5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c2a0f5ac88e9eea4a088e9dcadc1aa04c2bfd022773e29aa3454da227c5737cfe04b596cfea9e5495b2323885dd31a271dffd8fb3ec1d8788f5d2d4d0ca7540c
|
7
|
+
data.tar.gz: 304fdad7e3bd0dd02dc7c038761de591cacfbe54983b6d4e2be52fd871a6c2ead92d75dbb9de791d2dacc11fe1a132b2b5a0e87745761eb4bf0b248885256ec0
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -509,6 +509,7 @@ Here are a few examples of Ruby Standard-compliant teams & projects:
|
|
509
509
|
* [Planet Argon](https://www.planetargon.com/)
|
510
510
|
* [PLT4M](https://plt4m.com/)
|
511
511
|
* [Podia](https://www.podia.com/)
|
512
|
+
* [Privy](https://www.privy.com/)
|
512
513
|
* [Rebase Interactive](https://www.rebaseinteractive.com/)
|
513
514
|
* [Renuo](https://www.renuo.ch/)
|
514
515
|
* [RubyCI](https://ruby.ci)
|
@@ -42,11 +42,19 @@ module Standard
|
|
42
42
|
|
43
43
|
raise Interrupt if aborting?
|
44
44
|
rescue ::RuboCop::Runner::InfiniteCorrectionLoop => error
|
45
|
-
|
45
|
+
if defined?(::RubyLsp::Requests::Formatting::Error)
|
46
|
+
raise ::RubyLsp::Requests::Formatting::Error, error.message
|
47
|
+
else
|
48
|
+
raise error
|
49
|
+
end
|
46
50
|
rescue ::RuboCop::ValidationError => error
|
47
51
|
raise ConfigurationError, error.message
|
48
52
|
rescue => error
|
49
|
-
|
53
|
+
if defined?(::RubyLsp::Requests::Formatting::Error)
|
54
|
+
raise ::RubyLsp::Requests::Support::InternalRuboCopError, error
|
55
|
+
else
|
56
|
+
raise error
|
57
|
+
end
|
50
58
|
end
|
51
59
|
|
52
60
|
def formatted_source
|
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.40.
|
4
|
+
version: 1.40.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Justin Searls
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-10-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|
@@ -188,7 +188,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
188
188
|
- !ruby/object:Gem::Version
|
189
189
|
version: '0'
|
190
190
|
requirements: []
|
191
|
-
rubygems_version: 3.
|
191
|
+
rubygems_version: 3.5.11
|
192
192
|
signing_key:
|
193
193
|
specification_version: 4
|
194
194
|
summary: Ruby Style Guide, with linter & automatic code fixer
|