solargraph-rails 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cf9a813f372c7c2f1e7b26294cde25617702b4d718cbac08f37036a866a23365
4
- data.tar.gz: af00aad628cc77acb911dcc86e8906609cd71a4b906b8eb69b0a6cae9343b409
3
+ metadata.gz: bdae0802262c6077a713ab7360faba89107df21b076feb137632d38ea119b7ab
4
+ data.tar.gz: 241082c1dd11fd455da5b9c309d8836021e9509f7ecad08542d71307485cf726
5
5
  SHA512:
6
- metadata.gz: cc552911a9121aa3a7876fabf09c7850854ba53bea4fbb8374f565017d39ccc2cb1d6c2a9db30b62a213c35577eb6d290b8037ffd140216e676fba3e2038c01a
7
- data.tar.gz: 74d5c903fedf1d94500b7d51a94810e95af3b7b8dc04dfa8bbeba724f4f8bf4587273a8788a87580bbae01868a1a75ddccba5daf0074069d102d83c10d28ca5f
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 very hacky and simplistic support for `belongs_to` and `has_many` macros, if you are willing to use `gem install solargraph-rails --pre`:
55
+ There is simplistic support for `belongs_to` and `has_many` macros:
56
56
 
57
57
  ![Experimental autocomplete and go to definition of associations](assets/solar_rails_associations.gif)
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` v0.40+ and `solargraph_rails` locally
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', '~> 0.2.0'`
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
 
@@ -109,6 +109,7 @@ module Solargraph
109
109
  'datetime' => 'ActiveSupport::TimeWithZone',
110
110
  'string' => 'String',
111
111
  'boolean' => 'Boolean',
112
+ 'float' => 'Float',
112
113
  'text' => 'String'
113
114
  }
114
115
  end
@@ -1,5 +1,5 @@
1
1
  module Solargraph
2
2
  module Rails
3
- VERSION = '0.3.0'
3
+ VERSION = '0.3.1'
4
4
  end
5
5
  end
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.0
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-01-21 00:00:00.000000000 Z
11
+ date: 2022-02-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler