syntax_suggest 1.0.4 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/check_changelog.yml +1 -1
- data/.github/workflows/ci.yml +31 -11
- data/.standard.yml +1 -1
- data/CHANGELOG.md +12 -0
- data/Gemfile +1 -0
- data/Gemfile.lock +53 -35
- data/README.md +2 -2
- data/lib/syntax_suggest/api.rb +42 -7
- data/lib/syntax_suggest/around_block_scan.rb +68 -213
- data/lib/syntax_suggest/block_expand.rb +11 -5
- data/lib/syntax_suggest/capture/before_after_keyword_ends.rb +85 -0
- data/lib/syntax_suggest/capture/falling_indent_lines.rb +71 -0
- data/lib/syntax_suggest/capture_code_context.rb +18 -5
- data/lib/syntax_suggest/clean_document.rb +6 -6
- data/lib/syntax_suggest/code_block.rb +1 -1
- data/lib/syntax_suggest/code_frontier.rb +1 -1
- data/lib/syntax_suggest/code_line.rb +12 -5
- data/lib/syntax_suggest/code_search.rb +2 -2
- data/lib/syntax_suggest/core_ext.rb +1 -1
- data/lib/syntax_suggest/display_invalid_blocks.rb +1 -1
- data/lib/syntax_suggest/explain_syntax.rb +18 -4
- data/lib/syntax_suggest/lex_all.rb +29 -10
- data/lib/syntax_suggest/pathname_from_message.rb +1 -1
- data/lib/syntax_suggest/ripper_errors.rb +4 -1
- data/lib/syntax_suggest/scan_history.rb +134 -0
- data/lib/syntax_suggest/version.rb +1 -1
- data/syntax_suggest.gemspec +2 -2
- metadata +7 -4
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: syntax_suggest
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- schneems
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-12-08 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: When you get an "unexpected end" in your syntax this gem helps you find
|
14
14
|
it
|
@@ -42,6 +42,8 @@ files:
|
|
42
42
|
- lib/syntax_suggest/api.rb
|
43
43
|
- lib/syntax_suggest/around_block_scan.rb
|
44
44
|
- lib/syntax_suggest/block_expand.rb
|
45
|
+
- lib/syntax_suggest/capture/before_after_keyword_ends.rb
|
46
|
+
- lib/syntax_suggest/capture/falling_indent_lines.rb
|
45
47
|
- lib/syntax_suggest/capture_code_context.rb
|
46
48
|
- lib/syntax_suggest/clean_document.rb
|
47
49
|
- lib/syntax_suggest/cli.rb
|
@@ -61,6 +63,7 @@ files:
|
|
61
63
|
- lib/syntax_suggest/priority_engulf_queue.rb
|
62
64
|
- lib/syntax_suggest/priority_queue.rb
|
63
65
|
- lib/syntax_suggest/ripper_errors.rb
|
66
|
+
- lib/syntax_suggest/scan_history.rb
|
64
67
|
- lib/syntax_suggest/unvisited_lines.rb
|
65
68
|
- lib/syntax_suggest/version.rb
|
66
69
|
- syntax_suggest.gemspec
|
@@ -78,14 +81,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
78
81
|
requirements:
|
79
82
|
- - ">="
|
80
83
|
- !ruby/object:Gem::Version
|
81
|
-
version:
|
84
|
+
version: 3.0.0
|
82
85
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
83
86
|
requirements:
|
84
87
|
- - ">="
|
85
88
|
- !ruby/object:Gem::Version
|
86
89
|
version: '0'
|
87
90
|
requirements: []
|
88
|
-
rubygems_version: 3.4.
|
91
|
+
rubygems_version: 3.4.22
|
89
92
|
signing_key:
|
90
93
|
specification_version: 4
|
91
94
|
summary: Find syntax errors in your source in a snap
|