solargraph-rails 1.2.2 → 1.2.4

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: 7a6cabad967b50006505d8c0d36f88fd69e514fdc2c22a48cb8c765f4c5e572f
4
- data.tar.gz: e19dd4c1ee77895fe2be5d210e9858d0b965c2a33e5046d38b95087a2ff08491
3
+ metadata.gz: 2c75700c14be9b0c73c8f6ec22b567dccc1acf54bc085fe7b592b946ed8fc1fa
4
+ data.tar.gz: 6e785a2772256e6b4276e55d699715bad92afe52e659ae523bd289fdbe62a0bc
5
5
  SHA512:
6
- metadata.gz: 42351f405a2b3d318659adb43a26d26a1d991d61127e2e7159986181015f610ea0368cbd89956c132be5494551f698544379147aa87eb3acfeed1e7b8da282f0
7
- data.tar.gz: ca5bf29bbd10ab72d015faed081d295ac7fecb11b380939b3e4e5739a3115daa786ab2ccb7e870d344270e05fd5e664780e0731c3a0b33650ade3b5590803159
6
+ metadata.gz: 6d17000653dde7d3e5d7059805ce73a9cdeb65103775b7da1c6366862d8eb6178c4f3df1451deb0eb326890c12a000128f9dc0204f8559fedc215a25643f48fc
7
+ data.tar.gz: e2999b7c83c2c45ab6955f3aff072bcd43b1b8a32b655076d29066d1f65a6d7087705a12f26d63fa2f6471311f90d97a25fa02f1be51f100cb09784c144ab2cd
@@ -31,7 +31,7 @@ jobs:
31
31
  rails-minor: "0"
32
32
  run_coverage: true
33
33
  solargraph-version:
34
- - "0.57.alpha"
34
+ - "branch-castwide-master"
35
35
  fail-fast: false
36
36
  steps:
37
37
  - uses: actions/checkout@v2
@@ -46,13 +46,14 @@ jobs:
46
46
  - "0.56.0"
47
47
  - "0.56.1"
48
48
  - "0.56.2"
49
- - "0.57.alpha"
49
+ - "0.57.0"
50
+ - "branch-castwide-master"
50
51
  include:
51
52
  - versions:
52
53
  ruby: "3.2"
53
54
  rails-major: "8"
54
55
  rails-minor: "0"
55
- solargraph-version: "0.57.alpha"
56
+ solargraph-version: "branch-castwide-master"
56
57
  run_coverage: true
57
58
  fail-fast: false
58
59
  steps:
@@ -63,13 +64,12 @@ jobs:
63
64
  ruby-version: ${{ matrix.versions.ruby }}
64
65
  bundler: latest
65
66
  bundler-cache: true
66
- cache-version: ${{ matrix.solargraph-version }}-${{ matrix.versions.rails-major }}.${{ matrix.versions.rails-minor }}-2025-06-06
67
+ cache-version: ${{ matrix.solargraph-version }}-${{ matrix.versions.rails-major }}.${{ matrix.versions.rails-minor }}-2025-09-09
67
68
  env:
68
69
  # Used in Gemfile/gemspec
69
70
  MATRIX_SOLARGRAPH_VERSION: ${{ matrix.solargraph-version }}
70
71
  MATRIX_RAILS_MAJOR_VERSION: ${{ matrix.versions.rails-major }}
71
72
  MATRIX_RAILS_VERSION: ${{ matrix.versions.rails-major }}.${{ matrix.versions.rails-minor }}
72
-
73
73
  - name: Update solargraph from branch if needed
74
74
  run: |
75
75
  bundle update solargraph
@@ -111,12 +111,12 @@ jobs:
111
111
  uses: actions/cache/restore@v4
112
112
  with:
113
113
  key: |
114
- 2025-06-29-${{ runner.os }}-dot-cache-${{ matrix.solargraph-version }}-${{ matrix.versions.rails-major }}--${{ matrix.versions.rails-minor }}-${{ hashFiles('spec/**/Gemfile.lock') }}-${{ hashFiles('Gemfile.lock') }}
114
+ 2025-09-09-${{ runner.os }}-dot-cache-${{ matrix.solargraph-version }}-${{ matrix.versions.rails-major }}--${{ matrix.versions.rails-minor }}-${{ hashFiles('spec/**/Gemfile.lock') }}-${{ hashFiles('Gemfile.lock') }}
115
115
  restore-keys: |
