ripl-color_streams 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/.gemspec +1 -1
- data/deps.rip +1 -1
- data/lib/ripl/color_streams.rb +5 -5
- metadata +5 -5
data/.gemspec
CHANGED
@@ -11,7 +11,7 @@ Gem::Specification.new do |s|
|
|
11
11
|
s.summary = "A ripl plugin to colorize stdout and stderr."
|
12
12
|
s.description = "This ripl plugin colorizes your stdout and stderr streams."
|
13
13
|
s.required_rubygems_version = ">= 1.3.6"
|
14
|
-
s.add_dependency 'ripl', '>= 0.2.
|
14
|
+
s.add_dependency 'ripl', '>= 0.2.8'
|
15
15
|
s.files = Dir.glob(%w[{lib,test}/**/*.rb bin/* [A-Z]*.{txt,rdoc} ext/**/*.{rb,c} **/deps.rip]) + %w{Rakefile .gemspec}
|
16
16
|
s.extra_rdoc_files = ["README.rdoc", "LICENSE.txt"]
|
17
17
|
s.license = 'MIT'
|
data/deps.rip
CHANGED
@@ -1 +1 @@
|
|
1
|
-
ripl >=0.2.
|
1
|
+
ripl >=0.2.8
|
data/lib/ripl/color_streams.rb
CHANGED
@@ -2,7 +2,7 @@ require 'ripl'
|
|
2
2
|
|
3
3
|
module Ripl
|
4
4
|
module ColorStreams
|
5
|
-
VERSION = '0.1.
|
5
|
+
VERSION = '0.1.2'
|
6
6
|
COLORS = {
|
7
7
|
:nothing => '0;0',
|
8
8
|
:black => '0;30',
|
@@ -28,10 +28,6 @@ module Ripl
|
|
28
28
|
Ripl::ColorStreams.patch_stream :stdout
|
29
29
|
Ripl::ColorStreams.patch_stream :stderr
|
30
30
|
|
31
|
-
# default settings
|
32
|
-
Ripl.config[:color_streams_stdout] ||= :dark_gray
|
33
|
-
Ripl.config[:color_streams_stderr] ||= :light_red
|
34
|
-
|
35
31
|
# call ripl / next plugin
|
36
32
|
super
|
37
33
|
end
|
@@ -89,4 +85,8 @@ end
|
|
89
85
|
|
90
86
|
Ripl::Shell.send :include, Ripl::ColorStreams
|
91
87
|
|
88
|
+
# default settings
|
89
|
+
Ripl.config[:color_streams_stdout] ||= :dark_gray
|
90
|
+
Ripl.config[:color_streams_stderr] ||= :light_red
|
91
|
+
|
92
92
|
# J-_-L
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 1
|
8
|
-
-
|
9
|
-
version: 0.1.
|
8
|
+
- 2
|
9
|
+
version: 0.1.2
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Jan Lelis
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2010-12-
|
17
|
+
date: 2010-12-16 00:00:00 +01:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
@@ -28,8 +28,8 @@ dependencies:
|
|
28
28
|
segments:
|
29
29
|
- 0
|
30
30
|
- 2
|
31
|
-
-
|
32
|
-
version: 0.2.
|
31
|
+
- 8
|
32
|
+
version: 0.2.8
|
33
33
|
type: :runtime
|
34
34
|
version_requirements: *id001
|
35
35
|
description: This ripl plugin colorizes your stdout and stderr streams.
|