ruco 0.1.6 → 0.1.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/VERSION +1 -1
  2. data/lib/ruco/keyboard.rb +2 -3
  3. data/ruco.gemspec +2 -2
  4. metadata +23 -6
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.6
1
+ 0.1.7
data/lib/ruco/keyboard.rb CHANGED
@@ -1,7 +1,6 @@
1
1
  require 'curses'
2
2
 
3
3
  class Keyboard
4
- SWAP_DELETE = (ENV['TERM'] == 'xterm-color')
5
4
  MAX_CHAR = 255
6
5
  ENTER = 13
7
6
  ESCAPE = 27
@@ -81,8 +80,8 @@ class Keyboard
81
80
  when 9 then :tab
82
81
  when 353 then :"Shift+tab"
83
82
  when ENTER then :enter # shadows Ctrl+m
84
- when 263, (SWAP_DELETE ? Curses::KEY_DC : 127) then :backspace
85
- when '^[3~', (SWAP_DELETE ? 127 : Curses::KEY_DC) then :delete
83
+ when 263, 127 then :backspace
84
+ when '^[3~', Curses::KEY_DC then :delete
86
85
 
87
86
  # misc
88
87
  when 0 then :"Ctrl+space"
data/ruco.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{ruco}
8
- s.version = "0.1.6"
8
+ s.version = "0.1.7"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Michael Grosser"]
12
- s.date = %q{2011-07-05}
12
+ s.date = %q{2011-08-04}
13
13
  s.default_executable = %q{ruco}
14
14
  s.email = %q{michael@grosser.it}
15
15
  s.executables = ["ruco"]
metadata CHANGED
@@ -1,8 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruco
3
3
  version: !ruby/object:Gem::Version
4
+ hash: 21
4
5
  prerelease:
5
- version: 0.1.6
6
+ segments:
7
+ - 0
8
+ - 1
9
+ - 7
10
+ version: 0.1.7
6
11
  platform: ruby
7
12
  authors:
8
13
  - Michael Grosser
@@ -10,20 +15,25 @@ autorequire:
10
15
  bindir: bin
11
16
  cert_chain: []
12
17
 
13
- date: 2011-07-05 00:00:00 +02:00
18
+ date: 2011-08-04 00:00:00 +02:00
14
19
  default_executable: ruco
15
20
  dependencies:
16
21
  - !ruby/object:Gem::Dependency
17
- name: clipboard
18
22
  requirement: &id001 !ruby/object:Gem::Requirement
19
23
  none: false
20
24
  requirements:
21
25
  - - ">="
22
26
  - !ruby/object:Gem::Version
27
+ hash: 43
28
+ segments:
29
+ - 0
30
+ - 9
31
+ - 8
23
32
  version: 0.9.8
24
33
  type: :runtime
25
- prerelease: false
34
+ name: clipboard
26
35
  version_requirements: *id001
36
+ prerelease: false
27
37
  description:
28
38
  email: michael@grosser.it
29
39
  executables:
@@ -85,7 +95,11 @@ has_rdoc: true
85
95
  homepage: http://github.com/grosser/ruco
86
96
  licenses: []
87
97
 
88
- post_install_message: "\n Mac: shift/ctrl + arrow-keys only work in iterm (not Terminal.app)\n Ubuntu: sudo apt-get install xclip # to use the clipboard\n\n"
98
+ post_install_message: |+
99
+
100
+ Mac: shift/ctrl + arrow-keys only work in iterm (not Terminal.app)
101
+ Ubuntu: sudo apt-get install xclip # to use the clipboard
102
+
89
103
  rdoc_options: []
90
104
 
91
105
  require_paths:
@@ -95,7 +109,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
95
109
  requirements:
96
110
  - - ">="
97
111
  - !ruby/object:Gem::Version
98
- hash: 361299251
112
+ hash: 3
99
113
  segments:
100
114
  - 0
101
115
  version: "0"
@@ -104,6 +118,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
104
118
  requirements:
105
119
  - - ">="
106
120
  - !ruby/object:Gem::Version
121
+ hash: 3
122
+ segments:
123
+ - 0
107
124
  version: "0"
108
125
  requirements: []
109
126