solargraph 0.60.3 → 0.61.0

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.
Files changed (76) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/plugins.yml +1 -5
  3. data/.github/workflows/rspec.yml +3 -1
  4. data/CHANGELOG.md +26 -0
  5. data/Gemfile +0 -3
  6. data/lib/solargraph/api_map/index.rb +15 -2
  7. data/lib/solargraph/api_map/store.rb +13 -0
  8. data/lib/solargraph/api_map.rb +60 -81
  9. data/lib/solargraph/cache_dir.rb +58 -0
  10. data/lib/solargraph/collection/base.rb +50 -0
  11. data/lib/solargraph/collection/core.rb +17 -0
  12. data/lib/solargraph/collection/gem.rb +57 -0
  13. data/lib/solargraph/collection/rbs.rb +49 -0
  14. data/lib/solargraph/collection/stdlib.rb +25 -0
  15. data/lib/solargraph/collection.rb +31 -0
  16. data/lib/solargraph/complex_type.rb +18 -5
  17. data/lib/solargraph/convention.rb +5 -3
  18. data/lib/solargraph/diagnostics/require_not_found.rb +0 -4
  19. data/lib/solargraph/external.rb +159 -0
  20. data/lib/solargraph/language_server/message/text_document/definition.rb +4 -1
  21. data/lib/solargraph/language_server/message/text_document/hover.rb +1 -2
  22. data/lib/solargraph/library.rb +11 -24
  23. data/lib/solargraph/metagem.rb +80 -0
  24. data/lib/solargraph/parser/parser_gem/node_chainer.rb +22 -3
  25. data/lib/solargraph/parser/parser_gem/node_processors/namespace_node.rb +14 -5
  26. data/lib/solargraph/pin/closure.rb +17 -0
  27. data/lib/solargraph/pin/factory_parameter.rb +84 -0
  28. data/lib/solargraph/pin/method.rb +7 -4
  29. data/lib/solargraph/pin.rb +1 -0
  30. data/lib/solargraph/rbs_map/base.rb +31 -0
  31. data/lib/solargraph/rbs_map/conversions.rb +3 -1
  32. data/lib/solargraph/rbs_map/{core_map.rb → core.rb} +18 -39
  33. data/lib/solargraph/rbs_map/core_fills.rb +1 -1
  34. data/lib/solargraph/rbs_map/gem.rb +13 -0
  35. data/lib/solargraph/rbs_map/helpers.rb +60 -0
  36. data/lib/solargraph/rbs_map/path.rb +19 -0
  37. data/lib/solargraph/rbs_map/stdlib.rb +24 -0
  38. data/lib/solargraph/rbs_map.rb +7 -198
  39. data/lib/solargraph/repo.rb +177 -0
  40. data/lib/solargraph/shell.rb +49 -99
  41. data/lib/solargraph/source/chain/call.rb +190 -67
  42. data/lib/solargraph/source/chain/literal.rb +17 -17
  43. data/lib/solargraph/source/chain/parameter.rb +79 -0
  44. data/lib/solargraph/source/chain.rb +44 -5
  45. data/lib/solargraph/source/source_chainer.rb +40 -44
  46. data/lib/solargraph/source_map/clip.rb +5 -3
  47. data/lib/solargraph/source_map/mapper.rb +6 -2
  48. data/lib/solargraph/source_map.rb +10 -5
  49. data/lib/solargraph/type_checker/rules.rb +2 -1
  50. data/lib/solargraph/version.rb +1 -1
  51. data/lib/solargraph/workspace.rb +0 -1
  52. data/lib/solargraph/yard_map/cache.rb +1 -1
  53. data/lib/solargraph/yard_map/directives/attribute_directive.rb +1 -1
  54. data/lib/solargraph/yard_map/directives/domain_directive.rb +1 -1
  55. data/lib/solargraph/yard_map/directives/method_directive.rb +1 -1
  56. data/lib/solargraph/yard_map/directives/override_directive.rb +1 -1
  57. data/lib/solargraph/yard_map/directives/parse_directive.rb +1 -1
  58. data/lib/solargraph/yard_map/directives/scope_directive.rb +178 -0
  59. data/lib/solargraph/yard_map/directives/visibility_directive.rb +1 -1
  60. data/lib/solargraph/yard_map/directives.rb +5 -2
  61. data/lib/solargraph/yard_map/helpers.rb +1 -1
  62. data/lib/solargraph/yard_map/macro.rb +34 -5
  63. data/lib/solargraph/yard_map/mapper/to_constant.rb +1 -1
  64. data/lib/solargraph/yard_map/mapper/to_method.rb +1 -1
  65. data/lib/solargraph/yard_map/mapper/to_namespace.rb +1 -1
  66. data/lib/solargraph/yard_map/mapper.rb +37 -4
  67. data/lib/solargraph/yard_map.rb +1 -1
  68. data/lib/solargraph/yardoc.rb +43 -60
  69. data/lib/solargraph.rb +6 -3
  70. data/solargraph.gemspec +1 -1
  71. metadata +22 -9
  72. data/lib/solargraph/doc_map.rb +0 -439
  73. data/lib/solargraph/gem_pins.rb +0 -87
  74. data/lib/solargraph/pin_cache.rb +0 -248
  75. data/lib/solargraph/rbs_map/stdlib_map.rb +0 -71
  76. data/lib/solargraph/workspace/gemspecs.rb +0 -373
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Solargraph
4
- class YardMap
4
+ module YardMap
5
5
  class Mapper
