nvim 1.14 → 1.14.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: dedacdadce72f297ba984b9e6ad211d23e3a990a5b6a456a88ebda1c2c84e4fa
4
- data.tar.gz: 8b4608fb8ba6d587e69422d37f5b172179a901cb5015bfbd7320c21b1c9f2045
3
+ metadata.gz: 4df34be40dc780445a8534b01d98c59ad0bc0ab05da727e2f40d8a95c74f765c
4
+ data.tar.gz: 665cf4edbaee51945bf2940dcb2a1123bf79009bef29b8335d4e965206cb2c70
5
5
  SHA512:
6
- metadata.gz: 50d5f48e393e1465668efe51e21910841edcd91b94fa2c106f7ea6d665bd598ba85d4753eeb19a574ebda966e75004570f237f5f709f5f8aa3e9efc681a01c22
7
- data.tar.gz: a24faf04fd4a18ce729cf3fc6b397d729f3ea5022fafeff49169bc38105549fc149a84deb63683cb21e9ce6bfb90608a3ca288774f0a168f0d9326f81841e8c3
6
+ metadata.gz: 62589684b7ea686899543001bd5f9e27566c1464e7ffda212ac2d4ad1f383bf4386fecaa3e3626844c9cb025bdc9eab1ed3276cf889eb82bfab85c7d2efef8c3
7
+ data.tar.gz: 636cc302ddefadd6e9c4daa7b807da7b0254eec09804ca0b3efd9c5b32228db0901a10a7d25683c3b046f81408cf6685c2c3f4c00a78086756b3e04c7fc10272
data/INFO.yaml CHANGED
@@ -3,7 +3,7 @@
3
3
  #
4
4
 
5
5
  nvim:
6
- version: "1.14"
6
+ version: "1.14.1"
7
7
  license: LicenseRef-BSD-2-Clause-and-DECENT_LANGUAGE
8
8
  authors:
9
9
  - Bertram Scharpf
data/README.md CHANGED
@@ -310,7 +310,7 @@ values will be converted by `#to_s`.
310
310
  ### Requiring Ruby files
311
311
 
312
312
  In addition to the `:rubyfile` command as documented, that command can also be
313
- used to just require a Ruby file. Set the name into angle brackets, and the
313
+ used to just require a Ruby file. Put the name into angle brackets, and the
314
314
  file will be searched in `$:`. Sorry, file name completion will not work.
315
315
 
316
316
  ```
data/lib/neovim/client.rb CHANGED
@@ -161,8 +161,9 @@ module Neovim
161
161
  def map!
162
162
  if block_given? then
163
163
  each do |l|
164
+ h = l.hash
164
165
  m = yield l, @i
165
- if m != l then
166
+ if m.hash != h or m != l then
166
167
  r = Neovim.result_lines m
167
168
  @client.buf_set_lines @buffer, @i-1, @i, true, r
168
169
  inc = r.length - 1
data/lib/neovim/info.rb CHANGED
@@ -1,10 +1,10 @@
1
1
  require "neovim/meta.rb"
2
2
  Neovim::INFO = Neovim::Meta.new "nvim",
3
- version: "1.14",
3
+ version: "1.14.1",
4
4
  license: "LicenseRef-BSD-2-Clause-and-DECENT_LANGUAGE",
5
5
  authors: ["Bertram Scharpf"],
6
6
  email: "software@bertram-scharpf.de",
7
7
  summary: "Yet another Ruby client for Neovim",
8
8
  description: "A simple Ruby client for Neovim.\nClean code, minimal dependecies, no frills, no wokeness.",
9
9
  homepage: "https://github.com/BertramScharpf/ruby-nvim",
10
- commit: "d1a9799"
10
+ commit: "5b9a1c2"
@@ -206,8 +206,9 @@ module Neovim
206
206
  if block_given? then
207
207
  iter_chunks pos, len do |l|
208
208
  n = l.length
209
+ h = l.hash
209
210
  m = l.map &block
210
- if m != l then
211
+ if m.hash != h or m != l then
211
212
  r = Neovim.result_lines m
212
213
  set_lines @fst, @fst+n, true, r
213
214
  inc = r.length - n
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nvim
3
3
  version: !ruby/object:Gem::Version
4
- version: '1.14'
4
+ version: 1.14.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bertram Scharpf