ripl-color_result 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
data/.gemspec CHANGED
@@ -8,11 +8,11 @@ Gem::Specification.new do |s|
8
8
  s.authors = ["Jan Lelis"]
9
9
  s.email = "mail@janlelis.de"
10
10
  s.homepage = "http://github.com/janlelis/ripl-color_result"
11
- s.summary = "A ripl plugin to colorize result."
12
- s.description = "This ripl plugin colorizes your result."
11
+ s.summary = "A ripl plugin to colorize ripl results."
12
+ s.description = "This ripl plugin colorizes ripl results."
13
13
  s.required_rubygems_version = ">= 1.3.6"
14
- s.add_dependency 'ripl', '>= 0.3.1'
15
- s.add_dependency 'wirb', '>= 0.2.0'
14
+ s.add_dependency 'ripl', '>= 0.4.1'
15
+ s.add_dependency 'wirb', '>= 0.3.0'
16
16
  s.files = Dir.glob(%w[{lib,test}/**/*.rb bin/* [A-Z]*.{txt,rdoc} ext/**/*.{rb,c} **/deps.rip]) + %w{Rakefile .gemspec}
17
17
  s.extra_rdoc_files = ["README.rdoc", "COPYING"]
18
18
  s.license = 'MIT'
data/CHANGELOG.rdoc CHANGED
@@ -1,3 +1,6 @@
1
+ == 0.3.1
2
+ * Be compatible with wirb 0.3.0
3
+
1
4
  == 0.3.0
2
5
  * Now using Wirb as default colorizer
3
6
 
@@ -2,7 +2,7 @@ require 'ripl'
2
2
 
3
3
  module Ripl
4
4
  module ColorResult
5
- VERSION = '0.3.0'
5
+ VERSION = '0.3.1'
6
6
 
7
7
  def format_result(result)
8
8
  return super if !config[:color_result_engine]
@@ -16,6 +16,7 @@ module Ripl
16
16
  result.awesome_inspect( config[:color_result_ap_options] || {} )
17
17
  else # :default
18
18
  require 'wirb'
19
+ Wirb.start
19
20
  Wirb.colorize_result result.inspect, Ripl.config[:color_result_default_schema]
20
21
  end
21
22
  end
@@ -34,8 +35,6 @@ Ripl.config[:color_result_default_schema] ||= { # see Wirb::COLORS for a color l
34
35
 
35
36
  :open_set => :green,
36
37
  :close_set => :green,
37
- :open_enumerator => :green,
38
- :close_enumerator => :green,
39
38
 
40
39
  # delimiter colors
41
40
  :comma => :green,
@@ -50,11 +49,13 @@ Ripl.config[:color_result_default_schema] ||= { # see Wirb::COLORS for a color l
50
49
  :open_object => :green,
51
50
  :object_description_prefix => :green,
52
51
  :object_description => :brown,
53
- :object_addr_prefix => :brown_underline,
54
- :object_addr => :brown_underline,
52
+ :object_address_prefi => :brown_underline,
53
+ :object_address => :brown_underline,
55
54
  :object_line_prefix => :brown_underline,
56
55
  :object_line => :brown_underline,
57
56
  :object_line_number => :brown_underline,
57
+ :object_variable_prefix => :light_purple,
58
+ :object_variable => :light_purple,
58
59
  :close_object => :green,
59
60
 
60
61
  # symbol
@@ -83,7 +84,9 @@ Ripl.config[:color_result_default_schema] ||= { # see Wirb::COLORS for a color l
83
84
  :close_rational => :light_cyan,
84
85
 
85
86
  # misc
86
- :keyword => nil,
87
+ :default => nil,
88
+ :keyword => nil, # some lowercased word, merge with default?
89
+ :time => :purple,
87
90
  :nil => :light_red,
88
91
  :false => :red,
89
92
  :true => :green,
metadata CHANGED
@@ -1,12 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ripl-color_result
3
3
  version: !ruby/object:Gem::Version
4
- prerelease: false
5
- segments:
6
- - 0
7
- - 3
8
- - 0
9
- version: 0.3.0
4
+ prerelease:
5
+ version: 0.3.1
10
6
  platform: ruby
11
7
  authors:
12
8
  - Jan Lelis
@@ -14,8 +10,7 @@ autorequire:
14
10
  bindir: bin
15
11
  cert_chain: []
16
12
 
17
- date: 2011-01-27 00:00:00 +01:00
18
- default_executable:
13
+ date: 2011-05-26 00:00:00 Z
19
14
  dependencies:
20
15
  - !ruby/object:Gem::Dependency
21
16
  name: ripl
@@ -25,11 +20,7 @@ dependencies:
25
20
  requirements:
26
21
  - - ">="
27
22
  - !ruby/object:Gem::Version
28
- segments:
29
- - 0
30
- - 3
31
- - 1
32
- version: 0.3.1
23
+ version: 0.4.1
33
24
  type: :runtime
34
25
  version_requirements: *id001
35
26
  - !ruby/object:Gem::Dependency
@@ -40,14 +31,10 @@ dependencies:
40
31
  requirements:
41
32
  - - ">="
42
33
  - !ruby/object:Gem::Version
43
- segments:
44
- - 0
45
- - 2
46
- - 0
47
- version: 0.2.0
34
+ version: 0.3.0
48
35
  type: :runtime
49
36
  version_requirements: *id002
50
- description: This ripl plugin colorizes your result.
37
+ description: This ripl plugin colorizes ripl results.
51
38
  email: mail@janlelis.de
52
39
  executables: []
53
40
 
@@ -64,7 +51,6 @@ files:
64
51
  - Rakefile
65
52
  - .gemspec
66
53
  - COPYING
67
- has_rdoc: true
68
54
  homepage: http://github.com/janlelis/ripl-color_result
69
55
  licenses:
70
56
  - MIT
@@ -78,25 +64,19 @@ required_ruby_version: !ruby/object:Gem::Requirement
78
64
  requirements:
79
65
  - - ">="
80
66
  - !ruby/object:Gem::Version
81
- segments:
82
- - 0
83
67
  version: "0"
84
68
  required_rubygems_version: !ruby/object:Gem::Requirement
85
69
  none: false
86
70
  requirements:
87
71
  - - ">="
88
72
  - !ruby/object:Gem::Version
89
- segments:
90
- - 1
91
- - 3
92
- - 6
93
73
  version: 1.3.6
94
74
  requirements: []
95
75
 
96
76
  rubyforge_project:
97
- rubygems_version: 1.3.7
77
+ rubygems_version: 1.8.1
98
78
  signing_key:
99
79
  specification_version: 3
100
- summary: A ripl plugin to colorize result.
80
+ summary: A ripl plugin to colorize ripl results.
101
81
  test_files: []
102
82