minstrel 0.2.20101115031938 → 0.2.20101115033015
Sign up to get free protection for your applications and to get access to all the features.
- data/README.textile +3 -3
- data/bin/minstrel +3 -1
- data/lib/minstrel.rb +1 -1
- metadata +3 -3
data/README.textile
CHANGED
@@ -34,9 +34,9 @@ dlrow olleH
|
|
34
34
|
|
35
35
|
h3. The 'minstrel' tool
|
36
36
|
|
37
|
-
Since
|
38
|
-
-rrubygems -rminstrel ..., I provide 'minstrel' as a way to run ruby
|
39
|
-
with minstrel preloaded.
|
37
|
+
Since the following doesn't work as expected in ruby 1.8 (or maybe all rubies):
|
38
|
+
ruby -rrubygems -rminstrel ..., I provide 'minstrel' as a way to run ruby
|
39
|
+
programs with minstrel preloaded.
|
40
40
|
|
41
41
|
<pre>
|
42
42
|
% cat test.rb
|
data/bin/minstrel
CHANGED
data/lib/minstrel.rb
CHANGED
@@ -151,7 +151,7 @@ if ENV["RUBY_INSTRUMENT"]
|
|
151
151
|
ENV["RUBY_INSTRUMENT"].split(",").each do |klassname|
|
152
152
|
instrument = Minstrel::Instrument.new
|
153
153
|
instrument.wrap_classname(klassname) do |point, klass, method, *args|
|
154
|
-
puts "#{point} #{klass.name}##{method}(#{args.inspect})"
|
154
|
+
puts "#{point} #{klass.name || klassname}##{method}(#{args.inspect})"
|
155
155
|
end
|
156
156
|
end
|
157
157
|
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: minstrel
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 40202230066041
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 2
|
9
|
-
-
|
10
|
-
version: 0.2.
|
9
|
+
- 20101115033015
|
10
|
+
version: 0.2.20101115033015
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Jordan Sissel
|