standard 1.41.0 → 1.41.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5783cd76c08f27d6214dd56015875768c2e79633269ab0d69b7306f5f07248ec
4
- data.tar.gz: 020250354ca665d8d04ac7f0b7a4bea6d21d9c0d3c3b249a0f881b4837554e76
3
+ metadata.gz: 518f3cd8128adcdb51904e331444965466ab87f3cdceb6c8e48cbcc406d67844
4
+ data.tar.gz: 9ca1ba65a3220da9690f86efdbf980646b94dbce5c601f77854bbf5c4135bd72
5
5
  SHA512:
6
- metadata.gz: 9514e93a8088a12131db5d67275ddf7d1f5a28b7db3fff9b77dcb8397d234d48f20da3af8e81ebc80dd6d914a18937595ea3d767d05292833eeb7e4e405b17d3
7
- data.tar.gz: 3eb7c7739a73e29c2f98991a53be149b8cf5bd7defab37759a069832637def6078c9e131acc9201075559d2d0f091af988d9d61eaa9505a5ac307471dd14e9ac
6
+ metadata.gz: 2112c97536d431ef5e9b45979878e3b63ee55e08c1d8b1016d248737adef1212bbac79ebd20ed11b089dd4554e8db9128b039b585dffd070c3e82160c587489d
7
+ data.tar.gz: d1028b2d67144598f17aaec23cd9f71262e75a757f441c7216da9b735effbc6ef2e3401a24698c4b1a6696833f9c92cea5265ee8af2a009af538bda83a4bd977
data/CHANGELOG.md CHANGED
@@ -2,6 +2,11 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
+ ## 1.41.1
6
+
7
+ * Adds a stub method to the Ruby LSP add-on to avoid a potential runtime exception
8
+ for range formatting requests [#655](https://github.com/standardrb/standard/pull/655)
9
+
5
10
  ## 1.41.0
6
11
 
7
12
  * Updates rubocop to [1.66.1](https://github.com/rubocop/rubocop/releases/tag/v1.66.1)
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- standard (1.41.0)
4
+ standard (1.41.1)
5
5
  language_server-protocol (~> 3.17.0.2)
6
6
  lint_roller (~> 1.0)
7
7
  rubocop (~> 1.66.0)
@@ -20,6 +20,13 @@ module RubyLsp
20
20
  @standardizer.offenses(uri_to_path(uri), document.source, document.encoding)
21
21
  end
22
22
 
23
+ def run_range_formatting(_uri, _partial_source, _base_indentation)
24
+ # Not yet supported. Should return the formatted version of `partial_source` which is a partial selection of the
25
+ # entire document. For example, it should not try to add a frozen_string_literal magic comment and all style
26
+ # corrections should start from the `base_indentation`
27
+ nil
28
+ end
29
+
23
30
  private
24
31
 
25
32
  # duplicated from: lib/standard/lsp/routes.rb
@@ -1,3 +1,3 @@
1
1
  module Standard
2
- VERSION = Gem::Version.new("1.41.0")
2
+ VERSION = Gem::Version.new("1.41.1")
3
3
  end
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.41.0
4
+ version: 1.41.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-10-08 00:00:00.000000000 Z
11
+ date: 2024-10-17 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.4.10
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