irbtools 1.1.0.pre → 1.1.0.pre.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/VERSION +1 -1
  2. data/lib/irbtools/libraries.rb +19 -21
  3. metadata +39 -39
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.0.pre
1
+ 1.1.0.pre.2
@@ -10,10 +10,16 @@ Irbtools.add_library :yaml
10
10
 
11
11
  # # # load via late
12
12
 
13
- unless defined?(Ripl) && Ripl.respond_to?(:started?) && Ripl.started?
14
- # terminal colors
15
- Irbtools.add_library :paint, :late => true
13
+ # terminal colors
14
+ Irbtools.add_library :paint, :late => true
15
+
16
+ # result colors, install ripl-color_result for ripl colorization
17
+ Irbtools.add_library :wirb, :late => true do
18
+ Wirb.load_schema :classic_paint
19
+ Wirb.start
20
+ end
16
21
 
22
+ unless defined?(Ripl) && Ripl.respond_to?(:started?) && Ripl.started?
17
23
  # use hash rocket and colorful errors/streams
18
24
  Irbtools.add_library :fancy_irb, :late => true do
19
25
  FancyIrb.start
@@ -23,16 +29,15 @@ end
23
29
 
24
30
  # # # load via late_thread
25
31
 
26
- # result colors, install ripl-color_result for ripl colorization
27
- Irbtools.add_library :wirb, :late_thread => 10 do
28
- Wirb.load_schema :classic_paint
29
- Wirb.start
30
- end
31
-
32
- Irbtools.add_library 'wirb/wp', :late_thread => 10 # ap alternative (wp)
32
+ Irbtools.add_library 'wirb/wp', :late_thread => :a # ap alternative (wp)
33
33
 
34
- Irbtools.add_library 'paint/pa', :late_thread => 20 # colorize a string (pa)
34
+ Irbtools.add_library 'paint/pa', :late_thread => :b # colorize a string (pa)
35
35
 
36
+ # Object#l method for inspecting its load path
37
+ Irbtools.add_library 'looksee', :late_thread => :c do
38
+ Looksee::ObjectMixin.rename :ls => :l, :edit => :src
39
+ class Object; alias ll l end
40
+ end
36
41
 
37
42
  # # # load via thread
38
43
  # the :stdlib thread ensures proper loading of fileutils and tempfile
@@ -58,7 +63,7 @@ Irbtools.add_library :fileutils, :thread => :stdlib do # cd, pwd, ln_s, mv, rm,
58
63
  end
59
64
 
60
65
  # tables, menus...
61
- Irbtools.add_library :hirb, :late_thread => :stdlib do
66
+ Irbtools.add_library :hirb, :thread => :stdlib do
62
67
  Hirb::View.enable :output=>{"Object"=>{:ancestor => true, :options => { :unicode => true }}},
63
68
  :pager_command => 'less -R'
64
69
  extend Hirb::Console
@@ -100,22 +105,15 @@ Irbtools.add_library :hirb, :late_thread => :stdlib do
100
105
  end
101
106
 
102
107
  # command framework
103
- Irbtools.add_library :boson, :late_thread => :stdlib do
108
+ Irbtools.add_library :boson, :thread => :stdlib do
104
109
  # hirb issues, TODO fix cleanly
105
110
  undef install if respond_to?( :install, true )
106
111
  Hirb::Console.class_eval do undef menu end if respond_to?( :menu, true )
107
112
  Boson.start :verbose => false
108
113
  end
109
114
 
110
-
111
- # Object#l method for inspecting its load path
112
- Irbtools.add_library 'looksee', :thread => 10 do
113
- Looksee::ObjectMixin.rename :ls => :l, :edit => :src
114
- class Object; alias ll l end
115
- end
116
-
117
115
  # ls, cat, rq, rrq, ld, session_history, reset!, clear, dbg, ...
118
- Irbtools.add_library 'every_day_irb', :thread => 10
116
+ Irbtools.add_library 'every_day_irb', :thread => 10
119
117
 
120
118
  # nice debug printing (q, o, c, .m, .d)
