irbcp 0.0.1 → 0.0.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.
- data/README +7 -6
- data/irbcp.gemspec +1 -1
- data/lib/irbcp.rb +7 -2
- metadata +4 -4
data/README
CHANGED
|
@@ -4,10 +4,9 @@ NAME
|
|
|
4
4
|
DESCRIPTION
|
|
5
5
|
irbcp gives access to your system's clipboard (copy and paste) from irb
|
|
6
6
|
|
|
7
|
-
it works on osx and
|
|
7
|
+
it works on osx, linux and windows.
|
|
8
8
|
|
|
9
9
|
SYNOPSIS
|
|
10
|
-
|
|
11
10
|
0) install the gem
|
|
12
11
|
|
|
13
12
|
gem install irbcp
|
|
@@ -28,8 +27,10 @@ SYNOPSIS
|
|
|
28
27
|
|
|
29
28
|
to paste it into irb
|
|
30
29
|
|
|
31
|
-
|
|
32
|
-
|
|
30
|
+
NOTES
|
|
31
|
+
- you can use the commands 'copy' and 'paste' if you love carpal tunnel
|
|
32
|
+
|
|
33
|
+
- windows past support is via
|
|
34
|
+
|
|
35
|
+
http://www.c3scripts.com/tutorials/msdos/paste.html#exe
|
|
33
36
|
|
|
34
|
-
WINDOWS
|
|
35
|
-
send a patch!
|
data/irbcp.gemspec
CHANGED
data/lib/irbcp.rb
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
require 'systemu'
|
|
2
2
|
|
|
3
3
|
module Irbcp
|
|
4
|
-
Version = '0.0.
|
|
4
|
+
Version = '0.0.2'
|
|
5
5
|
|
|
6
6
|
def Irbcp.version() Irbcp::Version end
|
|
7
7
|
|
|
@@ -16,7 +16,12 @@ module Irbcp
|
|
|
16
16
|
Paste = 'xsel –clipboard –output'
|
|
17
17
|
|
|
18
18
|
when /windoze/
|
|
19
|
-
|
|
19
|
+
## Windows Server 2003 , Windows Vista , Windows 7. Anything else don t have and don t matter anymore :)
|
|
20
|
+
#
|
|
21
|
+
Copy = 'clip.exe'
|
|
22
|
+
## download paste.exe from http://www.c3scripts.com/tutorials/msdos/paste.html#exe
|
|
23
|
+
#
|
|
24
|
+
Paste = 'paste.exe'
|
|
20
25
|
end
|
|
21
26
|
|
|
22
27
|
def copy(*args)
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: irbcp
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 27
|
|
5
5
|
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 0
|
|
9
|
-
-
|
|
10
|
-
version: 0.0.
|
|
9
|
+
- 2
|
|
10
|
+
version: 0.0.2
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Ara T. Howard
|
|
@@ -15,7 +15,7 @@ autorequire:
|
|
|
15
15
|
bindir: bin
|
|
16
16
|
cert_chain: []
|
|
17
17
|
|
|
18
|
-
date: 2011-05-
|
|
18
|
+
date: 2011-05-03 00:00:00 -06:00
|
|
19
19
|
default_executable:
|
|
20
20
|
dependencies: []
|
|
21
21
|
|