clipboard 1.3.3 → 1.3.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/MIT-LICENSE.txt +1 -1
- data/README.md +3 -3
- data/clipboard.gemspec +8 -7
- data/lib/clipboard.rb +1 -1
- data/lib/clipboard/version.rb +1 -1
- data/spec/clipboard_file_spec.rb +2 -0
- data/spec/clipboard_spec.rb +2 -0
- data/spec/spec_helper.rb +2 -0
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4273ba8f7f61ccc3657f0f2aab86f5a3081a13168162fa981680637b1131d418
|
4
|
+
data.tar.gz: b96fedec56a94fd7438f590a2aa8131ceff76d57cf379160206b22dcf7484cb2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d158273b330e700c6196931dd159ab7cd2f6ebf7aa37631263f6dcde31c4689971c4127331923769aa187792827fe5737b6a00cf19c89e62fbe895ec6cf2a226
|
7
|
+
data.tar.gz: aa588c6748c02b6ca17ff7b94197df14267e3d2b1355afcf0995926170b9d933710b4068664abc0fbe487b72af0fc3bc1146b3ef117ad807e68d24ab3b6ba143
|
data/CHANGELOG.md
CHANGED
data/MIT-LICENSE.txt
CHANGED
data/README.md
CHANGED
@@ -18,11 +18,11 @@ Lets you access the clipboard from everywhere. Currently supported platforms:
|
|
18
18
|
|
19
19
|
## Supported Rubies
|
20
20
|
|
21
|
-
* **2.
|
21
|
+
* **2.7**, **2.6**, **2.5**, **2.4**
|
22
22
|
|
23
23
|
Unsupported, but might still work:
|
24
24
|
|
25
|
-
* **2.2**, **2.1**, **2.0**, **1.9**
|
25
|
+
* **2.3**, **2.2**, **2.1**, **2.0**, **1.9**
|
26
26
|
|
27
27
|
## Setup
|
28
28
|
|
@@ -92,4 +92,4 @@ Without any arguments, it will just paste the contents of the clipboard.
|
|
92
92
|
|
93
93
|
### MIT
|
94
94
|
|
95
|
-
Copyright (c) 2010-
|
95
|
+
Copyright (c) 2010-2020 Jan Lelis <https://janlelis.com> released under the MIT license. Contributions by and thanks to Michael Grosser and [all the other contributors!](https://github.com/janlelis/clipboard/graphs/contributors)
|
data/clipboard.gemspec
CHANGED
@@ -1,16 +1,17 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
$:.unshift File.expand_path("../lib", __FILE__)
|
2
4
|
require 'clipboard/version'
|
3
5
|
|
4
6
|
Gem::Specification.new do |s|
|
5
|
-
s.name
|
6
|
-
s.version
|
7
|
-
|
8
|
-
s.
|
9
|
-
s.summary
|
7
|
+
s.name = 'clipboard'
|
8
|
+
s.version = Clipboard::VERSION
|
9
|
+
s.authors = ["Jan Lelis"]
|
10
|
+
s.email = ["hi@ruby.consulting"]
|
11
|
+
s.summary = "Access to the clipboard on Linux, MacOS, Windows, and Cygwin."
|
10
12
|
s.description = "Access to the clipboard on Linux, MacOS, Windows, and Cygwin: Clipboard.copy, Clipboard.paste, Clipboard.clear"
|
11
|
-
s.email = "mail@janlelis.de"
|
12
13
|
s.homepage = "https://github.com/janlelis/clipboard"
|
13
|
-
s.license
|
14
|
+
s.license = "MIT"
|
14
15
|
s.requirements = [
|
15
16
|
"Linux: You need xclip or xsel. On debian/ubuntu run: sudo apt-get install xsel",
|
16
17
|
"Windows: You need the ffi gem",
|
data/lib/clipboard.rb
CHANGED
@@ -35,7 +35,7 @@ module Clipboard
|
|
35
35
|
# Running additional check to detect if running in Microsoft WSL
|
36
36
|
if os == :Linux
|
37
37
|
require "etc"
|
38
|
-
if Etc.uname[:release] =~ /Microsoft/
|
38
|
+
if Etc.respond_to?(:uname) && Etc.uname[:release] =~ /Microsoft/ # uname was added in ruby 2.2
|
39
39
|
os = :Wsl
|
40
40
|
end
|
41
41
|
end
|
data/lib/clipboard/version.rb
CHANGED
data/spec/clipboard_file_spec.rb
CHANGED
data/spec/clipboard_spec.rb
CHANGED
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: clipboard
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jan Lelis
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-02-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -40,7 +40,8 @@ dependencies:
|
|
40
40
|
version: '3'
|
41
41
|
description: 'Access to the clipboard on Linux, MacOS, Windows, and Cygwin: Clipboard.copy,
|
42
42
|
Clipboard.paste, Clipboard.clear'
|
43
|
-
email:
|
43
|
+
email:
|
44
|
+
- hi@ruby.consulting
|
44
45
|
executables: []
|
45
46
|
extensions: []
|
46
47
|
extra_rdoc_files: []
|
@@ -85,8 +86,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
85
86
|
requirements:
|
86
87
|
- 'Linux: You need xclip or xsel. On debian/ubuntu run: sudo apt-get install xsel'
|
87
88
|
- 'Windows: You need the ffi gem'
|
88
|
-
|
89
|
-
rubygems_version: 2.7.7
|
89
|
+
rubygems_version: 3.1.2
|
90
90
|
signing_key:
|
91
91
|
specification_version: 4
|
92
92
|
summary: Access to the clipboard on Linux, MacOS, Windows, and Cygwin.
|