ruby_language_server 0.3.2 → 0.3.3

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: 24623019ffbbd4d0a3f0e07e9a8ae75737c072068d0d61945dd87efffa9c1ba8
4
- data.tar.gz: b2c2ad7e4c4f8d984d0c8d298b63e32a4eb39430568843fc2c8a5ada6ccc2193
3
+ metadata.gz: b3aac5474bb2b6733126b085f9ca01039682eb539aedb7b2d3d599836f39a9db
4
+ data.tar.gz: 9d7fce05e5db12c3a208c8a5a7829c5dc63167543343723ad4560816a296ec3c
5
5
  SHA512:
6
- metadata.gz: e8894f83cec8a8fa8b5e4890d09a0f6f81d711b66b6f525fb1fe9f1add9da7fe40ed59b11910e9ccc154d9aed9410c9033e10ae38fc13278e531983411159481
7
- data.tar.gz: de1370aae5e2634e7bc502f4862795a3ea9b741c922421f2adb1b316812fedecdebbd701053b608232c9c6bd490765fb9fbc521f8312dc2c7eff430503e71a80
6
+ metadata.gz: 25ed33502314156f1bf330e6f95a2ab59879cd7d6bb11912e29c5358c6b9837c49040f5cdaa185880bde39e6e57aa574ff65f857d7ac416add3db70af29e2d60
7
+ data.tar.gz: 27e47059903c1ce0d099d3391e4f0fb58992fb538f96e97eaff40aeea42e7e1be6da9e911be146702a8256b959c38884e57ceb98a96ac20b68b76ac2306cfc32
data/CHANGELOG.txt CHANGED
@@ -1,8 +1,8 @@
1
1
  # Changelog
2
2
 
3
- #### 0.3.2 Wed Sep 4 17:30:46 PDT 2019
3
+ #### 0.3.3 Thu Jan 9 20:20:58 PST 2020
4
4
 
5
- * Tweak jump to code so it goes to column 1, not 0
5
+ * #49 Lock to rails 5. Also some fixes with Makefile, Gemfile, rubocop config.
6
6
 
7
7
  #### 0.3.1 Fri Aug 23 21:14:43 PDT 2019
8
8
 
data/Gemfile.lock CHANGED
@@ -1,27 +1,28 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ruby_language_server (0.3.2)
5
- activerecord
4
+ ruby_language_server (0.3.3)
5
+ activerecord (~> 5.2)
6
6
  amatch
7
7
  bundler
8
8
  etc
9
9
  fuzzy_match
10
10
  json
11
11
  rubocop
12
+ rubocop-performance
12
13
  rubocop-rspec
13
14
  sqlite3
14
15
 
15
16
  GEM
16
17
  remote: https://rubygems.org/
17
18
  specs:
18
- activemodel (5.2.3)
19
- activesupport (= 5.2.3)
20
- activerecord (5.2.3)
21
- activemodel (= 5.2.3)
22
- activesupport (= 5.2.3)
19
+ activemodel (5.2.4.1)
20
+ activesupport (= 5.2.4.1)
21
+ activerecord (5.2.4.1)
22
+ activemodel (= 5.2.4.1)
23
+ activesupport (= 5.2.4.1)
23
24
  arel (>= 9.0)
24
- activesupport (5.2.3)
25
+ activesupport (5.2.4.1)
25
26
  concurrent-ruby (~> 1.0, >= 1.0.2)
26
27
  i18n (>= 0.7, < 2)
27
28
  minitest (~> 5.1)
@@ -34,7 +35,7 @@ GEM
34
35
  byebug (11.0.1)
35
36
  coderay (1.1.2)
36
37
  concurrent-ruby (1.1.5)
37
- etc (1.0.1)
38
+ etc (1.1.0)
38
39
  ffi (1.11.1)
39
40
  formatador (0.2.5)
40
41
  fuzzy_match (2.1.0)
@@ -54,10 +55,10 @@ GEM
54
55
  guard-rubocop (1.3.0)
55
56
  guard (~> 2.0)
56
57
  rubocop (~> 0.20)
57
- i18n (1.6.0)
58
+ i18n (1.8.1)
58
59
  concurrent-ruby (~> 1.0)
59
60
  jaro_winkler (1.5.3)
60
- json (2.2.0)
61
+ json (2.3.0)
61
62
  listen (3.1.5)
62
63
  rb-fsevent (~> 0.9, >= 0.9.4)
63
64
  rb-inotify (~> 0.9, >= 0.9.7)
