fancy_irb 0.7.0 → 0.7.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. data/CHANGELOG.rdoc +3 -0
  2. data/README.rdoc +1 -1
  3. data/VERSION +1 -1
  4. data/lib/fancy_irb.rb +2 -2
  5. metadata +42 -80
data/CHANGELOG.rdoc CHANGED
@@ -1,3 +1,6 @@
1
+ == 0.7.1
2
+ * Deactivate buggy input coloring :/
3
+
1
4
  == 0.7.0
2
5
  * Use paint gem for terminal colors
3
6
  * Fix some rocket issues (when using with colored content)
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
- See paint[https://github.com/janlelis/paint]
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.0
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 => :nothing,
57
+ :input_prompt => nil,
58
58
  :irb_errors => [:red],
59
59
  :stderr => [:red, :bright],
60
60
  :stdout => [:black, :bright],
61
- :input => :nothing,
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
- hash: 3
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
- date: 2011-07-07 00:00:00 Z
19
- dependencies:
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
- prerelease: false
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
- requirement: &id002 !ruby/object:Gem::Requirement
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
- version_requirements: *id002
52
- description: "FancyIrb patches your IRB to create a smooth output experience. You can colorize the prompts, irb errors, stderr and stdout, output your result as #=> (hash rockets) and some other improvements."
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: !binary |
74
- ICAgICAgIOKUjOKUgOKUgCBpbmZvIOKUgOKUgOKUgOKUgOKUgOKUgOKUgOKU
75
- gOKUgOKUgOKUgOKUgOKUgOKUgOKUgOKUgOKUgOKUgOKUgOKUgOKUgOKUgOKU
76
- gOKUgOKUgOKUgOKUgOKUgOKUgOKUgOKUkAogSi1fLUwg4pSCIGh0dHA6Ly9n
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
- - "On Windows, you need ansicon: https://github.com/adoxa/ansicon"
76
+ requirements:
77
+ - ! 'On Windows, you need ansicon: https://github.com/adoxa/ansicon'
115
78
  rubyforge_project:
116
- rubygems_version: 1.8.5
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
-