6
6
  module ToConstant
7
7
  extend YardMap::Helpers
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Solargraph
4
- class YardMap
4
+ module YardMap
5
5
  class Mapper
6
6
  module ToMethod
7
7
  extend YardMap::Helpers
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Solargraph
4
- class YardMap
4
+ module YardMap
5
5
  class Mapper
6
6
  module ToNamespace
7
7
  extend YardMap::Helpers
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Solargraph
4
- class YardMap
4
+ module YardMap
5
5
  class Mapper
6
6
  autoload :ToMethod, 'solargraph/yard_map/mapper/to_method'
7
7
  autoload :ToNamespace, 'solargraph/yard_map/mapper/to_namespace'
@@ -11,7 +11,7 @@ module Solargraph
11
11
  # @param spec [Gem::Specification, nil]
12
12
  def initialize code_objects, spec = nil
13
13
  @code_objects = code_objects
14
- @macro_code_objects = code_objects.select { |co| co.is_a?(YARD::CodeObjects::MacroObject) }
14
+ @macro_code_objects = code_objects.grep(YARD::CodeObjects::MacroObject)
15
15
  @spec = spec
16
16
  # @type [Array<Solargraph::Pin::Base>]
17
17
  @pins = []
@@ -32,13 +32,17 @@ module Solargraph
32
32
 
33
33
  private
34
34
 
35
+ def core_store
36
+ @core_store ||= ApiMap::Store.new(RbsMap::Core.new.pins)
37
+ end
38
+
35
39
  # @param code_object [YARD::CodeObjects::Base]
36
40
  # @return [Array<Pin::Base>]
37
41
  def generate_pins code_object
38
42
  result = []
39
43
  case code_object
40
44
  when YARD::CodeObjects::NamespaceObject
41
- nspin = ToNamespace.make(code_object, @spec, @namespace_pins[code_object.namespace.to_s])
45
+ nspin = namespace_with_bug_fix(code_object)
42
46
  @namespace_pins[code_object.path] = nspin
43
47
  result.push nspin
44
48
  if code_object.is_a?(YARD::CodeObjects::ClassObject) && !code_object.superclass.nil?
@@ -50,7 +54,16 @@ module Solargraph
50
54
  else
51
55
  code_object.superclass.to_s
52
56
  end
53
- result.push Solargraph::Pin::Reference::Superclass.new(name: superclass, closure: nspin, source: :yard_map)
57
+ # YARD fills in `Object` for every class whose definition it never
58
+ # saw a superclass clause on - including a bare `class Foo`
59
+ # reopening, which asserts nothing about ancestry - and keeps no
60
+ # record of which case it was. A class with no superclass reference
61
+ # already resolves to Object, so recording this one adds nothing and
62
+ # can shadow a superclass declared in another source.
63
+ unless superclass.delete_prefix('::') == 'Object'
64
+ result.push Solargraph::Pin::Reference::Superclass.new(name: superclass, closure: nspin,
65
+ source: :yard_map)
66
+ end
54
67
  end
