ruco 0.2.0.beta4 → 0.2.0.beta5
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/bin/ruco +4 -4
- data/ruco.gemspec +2 -2
- metadata +4 -4
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.0.
|
1
|
+
0.2.0.beta5
|
data/bin/ruco
CHANGED
@@ -50,10 +50,10 @@ options = parse_options
|
|
50
50
|
# do not use colors if told so or the terminal does not support colors
|
51
51
|
$ruco_colors = (
|
52
52
|
not options[:no_colors] and
|
53
|
-
RbConfig::CONFIG['host_os'] !~ /mswin|mingw/ and # windows
|
53
|
+
RbConfig::CONFIG['host_os'] !~ /mswin|mingw/ and # no windows
|
54
54
|
ENV['TERM'] != 'rxvt' and
|
55
|
-
(ENV['TERM'] != 'xterm' or ENV['COLORTERM']) #
|
56
|
-
|
55
|
+
(ENV['TERM'] != 'xterm' or ENV['COLORTERM']) and # xterm can be converted into xterm-256colors if COLORTERM is given
|
56
|
+
ENV['TERM'] !~ /-color$/ # would only support 16 colors
|
57
57
|
)
|
58
58
|
|
59
59
|
require 'ruco'
|
@@ -81,7 +81,7 @@ Ruco::Screen.open(options) do |screen|
|
|
81
81
|
result = app.key key
|
82
82
|
break if result == :quit
|
83
83
|
end
|
84
|
-
|
84
|
+
|
85
85
|
screen.draw *app.display_info
|
86
86
|
end
|
87
87
|
end
|
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.2.0.
|
8
|
+
s.version = "0.2.0.beta5"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new("> 1.3.1") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Michael Grosser"]
|
12
|
-
s.date = %q{2011-09-
|
12
|
+
s.date = %q{2011-09-27}
|
13
13
|
s.default_executable = %q{ruco}
|
14
14
|
s.email = %q{michael@grosser.it}
|
15
15
|
s.executables = ["ruco"]
|
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruco
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 62196361
|
5
5
|
prerelease: 6
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 2
|
9
9
|
- 0
|
10
10
|
- beta
|
11
|
-
-
|
12
|
-
version: 0.2.0.
|
11
|
+
- 5
|
12
|
+
version: 0.2.0.beta5
|
13
13
|
platform: ruby
|
14
14
|
authors:
|
15
15
|
- Michael Grosser
|
@@ -17,7 +17,7 @@ autorequire:
|
|
17
17
|
bindir: bin
|
18
18
|
cert_chain: []
|
19
19
|
|
20
|
-
date: 2011-09-
|
20
|
+
date: 2011-09-27 00:00:00 +02:00
|
21
21
|
default_executable: ruco
|
22
22
|
dependencies:
|
23
23
|
- !ruby/object:Gem::Dependency
|