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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 64b7a76449a2e228636c060f77d6fb55a1ffd1cb60df07d375310aa8eddeaefc
4
- data.tar.gz: 601d8358b1927078ab00e5b20b879623ed9ffa50d9307876ad16b07a4fcdcfce
3
+ metadata.gz: 4273ba8f7f61ccc3657f0f2aab86f5a3081a13168162fa981680637b1131d418
4
+ data.tar.gz: b96fedec56a94fd7438f590a2aa8131ceff76d57cf379160206b22dcf7484cb2
5
5
  SHA512:
6
- metadata.gz: 7c4c2033047d53911a639b2122f66574bf1723ddcf7e2896f96de3b407a4464373f916d65ac414025c3929e5ea6d8d8026f027625c6aa1bb4ad555471cc1f853
7
- data.tar.gz: d69a8d8fdcbfc9bd807d04269d0b92207b3e4dbfba3c708cb15be87f6d058b085087ac5cf8f04231de4a93b3a701172183e00f2daf76c9e2c2dc9a99eee4ab62
6
+ metadata.gz: d158273b330e700c6196931dd159ab7cd2f6ebf7aa37631263f6dcde31c4689971c4127331923769aa187792827fe5737b6a00cf19c89e62fbe895ec6cf2a226
7
+ data.tar.gz: aa588c6748c02b6ca17ff7b94197df14267e3d2b1355afcf0995926170b9d933710b4068664abc0fbe487b72af0fc3bc1146b3ef117ad807e68d24ab3b6ba143
@@ -1,5 +1,8 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 1.3.4
4
+ * Don't break on Ruby 2.1, patch by @grosser
5
+
3
6
  ## 1.3.3
4
7
 
5
8
  * Fix Cygwin implementation to work when File constant is loaded, fix by @ntachino
@@ -1,4 +1,4 @@
1
- Copyright (c) 2010-2019 Jan Lelis
1
+ Copyright (c) 2010-2020 Jan Lelis
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the
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.6**, **2.5**, **2.4**, **2.3**
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-2019 Jan Lelis <http://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)
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)
@@ -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 = 'clipboard'
6
- s.version = Clipboard::VERSION
7
-
8
- s.authors = ["Jan Lelis"]
9
- s.summary = "Access to the clipboard on Linux, MacOS, Windows, and Cygwin."
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 = "MIT"
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",
@@ -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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Clipboard
4
- VERSION = "1.3.3"
4
+ VERSION = "1.3.4"
5
5
  end
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require_relative "spec_helper"
2
4
 
3
5
  describe 'Clipboard::File' do
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # Please note: cannot test, if it really accesses your platform clipboard.
2
4
 
3
5
  require_relative "spec_helper"
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  $LOAD_PATH.unshift 'lib'
2
4
  require 'clipboard'
3
5
  require 'clipboard/file'
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.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: 2019-01-10 00:00:00.000000000 Z
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: mail@janlelis.de
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
- rubyforge_project:
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.