spoom 1.3.0 → 1.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/spoom/cli.rb +2 -2
- data/lib/spoom/deadcode/remover.rb +1 -1
- data/lib/spoom/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3840a06d8381c113e452af8009c2e3c80f8c135c76afe1b1360baf877178d912
|
4
|
+
data.tar.gz: 3c3941847f63693a3e184d3a24b583ba989769abc18d0bbf8a6b08481ee25ced
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 23a45ede451ebffe973c1b262a68c667e5b8546c345520615262acef84c195e164b9cf6e7ff4223c569170802c5232366efa92c5525d5ba909606e8f51554cc3
|
7
|
+
data.tar.gz: d3db42e6aeda62013aced699a86721e37b1fdb72162cd6475d512f77a7c810d3a693d9dfcc0c9b0871a19ef0d67ee7ea87b5188850bf98d441238f3a3aaca87b
|
data/lib/spoom/cli.rb
CHANGED
@@ -63,7 +63,7 @@ module Spoom
|
|
63
63
|
|
64
64
|
desc "coverage", "Collect metrics related to Sorbet coverage"
|
65
65
|
def coverage(*args)
|
66
|
-
say_warning("This command is deprecated. Please use `spoom srb
|
66
|
+
say_warning("This command is deprecated. Please use `spoom srb coverage` instead.")
|
67
67
|
|
68
68
|
invoke(Cli::Srb::Coverage, args, options)
|
69
69
|
end
|
@@ -73,7 +73,7 @@ module Spoom
|
|
73
73
|
|
74
74
|
desc "lsp", "Send LSP requests to Sorbet"
|
75
75
|
def lsp(*args)
|
76
|
-
say_warning("This command is deprecated. Please use `spoom srb
|
76
|
+
say_warning("This command is deprecated. Please use `spoom srb lsp` instead.")
|
77
77
|
|
78
78
|
invoke(Cli::Srb::LSP, args, options)
|
79
79
|
end
|
@@ -312,7 +312,7 @@ module Spoom
|
|
312
312
|
# Adjust the lines to remove to include following blank lines
|
313
313
|
after = context.next_node
|
314
314
|
if before.nil? && after && after.location.start_line > end_line + 1
|
315
|
-
end_line = after.location.
|
315
|
+
end_line = after.location.start_line - 1
|
316
316
|
elsif after.nil? && context.parent_node.location.end_line > end_line + 1
|
317
317
|
end_line = context.parent_node.location.end_line - 1
|
318
318
|
end
|
data/lib/spoom/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spoom
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alexandre Terrasa
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-04-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -58,14 +58,14 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 13.1
|
61
|
+
version: 13.2.1
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: 13.1
|
68
|
+
version: 13.2.1
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: erubi
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -226,7 +226,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
226
226
|
- !ruby/object:Gem::Version
|
227
227
|
version: '0'
|
228
228
|
requirements: []
|
229
|
-
rubygems_version: 3.5.
|
229
|
+
rubygems_version: 3.5.9
|
230
230
|
signing_key:
|
231
231
|
specification_version: 4
|
232
232
|
summary: Useful tools for Sorbet enthusiasts.
|