116
- 2025-06-29-${{ runner.os }}-dot-cache-${{ matrix.solargraph-version }}-${{ matrix.versions.rails-major }}-${{ matrix.versions.rails-minor }}-${{ hashFiles('spec/**/Gemfile.lock') }}-
117
- 2025-06-29-${{ runner.os }}-dot-cache-${{ matrix.solargraph-version }}-${{ matrix.versions.rails-major }}-${{ matrix.versions.rails-minor }}-
118
- 2025-06-29-${{ runner.os }}-dot-cache-${{ matrix.solargraph-version }}-${{ matrix.versions.rails-major }}-
119
- 2025-06-29-${{ runner.os }}-dot-cache-${{ matrix.solargraph-version }}-
116
+ 2025-09-09-${{ runner.os }}-dot-cache-${{ matrix.solargraph-version }}-${{ matrix.versions.rails-major }}-${{ matrix.versions.rails-minor }}-${{ hashFiles('spec/**/Gemfile.lock') }}-
117
+ 2025-09-09-${{ runner.os }}-dot-cache-${{ matrix.solargraph-version }}-${{ matrix.versions.rails-major }}-${{ matrix.versions.rails-minor }}-
118
+ 2025-09-09-${{ runner.os }}-dot-cache-${{ matrix.solargraph-version }}-${{ matrix.versions.rails-major }}-
119
+ 2025-09-09-${{ runner.os }}-dot-cache-${{ matrix.solargraph-version }}-
120
120
  path: |
121
121
  /home/runner/.cache/solargraph
122
122
 
@@ -160,6 +160,7 @@ jobs:
160
160
  MATRIX_SOLARGRAPH_VERSION: ${{ matrix.solargraph-version }}
161
161
  MATRIX_RAILS_VERSION: ${{ matrix.versions.rails-major }}.${{ matrix.versions.rails-minor }}
162
162
  MATRIX_RAILS_MAJOR_VERSION: ${{ matrix.versions.rails-major }}
163
+ PRINT_STATS: true
163
164
 
164
165
  - name: Upload coverage artifacts
165
166
  uses: actions/upload-artifact@v4
@@ -180,6 +181,6 @@ jobs:
180
181
  uses: actions/cache/save@v4
181
182
  with:
182
183
  key: |
183
- 2025-06-29-${{ runner.os }}-dot-cache-${{ matrix.solargraph-version }}-${{ matrix.versions.rails-major }}--${{ matrix.versions.rails-minor }}-${{ hashFiles('spec/**/Gemfile.lock') }}-${{ hashFiles('Gemfile.lock') }}
184
+ 2025-09-09-${{ runner.os }}-dot-cache-${{ matrix.solargraph-version }}-${{ matrix.versions.rails-major }}--${{ matrix.versions.rails-minor }}-${{ hashFiles('spec/**/Gemfile.lock') }}-${{ hashFiles('Gemfile.lock') }}
184
185
  path: |
185
186
  /home/runner/.cache/solargraph
data/.rubocop.yml CHANGED
@@ -326,6 +326,8 @@ Gemspec/AttributeAssignment: # new in 1.77
326
326
  Enabled: true
327
327
  Style/CollectionQuerying: # new in 1.77
328
328
  Enabled: true
329
+ Layout/EmptyLinesAfterModuleInclusion: # new in 1.79
330
+ Enabled: true
329
331
 
330
332
  plugins:
331
333
  - rubocop-performance
data/.rubocop_todo.yml CHANGED
@@ -1,6 +1,6 @@
1
1
  # This configuration was generated by
2
2
  # `rubocop --auto-gen-config`
3
- # on 2025-07-11 18:58:31 UTC using RuboCop version 1.78.0.
3
+ # on 2025-09-07 17:36:18 UTC using RuboCop version 1.80.2.
4
4
  # The point is for the user to remove these configuration records
5
5
  # one by one as the offenses are removed from the code base.
6
6
  # Note that changes in the inspected code, or installation of new
@@ -8,8 +8,7 @@
8
8
 
