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.
Files changed (4) hide show
  1. data/README +7 -6
  2. data/irbcp.gemspec +1 -1
  3. data/lib/irbcp.rb +7 -2
  4. 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 linux
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
- NOTE:
32
- you can use the commands 'copy' and 'paste' if you love carpal tunnel
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
@@ -3,7 +3,7 @@
3
3
 
4
4
  Gem::Specification::new do |spec|
5
5
  spec.name = "irbcp"
6
- spec.version = "0.0.1"
6
+ spec.version = "0.0.2"
7
7
  spec.platform = Gem::Platform::RUBY
8
8
  spec.summary = "irbcp"
9
9
  spec.description = "description: irbcp kicks the ass"
data/lib/irbcp.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  require 'systemu'
2
2
 
3
3
  module Irbcp
4
- Version = '0.0.1'
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
- raise 'fail!' # TODO !
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: 29
4
+ hash: 27
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 1
10
- version: 0.0.1
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-02 00:00:00 -06:00
18
+ date: 2011-05-03 00:00:00 -06:00
19
19
  default_executable:
20
20
  dependencies: []
21
21