depryve 0.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 +7 -0
- data/LICENSE.md +21 -0
- data/README.md +23 -0
- data/VERSION +1 -0
- data/bin/depryve +9 -0
- data/depryve.gemspec +22 -0
- metadata +62 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 20cf73cc7a27c615cd9f10141604de9e66c79e1b583d7e1e6fde78096e7d9f9f
|
4
|
+
data.tar.gz: 3bc530649e4de846c792951504c94c910014a17a11dda8a4192bea557f1d57f9
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: e23fd2d1ea6f7316d8b0350a83dcfb2f80b9ba33756742bc6b675b648fe0e8cccb0de26d715f116abd88aa222f87bccfafbd94f635de5005c0ef3f71ec73cc00
|
7
|
+
data.tar.gz: dad9bf126cfe3284708e729f18b1d70feb1a50b063d5bf9a23a6a06ba5f5935180a4f2fb4933129a1d01d15c088981c7bfc61360945bf7019e89d474610552e0
|
data/LICENSE.md
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
# MIT License
|
2
|
+
|
3
|
+
Copyright © 2023 Vinny Diehl
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
6
|
+
this software and associated documentation files (the "Software"), to deal in
|
7
|
+
the Software without restriction, including without limitation the rights to
|
8
|
+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
|
9
|
+
of the Software, and to permit persons to whom the Software is furnished to do
|
10
|
+
so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
13
|
+
copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
+
SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,23 @@
|
|
1
|
+
# depryve
|
2
|
+
|
3
|
+
Ever end up writing half of your program in the console, and need to either
|
4
|
+
copy and paste line-by-line, or do some text editor wizardry to get rid of the
|
5
|
+
prompts and output? No more. Just run `depryve` and it modifies your clipboard
|
6
|
+
in-place, getting rid of the extraneous info.
|
7
|
+
|
8
|
+
Install with RubyGems:
|
9
|
+
|
10
|
+
gem install depryve
|
11
|
+
|
12
|
+
## Linux Support
|
13
|
+
|
14
|
+
That is to say, right now this only works well with Linux. It uses the X11
|
15
|
+
primary clipboard (the one that text is copied to when you select it, and
|
16
|
+
pasted with the middle mouse button). The output is sent to all clipboards.
|
17
|
+
Support for other clipboards coming if there is demand.
|
18
|
+
|
19
|
+
## Contributing
|
20
|
+
|
21
|
+
If anyone wants to modify this to make it work better/with more setups, great.
|
22
|
+
There's only 5 lines of code in here right now. It's MIT licensed, feel free to
|
23
|
+
fork it. Maybe send a pull request.
|
data/VERSION
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
0.1
|
data/bin/depryve
ADDED
data/depryve.gemspec
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
Gem::Specification.new do |gem|
|
2
|
+
gem.name = "depryve"
|
3
|
+
gem.version = File.read(File.expand_path("../VERSION", __FILE__)).strip
|
4
|
+
|
5
|
+
gem.author = "Vinny Diehl"
|
6
|
+
gem.email = "vinny.diehl@gmail.com"
|
7
|
+
gem.homepage = "https://github.com/vinnydiehl/depryve"
|
8
|
+
|
9
|
+
gem.license = "MIT"
|
10
|
+
|
11
|
+
gem.summary = "Remove the IRB/Pry prompt and output when copying code"
|
12
|
+
gem.description = "Hassle-free copy/pasting of Ruby console output."
|
13
|
+
|
14
|
+
gem.bindir = "bin"
|
15
|
+
gem.executables = %w[depryve]
|
16
|
+
|
17
|
+
gem.files = `git ls-files -z`.split "\x0"
|
18
|
+
|
19
|
+
gem.required_ruby_version = ">= 2.7"
|
20
|
+
|
21
|
+
gem.add_dependency "clipboard", "~> 1.3"
|
22
|
+
end
|
metadata
ADDED
@@ -0,0 +1,62 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: depryve
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: '0.1'
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Vinny Diehl
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2023-03-15 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: clipboard
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.3'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.3'
|
27
|
+
description: Hassle-free copy/pasting of Ruby console output.
|
28
|
+
email: vinny.diehl@gmail.com
|
29
|
+
executables:
|
30
|
+
- depryve
|
31
|
+
extensions: []
|
32
|
+
extra_rdoc_files: []
|
33
|
+
files:
|
34
|
+
- LICENSE.md
|
35
|
+
- README.md
|
36
|
+
- VERSION
|
37
|
+
- bin/depryve
|
38
|
+
- depryve.gemspec
|
39
|
+
homepage: https://github.com/vinnydiehl/depryve
|
40
|
+
licenses:
|
41
|
+
- MIT
|
42
|
+
metadata: {}
|
43
|
+
post_install_message:
|
44
|
+
rdoc_options: []
|
45
|
+
require_paths:
|
46
|
+
- lib
|
47
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
48
|
+
requirements:
|
49
|
+
- - ">="
|
50
|
+
- !ruby/object:Gem::Version
|
51
|
+
version: '2.7'
|
52
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
53
|
+
requirements:
|
54
|
+
- - ">="
|
55
|
+
- !ruby/object:Gem::Version
|
56
|
+
version: '0'
|
57
|
+
requirements: []
|
58
|
+
rubygems_version: 3.4.8
|
59
|
+
signing_key:
|
60
|
+
specification_version: 4
|
61
|
+
summary: Remove the IRB/Pry prompt and output when copying code
|
62
|
+
test_files: []
|