9
9
  # Offense count: 5
10
10
  # This cop supports safe autocorrection (--autocorrect).
11
- # Configuration parameters: TreatCommentsAsGroupSeparators, ConsiderPunctuation, Include.
12
- # Include: **/*.gemfile, **/Gemfile, **/gems.rb
11
+ # Configuration parameters: TreatCommentsAsGroupSeparators, ConsiderPunctuation.
13
12
  Bundler/OrderedGems:
14
13
  Exclude:
15
14
  - 'Gemfile'
@@ -18,32 +17,27 @@ Bundler/OrderedGems:
18
17
 
19
18
  # Offense count: 2
20
19
  # This cop supports safe autocorrection (--autocorrect).
21
- # Configuration parameters: Include.
22
- # Include: **/*.gemspec
23
20
  Gemspec/AddRuntimeDependency:
24
21
  Exclude:
25
22
  - 'solargraph-rails.gemspec'
26
23
 
27
24
  # Offense count: 6
28
- # Configuration parameters: EnforcedStyle, AllowedGems, Include.
25
+ # Configuration parameters: EnforcedStyle, AllowedGems.
29
26
  # SupportedStyles: Gemfile, gems.rb, gemspec
30
- # Include: **/*.gemspec, **/Gemfile, **/gems.rb
31
27
  Gemspec/DevelopmentDependencies:
32
28
  Exclude:
33
29
  - 'solargraph-rails.gemspec'
34
30
 
35
31
  # Offense count: 2
36
32
  # This cop supports safe autocorrection (--autocorrect).
37
- # Configuration parameters: Severity, Include.
38
- # Include: **/*.gemspec
33
+ # Configuration parameters: Severity.
39
34
  Gemspec/RequireMFA:
40
35
  Exclude:
41
36
  - 'ci/auto_yard/auto_yard.gemspec'
42
37
  - 'solargraph-rails.gemspec'
43
38
 
44
39
  # Offense count: 2
45
- # Configuration parameters: Severity, Include.
46
- # Include: **/*.gemspec
40
+ # Configuration parameters: Severity.
47
41
  Gemspec/RequiredRubyVersion:
48
42
  Exclude:
49
43
  - 'ci/auto_yard/auto_yard.gemspec'
@@ -245,7 +239,7 @@ Lint/SharedMutableDefault:
245
239
 
246
240
  # Offense count: 2
247
241
  # This cop supports safe autocorrection (--autocorrect).
248
- # Configuration parameters: AutoCorrect, IgnoreEmptyBlocks, AllowUnusedKeywordArguments.
242
+ # Configuration parameters: IgnoreEmptyBlocks, AllowUnusedKeywordArguments.
249
243
  Lint/UnusedBlockArgument:
250
244
  Exclude:
251
245
  - 'lib/solargraph/rails/model.rb'
@@ -253,7 +247,7 @@ Lint/UnusedBlockArgument:
253
247
 
254
248
  # Offense count: 3
255
249
  # This cop supports safe autocorrection (--autocorrect).
256
- # Configuration parameters: AutoCorrect, AllowUnusedKeywordArguments, IgnoreEmptyMethods, IgnoreNotImplementedMethods, NotImplementedExceptions.
250
+ # Configuration parameters: AllowUnusedKeywordArguments, IgnoreEmptyMethods, IgnoreNotImplementedMethods, NotImplementedExceptions.
257
251
  # NotImplementedExceptions: NotImplementedError
258
252
  Lint/UnusedMethodArgument:
259
253
  Exclude:
@@ -262,7 +256,6 @@ Lint/UnusedMethodArgument:
262
256
 
263
257
  # Offense count: 3
264
258
  # This cop supports safe autocorrection (--autocorrect).
265
- # Configuration parameters: AutoCorrect.
266
259
  Lint/UselessAssignment:
267
260
  Exclude:
268
261
  - 'lib/solargraph/rails/delegate.rb'
@@ -272,7 +265,7 @@ Lint/UselessAssignment:
272
265
  # Offense count: 22
273
266
  # Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes.
274
267
  Metrics/AbcSize:
275
- Max: 104
268
+ Max: 120
276
269
 
277
270
  # Offense count: 2
278
271
  # Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns, inherit_mode.