55
68
  # @sg-ignore flow sensitive typing ought to be able to handle 'when ClassName'
56
69
  code_object.class_mixins.each do |m|
@@ -72,6 +85,8 @@ module Solargraph
72
85
  # @todo Check the visibility of <Class>.new
73
86
  result.push ToMethod.make(code_object, 'new', :class, :public, closure, @spec)
74
87
  result.push ToMethod.make(code_object, 'initialize', :instance, :private, closure, @spec)
88
+ elsif closure&.source == :yard_map_hack
89
+ result.push ToMethod.make(code_object, nil, :instance, nil, closure, @spec)
75
90
  else
76
91
  result.push ToMethod.make(code_object, nil, nil, nil, closure, @spec)
77
92
  end
@@ -97,6 +112,24 @@ module Solargraph
97
112
  def macros_for_method_object method_object
98
113
  attached_macros_by_method_object[method_object]
99
114
  end
115
+
116
+ # Handle a bug in YARD where code that opens a constant's singleton class
117
+ # (e.g., `class << ENV`) creates a pin that incorrectly overrides the
118
+ # original constant's value.
119
+ #
120
+ # @param code_object [YARD::CodeObjects::NamespaceObject]
121
+ # @return [Pin::Namespace]
122
+ def namespace_with_bug_fix code_object
123
+ core_pin = core_store.get_path_pins(code_object.path)
124
+ .find { |pin| pin.is_a?(Pin::Constant) }
125
+ if core_pin
126
+ location = Helpers.object_location(code_object, @spec)
127
+ Solargraph.logger.warn "Adjusting YARD pin that conflicts with RBS core (#{code_object.inspect} #{location.inspect})"
128
+ Pin::Namespace.new(name: core_pin.return_type.namespace, location: location, source: :yard_map_hack)
129
+ else
130
+ ToNamespace.make(code_object, @spec, @namespace_pins[code_object.namespace.to_s])
131
+ end
132
+ end
100
133
  end
101
134
  end
102
135
  end
@@ -7,7 +7,7 @@ module Solargraph
7
7
  # The YardMap provides access to YARD documentation for the Ruby core, the
8
8
  # stdlib, and gems.
9
9
  #
10
- class YardMap
10
+ module YardMap
11
11
  class NoYardocError < StandardError; end
12
12
 
13
13
  autoload :Cache, 'solargraph/yard_map/cache'
@@ -1,6 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require 'open3'
4
+ require 'fileutils'
4
5
 
5
6
  module Solargraph
6
7
  # Methods for caching and loading YARD documentation for gems.
@@ -8,83 +9,65 @@ module Solargraph
8
9
  module Yardoc
9
10
  module_function
10
11
 
11
- # Build and cache a gem's yardoc and return the path. If the cache already
12
- # exists, do nothing and return the path.
13
- #
14
- # @param yard_plugins [Array<String>] The names of YARD plugins to use.
15
- # @param gemspec [Gem::Specification]
16
- # @return [String] The path to the cached yardoc.
17
- def cache yard_plugins, gemspec
18
- path = PinCache.yardoc_path gemspec
19
- return path if cached?(gemspec)
12
+ def path_for metagem
13
+ File.join(CacheDir.yard_dir, "#{metagem.cache_name}.yardoc")
14
+ end
15
+
16
+ # @param metagem [Metagem]
17
+ # @param force [Boolean]
18
+ # @return [void]
19
+ def cache metagem, force: false
20
+ return unless force || !cached?(metagem)
20
21
 
21
- unless Dir.exist? gemspec.gem_dir
22
- # Can happen in at least some (old?) RubyGems versions when we
23
- # have a gemspec describing a standard library like bundler.
24
- #
25
- # https://github.com/apiology/solargraph/actions/runs/17650140201/job/50158676842?pr=10
26
- Solargraph.logger.info { "Bad info from gemspec - #{gemspec.gem_dir} does not exist" }
27
- return path
28
- end
22
+ Solargraph.logger.info "Caching yardoc for #{metagem.cache_name}"
23
+ path = path_for(metagem)
24
+ FileUtils.mkdir_p File.dirname(path)
25
+ cmd = ['yardoc', '--db', path, '--no-output', '--plugin', 'solargraph', '--plugin', 'activesupport-concern']
26
+ Solargraph.logger.debug "Running: #{cmd.inspect}"
27
+ output, status = Open3.capture2e(*cmd, chdir: metagem.full_path)
28
+ return if status.success?
29
29
 