@@ -67,8 +68,8 @@ GEM
67
68
  minitest (5.11.3)
68
69
  minitest-color (0.0.2)
69
70
  minitest (~> 5)
70
- mize (0.3.5)
71
- protocol
71
+ mize (0.4.0)
72
+ protocol (~> 2.0)
72
73
  nenv (0.3.0)
73
74
  notiffany (0.1.3)
74
75
  nenv (~> 0.1)
@@ -76,7 +77,7 @@ GEM
76
77
  parallel (1.17.0)
77
78
  parser (2.6.3.0)
78
79
  ast (~> 2.4.0)
79
- protocol (1.0.1)
80
+ protocol (2.0.0)
80
81
  ruby_parser (~> 3.0)
81
82
  pry (0.12.2)
82
83
  coderay (~> 1.1.0)
@@ -85,7 +86,7 @@ GEM
85
86
  byebug (~> 11.0)
86
87
  pry (~> 0.10)
87
88
  rainbow (3.0.0)
88
- rake (12.3.3)
89
+ rake (13.0.1)
89
90
  rb-fsevent (0.10.3)
90
91
  rb-inotify (0.10.0)
91
92
  ffi (~> 1.0)
@@ -96,19 +97,23 @@ GEM
96
97
  rainbow (>= 2.2.2, < 4.0)
97
98
  ruby-progressbar (~> 1.7)
98
99
  unicode-display_width (>= 1.4.0, < 1.7)
99
- rubocop-rspec (1.35.0)
100
- rubocop (>= 0.60.0)
100
+ rubocop-performance (1.5.2)
101
+ rubocop (>= 0.71.0)
102
+ rubocop-rspec (1.37.1)
103
+ rubocop (>= 0.68.1)
101
104
  ruby-progressbar (1.10.1)
102
105
  ruby_dep (1.5.0)
103
- ruby_parser (3.13.1)
106
+ ruby_parser (3.14.1)
104
107
  sexp_processor (~> 4.9)
105
108
  sexp_processor (4.12.1)
106
109
  shellany (0.0.1)
107
- sqlite3 (1.4.1)
110
+ sqlite3 (1.4.2)
111
+ sync (0.5.0)
108
112
  thor (0.20.3)
109
113
  thread_safe (0.3.6)
110
- tins (1.21.1)
111
- tzinfo (1.2.5)
114
+ tins (1.24.0)
115
+ sync
116
+ tzinfo (1.2.6)
112
117
  thread_safe (~> 0.1)
113
118
  unicode-display_width (1.6.0)
114
119
 
@@ -119,7 +124,7 @@ DEPENDENCIES
119
124
  guard
120
125
  guard-minitest
121
126
  guard-rubocop
122
- minitest
127
+ minitest (~> 5.11)
123
128
  minitest-color
124
129
  pry
125
130
  pry-byebug
@@ -128,4 +133,4 @@ DEPENDENCIES
128
133
  sexp_processor
129
134
 
130
135
  BUNDLED WITH
131
- 2.0.2
136
+ 2.1.3
data/Makefile CHANGED
@@ -20,10 +20,10 @@ continuous_development: build
20
20
  done
21
21
 
22
22
  console: build
23
- docker run -it --rm $(LOCAL_LINK) $(PROJECT_NAME) bin/console
23
+ docker run -it --rm $(LOCAL_LINK) $(PROJECT_NAME) bin/console
24
24
 
25
25
  test: build
26
- docker run -it --rm $(LOCAL_LINK) $(PROJECT_NAME) rake test && rubocop
26
+ docker run -it --rm $(LOCAL_LINK) $(PROJECT_NAME) sh -c 'bundle exec rake test && bundle exec rubocop'
27
27
 
28
28
  shell: build
29
29
  docker run -it --rm $(LOCAL_LINK) $(PROJECT_NAME) sh
data/README.md CHANGED
@@ -48,11 +48,11 @@ Write tests and guard will run them. Make changes and reload the window. Test
48
48
 
49
49
  # Release instructions to self
50
50
 
51
- * Branch for release
51
+ * For for release
52
52
  * bump version in version.rb file and Gemfile.lock
53
53
  * [CHANGELOG.txt](CHANGELOG.txt)
54
54
  * make gem_release
55
- ** This is probably going to get more painful because of 2FA: https://rubygems.org/profile/edit
55
+ ** This is probably going to get more because of 2FA: https://rubygems.org/profile/edit
56
56
 
57
57
  # Authors
58
58
 
