solargraph-rails 1.1.2 → 1.2.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.
- checksums.yaml +4 -4
- data/.github/workflows/overcommit.yml +71 -0
- data/.github/workflows/rubocop.yml +31 -0
- data/.github/workflows/ruby.yml +122 -27
- data/.github/workflows/typecheck.yml +81 -0
- data/.overcommit.yml +51 -0
- data/.rubocop.yml +327 -0
- data/.rubocop_todo.yml +857 -0
- data/.solargraph.yml +5 -2
- data/CHANGELOG.md +36 -1
- data/DEVELOPMENT.md +8 -19
- data/Gemfile +20 -8
- data/README.md +38 -25
- data/bin/overcommit +27 -0
- data/bin/rubocop +27 -0
- data/ci/auto_yard/plugins.rb +0 -1
- data/lib/solargraph/rails/annotate.rb +10 -0
- data/lib/solargraph/rails/annotations/action_controller.rb +57 -5
- data/lib/solargraph/rails/annotations/active_model.rb +18 -0
- data/lib/solargraph/rails/annotations/active_record.rb +24 -3
- data/lib/solargraph/rails/annotations/active_support.rb +3 -0
- data/lib/solargraph/rails/annotations/array.rb +3 -0
- data/lib/solargraph/rails/annotations/class.rb +2 -0
- data/lib/solargraph/rails/annotations/module.rb +13 -0
- data/lib/solargraph/rails/annotations/object.rb +3 -0
- data/lib/solargraph/rails/annotations/time.rb +3 -3
- data/lib/solargraph/rails/delegate.rb +44 -10
- data/lib/solargraph/rails/model.rb +252 -31
- data/lib/solargraph/rails/rails_api.rb +2 -2
- data/lib/solargraph/rails/schema.rb +27 -8
- data/lib/solargraph/rails/util.rb +45 -4
- data/lib/solargraph/rails/version.rb +1 -1
- data/lib/solargraph-rails.rb +1 -1
- data/script/generate_definitions.rb +49 -24
- data/solargraph-rails.gemspec +20 -5
- metadata +60 -12
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: solargraph-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Fritz Meissner
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-
|
11
|
+
date: 2025-07-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -53,25 +53,61 @@ dependencies:
|
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '3.0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
|
-
name:
|
56
|
+
name: rubocop
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- - "
|
59
|
+
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
62
|
-
|
61
|
+
version: '1.76'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
63
67
|
- !ruby/object:Gem::Version
|
64
|
-
version:
|
65
|
-
|
68
|
+
version: '1.76'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: simplecov
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: 0.22.0
|
76
|
+
type: :development
|
66
77
|
prerelease: false
|
67
78
|
version_requirements: !ruby/object:Gem::Requirement
|
68
79
|
requirements:
|
69
|
-
- - "
|
80
|
+
- - "~>"
|
70
81
|
- !ruby/object:Gem::Version
|
71
|
-
version: 0.
|
72
|
-
|
82
|
+
version: 0.22.0
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: simplecov-lcov
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: 0.8.0
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: 0.8.0
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: solargraph
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - '='
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: 0.56.0
|
104
|
+
type: :runtime
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - '='
|
73
109
|
- !ruby/object:Gem::Version
|
74
|
-
version: 0.
|
110
|
+
version: 0.56.0
|
75
111
|
- !ruby/object:Gem::Dependency
|
76
112
|
name: activesupport
|
77
113
|
requirement: !ruby/object:Gem::Requirement
|
@@ -95,9 +131,15 @@ extensions: []
|
|
95
131
|
extra_rdoc_files: []
|
96
132
|
files:
|
97
133
|
- ".github/ISSUE_TEMPLATE/bug_report.md"
|
134
|
+
- ".github/workflows/overcommit.yml"
|
135
|
+
- ".github/workflows/rubocop.yml"
|
98
136
|
- ".github/workflows/ruby.yml"
|
137
|
+
- ".github/workflows/typecheck.yml"
|
99
138
|
- ".gitignore"
|
139
|
+
- ".overcommit.yml"
|
100
140
|
- ".rspec"
|
141
|
+
- ".rubocop.yml"
|
142
|
+
- ".rubocop_todo.yml"
|
101
143
|
- ".solargraph.yml"
|
102
144
|
- ".travis.yml"
|
103
145
|
- CHANGELOG.md
|
@@ -107,6 +149,8 @@ files:
|
|
107
149
|
- README.md
|
108
150
|
- Rakefile
|
109
151
|
- bin/console
|
152
|
+
- bin/overcommit
|
153
|
+
- bin/rubocop
|
110
154
|
- bin/setup
|
111
155
|
- ci/auto_yard/.gitignore
|
112
156
|
- ci/auto_yard/auto_yard.gemspec
|
@@ -118,9 +162,13 @@ files:
|
|
118
162
|
- lib/solargraph/rails/annotations/action_controller.rb
|
119
163
|
- lib/solargraph/rails/annotations/action_dispatch.rb
|
120
164
|
- lib/solargraph/rails/annotations/action_mailer.rb
|
165
|
+
- lib/solargraph/rails/annotations/active_model.rb
|
121
166
|
- lib/solargraph/rails/annotations/active_record.rb
|
122
167
|
- lib/solargraph/rails/annotations/active_support.rb
|
168
|
+
- lib/solargraph/rails/annotations/array.rb
|
169
|
+
- lib/solargraph/rails/annotations/class.rb
|
123
170
|
- lib/solargraph/rails/annotations/date.rb
|
171
|
+
- lib/solargraph/rails/annotations/module.rb
|
124
172
|
- lib/solargraph/rails/annotations/object.rb
|
125
173
|
- lib/solargraph/rails/annotations/rails.rb
|
126
174
|
- lib/solargraph/rails/annotations/stdlib_requires.rb
|