solargraph-rails 0.3.0 → 0.3.1
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/README.md +5 -3
- data/lib/solargraph/rails/pin_creator.rb +1 -0
- data/lib/solargraph/rails/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: bdae0802262c6077a713ab7360faba89107df21b076feb137632d38ea119b7ab
|
|
4
|
+
data.tar.gz: 241082c1dd11fd455da5b9c309d8836021e9509f7ecad08542d71307485cf726
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 06c879380e6f6bc9cf0858809e725058d6b2d013db97816de6fc9afc23431bd51baede7431b1ed7e6ae3338707fe2978b90493119917ff0b3cecf51ccadbc925
|
|
7
|
+
data.tar.gz: fbda10862a2f58edcd111f643d475111fdea59c0b2f5797f024365c7858642be78747a11ffd04511c35b73791e6e63bdbfa329e7a6dbce46e8fc96488bd3234d
|
data/README.md
CHANGED
|
@@ -52,23 +52,25 @@ Solargraph won't know about attributes that you add during a session. Restart yo
|
|
|
52
52
|
For my setup with Emacs, that means running `M-x lsp-workspace-restart`, YMMV in other editors.
|
|
53
53
|
|
|
54
54
|
## Associations (experimental)
|
|
55
|
-
There is
|
|
55
|
+
There is simplistic support for `belongs_to` and `has_many` macros:
|
|
56
56
|
|
|
57
57
|

|
|
58
58
|
|
|
59
59
|
## Known issues
|
|
60
60
|
This project is being used to write production code by the maintainer, but it is still WIP. Check out the issues tab and contribute if you are interested.
|
|
61
61
|
|
|
62
|
+
Association support is slightly less functional in Rails 7.
|
|
63
|
+
|
|
62
64
|
## Installation
|
|
63
65
|
|
|
64
|
-
### Install `solargraph`
|
|
66
|
+
### Install `solargraph` and `solargraph-rails` locally
|
|
65
67
|
|
|
66
68
|
Typically gems like these are not installed via the Gemfile, because most projects have more than one contributor and other contributors might have different setups for their editors in mind. Instead you need to use `gem install`.
|
|
67
69
|
|
|
68
70
|
`gem install solargraph-rails`
|
|
69
71
|
|
|
70
72
|
#### Alternative: using bundler
|
|
71
|
-
If you do want to use bundler, add `gem 'solargraph-rails'
|
|
73
|
+
If you do want to use bundler, add `gem 'solargraph-rails'`
|
|
72
74
|
|
|
73
75
|
### Add `solargraph-rails` to your `.solargraph.yml`
|
|
74
76
|
|
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: 0.3.
|
|
4
|
+
version: 0.3.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Fritz Meissner
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2022-
|
|
11
|
+
date: 2022-02-04 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|