ripl-color_result 0.1.2 → 0.1.3
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_result.rb +3 -2
- metadata +4 -8
data/.gemspec
CHANGED
@@ -11,7 +11,7 @@ Gem::Specification.new do |s|
|
|
11
11
|
s.summary = "A ripl plugin to colorize result."
|
12
12
|
s.description = "This ripl plugin colorizes your result."
|
13
13
|
s.required_rubygems_version = ">= 1.3.6"
|
14
|
-
s.add_dependency 'ripl', '>= 0.2.
|
14
|
+
s.add_dependency 'ripl', '>= 0.2.4'
|
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", "COPYING"]
|
17
17
|
s.license = 'MIT'
|
data/deps.rip
CHANGED
@@ -1 +1 @@
|
|
1
|
-
ripl >=0.2.
|
1
|
+
ripl >=0.2.4
|
data/lib/ripl/color_result.rb
CHANGED
@@ -2,7 +2,7 @@ require 'ripl'
|
|
2
2
|
|
3
3
|
module Ripl
|
4
4
|
module ColorResult
|
5
|
-
VERSION = '0.1.
|
5
|
+
VERSION = '0.1.3'
|
6
6
|
COLORS = {
|
7
7
|
:nothing => '0;0',
|
8
8
|
:black => '0;30',
|
@@ -47,7 +47,8 @@ module Ripl
|
|
47
47
|
require 'ap'
|
48
48
|
result.awesome_inspect
|
49
49
|
else # :default
|
50
|
-
require '
|
50
|
+
#require File.expand_path('default_colorizer', dirname(__FILE__))
|
51
|
+
require File.dirname(__FILE__) + "/color_result/default_colorizer"
|
51
52
|
DefaultColorizer.colorize_code( result.inspect )
|
52
53
|
end
|
53
54
|
|
metadata
CHANGED
@@ -1,13 +1,12 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ripl-color_result
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash: 31
|
5
4
|
prerelease: false
|
6
5
|
segments:
|
7
6
|
- 0
|
8
7
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
8
|
+
- 3
|
9
|
+
version: 0.1.3
|
11
10
|
platform: ruby
|
12
11
|
authors:
|
13
12
|
- Jan Lelis
|
@@ -26,12 +25,11 @@ dependencies:
|
|
26
25
|
requirements:
|
27
26
|
- - ">="
|
28
27
|
- !ruby/object:Gem::Version
|
29
|
-
hash: 17
|
30
28
|
segments:
|
31
29
|
- 0
|
32
30
|
- 2
|
33
|
-
-
|
34
|
-
version: 0.2.
|
31
|
+
- 4
|
32
|
+
version: 0.2.4
|
35
33
|
type: :runtime
|
36
34
|
version_requirements: *id001
|
37
35
|
description: This ripl plugin colorizes your result.
|
@@ -66,7 +64,6 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
66
64
|
requirements:
|
67
65
|
- - ">="
|
68
66
|
- !ruby/object:Gem::Version
|
69
|
-
hash: 3
|
70
67
|
segments:
|
71
68
|
- 0
|
72
69
|
version: "0"
|
@@ -75,7 +72,6 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
72
|
requirements:
|
76
73
|
- - ">="
|
77
74
|
- !ruby/object:Gem::Version
|
78
|
-
hash: 23
|
79
75
|
segments:
|
80
76
|
- 1
|
81
77
|
- 3
|