30
- Solargraph.logger.info "Caching yardoc for #{gemspec.name} #{gemspec.version}"
31
- cmd = "yardoc --db #{path} --no-output --plugin solargraph"
32
- yard_plugins.each { |plugin| cmd << " --plugin #{plugin}" }
33
- Solargraph.logger.debug { "Running: #{cmd}" }
34
- # @todo set these up to run in parallel
35
- # @todo Is the chdir argument being used here?
36
- # @sg-ignore Unrecognized keyword argument chdir to Open3.capture2e
37
- stdout_and_stderr_str, status = Open3.capture2e(current_bundle_env_tweaks, cmd, chdir: gemspec.gem_dir)
38
- unless status.success?
39
- Solargraph.logger.warn { "YARD failed running #{cmd.inspect} in #{gemspec.gem_dir}" }
40
- Solargraph.logger.info stdout_and_stderr_str
41
- end
42
- path
30
+ Solargraph.logger.warn { "YARD failed running #{cmd.inspect} in #{metagem.full_path}" }
31
+ Solargraph.logger.info output
32
+ # @todo Ignore missing metagems for now. We need to figure out why this
33
+ # happens in GitHub actions.
34
+ rescue Errno::ENOENT => _e
35
+ Solargraph.logger.warn "Gem #{metagem.name} #{metagem.version} not found at #{metagem.full_path}"
43
36
  end
44
37
 
45
- # True if the gem yardoc is cached.
46
- #
47
- # @param gemspec [Gem::Specification]
48
- def cached? gemspec
49
- yardoc = File.join(PinCache.yardoc_path(gemspec), 'complete')
38
+ # @param metagem [Metagem]
39
+ # @return [void]
40
+ def uncache metagem
41
+ FileUtils.rm_rf path_for(metagem)
42
+ end
43
+
44
+ # @param metagem [Metagem]
45
+ def cached? metagem
46
+ yardoc = File.join(path_for(metagem), 'complete')
50
47
  File.exist?(yardoc)
51
48
  end
49
+ alias exist? cached?
52
50
 
53
51
  # True if another process is currently building the yardoc cache.
54
52
  #
55
- # @param gemspec [Gem::Specification]
56
- def processing? gemspec
57
- yardoc = File.join(PinCache.yardoc_path(gemspec), 'processing')
53
+ # @param metagem [Metagem]
54
+ def processing? metagem
55
+ yardoc = File.join(path_for(metagem), 'processing')
58
56
  File.exist?(yardoc)
59
57
  end
60
58
 
61
- # Load a gem's yardoc and return its code objects.
59
+ # Load a gem's yardoc cache and return its code objects.
62
60
  #
63
61
  # @note This method modifies the global YARD registry.
64
62
  #
65
- # @param gemspec [Gem::Specification]
63
+ # @param metagem [Metagem]
66
64
  # @return [Array<YARD::CodeObjects::Base>]
67
- def load! gemspec
68
- YARD::Registry.load! PinCache.yardoc_path gemspec
69
- YARD::Registry.all
70
- end
65
+ def load! metagem
66
+ cache metagem
67
+ return [] unless cached?(metagem)
71
68
 
72
- # If the BUNDLE_GEMFILE environment variable is set, we need to
73
- # make sure it's an absolute path, as we'll be changing
74
- # directories.
75
- #
76
- # 'bundle exec' sets an absolute path here, but at least the
77
- # overcommit gem does not, breaking on-the-fly documention with a
78
- # spawned yardoc command from our current bundle
79
- #
80
- # @return [Hash{String => String}] a hash of environment variables to override
81
- def current_bundle_env_tweaks
82
- tweaks = {}
83
- # @sg-ignore Unresolved call to empty? on String, nil
84
- if ENV['BUNDLE_GEMFILE'] && !ENV['BUNDLE_GEMFILE'].empty?
85
- tweaks['BUNDLE_GEMFILE'] = File.expand_path(ENV['BUNDLE_GEMFILE'])
86
- end
87
- tweaks
69
+ YARD::Registry.load! path_for(metagem)
70
+ YARD::Registry.all
88
71
  end