@@ -285,33 +278,34 @@ Metrics/BlockLength:
285
278
  Metrics/ClassLength:
286
279
  Max: 252
287
280
 
288
- # Offense count: 11
281
+ # Offense count: 12
289
282
  # Configuration parameters: AllowedMethods, AllowedPatterns.
290
283
  Metrics/CyclomaticComplexity:
291
- Max: 36
284
+ Max: 42
292
285
 
293
286
  # Offense count: 23
294
287
  # Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns.
295
288
  Metrics/MethodLength:
296
289
  Max: 75
297
290
 
298
- # Offense count: 1
291
+ # Offense count: 2
299
292
  # Configuration parameters: CountKeywordArgs, MaxOptionalParameters.
300
293
  Metrics/ParameterLists:
301
294
  Max: 9
302
295
 
303
- # Offense count: 10
296
+ # Offense count: 11
304
297
  # Configuration parameters: AllowedMethods, AllowedPatterns.
305
298
  Metrics/PerceivedComplexity:
306
- Max: 41
299
+ Max: 47
307
300
 
308
- # Offense count: 6
301
+ # Offense count: 14
309
302
  # This cop supports safe autocorrection (--autocorrect).
310
303
  # Configuration parameters: EnforcedStyle, BlockForwardingName.
311
304
  # SupportedStyles: anonymous, explicit
312
305
  Naming/BlockForwarding:
313
306
  Exclude:
314
307
  - 'lib/solargraph-rails.rb'
308
+ - 'lib/solargraph/rails/annotations/active_job.rb'
315
309
  - 'lib/solargraph/rails/walker.rb'
316
310
  - 'spec/helpers.rb'
317
311
 
@@ -449,8 +443,7 @@ RSpec/PendingWithoutReason:
449
443
  - 'spec/solargraph-rails/rails_spec.rb'
450
444
 
451
445
  # Offense count: 7
452
- # Configuration parameters: Include, CustomTransform, IgnoreMethods, IgnoreMetadata.
453
- # Include: **/*_spec.rb
446
+ # Configuration parameters: CustomTransform, IgnoreMethods, IgnoreMetadata.
454
447
  RSpec/SpecFilePathFormat:
455
448
  Exclude:
456
449
  - '**/spec/routing/**/*'
@@ -462,7 +455,7 @@ RSpec/SpecFilePathFormat:
462
455
  - 'spec/solargraph-rails/schema_spec.rb'
463
456
  - 'spec/solargraph-rails/storage_spec.rb'
464
457
 
465
- # Offense count: 4
458
+ # Offense count: 6
466
459
  # This cop supports safe autocorrection (--autocorrect).
467
460
  # Configuration parameters: AllowOnlyRestArgument, UseAnonymousForwarding, RedundantRestArgumentNames, RedundantKeywordRestArgumentNames, RedundantBlockArgumentNames.
468
461
  # RedundantRestArgumentNames: args, arguments
@@ -471,6 +464,7 @@ RSpec/SpecFilePathFormat:
471
464
  Style/ArgumentsForwarding:
472
465
  Exclude:
473
466
  - 'lib/solargraph/rails/walker.rb'
467
+ - 'spec/rails8/bin/setup'
474
468
 
475
469
  # Offense count: 13
476
470
  # This cop supports unsafe autocorrection (--autocorrect-all).
@@ -501,7 +495,7 @@ Style/ConditionalAssignment:
501
495
  Exclude:
502
496
  - 'spec/helpers.rb'
503
497
 
504
- # Offense count: 39
498
+ # Offense count: 42
505
499
  # Configuration parameters: AllowedConstants.
506
500
  Style/Documentation:
507
501
  Enabled: false
@@ -521,7 +515,7 @@ Style/FetchEnvVar:
521
515
  - 'solargraph-rails.gemspec'
522
516
  - 'spec/rails8/bin/bundle'
523
517
 
524
- # Offense count: 93
518
+ # Offense count: 89
525
519
  # This cop supports unsafe autocorrection (--autocorrect-all).
526
520
  # Configuration parameters: EnforcedStyle.
527
521
  # SupportedStyles: always, always_true, never
@@ -618,6 +612,12 @@ Style/RedundantParentheses:
618
612
  - 'Gemfile'