@@ -260,7 +260,7 @@ module RubyLanguageServer
260
260
  def project_definitions_for(name)
261
261
  scopes = RubyLanguageServer::ScopeData::Scope.where(name: name)
262
262
  variables = RubyLanguageServer::ScopeData::Variable.constant_variables.where(name: name)
263
- (scopes + variables).reject{|scope| scope.code_file.nil?}.map do |scope|
263
+ (scopes + variables).reject { |scope| scope.code_file.nil? }.map do |scope|
264
264
  Location.hash(scope.code_file.uri.delete_prefix(self.class.root_uri), scope.top_line, 1)
265
265
  end
266
266
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RubyLanguageServer
4
- VERSION = '0.3.2'
4
+ VERSION = '0.3.3'
5
5
  end
@@ -40,18 +40,19 @@ Gem::Specification.new do |spec|
40
40
 
41
41
  # No - do not put these in dev - they are needed for the app
42
42
  spec.add_dependency 'rubocop'
43
- spec.add_dependency 'rubocop-rspec' # Linter - no longer needed - use additional gems?
43
+ spec.add_dependency 'rubocop-performance' # Linter - no longer needed - use additional gems?
44
+ spec.add_dependency 'rubocop-rspec' # Linter - no longer needed - use additional gems?
44
45
 
45
46
  spec.add_dependency 'amatch' # in c
46
47
  spec.add_dependency 'fuzzy_match' # completion matching
47
48
 
48
- spec.add_dependency 'activerecord'
49
+ spec.add_dependency 'activerecord', '~>5.2'
49
50
  spec.add_dependency 'sqlite3'
50
51
 
51
52
  spec.add_development_dependency 'guard'
52
53
  spec.add_development_dependency 'guard-minitest'
53
54
  spec.add_development_dependency 'guard-rubocop'
54
- spec.add_development_dependency 'minitest'
55
+ spec.add_development_dependency 'minitest', '~>5.11'
55
56
  spec.add_development_dependency 'minitest-color'
56
57
  spec.add_development_dependency 'pry'
57
58
  spec.add_development_dependency 'pry-byebug'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby_language_server
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kurt Werle
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-09-05 00:00:00.000000000 Z
11
+ date: 2020-01-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -67,7 +67,7 @@ dependencies:
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
69
  - !ruby/object:Gem::Dependency
70
- name: rubocop-rspec
70
+ name: rubocop-performance
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - ">="
@@ -81,7 +81,7 @@ dependencies:
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
83
  - !ruby/object:Gem::Dependency
84
- name: amatch
84
+ name: rubocop-rspec
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
87
  - - ">="
@@ -95,7 +95,7 @@ dependencies:
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0'
97
97
  - !ruby/object:Gem::Dependency
98
- name: fuzzy_match
98
+ name: amatch
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
101
  - - ">="
@@ -109,7 +109,7 @@ dependencies:
109
109
  - !ruby/object:Gem::Version
110
110
  version: '0'
111
111
  - !ruby/object:Gem::Dependency
112
- name: activerecord
112
+ name: fuzzy_match
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
115
  - - ">="
@@ -122,6 +122,20 @@ dependencies:
122
122
  - - ">="
123
123
  - !ruby/object:Gem::Version
124
124
  version: '0'
125
+ - !ruby/object:Gem::Dependency
126
+ name: activerecord
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - "~>"
130
+ - !ruby/object:Gem::Version
131
+ version: '5.2'
132
+ type: :runtime
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - "~>"
137
+ - !ruby/object:Gem::Version
138
+ version: '5.2'
125
139
  - !ruby/object:Gem::Dependency
126
140
  name: sqlite3
127
141
  requirement: !ruby/object:Gem::Requirement
@@ -182,16 +196,16 @@ dependencies:
182
196
  name: minitest
183
197
  requirement: !ruby/object:Gem::Requirement
184
198
  requirements:
185
- - - ">="
199
+ - - "~>"
186
200
  - !ruby/object:Gem::Version
187
- version: '0'
201
+ version: '5.11'
188
202
  type: :development
189
203
  prerelease: false
190
204
  version_requirements: !ruby/object:Gem::Requirement
191
205
  requirements:
192
- - - ">="
206
+ - - "~>"
193
207
  - !ruby/object:Gem::Version
194
- version: '0'
208
+ version: '5.11'
195
209
  - !ruby/object:Gem::Dependency
196
210
  name: minitest-color
197
211
  requirement: !ruby/object:Gem::Requirement