solargraph 0.58.0 → 0.58.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: e56c80fcd3d09dfa44076f993bc9b9109499f5aca4453b2bec161257161791d6
4
- data.tar.gz: e1063c87d37ac58f04cf790e40e6e01b5044d74ab2fa102b1a80a133ad47111b
3
+ metadata.gz: 31aee8c6c10b4c153a7cdd4da7c5d94748b702234df69302dc642d5956b87320
4
+ data.tar.gz: 9579e90add3bb40c8a0c348a2111f6b4626f6bf7a5fd11a4d5d35aa4fa8d98b5
5
5
  SHA512:
6
- metadata.gz: c4bf24a5265c55ce29e24ae70fd5504250aec4f684b7f2aa220ed96292feda346ad0d0ad9116399a59a57ae69e6846b8cca6b5ee7946690fa49a34b90777b913
7
- data.tar.gz: d4c04335686f8d5af07fa7b0a581e96c197ad605bdd4b5a5eeb5fd41fe4ddca8c14a89b19c4b0acf5257909d2e45864929aacaf98d19c6459109f815a383c5b1
6
+ metadata.gz: feb5d83ea7f7143805119c52e77c6109f454a3b46485b2a574a2a53c2bd726b040310f6bc5a874044798f5ac40b8dd015b38d67204d2b9343f601a0e74385154
7
+ data.tar.gz: '09a728082ed231fd8dd93c8ba2c1480727e75c91ac92c11ef752e3a228729c357f9c7b9d4a9536ff0a1c92278a1c2904a86964206c7fc0293cd82226693c165d'
data/.gitattributes ADDED
@@ -0,0 +1,2 @@
1
+ *.rb text eol=lf
2
+ bin/* text eol=lf
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ ## 0.58.1 - January 2, 2026
2
+ - Normalize line endings to LF (#1142)
3
+
1
4
  ## 0.58.0 - January 1, 2026
2
5
  - Faster constant resolution (#1083)
3
6
  - [regression] Handle RBS static method aliases (#1094)
data/bin/solargraph CHANGED
@@ -1,8 +1,8 @@
1
- #!/usr/bin/env ruby
2
-
3
- # turn off warning diagnostics from Ruby
4
- $VERBOSE=nil
5
-
6
- require 'solargraph'
7
-
8
- Solargraph::Shell.start(ARGV)
1
+ #!/usr/bin/env ruby
2
+
3
+ # turn off warning diagnostics from Ruby
4
+ $VERBOSE=nil
5
+
6
+ require 'solargraph'
7
+
8
+ Solargraph::Shell.start(ARGV)
@@ -1,23 +1,23 @@
1
- # frozen_string_literal: true
2
-
3
- module Solargraph
4
- class Source
5
- module EncodingFixes
6
- module_function
7
-
8
- # Convert strings to normalized UTF-8.
9
- #
10
- # @param string [String]
11
- # @return [String]
12
- def normalize string
13
- begin
14
- string.dup.force_encoding('UTF-8')
15
- rescue ::Encoding::CompatibilityError, ::Encoding::UndefinedConversionError, ::Encoding::InvalidByteSequenceError => e
16
- # @todo Improve error handling
17
- Solargraph::Logging.logger.warn "Normalize error: #{e.message}"
18
- string
19
- end
20
- end
21
- end
22
- end
23
- end
1
+ # frozen_string_literal: true
2
+
3
+ module Solargraph
4
+ class Source
5
+ module EncodingFixes
6
+ module_function
7
+
8
+ # Convert strings to normalized UTF-8.
9
+ #
10
+ # @param string [String]
11
+ # @return [String]
12
+ def normalize string
13
+ begin
14
+ string.dup.force_encoding('UTF-8')
15
+ rescue ::Encoding::CompatibilityError, ::Encoding::UndefinedConversionError, ::Encoding::InvalidByteSequenceError => e
16
+ # @todo Improve error handling
17
+ Solargraph::Logging.logger.warn "Normalize error: #{e.message}"
18
+ string
19
+ end
20
+ end
21
+ end
22
+ end
23
+ end
@@ -1,5 +1,5 @@
1
- # frozen_string_literal: true
2
-
3
- module Solargraph
4
- VERSION = '0.58.0'
5
- end
1
+ # frozen_string_literal: true
2
+
3
+ module Solargraph
4
+ VERSION = '0.58.1'
5
+ end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: solargraph
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.58.0
4
+ version: 0.58.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fred Snyder
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2026-01-01 00:00:00.000000000 Z
10
+ date: 2026-01-02 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: ast
@@ -538,6 +538,7 @@ executables:
538
538
  extensions: []
539
539
  extra_rdoc_files: []
540
540
  files:
541
+ - ".gitattributes"
541
542
  - ".github/FUNDING.yml"
542
543
  - ".github/workflows/linting.yml"
543
544
  - ".github/workflows/plugins.yml"