irbtools 0.8.5 → 0.8.6

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG CHANGED
@@ -1,3 +1,7 @@
1
+ 0.8.6
2
+ * windows support
3
+ * update hirb + activate unicode-drawn tables
4
+
1
5
  0.8.5
2
6
  * rails related fixes
3
7
 
data/LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2010 Jan Lelis
1
+ Copyright (c) 2010-2011 Jan Lelis
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the
@@ -6,9 +6,13 @@ This is a meta gem which installs some useful irb gems and configures your irb.
6
6
 
7
7
  gem install irbtools
8
8
 
9
- * On Linux, you need +xclip+ or +xsel+ to use the clipboard: <tt>sudo apt-get install xclip</tt>
9
+ * On Linux, you also need +xclip+: sudo <tt>apt-get install xclip</tt>
10
+ * On Windows, you need ansicon[https://github.com/adoxa/ansicon]
10
11
  * On MacOS, you will need growl, if you want to use the +g+ gem.
11
12
 
13
+ === Wrong display widths?
14
+ 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.
15
+
12
16
  == Usage
13
17
 
14
18
  To use it, put the following in your <tt>~/.irbrc</tt> file (this file is loaded every time you start an irb):
@@ -52,14 +56,15 @@ See http://rbjl.net/40-irbtools-release-the-power-of-irb or read the commented s
52
56
  * *fileutils* (stdlib) cd, pwd, ln_s, mv, rm, mkdir, touch ... ;)
