neovim 0.9.0.pre.1 → 0.9.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/.github/workflows/docs.yml +7 -4
- data/.github/workflows/tests.yml +18 -16
- data/.gitignore +1 -1
- data/CHANGELOG.md +5 -0
- data/Flavorfile.lock +1 -0
- data/README.md +5 -5
- data/Rakefile +2 -11
- data/lib/neovim/buffer.rb +120 -40
- data/lib/neovim/client.rb +276 -67
- data/lib/neovim/tabpage.rb +1 -1
- data/lib/neovim/version.rb +1 -1
- data/lib/neovim/window.rb +33 -19
- data/lib/neovim.rb +4 -5
- data/neovim.gemspec +4 -5
- data/script/ci/download_nvim.sh +4 -17
- data/script/run_acceptance.rb +1 -1
- data/spec/acceptance/rplugin_command_spec.vim +2 -2
- data/spec/acceptance/runtime/rplugin/ruby/commands.rb +2 -2
- data/spec/helper.rb +6 -2
- metadata +27 -42
- data/.github/workflows/linter.yml +0 -32
- data/.rubocop.yml +0 -149
- /data/{VimFlavor → Flavorfile} +0 -0
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: neovim
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alex Genco
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-08-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: msgpack
|
@@ -42,30 +42,30 @@ dependencies:
|
|
42
42
|
name: bundler
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- - "
|
45
|
+
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '
|
47
|
+
version: '0'
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- - "
|
52
|
+
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '
|
54
|
+
version: '0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: pry
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- - "
|
59
|
+
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '0'
|
61
|
+
version: '0.14'
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- - "
|
66
|
+
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: '0'
|
68
|
+
version: '0.14'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: pry-byebug
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -98,45 +98,31 @@ dependencies:
|
|
98
98
|
name: rspec
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
|
-
- - "
|
102
|
-
- !ruby/object:Gem::Version
|
103
|
-
version: '3.0'
|
104
|
-
type: :development
|
105
|
-
prerelease: false
|
106
|
-
version_requirements: !ruby/object:Gem::Requirement
|
107
|
-
requirements:
|
108
|
-
- - "~>"
|
109
|
-
- !ruby/object:Gem::Version
|
110
|
-
version: '3.0'
|
111
|
-
- !ruby/object:Gem::Dependency
|
112
|
-
name: rubocop
|
113
|
-
requirement: !ruby/object:Gem::Requirement
|
114
|
-
requirements:
|
115
|
-
- - '='
|
101
|
+
- - ">="
|
116
102
|
- !ruby/object:Gem::Version
|
117
|
-
version: 0
|
103
|
+
version: '0'
|
118
104
|
type: :development
|
119
105
|
prerelease: false
|
120
106
|
version_requirements: !ruby/object:Gem::Requirement
|
121
107
|
requirements:
|
122
|
-
- -
|
108
|
+
- - ">="
|
123
109
|
- !ruby/object:Gem::Version
|
124
|
-
version: 0
|
110
|
+
version: '0'
|
125
111
|
- !ruby/object:Gem::Dependency
|
126
112
|
name: vim-flavor
|
127
113
|
requirement: !ruby/object:Gem::Requirement
|
128
114
|
requirements:
|
129
|
-
- -
|
115
|
+
- - ">="
|
130
116
|
- !ruby/object:Gem::Version
|
131
|
-
version:
|
117
|
+
version: '0'
|
132
118
|
type: :development
|
133
119
|
prerelease: false
|
134
120
|
version_requirements: !ruby/object:Gem::Requirement
|
135
121
|
requirements:
|
136
|
-
- -
|
122
|
+
- - ">="
|
137
123
|
- !ruby/object:Gem::Version
|
138
|
-
version:
|
139
|
-
description:
|
124
|
+
version: '0'
|
125
|
+
description:
|
140
126
|
email:
|
141
127
|
- alexgenco@gmail.com
|
142
128
|
executables:
|
@@ -145,17 +131,16 @@ extensions: []
|
|
145
131
|
extra_rdoc_files: []
|
146
132
|
files:
|
147
133
|
- ".github/workflows/docs.yml"
|
148
|
-
- ".github/workflows/linter.yml"
|
149
134
|
- ".github/workflows/tests.yml"
|
150
135
|
- ".gitignore"
|
151
|
-
- ".rubocop.yml"
|
152
136
|
- CHANGELOG.md
|
153
137
|
- CODE_OF_CONDUCT.md
|
138
|
+
- Flavorfile
|
139
|
+
- Flavorfile.lock
|
154
140
|
- Gemfile
|
155
141
|
- LICENSE.txt
|
156
142
|
- README.md
|
157
143
|
- Rakefile
|
158
|
-
- VimFlavor
|
159
144
|
- exe/neovim-ruby-host
|
160
145
|
- lib/neovim.rb
|
161
146
|
- lib/neovim/api.rb
|
@@ -244,7 +229,7 @@ homepage: https://github.com/neovim/neovim-ruby
|
|
244
229
|
licenses:
|
245
230
|
- MIT
|
246
231
|
metadata: {}
|
247
|
-
post_install_message:
|
232
|
+
post_install_message:
|
248
233
|
rdoc_options: []
|
249
234
|
require_paths:
|
250
235
|
- lib
|
@@ -255,12 +240,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
255
240
|
version: 2.2.0
|
256
241
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
257
242
|
requirements:
|
258
|
-
- - "
|
243
|
+
- - ">="
|
259
244
|
- !ruby/object:Gem::Version
|
260
|
-
version:
|
245
|
+
version: '0'
|
261
246
|
requirements: []
|
262
|
-
rubygems_version: 3.
|
263
|
-
signing_key:
|
247
|
+
rubygems_version: 3.3.7
|
248
|
+
signing_key:
|
264
249
|
specification_version: 4
|
265
250
|
summary: A Ruby client for Neovim
|
266
251
|
test_files:
|
@@ -1,32 +0,0 @@
|
|
1
|
-
name: Linter
|
2
|
-
on:
|
3
|
-
push:
|
4
|
-
branches: [master]
|
5
|
-
pull_request:
|
6
|
-
branches: [master]
|
7
|
-
jobs:
|
8
|
-
linter:
|
9
|
-
runs-on: ubuntu-latest
|
10
|
-
if: "!contains(github.event.head_commit.message, '[skip ci]')"
|
11
|
-
steps:
|
12
|
-
- uses: actions/checkout@v2
|
13
|
-
with:
|
14
|
-
repository: neovim/neovim-ruby
|
15
|
-
- uses: ruby/setup-ruby@v1
|
16
|
-
with:
|
17
|
-
ruby-version: head
|
18
|
-
- name: Cache checksum
|
19
|
-
run: |
|
20
|
-
openssl md5 Gemfile neovim.gemspec > /tmp/checksum.txt
|
21
|
-
- uses: actions/cache@v1
|
22
|
-
with:
|
23
|
-
path: vendor/bundle
|
24
|
-
key: ${{ runner.os }}-gems-${{ hashFiles('/tmp/checksum.txt') }}
|
25
|
-
restore-keys: |
|
26
|
-
${{ runner.os }}-gems-
|
27
|
-
- name: Bundle install
|
28
|
-
run: |
|
29
|
-
bundle config set path vendor/bundle
|
30
|
-
bundle install --jobs 3 --retry 3
|
31
|
-
- name: Run linter
|
32
|
-
run: bundle exec rake linter
|
data/.rubocop.yml
DELETED
@@ -1,149 +0,0 @@
|
|
1
|
-
AllCops:
|
2
|
-
Exclude:
|
3
|
-
- _neovim/**/*
|
4
|
-
- spec/acceptance/**/*
|
5
|
-
- spec/workspace/**/*
|
6
|
-
- vendor/**/*
|
7
|
-
- script/**/*
|
8
|
-
- bin/**/*
|
9
|
-
|
10
|
-
Layout/EndOfLine:
|
11
|
-
EnforcedStyle: lf
|
12
|
-
|
13
|
-
Layout/MultilineMethodCallIndentation:
|
14
|
-
EnforcedStyle: indented
|
15
|
-
|
16
|
-
Layout/SpaceAroundEqualsInParameterDefault:
|
17
|
-
EnforcedStyle: no_space
|
18
|
-
|
19
|
-
Layout/SpaceInsideHashLiteralBraces:
|
20
|
-
EnforcedStyle: no_space
|
21
|
-
|
22
|
-
Lint/AmbiguousBlockAssociation:
|
23
|
-
Exclude:
|
24
|
-
- spec/**/*
|
25
|
-
|
26
|
-
Lint/HandleExceptions:
|
27
|
-
Exclude:
|
28
|
-
- lib/neovim/ruby_provider.rb
|
29
|
-
- lib/neovim/logging.rb
|
30
|
-
- lib/neovim/connection.rb
|
31
|
-
- lib/neovim/line_range.rb
|
32
|
-
- spec/**/*
|
33
|
-
|
34
|
-
Lint/RescueException:
|
35
|
-
Exclude:
|
36
|
-
- lib/neovim/host.rb
|
37
|
-
|
38
|
-
Lint/UnderscorePrefixedVariableName:
|
39
|
-
Exclude:
|
40
|
-
- lib/neovim/ruby_provider.rb
|
41
|
-
|
42
|
-
Lint/UselessAccessModifier:
|
43
|
-
Exclude:
|
44
|
-
- lib/neovim/buffer.rb
|
45
|
-
- lib/neovim/client.rb
|
46
|
-
|
47
|
-
Lint/Void:
|
48
|
-
Exclude:
|
49
|
-
- lib/neovim/window.rb
|
50
|
-
|
51
|
-
Metrics/AbcSize:
|
52
|
-
Max: 20
|
53
|
-
|
54
|
-
Metrics/BlockLength:
|
55
|
-
Exclude:
|
56
|
-
- spec/**/*
|
57
|
-
|
58
|
-
Metrics/ClassLength:
|
59
|
-
Max: 500
|
60
|
-
|
61
|
-
Metrics/LineLength:
|
62
|
-
Max: 125
|
63
|
-
|
64
|
-
Metrics/MethodLength:
|
65
|
-
Max: 50
|
66
|
-
|
67
|
-
Metrics/ModuleLength:
|
68
|
-
Enabled: false
|
69
|
-
|
70
|
-
Metrics/ParameterLists:
|
71
|
-
Max: 6
|
72
|
-
|
73
|
-
Naming/AccessorMethodName:
|
74
|
-
Exclude:
|
75
|
-
- lib/neovim/client.rb
|
76
|
-
|
77
|
-
Naming/UncommunicativeMethodParamName:
|
78
|
-
Enabled: false
|
79
|
-
|
80
|
-
Security/Eval:
|
81
|
-
Exclude:
|
82
|
-
- lib/neovim/ruby_provider.rb
|
83
|
-
|
84
|
-
Style/BlockComments:
|
85
|
-
Exclude:
|
86
|
-
- lib/neovim/buffer.rb
|
87
|
-
- lib/neovim/client.rb
|
88
|
-
- lib/neovim/tabpage.rb
|
89
|
-
- lib/neovim/window.rb
|
90
|
-
|
91
|
-
Style/ConditionalAssignment:
|
92
|
-
EnforcedStyle: assign_inside_condition
|
93
|
-
IncludeTernaryExpressions: false
|
94
|
-
|
95
|
-
Style/Documentation:
|
96
|
-
Exclude:
|
97
|
-
- spec/**/*
|
98
|
-
- lib/neovim/ruby_provider/object_ext.rb
|
99
|
-
|
100
|
-
Style/DoubleNegation:
|
101
|
-
Enabled: false
|
102
|
-
|
103
|
-
Style/FormatStringToken:
|
104
|
-
EnforcedStyle: unannotated
|
105
|
-
|
106
|
-
Style/GlobalVars:
|
107
|
-
Exclude:
|
108
|
-
- lib/neovim/ruby_provider/vim.rb
|
109
|
-
- spec/neovim/ruby_provider/vim_spec.rb
|
110
|
-
|
111
|
-
Style/IfUnlessModifier:
|
112
|
-
Enabled: false
|
113
|
-
|
114
|
-
Style/MultilineTernaryOperator:
|
115
|
-
Enabled: false
|
116
|
-
|
117
|
-
Style/NegatedIf:
|
118
|
-
EnforcedStyle: postfix
|
119
|
-
|
120
|
-
Style/ParallelAssignment:
|
121
|
-
Enabled: false
|
122
|
-
|
123
|
-
Style/PerlBackrefs:
|
124
|
-
Enabled: false
|
125
|
-
|
126
|
-
Style/RescueStandardError:
|
127
|
-
EnforcedStyle: implicit
|
128
|
-
|
129
|
-
Style/Semicolon:
|
130
|
-
Enabled: false
|
131
|
-
|
132
|
-
Style/SpecialGlobalVars:
|
133
|
-
EnforcedStyle: use_perl_names
|
134
|
-
|
135
|
-
Style/StringLiterals:
|
136
|
-
EnforcedStyle: double_quotes
|
137
|
-
|
138
|
-
Style/StringLiteralsInInterpolation:
|
139
|
-
EnforcedStyle: double_quotes
|
140
|
-
|
141
|
-
Style/SymbolArray:
|
142
|
-
EnforcedStyle: brackets
|
143
|
-
|
144
|
-
Style/WordArray:
|
145
|
-
EnforcedStyle: brackets
|
146
|
-
|
147
|
-
Style/ZeroLengthPredicate:
|
148
|
-
Exclude:
|
149
|
-
- lib/neovim/ruby_provider.rb
|
/data/{VimFlavor → Flavorfile}
RENAMED
File without changes
|