619
613
  - 'solargraph-rails.gemspec'
620
614
 
615
+ # Offense count: 2
616
+ # This cop supports safe autocorrection (--autocorrect).
617
+ Style/RedundantRegexpEscape:
618
+ Exclude:
619
+ - 'lib/solargraph/rails/annotate.rb'
620
+
621
621
  # Offense count: 1
622
622
  # This cop supports safe autocorrection (--autocorrect).
623
623
  # Configuration parameters: AllowMultipleReturnValues.
@@ -694,7 +694,7 @@ Style/StringConcatenation:
694
694
  - 'lib/solargraph-rails.rb'
695
695
  - 'spec/helpers.rb'
696
696
 
697
- # Offense count: 321
697
+ # Offense count: 323
698
698
  # This cop supports safe autocorrection (--autocorrect).
699
699
  # Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline.
700
700
  # SupportedStyles: single_quotes, double_quotes
@@ -709,14 +709,13 @@ Style/SymbolArray:
709
709
  EnforcedStyle: percent
710
710
  MinSize: 13
711
711
 
712
- # Offense count: 2
712
+ # Offense count: 1
713
713
  # This cop supports unsafe autocorrection (--autocorrect-all).
714
714
  # Configuration parameters: AllowMethodsWithArguments, AllowedMethods, AllowedPatterns, AllowComments.
715
715
  # AllowedMethods: define_method
716
716
  Style/SymbolProc:
717
717
  Exclude:
718
718
  - 'spec/helpers.rb'
719
- - 'spec/rails8/db/migrate/20250619165029_create_models.rb'
720
719
 
721
720
  # Offense count: 3
722
721
  # This cop supports safe autocorrection (--autocorrect).
@@ -776,7 +775,7 @@ YARD/TagTypeSyntax:
776
775
  - 'lib/solargraph/rails/annotations/time.rb'
777
776
  - 'lib/solargraph/rails/model.rb'
778
777
 
779
- # Offense count: 7
778
+ # Offense count: 16
780
779
  # This cop supports safe autocorrection (--autocorrect).
781
780
  # Configuration parameters: AllowHeredoc, AllowURI, AllowQualifiedName, URISchemes, IgnoreCopDirectives, AllowedPatterns, SplitStrings.
782
781
  # URISchemes: http, https
data/CHANGELOG.md CHANGED
@@ -2,6 +2,20 @@
2
2
 
3
3
  ## Changes
4
4
 
5
+ ### v1.2.4
6
+
7
+ Features / fixes:
8
+ - Enable support for Solargraph 0.74.x with annotation fixes
9
+
10
+ Internal improvements:
11
+ - CI improvements for easier Solargraph pre-release regression testing
12
+
13
+ ### v1.2.3
14
+
15
+ Internal improvements:
16
+ - Add notional 0.56.2 release to support regression testing in main
17
+ Solargraph project
18
+
5
19
  ### v1.2.2
6
20
 
7
21
  Features / fixes:
data/DEVELOPMENT.md CHANGED
@@ -73,11 +73,11 @@ Move .yml files into place, then make sure to review the script and uncomment re
73
73
  ## Preparing a release (maintainers)
74
74
 