53
57
  * clipboard[http://github.com/janlelis/clipboard] easy clipboard access (copy & paste)
54
58
  * interactive_editor[https://github.com/jberkel/interactive_editor] lets you open vim, hack something, and it gets loaded into the current session
55
- * sketches[http://sketches.rubyforge.org/] another, more flexible "start editor and it gets loaded into your irb session" plugin
59
+ * sketches[http://sketches.rubyforge.org/] another, more flexible "start editor and it gets loaded into your irb session" plugin
56
60
  * zucker[http:/rubyzucker.info] nice debug printing (q, o, c, .m, .d) + useful pseudo-constants (Info, OS, RubyVersion, RubyEngine)
57
- * ap[https://github.com/michaeldv/awesome_print] nice debug printing (ap)
61
+ * ap[https://github.com/michaeldv/awesome_print] nice debug printing (ap) [also see wp]
58
62
  * coderay[http://coderay.rubychan.de/] some nice colorful displaying ;)
59
63
  * boson[http://tagaholic.me/boson/] commands repository (commands also work in the shell!)
60
64
  * guessmethod[http://guessmethod.rubyforge.org/] automatically corrects typos (method_missing hook) [not loaded by default]
61
65
 
62
66
  === Helper methods
67
+
63
68
  See the source for a description. These methods are defined directly by irbtools. Each gem may add its own helper methods.
64
69
 
65
70
  *General*: <tt>ls, cat, rq, rrq/rerequire, ld, session_history, reset!, clear, use_ruby/use, rubies, use_gemset/gemset, gemsets, dbg, Object#ri</tt>
@@ -76,14 +81,12 @@ If you have RVM installed, you can switch your gemset or ruby with <tt>gemset</t
76
81
 
77
82
  You can customize the welcome message with <tt>Irbtools.welcome_message=</tt>
78
83
 
79
- == Wrong display widths?
80
- 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.
81
-
82
84
  == Todo
83
85
 
84
86
  * Nicer ri command
85
87
 
86
88
  === Planned features for 0.9.0 (next main version)
89
+
87
90
  * define flexibly, whether library should be loaded on start/on subsession or via autoload
88
91
  * faster loading
89
92
 
@@ -93,6 +96,6 @@ When using double-width unicode chars, you should need to pass the <tt>:east_asi
93
96
 
94
97
  == Copyright
95
98
 
96
- Copyright (c) 2010 Jan Lelis, http://rbjl.net, released under the MIT license.
99
+ Copyright (c) 2010-2011 Jan Lelis, http://rbjl.net, released under the MIT license.
97
100
 
98
101
  J-_-L
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.8.5
1
+ 0.8.6
@@ -2,11 +2,11 @@
2
2
  require 'rubygems' unless defined? Gem
3
3
 
4
4
  Gem::Specification.new do |s|
5
- s.name = %q{irbtools}
5
+ s.name = 'irbtools'
6
6
  s.version = File.read('VERSION').chomp
7
7
 
8
8
  s.authors = ["Jan Lelis"]
9
- s.date = %q{2010-01-31}
9
+ s.date = %q{2011-02-24}
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}
@@ -15,14 +15,14 @@ Gem::Specification.new do |s|
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.4"
18
+ s.add_dependency %q<fancy_irb>, ">= 0.6.5"
19
19
  s.add_dependency %q<zucker>, ">= 9"
20
- s.add_dependency %q<hirb>, "~> 0.3"
20
+ s.add_dependency %q<hirb>, "~> 0.4"
21
21
  s.add_dependency %q<awesome_print>, "~> 0.3"
22
- s.add_dependency %q<clipboard>, ">= 0.9.5"
22
+ s.add_dependency %q<clipboard>, ">= 0.9.7"
23
23
  s.add_dependency %q<coderay>, "~> 0.9"
24
24
  s.add_dependency %q<boson>, "~> 0.3"
25
- s.add_dependency %q<wirb>, ">= 0.2.2"
25
+ s.add_dependency %q<wirb>, ">= 0.2.4"
26
26
  s.add_dependency %q<interactive_editor>, ">= 0.0.6"
27
27
  s.add_dependency %q<sketches>, ">= 0"
28
28
  s.add_dependency %q<g>, ">= 0"
@@ -91,6 +91,7 @@ end
91
91
  Irbtools.add_library :hirb do
92
92
  Hirb::View.enable
93
93
  extend Hirb::Console
94
+ Hirb::View.formatter.add_view 'Object', :ancestor => true, :options => { :unicode => true } # unicode tables
94
95
  end
95
96
 
96
97
  # remove failing/not needed libs
metadata CHANGED
@@ -1,12 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: irbtools
3
3
  version: !ruby/object:Gem::Version
4
- prerelease: false
5
- segments:
6
- - 0
7
- - 8
8
- - 5
9
- version: 0.8.5
4
+ prerelease:
5
+ version: 0.8.6
10
6
  platform: ruby
11
7
  authors:
12
8
  - Jan Lelis
@@ -14,7 +10,7 @@ autorequire:
14
10
  bindir: bin
15
11
  cert_chain: []
16
12
 
17
- date: 2010-01-31 00:00:00 +01:00
13
+ date: 2011-02-24 00:00:00 +01:00
18
14
  default_executable:
19
15
  dependencies:
20
16
  - !ruby/object:Gem::Dependency
@@ -25,11 +21,7 @@ dependencies:
25
21
  requirements:
26
22
  - - ">="
27
23
  - !ruby/object:Gem::Version
28
- segments:
29
- - 0
30
- - 6
31
- - 4
32
- version: 0.6.4
24
+ version: 0.6.5
33
25
  type: :runtime
34
26
  version_requirements: *id001
35
27
  - !ruby/object:Gem::Dependency
@@ -40,8 +32,6 @@ dependencies:
40
32
  requirements:
41
33
  - - ">="
42
34
  - !ruby/object:Gem::Version
43
- segments:
44
- - 9
45
35
  version: "9"
46
36
  type: :runtime
47
37
  version_requirements: *id002
@@ -53,10 +43,7 @@ dependencies:
53
43
  requirements:
54
44
  - - ~>
55
45
  - !ruby/object:Gem::Version
56
- segments:
57
- - 0
58
- - 3
59
- version: "0.3"
46
+ version: "0.4"
60
47
  type: :runtime
61
48
  version_requirements: *id003
62
49
  - !ruby/object:Gem::Dependency
@@ -67,9 +54,6 @@ dependencies:
67
54
  requirements:
68
55
  - - ~>
69
56
  - !ruby/object:Gem::Version
70
- segments:
71
- - 0
72
- - 3
73
57
  version: "0.3"
74
58
  type: :runtime
75
59
  version_requirements: *id004
@@ -81,11 +65,7 @@ dependencies:
81
65
  requirements:
82
66
  - - ">="
83
67
  - !ruby/object:Gem::Version
84
- segments:
85
- - 0
86
- - 9
87
- - 5
88
- version: 0.9.5
68
+ version: 0.9.7
89
69
  type: :runtime
90
70
  version_requirements: *id005
91
71
  - !ruby/object:Gem::Dependency
@@ -96,9 +76,6 @@ dependencies:
96
76
  requirements:
97
77
  - - ~>
98
78
  - !ruby/object:Gem::Version
99
- segments:
100
- - 0
101
- - 9
102
79
  version: "0.9"
103
80
  type: :runtime
104
81
  version_requirements: *id006
@@ -110,9 +87,6 @@ dependencies:
110
87
  requirements:
111
88
  - - ~>
112
89
  - !ruby/object:Gem::Version
113
- segments:
114
- - 0
115
- - 3
116
90
  version: "0.3"
117
91
  type: :runtime
118
92
  version_requirements: *id007
@@ -124,11 +98,7 @@ dependencies:
124
98
  requirements:
125
99
  - - ">="
126
100
  - !ruby/object:Gem::Version
127
- segments:
128
- - 0
129
- - 2
130
- - 2
131
- version: 0.2.2
101
+ version: 0.2.4
132
102
  type: :runtime
133
103
  version_requirements: *id008
134
104
  - !ruby/object:Gem::Dependency
@@ -139,10 +109,6 @@ dependencies:
139
109
  requirements:
140
110
  - - ">="
141
111
  - !ruby/object:Gem::Version
142
- segments:
143
- - 0
144
- - 0
145
- - 6
146
112
  version: 0.0.6
147
113
  type: :runtime
148
114
  version_requirements: *id009
@@ -154,8 +120,6 @@ dependencies:
154
120
  requirements:
155
121
  - - ">="
156
122
  - !ruby/object:Gem::Version
157
- segments:
158
- - 0
159
123
  version: "0"
160
124
  type: :runtime
161
125
  version_requirements: *id010
@@ -167,8 +131,6 @@ dependencies:
167
131
  requirements:
168
132
  - - ">="
169
133
  - !ruby/object:Gem::Version
170
- segments:
171
- - 0
172
134
  version: "0"
173
135
  type: :runtime
174
136
  version_requirements: *id011
@@ -180,8 +142,6 @@ dependencies:
180
142
  requirements:
181
143
  - - ">="
182
144
  - !ruby/object:Gem::Version
183
- segments:
184
- - 0
185
145
  version: "0"
186
146
  type: :runtime
187
147
  version_requirements: *id012
@@ -195,11 +155,11 @@ extra_rdoc_files:
195
155
  - LICENSE
196
156
  - README.rdoc
197
157
  files:
198
- - lib/irbtools/configure.rb
158
+ - lib/irbtools.rb
199
159
  - lib/irbtools/libraries.rb
200
- - lib/irbtools/rvm.rb
201
160
  - lib/irbtools/general.rb
202
- - lib/irbtools.rb
161
+ - lib/irbtools/configure.rb
162
+ - lib/irbtools/rvm.rb
203
163
  - VERSION
204
164
  - CHANGELOG
205
165
  - Rakefile
@@ -220,23 +180,17 @@ required_ruby_version: !ruby/object:Gem::Requirement
220
180
  requirements:
221
181
  - - ">="
222
182
  - !ruby/object:Gem::Version
223
- segments:
224
- - 1
225
- - 8
226
- - 7
227
183
  version: 1.8.7
228
184
  required_rubygems_version: !ruby/object:Gem::Requirement
229
185
  none: false
230
186
  requirements:
231
187
  - - ">="
232
188
  - !ruby/object:Gem::Version
233
- segments:
234
- - 0
235
189
  version: "0"
236
190
  requirements: []
237
191
 
238
192
  rubyforge_project:
239
- rubygems_version: 1.3.7
193
+ rubygems_version: 1.5.2
240
194
  signing_key:
241
195
  specification_version: 3
242
196
  summary: irbtools is a meta gem which installs some useful irb gems and configures your irb.