121
119
  Irbtools.add_library 'zucker/debug', :thread => 20
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: irbtools
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0.pre
4
+ version: 1.1.0.pre.2
5
5
  prerelease: 6
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-10-14 00:00:00.000000000Z
12
+ date: 2011-10-24 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: paint
16
- requirement: &19164580 !ruby/object:Gem::Requirement
16
+ requirement: &11753520 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 0.8.3
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *19164580
24
+ version_requirements: *11753520
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: fancy_irb
27
- requirement: &19164040 !ruby/object:Gem::Requirement
27
+ requirement: &11752820 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: 0.7.1
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *19164040
35
+ version_requirements: *11752820
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: zucker
38
- requirement: &19163300 !ruby/object:Gem::Requirement
38
+ requirement: &11752080 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ! '>='
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: '11'
44
44
  type: :runtime
45
45
  prerelease: false
46
- version_requirements: *19163300
46
+ version_requirements: *11752080
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: hirb
49
- requirement: &19162020 !ruby/object:Gem::Requirement
49
+ requirement: &11751440 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ~>
@@ -54,10 +54,10 @@ dependencies:
54
54
  version: 0.5.0
55
55
  type: :runtime
56
56
  prerelease: false
57
- version_requirements: *19162020
57
+ version_requirements: *11751440
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: awesome_print
60
- requirement: &19157620 !ruby/object:Gem::Requirement
60
+ requirement: &11747440 !ruby/object:Gem::Requirement
61
61
  none: false
62
62
  requirements:
63
63
  - - ~>
@@ -65,10 +65,10 @@ dependencies:
65
65
  version: 0.4.0
66
66
  type: :runtime
67
67
  prerelease: false
68
- version_requirements: *19157620
68
+ version_requirements: *11747440
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: clipboard
71
- requirement: &19157080 !ruby/object:Gem::Requirement
71
+ requirement: &11746380 !ruby/object:Gem::Requirement
72
72
  none: false
73
73
  requirements:
74
74
  - - ! '>='
@@ -76,10 +76,10 @@ dependencies:
76
76
  version: 0.9.9
77
77
  type: :runtime
78
78
  prerelease: false
79
- version_requirements: *19157080
79
+ version_requirements: *11746380
80
80
  - !ruby/object:Gem::Dependency
81
81
  name: coderay
82
- requirement: &19156560 !ruby/object:Gem::Requirement
82
+ requirement: &11745660 !ruby/object:Gem::Requirement
83
83
  none: false
84
84
  requirements:
85
85
  - - ~>
@@ -87,10 +87,10 @@ dependencies:
87
87
  version: 1.0.0
88
88
  type: :runtime
89
89
  prerelease: false
90
- version_requirements: *19156560
90
+ version_requirements: *11745660
91
91
  - !ruby/object:Gem::Dependency
92
92
  name: boson
93
- requirement: &19155920 !ruby/object:Gem::Requirement
93
+ requirement: &11744980 !ruby/object:Gem::Requirement
94
94
  none: false
95
95
  requirements:
96
96
  - - ! '>='
@@ -98,10 +98,10 @@ dependencies:
98
98
  version: 0.3.4
99
99
  type: :runtime
100
100
  prerelease: false
101
- version_requirements: *19155920
101
+ version_requirements: *11744980
102
102
  - !ruby/object:Gem::Dependency
103
103
  name: wirb
104
- requirement: &19155180 !ruby/object:Gem::Requirement
104
+ requirement: &11744320 !ruby/object:Gem::Requirement
105
105
  none: false
106
106
  requirements:
107
107
  - - ! '>='
@@ -109,10 +109,10 @@ dependencies:
109
109
  version: 0.4.1
110
110
  type: :runtime
111
111
  prerelease: false
112
- version_requirements: *19155180
112
+ version_requirements: *11744320
113
113
  - !ruby/object:Gem::Dependency
114
114
  name: interactive_editor
115
- requirement: &19154280 !ruby/object:Gem::Requirement
115
+ requirement: &11743680 !ruby/object:Gem::Requirement
116
116
  none: false
117
117
  requirements:
118
118
  - - ! '>='
@@ -120,10 +120,10 @@ dependencies:
120
120
  version: 0.0.10
121
121
  type: :runtime
122
122
  prerelease: false
123
- version_requirements: *19154280
123
+ version_requirements: *11743680
124
124
  - !ruby/object:Gem::Dependency
125
125
  name: ori
126
- requirement: &19153020 !ruby/object:Gem::Requirement
126
+ requirement: &11742980 !ruby/object:Gem::Requirement
127
127
  none: false