75
75
  1. Look up [most recent release](https://rubygems.org/gems/solargraph-rails)
76
- 2. Open up [commit list](https://github.com/iftheshoefritz/solargraph-rails/compare/v1.2.1...main)
76
+ 2. Open up [commit list](https://github.com/iftheshoefritz/solargraph-rails/compare/v1.2.3...main)
77
77
  3. Update [CHANGELOG.md](./CHANGELOG.md)
78
78
  4. Flip to 'files changed view' and refine updates
79
79
  5. Bump [version](./lib/solargraph/rails/version.rb) appropriately
80
- 6. Create branch, commit and merge changes - "Prepare for vX.Y.Z release", branch: prepare_vX.Y.Z_release
80
+ 6. Create branch, commit and merge changes - "Prepare for vX.Y.Z release", branch: `prepare_vX.Y.Z_release`
81
81
  7. `git config branch.main.remote`
82
82
  8. Ensure your local main branch is directly from iftheshoefritz
83
83
  9. `direnv block`
data/Gemfile CHANGED
@@ -15,7 +15,7 @@ solargraph_version = (ENV['CI'] && ENV['MATRIX_SOLARGRAPH_VERSION'])
15
15
  # ensure that YARD docs get cached by ruby/setup-ruby in GitHub
16
16
  # Actions if using an older version of solargraph that needs user to
17
17
  # run `yard gems` manually
18
- if solargraph_version
18
+ if solargraph_version && !solargraph_version.start_with?('branch-')
19
19
  solargraph_minor_version = solargraph_version.split('.')[1].to_i
20
20
  solargraph_major_version = solargraph_version.split('.')[0].to_i
21
21
  if solargraph_version && solargraph_major_version == 0 && solargraph_minor_version < 53
@@ -57,7 +57,14 @@ when '0.57.alpha'
57
57
  gem "solargraph",
58
58
  github: 'apiology/solargraph',
59
59
  branch: '2025-07-02'
60
- # path: '../solargraph'
60
+ when /branch-castwide-(.*)/
61
+ gem "solargraph",
62
+ github: 'castwide/solargraph',
63
+ branch: Regexp.last_match(1)
64
+ when /branch-(.*)/
65
+ gem "solargraph",
66
+ github: 'apiology/solargraph',
67
+ branch: Regexp.last_match(1)
61
68
  end
62
69
 
63
70
  # Local gemfile for development tools, etc.
@@ -1,68 +1,70 @@
1
- class ActionController::Base
2
- #
3
- # NOTE: keep this list synced with new items from MODULES in action_controller/base.rb
4
- #
5
- # @todo pull this as literal array dynamically from
6
- # ActionController::Base::MODULES and walk through it (and other
7
- # cases of same pattern) to help future-proof things
8
- #
9
- include AbstractController::Rendering
10
- extend AbstractController::Rendering::ClassMethods
11
- include AbstractController::Translation
12
- include AbstractController::AssetPaths
13
- include Helpers
14
- include UrlFor
15
- include Redirecting
16
- include ActionView::Layouts
17
- include Rendering
18
- include Renderers::All
19
- include ConditionalGet
20
- include EtagWithTemplateDigest
21
- include EtagWithFlash
22
- include Caching
23
- include MimeResponds
24
- include ImplicitRender
25
- include StrongParameters
26
- include ParameterEncoding
27
- include Cookies
28
- include Flash
29
- include FormBuilder
30
- include RequestForgeryProtection
31
- extend RequestForgeryProtection::ClassMethods
32
- include ContentSecurityPolicy
33
- include PermissionsPolicy
34
- extend PermissionsPolicy::ClassMethods
35
- include Streaming
36
- include DataStreaming
37
- include HttpAuthentication::Basic::ControllerMethods
38
- extend HttpAuthentication::Basic::ControllerMethods::ClassMethods
39
- include HttpAuthentication::Digest::ControllerMethods
40
- include HttpAuthentication::Token::ControllerMethods
41
- include DefaultHeaders
42
- include Logging
43
- extend Logging::ClassMethods
44
- include AbstractController::Callbacks
45
- extend AbstractController::Callbacks::ClassMethods
46
- include Rescue
47
- include Instrumentation
48
- include ParamsWrapper
1
+ module ActionController
2
+ class Base < Metal
3
+ #
4
+ # NOTE: keep this list synced with new items from MODULES in action_controller/base.rb
5
+ #
6
+ # @todo pull this as literal array dynamically from
7
+ # ActionController::Base::MODULES and walk through it (and other
8
+ # cases of same pattern) to help future-proof things
9
+ #
10
+ include AbstractController::Rendering
11
+ extend AbstractController::Rendering::ClassMethods
12
+ include AbstractController::Translation
13
+ include AbstractController::AssetPaths
14
+ include Helpers
15
+ include UrlFor
16
+ include Redirecting
17
+ include ActionView::Layouts
18
+ include Rendering
19
+ include Renderers::All
20
+ include ConditionalGet
21
+ include EtagWithTemplateDigest
22
+ include EtagWithFlash
23
+ include Caching
24
+ include MimeResponds
25
+ include ImplicitRender
26
+ include StrongParameters
27
+ include ParameterEncoding
28
+ include Cookies
29
+ include Flash
30
+ include FormBuilder
31
+ include RequestForgeryProtection
32
+ extend RequestForgeryProtection::ClassMethods
33
+ include ContentSecurityPolicy
34
+ include PermissionsPolicy
35
+ extend PermissionsPolicy::ClassMethods
36
+ include Streaming
37
+ include DataStreaming
38
+ include HttpAuthentication::Basic::ControllerMethods
39
+ extend HttpAuthentication::Basic::ControllerMethods::ClassMethods
40
+ include HttpAuthentication::Digest::ControllerMethods
41
+ include HttpAuthentication::Token::ControllerMethods
42
+ include DefaultHeaders
43
+ include Logging
44
+ extend Logging::ClassMethods
45
+ include AbstractController::Callbacks
46
+ extend AbstractController::Callbacks::ClassMethods
47
+ include Rescue
48
+ include Instrumentation
49
+ include ParamsWrapper
49
50
 
50
- #
51
- # I don't see the thinsg below in action_controller/base.rb, at least in Rails
52
- # 7.0. Maybe they need to be moved to be under a different class?
53
- #
54
- extend ActiveSupport::Callbacks::ClassMethods
55
- extend ActiveSupport::Rescuable::ClassMethods
56
- include ActiveSupport::Rescuable
51
+ #
52
+ # I don't see the thinsg below in action_controller/base.rb, at least in Rails
53
+ # 7.0. Maybe they need to be moved to be under a different class?
54
+ #
55
+ extend ActiveSupport::Callbacks::ClassMethods
56
+ extend ActiveSupport::Rescuable::ClassMethods
57
+ include ActiveSupport::Rescuable
57
58
 
58
- # @return [ActionDispatch::Response]
59
- def response; end
60
- # @return [ActionDispatch::Request]
61
- def request; end
62
- # @return [ActionDispatch::Request::Session]
63
- def session; end
64
- # @return [ActionDispatch::Flash::FlashHash]
65
- def flash; end
59
+ # @return [ActionDispatch::Response]
60
+ def response; end
61
+ # @return [ActionDispatch::Request]
62
+ def request; end
63
+ # @return [ActionDispatch::Request::Session]
64
+ def session; end
65
+ # @return [ActionDispatch::Flash::FlashHash]
66
+ def flash; end
67
+ end
66
68
  end
67
69
 
68
70
  class ActionController::Metal
@@ -1,5 +1,5 @@
1
1
  module Solargraph
2
2
  module Rails
3
- VERSION = '1.2.2'
3
+ VERSION = '1.2.4'
4
4
  end
5
5
  end
@@ -5,14 +5,14 @@ require 'solargraph/rails/version'
5
5
 
6
6
  solargraph_force_ci_version = (ENV['CI'] && ENV['MATRIX_SOLARGRAPH_VERSION'])
7
7
  solargraph_version =
8
- if solargraph_force_ci_version
8
+ if solargraph_force_ci_version && !solargraph_force_ci_version.start_with?('branch-')
9
9
  [solargraph_force_ci_version]
10
10
  else
11
11
  [
12
12
  # below this isn't tested in CI
13
13
  '>= 0.48.0',
14
14
  # above this hasn't been tested
15
- '< 0.57'
15
+ '<= 0.57'
16
16
  ]
17
17
  end
18
18
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: solargraph-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.2
4
+ version: 1.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fritz Meissner
8
8
  bindir: exe
9
9
  cert_chain: []
10
- date: 2025-08-28 00:00:00.000000000 Z
10
+ date: 2025-09-16 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: bundler
@@ -100,7 +100,7 @@ dependencies:
100
100
  - - ">="
101
101
  - !ruby/object:Gem::Version
102
102
  version: 0.48.0
103
- - - "<"
103
+ - - "<="
104
104
  - !ruby/object:Gem::Version
105
105
  version: '0.57'
106
106
  type: :runtime
@@ -110,7 +110,7 @@ dependencies:
110
110
  - - ">="
111
111
  - !ruby/object:Gem::Version
112
112
  version: 0.48.0
113
- - - "<"
113
+ - - "<="
114
114
  - !ruby/object:Gem::Version
115
115
  version: '0.57'
116
116
  - !ruby/object:Gem::Dependency