89
72
  end
90
73
  end
data/lib/solargraph.rb CHANGED
@@ -4,6 +4,7 @@ Encoding.default_external = 'UTF-8'
4
4
 
5
5
  require 'bundler'
6
6
  require 'set'
7
+ require 'yard-activesupport-concern'
7
8
  require 'yard-solargraph'
8
9
  require 'solargraph/yard_tags'
9
10
  require 'solargraph/version'
@@ -31,7 +32,10 @@ module Solargraph
31
32
  autoload :Yardoc, 'solargraph/yardoc'
32
33
  autoload :YardMap, 'solargraph/yard_map'
33
34
  autoload :Pin, 'solargraph/pin'
34
- autoload :DocMap, 'solargraph/doc_map'
35
+ autoload :Metagem, 'solargraph/metagem'
36
+ autoload :Repo, 'solargraph/repo'
37
+ autoload :External, 'solargraph/external'
38
+ autoload :Collection, 'solargraph/collection'
35
39
  autoload :ServerMethods, 'solargraph/server_methods'
36
40
  autoload :LanguageServer, 'solargraph/language_server'
37
41
  autoload :Workspace, 'solargraph/workspace'
@@ -47,8 +51,7 @@ module Solargraph
47
51
  autoload :Convention, 'solargraph/convention'
48
52
  autoload :Parser, 'solargraph/parser'
49
53
  autoload :RbsMap, 'solargraph/rbs_map'
50
- autoload :GemPins, 'solargraph/gem_pins'
51
- autoload :PinCache, 'solargraph/pin_cache'
54
+ autoload :CacheDir, 'solargraph/cache_dir'
52
55
  autoload :RbsTranslator, 'solargraph/rbs_translator'
53
56
 
54
57
  dir = File.dirname(__FILE__)
data/solargraph.gemspec CHANGED
@@ -44,7 +44,7 @@ Gem::Specification.new do |s|
44
44
  s.add_dependency 'ostruct', '~> 0.6'
45
45
  s.add_dependency 'parser', '~> 3.0'
46
46
  s.add_dependency 'prism', '~> 1.4'
47
- s.add_dependency 'rbs', '>= 3.10.0'
47
+ s.add_dependency 'rbs', '>= 3.10.4'
48
48
  s.add_dependency 'rdoc', '~> 7.0'
49
49
  s.add_dependency 'reverse_markdown', '~> 3.0'
50
50
  s.add_dependency 'rubocop', '~> 1.76'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: solargraph
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.60.3
4
+ version: 0.61.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fred Snyder
@@ -217,14 +217,14 @@ dependencies:
217
217
  requirements:
218
218
  - - ">="
219
219
  - !ruby/object:Gem::Version
220
- version: 3.10.0
220
+ version: 3.10.4
221
221
  type: :runtime
222
222
  prerelease: false
223
223
  version_requirements: !ruby/object:Gem::Requirement
224
224
  requirements:
225
225
  - - ">="
226
226
  - !ruby/object:Gem::Version
227
- version: 3.10.0
227
+ version: 3.10.4
228
228
  - !ruby/object:Gem::Dependency
229
229
  name: rdoc
230
230
  requirement: !ruby/object:Gem::Requirement
@@ -588,6 +588,13 @@ files:
588
588
  - lib/solargraph/api_map/source_to_yard.rb
589
589
  - lib/solargraph/api_map/store.rb
590
590
  - lib/solargraph/bench.rb
591
+ - lib/solargraph/cache_dir.rb
592
+ - lib/solargraph/collection.rb
593
+ - lib/solargraph/collection/base.rb
594
+ - lib/solargraph/collection/core.rb
595
+ - lib/solargraph/collection/gem.rb
596
+ - lib/solargraph/collection/rbs.rb
597
+ - lib/solargraph/collection/stdlib.rb
591
598
  - lib/solargraph/complex_type.rb
592
599
  - lib/solargraph/complex_type/conformance.rb
593
600
  - lib/solargraph/complex_type/type_methods.rb
@@ -616,10 +623,9 @@ files:
616
623
  - lib/solargraph/diagnostics/severities.rb
617
624
  - lib/solargraph/diagnostics/type_check.rb