128
128
  requirements:
129
129
  - - ~>
@@ -131,10 +131,10 @@ dependencies:
131
131
  version: 0.1.0
132
132
  type: :runtime
133
133
  prerelease: false
134
- version_requirements: *19153020
134
+ version_requirements: *11742980
135
135
  - !ruby/object:Gem::Dependency
136
136
  name: sketches
137
- requirement: &19151860 !ruby/object:Gem::Requirement
137
+ requirement: &11742320 !ruby/object:Gem::Requirement
138
138
  none: false
139
139
  requirements:
140
140
  - - ! '>='
@@ -142,10 +142,10 @@ dependencies:
142
142
  version: 0.1.1
143
143
  type: :runtime
144
144
  prerelease: false
145
- version_requirements: *19151860
145
+ version_requirements: *11742320
146
146
  - !ruby/object:Gem::Dependency
147
147
  name: g
148
- requirement: &19116400 !ruby/object:Gem::Requirement
148
+ requirement: &11741600 !ruby/object:Gem::Requirement
149
149
  none: false
150
150
  requirements:
151
151
  - - ! '>='
@@ -153,10 +153,10 @@ dependencies:
153
153
  version: 1.4.0
154
154
  type: :runtime
155
155
  prerelease: false
156
- version_requirements: *19116400
156
+ version_requirements: *11741600
157
157
  - !ruby/object:Gem::Dependency
158
158
  name: methodfinder
159
- requirement: &19115580 !ruby/object:Gem::Requirement
159
+ requirement: &11740860 !ruby/object:Gem::Requirement
160
160
  none: false
161
161
  requirements:
162
162
  - - ! '>='
@@ -164,10 +164,10 @@ dependencies:
164
164
  version: 1.2.3
165
165
  type: :runtime
166
166
  prerelease: false
167
- version_requirements: *19115580
167
+ version_requirements: *11740860
168
168
  - !ruby/object:Gem::Dependency
169
169
  name: method_locator
170
- requirement: &19114980 !ruby/object:Gem::Requirement
170
+ requirement: &11740080 !ruby/object:Gem::Requirement
171
171
  none: false
172
172
  requirements:
173
173
  - - ! '>='
@@ -175,10 +175,10 @@ dependencies:
175
175
  version: 0.0.4
176
176
  type: :runtime
177
177
  prerelease: false
178
- version_requirements: *19114980
178
+ version_requirements: *11740080
179
179
  - !ruby/object:Gem::Dependency
180
180
  name: looksee
181
- requirement: &19114260 !ruby/object:Gem::Requirement
181
+ requirement: &11736200 !ruby/object:Gem::Requirement
182
182
  none: false
183
183
  requirements:
184
184
  - - ~>
@@ -186,10 +186,10 @@ dependencies:
186
186
  version: 1.0.3
187
187
  type: :runtime
188
188
  prerelease: false
189
- version_requirements: *19114260
189
+ version_requirements: *11736200
190
190
  - !ruby/object:Gem::Dependency
191
191
  name: rvm_loader
192
- requirement: &19113540 !ruby/object:Gem::Requirement
192
+ requirement: &11735500 !ruby/object:Gem::Requirement
193
193
  none: false
194
194
  requirements:
195
195
  - - ! '>='
@@ -197,18 +197,18 @@ dependencies:
197
197
  version: 1.0.0
198
198
  type: :runtime
199
199
  prerelease: false
200
- version_requirements: *19113540
200
+ version_requirements: *11735500
201
201
  - !ruby/object:Gem::Dependency
202
202
  name: every_day_irb
203
- requirement: &19112880 !ruby/object:Gem::Requirement
203
+ requirement: &11734760 !ruby/object:Gem::Requirement
204
204
  none: false
205
205
  requirements:
206
206
  - - ! '>='
207
207
  - !ruby/object:Gem::Version
208
- version: 1.1.0.pre
208
+ version: 1.1.0.pre.2
209
209
  type: :runtime
210
210
  prerelease: false
211
- version_requirements: *19112880
211
+ version_requirements: *11734760
212
212
  description: irbtools is a meta gem that installs useful irb gems and configures your
213
213
  irb. Simply put a require "irbtools" in the .irbrc file in your home directory.
214
214
  email: mail@janlelis.de