irbtools 0.8.3 → 0.8.4

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 CHANGED
@@ -1,3 +1,6 @@
1
+ 0.8.4
2
+ * no using wirb instead of wirble
3
+
1
4
  0.8.3
2
5
  * improved/added rvm methods (use, gemset, rubies, gemsets)
3
6
  * RVM (Ruby API) constant gets autoloaded
data/README.rdoc CHANGED
@@ -13,7 +13,7 @@ This is a meta gem which installs some useful irb gems and configures your irb.
13
13
 
14
14
  To use it, put the following in your <tt>~/.irbrc</tt> file (this file is loaded every time you start an irb):
15
15
 
16
- require 'rubygems' if RUBY_VERSION[2] == ?8 # rubygems is only needed in 1.8
16
+ require 'rubygems' unless defined? Gem # rubygems is only needed in 1.8
17
17
  require 'irbtools'
18
18
 
19
19
  If it does not exist, just create a new one.
@@ -40,20 +40,19 @@ See http://rbjl.net/40-irbtools-release-the-power-of-irb or read the commented s
40
40
 
41
41
  === Included gems and libraries
42
42
 
43
- * wirble[http://pablotron.org/software/wirble/] colorize output
43
+ * wirb[https://github.com/janlelis/wirb/] colorize output
44
44
  * fancy_irbt[https://github.com/janlelis/fancy_irb] put result as comment and more colorization
45
45
  * hirb[http://tagaholic.me/2009/03/13/hirb-irb-on-the-good-stuff.html] (active record) tables and custom views for specific objects
46
46
  * *fileutils* cd, pwd, ln_s, mv, rm, mkdir, touch ... ;)
47
47
  * zucker/env[http://rubyzucker.info] Info, OS, RubyVersion, RubyEngine
48
48
  * zucker/debug[http:/rubyzucker.info] nice debug printing (q, o, c, .m, .d)
49
49
  * ap[https://github.com/michaeldv/awesome_print] nice debug printing (ap)
50
- * *yaml* nice debug printing (y)
51
50
  * clipboard[http://github.com/janlelis/clipboard] easy clipboard access (copy & paste)
52
- * guessmethod[http://guessmethod.rubyforge.org/] automatically corrects typos (method_missing hook)
51
+ * guessmethod[http://guessmethod.rubyforge.org/] automatically corrects typos (method_missing hook) [not loaded by default]
53
52
  * interactive_editor[https://github.com/jberkel/interactive_editor] lets you open vim, hack something, and it gets loaded into the current session
54
53
  * sketches[http://sketches.rubyforge.org/] another, more flexible "start editor and it gets loaded into your irb session" plugin
55
- * coderay[http://coderay.rubychan.de/] some nice colorful display ;)
56
- * boson[http://tagaholic.me/boson/] IRB commands repository (which also works for the shell!)
54
+ * coderay[http://coderay.rubychan.de/] some nice colorful displaying ;)
55
+ * boson[http://tagaholic.me/boson/] commands repository (commands also work in the shell!)
57
56
 
58
57
  === Helper methods
59
58
  See the source for a description. These methods are defined directly by irbtools. Each gem may add its own helper methods.
@@ -72,12 +71,15 @@ If you have RVM installed, you can switch your gemset or ruby with <tt>gemset</t
72
71
 
73
72
  You can customize the welcome message with <tt>Irbtools.welcome_message=</tt>
74
73
 
74
+ == Wrong display widths?
75
+ When using double-width unicode chars, you should need to pass the <tt>:east_asian_width = true</tt> when starting <tt>FancyIrb</tt>. It is deactivated because of performance issues.
76
+
75
77
  == Bugs / TODO
76
78
 
77
79
  * Make guessmethod 1.9 compatible
78
80
  * Nicer ri command
79
81
 
80
- === Planned features for 0.9.0 (next version)
82
+ === Planned features for 0.9.0 (next main version)
81
83
  * define flexibly, whether library should be loaded on start/on subsession or via autoload
82
84
  * faster loading
83
85
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.8.3
1
+ 0.8.4
data/irbtools.gemspec CHANGED
@@ -10,21 +10,21 @@ Gem::Specification.new do |s|
10
10
  s.summary = %q{irbtools is a meta gem which installs some useful irb gems and configures your irb.}
11
11
  s.description = %q{irbtools is a meta gem which installs some useful irb gems and configures your irb. Simply put a require 'irbtools' in the .irbrc file in your home directory.}
12
12
  s.email = %q{mail@janlelis.de}
13
- s.extra_rdoc_files = %w[ LICENSE README.rdoc]
13
+ s.extra_rdoc_files = %w[LICENSE README.rdoc]
14
14
  s.files = Dir.glob(%w[lib/**/*.rb ]) + %w{VERSION CHANGELOG Rakefile irbtools.gemspec}
15
15
  s.homepage = %q{http://github.com/janlelis/irbtools}
16
16
  s.required_ruby_version = '>= 1.8.7'
17
17
 
18
- s.add_dependency %q<fancy_irb>, ">= 0.6.2"
19
- s.add_dependency %q<zucker>, ">= 8"
18
+ s.add_dependency %q<fancy_irb>, ">= 0.6.4"
19
+ s.add_dependency %q<zucker>, ">= 9"
20
20
  s.add_dependency %q<hirb>, "~> 0.3"
21
21
  s.add_dependency %q<awesome_print>, "~> 0.3"
22
- s.add_dependency %q<clipboard>, ">= 0.9.3"
22
+ s.add_dependency %q<clipboard>, ">= 0.9.4"
23
23
  s.add_dependency %q<coderay>, "~> 0.9"
24
24
  s.add_dependency %q<boson>, "~> 0.3"
25
- s.add_dependency %q<wirble>, ">= 0"
25
+ s.add_dependency %q<wirb>, ">= 0.2.0"
26
+ s.add_dependency %q<interactive_editor>, ">= 0.0.6"
27
+ s.add_dependency %q<sketches>, ">= 0"
26
28
  s.add_dependency %q<g>, ">= 0"
27
29
  s.add_dependency %q<guessmethod>, ">= 0"
28
- s.add_dependency %q<interactive_editor>, ">= 0"
29
- s.add_dependency %q<sketches>, ">= 0"
30
30
  end
@@ -6,12 +6,13 @@
6
6
  # see the README file for more information
7
7
 
8
8
  # the order does matter
9
- Irbtools.add_library :wirble do # colors
10
- Wirble.init
11
- Wirble.colorize unless OS.windows?
9
+ Irbtools.add_library :wirb do # result colors
10
+ Wirb.start unless OS.windows?
12
11
  end
12
+ Irbtools.add_library 'wirb/wp'
13
13
 
14
- Irbtools.add_library :fancy_irb do # put result as comment instead of a new line!
14
+
15
+ Irbtools.add_library :fancy_irb do # put result as comment instead of a new line and colorful errors/streams
15
16
  FancyIrb.start
16
17
  end
17
18
 
@@ -106,7 +107,7 @@ end
106
107
  #end
107
108
 
108
109
  if defined? Ripl
109
- Irbtools.libraries -= %w[wirble fancy_irb]
110
+ Irbtools.libraries -= %w[wirb fancy_irb] # install ripl-color_result for ripl colorization ;)
110
111
  end
111
112
 
112
113
  # J-_-L
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 8
8
- - 3
9
- version: 0.8.3
8
+ - 4
9
+ version: 0.8.4
10
10
  platform: ruby
11
11
  authors:
12
12
  - Jan Lelis
@@ -28,8 +28,8 @@ dependencies:
28
28
  segments:
29
29
  - 0
30
30
  - 6
31
- - 2
32
- version: 0.6.2
31
+ - 4
32
+ version: 0.6.4
33
33
  type: :runtime
34
34
  version_requirements: *id001
35
35
  - !ruby/object:Gem::Dependency
@@ -41,8 +41,8 @@ dependencies:
41
41
  - - ">="
42
42
  - !ruby/object:Gem::Version
43
43
  segments:
44
- - 8
45
- version: "8"
44
+ - 9
45
+ version: "9"
46
46
  type: :runtime
47
47
  version_requirements: *id002
48
48
  - !ruby/object:Gem::Dependency
@@ -84,8 +84,8 @@ dependencies:
84
84
  segments:
85
85
  - 0
86
86
  - 9
87
- - 3
88
- version: 0.9.3
87
+ - 4
88
+ version: 0.9.4
89
89
  type: :runtime
90
90
  version_requirements: *id005
91
91
  - !ruby/object:Gem::Dependency
@@ -117,7 +117,7 @@ dependencies:
117
117
  type: :runtime
118
118
  version_requirements: *id007
119
119
  - !ruby/object:Gem::Dependency
120
- name: wirble
120
+ name: wirb
121
121
  prerelease: false
122
122
  requirement: &id008 !ruby/object:Gem::Requirement
123
123
  none: false
@@ -126,11 +126,13 @@ dependencies:
126
126
  - !ruby/object:Gem::Version
127
127
  segments:
128
128
  - 0
129
- version: "0"
129
+ - 2
130
+ - 0
131
+ version: 0.2.0
130
132
  type: :runtime
131
133
  version_requirements: *id008
132
134
  - !ruby/object:Gem::Dependency
133
- name: g
135
+ name: interactive_editor
134
136
  prerelease: false
135
137
  requirement: &id009 !ruby/object:Gem::Requirement
136
138
  none: false
@@ -139,11 +141,13 @@ dependencies:
139
141
  - !ruby/object:Gem::Version
140
142
  segments:
141
143
  - 0
142
- version: "0"
144
+ - 0
145
+ - 6
146
+ version: 0.0.6
143
147
  type: :runtime
144
148
  version_requirements: *id009
145
149
  - !ruby/object:Gem::Dependency
146
- name: guessmethod
150
+ name: sketches
147
151
  prerelease: false
148
152
  requirement: &id010 !ruby/object:Gem::Requirement
149
153
  none: false
@@ -156,7 +160,7 @@ dependencies:
156
160
  type: :runtime
157
161
  version_requirements: *id010
158
162
  - !ruby/object:Gem::Dependency
159
- name: interactive_editor
163
+ name: g
160
164
  prerelease: false
161
165
  requirement: &id011 !ruby/object:Gem::Requirement
162
166
  none: false
@@ -169,7 +173,7 @@ dependencies:
169
173
  type: :runtime
170
174
  version_requirements: *id011
171
175
  - !ruby/object:Gem::Dependency
172
- name: sketches
176
+ name: guessmethod
173
177
  prerelease: false
174
178
  requirement: &id012 !ruby/object:Gem::Requirement
175
179
  none: false