618
625
  - lib/solargraph/diagnostics/update_errors.rb
619
- - lib/solargraph/doc_map.rb
620
626
  - lib/solargraph/environ.rb
621
627
  - lib/solargraph/equality.rb
622
- - lib/solargraph/gem_pins.rb
628
+ - lib/solargraph/external.rb
623
629
  - lib/solargraph/language_server.rb
624
630
  - lib/solargraph/language_server/completion_item_kinds.rb
625
631
  - lib/solargraph/language_server/error_codes.rb
@@ -684,6 +690,7 @@ files:
684
690
  - lib/solargraph/library.rb
685
691
  - lib/solargraph/location.rb
686
692
  - lib/solargraph/logging.rb
693
+ - lib/solargraph/metagem.rb
687
694
  - lib/solargraph/page.rb
688
695
  - lib/solargraph/parser.rb
689
696
  - lib/solargraph/parser/comment_ripper.rb
@@ -738,6 +745,7 @@ files:
738
745
  - lib/solargraph/pin/delegated_method.rb
739
746
  - lib/solargraph/pin/documenting.rb
740
747
  - lib/solargraph/pin/duck_method.rb
748
+ - lib/solargraph/pin/factory_parameter.rb
741
749
  - lib/solargraph/pin/global_variable.rb
742
750
  - lib/solargraph/pin/instance_variable.rb
743
751
  - lib/solargraph/pin/keyword.rb
@@ -762,15 +770,19 @@ files:
762
770
  - lib/solargraph/pin/symbol.rb
763
771
  - lib/solargraph/pin/until.rb
764
772
  - lib/solargraph/pin/while.rb
765
- - lib/solargraph/pin_cache.rb
766
773
  - lib/solargraph/position.rb
767
774
  - lib/solargraph/range.rb
768
775
  - lib/solargraph/rbs_map.rb
776
+ - lib/solargraph/rbs_map/base.rb
769
777
  - lib/solargraph/rbs_map/conversions.rb
778
+ - lib/solargraph/rbs_map/core.rb
770
779
  - lib/solargraph/rbs_map/core_fills.rb
771
- - lib/solargraph/rbs_map/core_map.rb
772
- - lib/solargraph/rbs_map/stdlib_map.rb
780
+ - lib/solargraph/rbs_map/gem.rb
781
+ - lib/solargraph/rbs_map/helpers.rb
782
+ - lib/solargraph/rbs_map/path.rb
783
+ - lib/solargraph/rbs_map/stdlib.rb
773
784
  - lib/solargraph/rbs_translator.rb
785
+ - lib/solargraph/repo.rb
774
786
  - lib/solargraph/server_methods.rb
775
787
  - lib/solargraph/shell.rb
776
788
  - lib/solargraph/source.rb
@@ -789,6 +801,7 @@ files:
789
801
  - lib/solargraph/source/chain/link.rb
790
802
  - lib/solargraph/source/chain/literal.rb
791
803
  - lib/solargraph/source/chain/or.rb
804
+ - lib/solargraph/source/chain/parameter.rb
792
805
  - lib/solargraph/source/chain/q_call.rb
793
806
  - lib/solargraph/source/chain/variable.rb
794
807
  - lib/solargraph/source/chain/z_super.rb
@@ -815,7 +828,6 @@ files:
815
828
  - lib/solargraph/views/search.erb
816
829
  - lib/solargraph/workspace.rb
817
830
  - lib/solargraph/workspace/config.rb
818
- - lib/solargraph/workspace/gemspecs.rb
819
831
  - lib/solargraph/workspace/require_paths.rb
820
832
  - lib/solargraph/yard_map.rb
821
833
  - lib/solargraph/yard_map/cache.rb
@@ -825,6 +837,7 @@ files:
825
837
  - lib/solargraph/yard_map/directives/method_directive.rb
826
838
  - lib/solargraph/yard_map/directives/override_directive.rb
827
839
  - lib/solargraph/yard_map/directives/parse_directive.rb
840
+ - lib/solargraph/yard_map/directives/scope_directive.rb
828
841
  - lib/solargraph/yard_map/directives/visibility_directive.rb
829
842
  - lib/solargraph/yard_map/helpers.rb
830
843
  - lib/solargraph/yard_map/macro.rb