nvim 1.13.3 → 1.13.4

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: 2d1d244349388420fb4dab2da25a9aa801a9af8de8110754c6dd250321e5ef45
4
- data.tar.gz: 786a2add94ef5b57069939e906be3a98b5643cb33c0000fa450ef485bf38cdfb
3
+ metadata.gz: 86b2b03d1aaf9ccb0a8f8c9cfcc356da5c0166bffc973ac2aaea7faf7a360b83
4
+ data.tar.gz: 4af7414f996231c2070b00b157eeb3e097aa852da302f9bb512412d394919975
5
5
  SHA512:
6
- metadata.gz: 55c822129d9b098431c940202014031c75f1fecad4b25b5e224c4b28b8a3e6be093a7d61c896dcdb8bbf702084e9cdf9211081dd1de52b5aa021ca7cf6d0d768
7
- data.tar.gz: 9aa7c2b26696102dcb0689b050a327c83dcc52f0e7b0e5cf4d4261f01426d4eb80aab2876526491d2fee698ef415e80db00bd57d77d443e44466c3201dad0f9c
6
+ metadata.gz: ee684cf65ee6c9e80b38e9a58023c3832fdd1824fe29d919da54c63e723527aae2a234e3204452fb8ee3fa883db6a1a3cf577e88f7d51ffc9acdc894f184d841
7
+ data.tar.gz: 261486d13c57469eae397f4af2cce20e680356e03511257f8ab7cc95e3d914b7cdb3a46084ce0aabe80abe4d6e6e86557901ec18c8ca18d172d75a3b0c62b904
data/INFO.yaml CHANGED
@@ -3,8 +3,8 @@
3
3
  #
4
4
 
5
5
  nvim:
6
- version: "1.13.3"
7
- license: BSD-2-Clause+
6
+ version: "1.13.4"
7
+ license: LicenseRef-BSD-2-Clause-and-DECENT_LANGUAGE
8
8
  authors:
9
9
  - Bertram Scharpf
10
10
  email: software@bertram-scharpf.de
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.3",
4
- license: "BSD-2-Clause+",
3
+ version: "1.13.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: "81a5b7a"
10
+ commit: "d1a9799"
@@ -7,14 +7,14 @@ module Kernel
7
7
 
8
8
  private
9
9
 
10
+ XSEL_OPTS = { primary: "-p", secondary: "-s", clipboard: "-b", }
11
+
10
12
  def xsel data = nil, sel: :primary
13
+ XSEL_OPTS.has_key? sel or
14
+ raise ScriptError, "Sorry, selection must be one of #{XSEL_OPTS.keys.join '/'}."
11
15
  if ($xsel ||= command? "xsel" ) then
12
16
  cmd = [ $xsel]
13
- case sel
14
- when :primary then cmd.push "-p"
15
- when :secondary then cmd.push "-s"
16
- when :clipboard then cmd.push "-b"
17
- end
17
+ cmd.push XSEL_OPTS[ sel]
18
18
  ci, co = "-i", "-o"
19
19
  elsif ($xclip ||= command? "xclip") then
20
20
  cmd = [ $xclip, "-selection", sel.to_s]
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.3
4
+ version: 1.13.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bertram Scharpf
@@ -63,7 +63,7 @@ files:
63
63
  - nvim.gemspec
64
64
  homepage: https://github.com/BertramScharpf/ruby-nvim
65
65
  licenses:
66
- - BSD-2-Clause+
66
+ - LicenseRef-BSD-2-Clause-and-DECENT_LANGUAGE
67
67
  metadata: {}
68
68
  rdoc_options: []
69
69
  require_paths: