nvim 1.13.1 → 1.13.2

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: 6e10763edb636c850c176e60d8d63d5d90e8a16dcf7eed0fc3a0831b095d4f71
4
- data.tar.gz: beaf13099284542eb9ad80af988f046ef9bf21b2153efc253fd674cdd274c268
3
+ metadata.gz: f2e7832d3930f2339b0f9d4debeefe1b52cf6cfe3116367a3f133ebab5096cf4
4
+ data.tar.gz: 95f19c08645a171f9884eaeeaf2d39210b7b6e15bc5e8e70f645452723aa7248
5
5
  SHA512:
6
- metadata.gz: f6493af152fffef06a515df8f66c2131bf27b91208bf6836ad8f980f1c4d42186a48f45241a52a4aabb84ea9190fbf7fc21b58a2c97af480b90a431a4355f314
7
- data.tar.gz: 827a1cb5920edd901ff52a027916e602d0d0ba9d9abf2ca90768047fa34e5ac3b2a3fa9b6449ef4be8d27afdf60773397f9cfa1a00866a2282ddb82d5325f3d9
6
+ metadata.gz: 0217df866526ee92d6e33e848280457fdca21a11abd74b89da72a3dc001549d2fa57d6ff6fd6b4c0c6f89190922b363a095f7e862b801320efe9dd3ea569f8b4
7
+ data.tar.gz: 71ff8bc3e7a3e35f2957a686d60c6ad5a334d4cbed9a95ae7a593d90069822e4ac43e6aa3865cf05548fb3611d0f32c3bbfbf382341f0d841481a50281f7c445
data/INFO.yaml CHANGED
@@ -3,7 +3,7 @@
3
3
  #
4
4
 
5
5
  nvim:
6
- version: "1.13.1"
6
+ version: "1.13.2"
7
7
  license: BSD-2-Clause+
8
8
  authors:
9
9
  - Bertram Scharpf
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.13.1",
3
+ version: "1.13.2",
4
4
  license: "BSD-2-Clause+",
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: "b9f2c3f"
10
+ commit: "382d565"
@@ -86,7 +86,12 @@ module Neovim
86
86
  if msg =~ /\A.*?:(\d+):\s*/ then
87
87
  line, msg = $1, $'
88
88
  else
89
- line = $@.first[ /:(\d+):in\b/, 1]
89
+ $@.each { |b|
90
+ if b =~ /:(\d+):in\b/ then
91
+ line = $1.to_i
92
+ break
93
+ end
94
+ }
90
95
  end
91
96
  client.message_err "Ruby #{$!.class}:#{line}: #{msg}"
92
97
  end
@@ -154,7 +159,7 @@ module Neovim
154
159
  r = begin
155
160
  script_binding.eval lines.to_s, "ruby_run"
156
161
  rescue Exception
157
- $@.pop until $@.empty? or $@.last.ends_with? ":in `empty_binding'"
162
+ $@.pop until $@.empty? or $@.last =~ /:\d+:in .*\bempty_binding\W*$/
158
163
  raise unless $rescue and $result != false
159
164
  $!
160
165
  end
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.13.1
4
+ version: 1.13.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bertram Scharpf