fancy_irb 0.7.0 → 0.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/CHANGELOG.rdoc +3 -0
- data/README.rdoc +1 -1
- data/VERSION +1 -1
- data/lib/fancy_irb.rb +2 -2
- metadata +42 -80
data/CHANGELOG.rdoc
CHANGED
data/README.rdoc
CHANGED
@@ -43,7 +43,7 @@ Rocket mode means: Output result as comment if there is enough space left on the
|
|
43
43
|
When using double-width unicode chars, you should set <tt>:east_asian_width</tt> to <tt>true</tt>. It is deactivated because of performance issues.
|
44
44
|
|
45
45
|
=== Customize colors
|
46
|
-
|
46
|
+
See paint[https://github.com/janlelis/paint]
|
47
47
|
|
48
48
|
=== Modify your IRB output
|
49
49
|
You can modify how to get and display the input. The <tt>result_proc</tt> is a proc which takes the irb context object and should return the value. You can change it with <tt>FancyIrb.set_result_proc do (your code) end</tt>. After that, each proc in <tt>output_procs</tt> gets triggered. They take the value and can return a modified one. You can use the <tt>FancyIrb.add_output_proc</tt> method for adding new output filter procs.
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.7.
|
1
|
+
0.7.1
|
data/lib/fancy_irb.rb
CHANGED
@@ -54,11 +54,11 @@ class << FancyIrb
|
|
54
54
|
:colorize => { # colors hash. Set to nil to deactivate colorizing
|
55
55
|
:rocket_prompt => [:blue],
|
56
56
|
:result_prompt => [:blue],
|
57
|
-
:input_prompt =>
|
57
|
+
:input_prompt => nil,
|
58
58
|
:irb_errors => [:red],
|
59
59
|
:stderr => [:red, :bright],
|
60
60
|
:stdout => [:black, :bright],
|
61
|
-
:input =>
|
61
|
+
:input => nil,
|
62
62
|
:output => true, # wirb's output colorization
|
63
63
|
},
|
64
64
|
:result_proc => default_result_proc, # how to get the output result
|
metadata
CHANGED
@@ -1,64 +1,48 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: fancy_irb
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.7.1
|
5
5
|
prerelease:
|
6
|
-
segments:
|
7
|
-
- 0
|
8
|
-
- 7
|
9
|
-
- 0
|
10
|
-
version: 0.7.0
|
11
6
|
platform: ruby
|
12
|
-
authors:
|
7
|
+
authors:
|
13
8
|
- Jan Lelis
|
14
9
|
autorequire:
|
15
10
|
bindir: bin
|
16
11
|
cert_chain: []
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
- !ruby/object:Gem::Dependency
|
12
|
+
date: 2011-09-19 00:00:00.000000000Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
21
15
|
name: paint
|
22
|
-
|
23
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
16
|
+
requirement: &16632900 !ruby/object:Gem::Requirement
|
24
17
|
none: false
|
25
|
-
requirements:
|
26
|
-
- -
|
27
|
-
- !ruby/object:Gem::Version
|
28
|
-
hash: 61
|
29
|
-
segments:
|
30
|
-
- 0
|
31
|
-
- 8
|
32
|
-
- 1
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
33
21
|
version: 0.8.1
|
34
22
|
type: :runtime
|
35
|
-
version_requirements: *id001
|
36
|
-
- !ruby/object:Gem::Dependency
|
37
|
-
name: unicode-display_width
|
38
23
|
prerelease: false
|
39
|
-
|
24
|
+
version_requirements: *16632900
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: unicode-display_width
|
27
|
+
requirement: &16632440 !ruby/object:Gem::Requirement
|
40
28
|
none: false
|
41
|
-
requirements:
|
42
|
-
- -
|
43
|
-
- !ruby/object:Gem::Version
|
44
|
-
hash: 25
|
45
|
-
segments:
|
46
|
-
- 0
|
47
|
-
- 1
|
48
|
-
- 1
|
29
|
+
requirements:
|
30
|
+
- - ! '>='
|
31
|
+
- !ruby/object:Gem::Version
|
49
32
|
version: 0.1.1
|
50
33
|
type: :runtime
|
51
|
-
|
52
|
-
|
34
|
+
prerelease: false
|
35
|
+
version_requirements: *16632440
|
36
|
+
description: ! 'FancyIrb patches your IRB to create a smooth output experience. You
|
37
|
+
can colorize the prompts, irb errors, stderr and stdout, output your result as #=>
|
38
|
+
(hash rockets) and some other improvements.'
|
53
39
|
email: mail@janlelis.de
|
54
40
|
executables: []
|
55
|
-
|
56
41
|
extensions: []
|
57
|
-
|
58
|
-
extra_rdoc_files:
|
42
|
+
extra_rdoc_files:
|
59
43
|
- README.rdoc
|
60
44
|
- LICENSE
|
61
|
-
files:
|
45
|
+
files:
|
62
46
|
- LICENSE
|
63
47
|
- README.rdoc
|
64
48
|
- Rakefile
|
@@ -68,54 +52,32 @@ files:
|
|
68
52
|
- lib/fancy_irb.rb
|
69
53
|
- lib/fancy_irb/irb_ext.rb
|
70
54
|
homepage: http://github.com/janlelis/fancy_irb
|
71
|
-
licenses:
|
55
|
+
licenses:
|
72
56
|
- MIT
|
73
|
-
post_install_message: !
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
aXRodWIuY29tL2phbmxlbGlzL2ZhbmN5X2lyYiDilIIKICAgICAgIOKUnOKU
|
78
|
-
gOKUgCB1c2FnZSDilIDilIDilIDilIDilIDilIDilIDilIDilIDilIDilIDi
|
79
|
-
lIDilIDilIDilIDilIDilIDilIDilIDilIDilIDilIDilIDilIDilIDilIDi
|
80
|
-
lIDilIDilIDilKQKICAgICAgIOKUgiByZXF1aXJlICdmYW5jeV9pcmInICAg
|
81
|
-
ICAgICAgICAgICAgICAg4pSCCiAgICAgICDilIIgRmFuY3lJcmIuc3RhcnQg
|
82
|
-
ICAgICAgICAgICAgICAgICAgICAgIOKUggogICAgICAg4pSU4pSA4pSA4pSA
|
83
|
-
4pSA4pSA4pSA4pSA4pSA4pSA4pSA4pSA4pSA4pSA4pSA4pSA4pSA4pSA4pSA
|
84
|
-
4pSA4pSA4pSA4pSA4pSA4pSA4pSA4pSA4pSA4pSA4pSA4pSA4pSA4pSA4pSA
|
85
|
-
4pSA4pSA4pSA4pSA4pSA4pSY
|
86
|
-
|
57
|
+
post_install_message: ! " ┌── info ──────────────────────────────┐\n J-_-L │
|
58
|
+
http://github.com/janlelis/fancy_irb │\n ├── usage ─────────────────────────────┤\n
|
59
|
+
\ │ require 'fancy_irb' │\n │ FancyIrb.start │\n
|
60
|
+
\ └──────────────────────────────────────┘"
|
87
61
|
rdoc_options: []
|
88
|
-
|
89
|
-
require_paths:
|
62
|
+
require_paths:
|
90
63
|
- lib
|
91
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
64
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
92
65
|
none: false
|
93
|
-
requirements:
|
94
|
-
- -
|
95
|
-
- !ruby/object:Gem::Version
|
96
|
-
hash: 57
|
97
|
-
segments:
|
98
|
-
- 1
|
99
|
-
- 8
|
100
|
-
- 7
|
66
|
+
requirements:
|
67
|
+
- - ! '>='
|
68
|
+
- !ruby/object:Gem::Version
|
101
69
|
version: 1.8.7
|
102
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
70
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
103
71
|
none: false
|
104
|
-
requirements:
|
105
|
-
- -
|
106
|
-
- !ruby/object:Gem::Version
|
107
|
-
hash: 23
|
108
|
-
segments:
|
109
|
-
- 1
|
110
|
-
- 3
|
111
|
-
- 6
|
72
|
+
requirements:
|
73
|
+
- - ! '>='
|
74
|
+
- !ruby/object:Gem::Version
|
112
75
|
version: 1.3.6
|
113
|
-
requirements:
|
114
|
-
-
|
76
|
+
requirements:
|
77
|
+
- ! 'On Windows, you need ansicon: https://github.com/adoxa/ansicon'
|
115
78
|
rubyforge_project:
|
116
|
-
rubygems_version: 1.8.
|
79
|
+
rubygems_version: 1.8.6
|
117
80
|
signing_key:
|
118
81
|
specification_version: 3
|
119
82
|
summary: FancyIrb patches your IRB to create a smooth output experience.
|
120
83
|
test_files: []
|
121
|
-
|