ruby-prof 0.16.0 → 0.16.1

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 34157be7a5a12bf59f9a32a87772865ffdfcd4d5
4
- data.tar.gz: b8e596d1691d4a7c06219fa565f3aa59d4c6c454
3
+ metadata.gz: ae5c9b6ca4180f6308c84313afd80efc58baf848
4
+ data.tar.gz: e62d90e378ddc069bd269db4bb487ee8d4d8dfd9
5
5
  SHA512:
6
- metadata.gz: 86b2dad68efbc23d8c20d76f030cc9261ad1a6db209319d4eb18e9ad840f7c8c85d4ea08f18dc0855970d8faecbff53ae71282ddf640e9b8840622985f318bc3
7
- data.tar.gz: f68457fd69407d964b329937f4eb87459fdb1b7a0fffc4a8f64002d6600106bc916f60a73d7edfa2e4c335fb6b44d7a76844793c7ee3f586c837fc162abd9698
6
+ metadata.gz: 9ddadfd9ee7f5eae65ae6799d007c6b04c76050e6dc36321f14885667fa2b73ad05c3da04b0c3413db1bb1d0507b88277fa9b62ac9586771af38c856c42c4f95
7
+ data.tar.gz: 10b71b329214985a2727c59fd8b3c924536de3bbb7754246cc86e7beb787ff2491308ca777b7cd18c98ed527e810d3ca4a9fc7d5eeca84db6b2f5dea6c5d6647
data/CHANGES CHANGED
@@ -1,3 +1,7 @@
1
+ 0.16.1 (2016-08-24)
2
+ =====================
3
+ * fixed compile problem with ruby 2.1.10
4
+
1
5
  0.16.0 (2016-08-24)
2
6
  =====================
3
7
  * ruby-prof can now be installed if ruby has been compiled with --disable-gems or
data/Rakefile CHANGED
@@ -38,7 +38,7 @@ Rake::ExtensionTask.new do |ext|
38
38
  ext.gem_spec = default_spec
39
39
  ext.name = SO_NAME
40
40
  ext.ext_dir = "ext/#{SO_NAME}"
41
- ext.lib_dir = "lib/#{RUBY_VERSION.sub(/\.\d$/, '')}"
41
+ ext.lib_dir = "lib/#{RUBY_VERSION}"
42
42
  ext.cross_compile = true
43
43
  ext.cross_platform = ['x86-mswin32-60', 'x86-mingw32-60']
44
44
  end
@@ -1,10 +1,10 @@
1
- Wed, 24 Aug 2016 20:28:44 +0200
1
+ Wed, 24 Aug 2016 22:07:18 +0200
2
2
  bin/ruby-prof Sat, 02 Jan 2016 16:48:57 +0100
3
3
  bin/ruby-prof-check-trace Sun, 10 Mar 2013 10:57:14 +0100
4
4
  examples/flat.txt Sun, 06 Dec 2015 14:08:42 +0100
5
5
  examples/graph.txt Fri, 17 Jun 2016 19:44:14 +0200
6
6
  examples/graph.html Wed, 09 Dec 2015 16:14:34 +0100
7
- lib/ruby-prof.rb Sun, 13 Mar 2016 17:37:58 +0100
7
+ lib/ruby-prof.rb Wed, 24 Aug 2016 21:59:47 +0200
8
8
  lib/ruby-prof/aggregate_call_info.rb Tue, 08 Dec 2015 18:03:49 +0100
9
9
  lib/ruby-prof/call_info.rb Sun, 13 Mar 2016 12:37:42 +0100
10
10
  lib/ruby-prof/call_info_visitor.rb Sun, 22 Feb 2015 16:10:12 +0100
@@ -24,7 +24,7 @@ lib/ruby-prof/profile.rb Sun, 13 Mar 2016 17:37:58 +0100
24
24
  lib/ruby-prof/rack.rb Fri, 17 Jun 2016 20:01:16 +0200
25
25
  lib/ruby-prof/task.rb Tue, 29 Jan 2013 16:43:39 +0100
26
26
  lib/ruby-prof/thread.rb Sun, 13 Mar 2016 17:39:57 +0100
27
- lib/ruby-prof/version.rb Sun, 13 Mar 2016 21:00:43 +0100
27
+ lib/ruby-prof/version.rb Wed, 24 Aug 2016 22:03:29 +0200
28
28
  lib/unprof.rb Tue, 29 Jan 2013 16:43:39 +0100
29
29
  ext/ruby_prof/ruby_prof.c Sun, 13 Mar 2016 20:27:23 +0100
30
30
  README.rdoc Fri, 17 Jun 2016 20:01:16 +0200
Binary file
@@ -217,9 +217,14 @@
217
217
  <span class="container">RubyProf</span>
218
218
 
219
219
  <li class="method">
220
- <a href="Rack/RubyProf.html#method-c-new">::new</a>
220
+ <a href="RubyProf/Cmd.html#method-c-new">::new</a>
221
221
  &mdash;
222
- <span class="container">Rack::RubyProf</span>
222
+ <span class="container">RubyProf::Cmd</span>
223
+
224
+ <li class="method">
225
+ <a href="RubyProf/Profile.html#method-c-new">::new</a>
226
+ &mdash;
227
+ <span class="container">RubyProf::Profile</span>
223
228
 
224
229
  <li class="method">
225
230
  <a href="RubyProf/AbstractPrinter.html#method-c-new">::new</a>
@@ -232,19 +237,14 @@
232
237
  <span class="container">RubyProf::CallInfoVisitor</span>
233
238
 
234
239
  <li class="method">
235
- <a href="RubyProf/Profile.html#method-c-new">::new</a>
236
- &mdash;
237
- <span class="container">RubyProf::Profile</span>
238
-
239
- <li class="method">
240
- <a href="RubyProf/Cmd.html#method-c-new">::new</a>
240
+ <a href="RubyProf/AggregateCallInfo.html#method-c-new">::new</a>
241
241
  &mdash;
242
- <span class="container">RubyProf::Cmd</span>
242
+ <span class="container">RubyProf::AggregateCallInfo</span>
243
243
 
244
244
  <li class="method">
245
- <a href="RubyProf/AggregateCallInfo.html#method-c-new">::new</a>
245
+ <a href="RubyProf/ProfileTask.html#method-c-new">::new</a>
246
246
  &mdash;
247
- <span class="container">RubyProf::AggregateCallInfo</span>
247
+ <span class="container">RubyProf::ProfileTask</span>
248
248
 
249
249
  <li class="method">
250
250
  <a href="RubyProf/DotPrinter.html#method-c-new">::new</a>
@@ -257,9 +257,9 @@
257
257
  <span class="container">RubyProf::MultiPrinter</span>
258
258
 
259
259
  <li class="method">
260
- <a href="RubyProf/ProfileTask.html#method-c-new">::new</a>
260
+ <a href="Rack/RubyProf.html#method-c-new">::new</a>
261
261
  &mdash;
262
- <span class="container">RubyProf::ProfileTask</span>
262
+ <span class="container">Rack::RubyProf</span>
263
263
 
264
264
  <li class="method">
265
265
  <a href="RubyProf.html#method-c-pause">::pause</a>
@@ -267,14 +267,14 @@
267
267
  <span class="container">RubyProf</span>
268
268
 
269
269
  <li class="method">
270
- <a href="RubyProf.html#method-c-profile">::profile</a>
270
+ <a href="RubyProf/Profile.html#method-c-profile">::profile</a>
271
271
  &mdash;
272
- <span class="container">RubyProf</span>
272
+ <span class="container">RubyProf::Profile</span>
273
273
 
274
274
  <li class="method">
275
- <a href="RubyProf/Profile.html#method-c-profile">::profile</a>
275
+ <a href="RubyProf.html#method-c-profile">::profile</a>
276
276
  &mdash;
277
- <span class="container">RubyProf::Profile</span>
277
+ <span class="container">RubyProf</span>
278
278
 
279
279
  <li class="method">
280
280
  <a href="RubyProf.html#method-c-resume">::resume</a>
@@ -351,20 +351,15 @@
351
351
  &mdash;
352
352
  <span class="container">RubyProf::CallInfo</span>
353
353
 
354
- <li class="method">
355
- <a href="RubyProf/MethodInfo.html#method-i-called">#called</a>
356
- &mdash;
357
- <span class="container">RubyProf::MethodInfo</span>
358
-
359
354
  <li class="method">
360
355
  <a href="RubyProf/AggregateCallInfo.html#method-i-called">#called</a>
361
356
  &mdash;
362
357
  <span class="container">RubyProf::AggregateCallInfo</span>
363
358
 
364
359
  <li class="method">
365
- <a href="RubyProf/AggregateCallInfo.html#method-i-children">#children</a>
360
+ <a href="RubyProf/MethodInfo.html#method-i-called">#called</a>
366
361
  &mdash;
367
- <span class="container">RubyProf::AggregateCallInfo</span>
362
+ <span class="container">RubyProf::MethodInfo</span>
368
363
 
369
364
  <li class="method">
370
365
  <a href="RubyProf/MethodInfo.html#method-i-children">#children</a>
@@ -372,9 +367,14 @@
372
367
  <span class="container">RubyProf::MethodInfo</span>
373
368
 
374
369
  <li class="method">
375
- <a href="RubyProf/MethodInfo.html#method-i-children_time">#children_time</a>
370
+ <a href="RubyProf/AggregateCallInfo.html#method-i-children">#children</a>
376
371
  &mdash;
377
- <span class="container">RubyProf::MethodInfo</span>
372
+ <span class="container">RubyProf::AggregateCallInfo</span>
373
+
374
+ <li class="method">
375
+ <a href="RubyProf/CallInfo.html#method-i-children_time">#children_time</a>
376
+ &mdash;
377
+ <span class="container">RubyProf::CallInfo</span>
378
378
 
379
379
  <li class="method">
380
380
  <a href="RubyProf/AggregateCallInfo.html#method-i-children_time">#children_time</a>
@@ -382,9 +382,9 @@
382
382
  <span class="container">RubyProf::AggregateCallInfo</span>
383
383
 
384
384
  <li class="method">
385
- <a href="RubyProf/CallInfo.html#method-i-children_time">#children_time</a>
385
+ <a href="RubyProf/MethodInfo.html#method-i-children_time">#children_time</a>
386
386
  &mdash;
387
- <span class="container">RubyProf::CallInfo</span>
387
+ <span class="container">RubyProf::MethodInfo</span>
388
388
 
389
389
  <li class="method">
390
390
  <a href="RubyProf/ProfileTask.html#method-i-clean_output_directory">#clean_output_directory</a>
@@ -421,11 +421,6 @@
421
421
  &mdash;
422
422
  <span class="container">RubyProf::CallInfo</span>
423
423
 
424
- <li class="method">
425
- <a href="RubyProf/CallInfo.html#method-i-detect_recursion">#detect_recursion</a>
426
- &mdash;
427
- <span class="container">RubyProf::CallInfo</span>
428
-
429
424
  <li class="method">
430
425
  <a href="RubyProf/Thread.html#method-i-detect_recursion">#detect_recursion</a>
431
426
  &mdash;
@@ -436,6 +431,11 @@
436
431
  &mdash;
437
432
  <span class="container">RubyProf::MethodInfo</span>
438
433
 
434
+ <li class="method">
435
+ <a href="RubyProf/CallInfo.html#method-i-detect_recursion">#detect_recursion</a>
436
+ &mdash;
437
+ <span class="container">RubyProf::CallInfo</span>
438
+
439
439
  <li class="method">
440
440
  <a href="RubyProf/CallTreePrinter.html#method-i-determine_event_specification_and_value_scale">#determine_event_specification_and_value_scale</a>
441
441
  &mdash;
@@ -447,14 +447,14 @@
447
447
  <span class="container">RubyProf::CallStackPrinter</span>
448
448
 
449
449
  <li class="method">
450
- <a href="RubyProf/MethodInfo.html#method-i-eliminate-21">#eliminate!</a>
450
+ <a href="RubyProf/CallInfo.html#method-i-eliminate-21">#eliminate!</a>
451
451
  &mdash;
452
- <span class="container">RubyProf::MethodInfo</span>
452
+ <span class="container">RubyProf::CallInfo</span>
453
453
 
454
454
  <li class="method">
455
- <a href="RubyProf/CallInfo.html#method-i-eliminate-21">#eliminate!</a>
455
+ <a href="RubyProf/MethodInfo.html#method-i-eliminate-21">#eliminate!</a>
456
456
  &mdash;
457
- <span class="container">RubyProf::CallInfo</span>
457
+ <span class="container">RubyProf::MethodInfo</span>
458
458
 
459
459
  <li class="method">
460
460
  <a href="RubyProf/Profile.html#method-i-eliminate_methods-21">#eliminate_methods!</a>
@@ -537,14 +537,14 @@
537
537
  <span class="container">RubyProf::CallInfo</span>
538
538
 
539
539
  <li class="method">
540
- <a href="RubyProf/GraphHtmlPrinter.html#method-i-method_href">#method_href</a>
540
+ <a href="RubyProf/CallStackPrinter.html#method-i-method_href">#method_href</a>
541
541
  &mdash;
542
- <span class="container">RubyProf::GraphHtmlPrinter</span>
542
+ <span class="container">RubyProf::CallStackPrinter</span>
543
543
 
544
544
  <li class="method">
545
- <a href="RubyProf/CallStackPrinter.html#method-i-method_href">#method_href</a>
545
+ <a href="RubyProf/GraphHtmlPrinter.html#method-i-method_href">#method_href</a>
546
546
  &mdash;
547
- <span class="container">RubyProf::CallStackPrinter</span>
547
+ <span class="container">RubyProf::GraphHtmlPrinter</span>
548
548
 
549
549
  <li class="method">
550
550
  <a href="RubyProf/AbstractPrinter.html#method-i-method_name">#method_name</a>
@@ -617,34 +617,34 @@
617
617
  <span class="container">RubyProf::Profile</span>
618
618
 
619
619
  <li class="method">
620
- <a href="RubyProf/CallStackPrinter.html#method-i-print">#print</a>
620
+ <a href="RubyProf/CallTreePrinter.html#method-i-print">#print</a>
621
621
  &mdash;
622
- <span class="container">RubyProf::CallStackPrinter</span>
622
+ <span class="container">RubyProf::CallTreePrinter</span>
623
623
 
624
624
  <li class="method">
625
- <a href="RubyProf/AbstractPrinter.html#method-i-print">#print</a>
625
+ <a href="RubyProf/GraphHtmlPrinter.html#method-i-print">#print</a>
626
626
  &mdash;
627
- <span class="container">RubyProf::AbstractPrinter</span>
627
+ <span class="container">RubyProf::GraphHtmlPrinter</span>
628
628
 
629
629
  <li class="method">
630
- <a href="RubyProf/CallTreePrinter.html#method-i-print">#print</a>
630
+ <a href="RubyProf/AbstractPrinter.html#method-i-print">#print</a>
631
631
  &mdash;
632
- <span class="container">RubyProf::CallTreePrinter</span>
632
+ <span class="container">RubyProf::AbstractPrinter</span>
633
633
 
634
634
  <li class="method">
635
- <a href="RubyProf/DotPrinter.html#method-i-print">#print</a>
635
+ <a href="RubyProf/CallStackPrinter.html#method-i-print">#print</a>
636
636
  &mdash;
637
- <span class="container">RubyProf::DotPrinter</span>
637
+ <span class="container">RubyProf::CallStackPrinter</span>
638
638
 
639
639
  <li class="method">
640
- <a href="RubyProf/GraphHtmlPrinter.html#method-i-print">#print</a>
640
+ <a href="RubyProf/MultiPrinter.html#method-i-print">#print</a>
641
641
  &mdash;
642
- <span class="container">RubyProf::GraphHtmlPrinter</span>
642
+ <span class="container">RubyProf::MultiPrinter</span>
643
643
 
644
644
  <li class="method">
645
- <a href="RubyProf/MultiPrinter.html#method-i-print">#print</a>
645
+ <a href="RubyProf/DotPrinter.html#method-i-print">#print</a>
646
646
  &mdash;
647
- <span class="container">RubyProf::MultiPrinter</span>
647
+ <span class="container">RubyProf::DotPrinter</span>
648
648
 
649
649
  <li class="method">
650
650
  <a href="RubyProf/CallStackPrinter.html#method-i-print_commands">#print_commands</a>
@@ -672,14 +672,14 @@
672
672
  <span class="container">RubyProf::CallStackPrinter</span>
673
673
 
674
674
  <li class="method">
675
- <a href="RubyProf/CallStackPrinter.html#method-i-print_header">#print_header</a>
675
+ <a href="RubyProf/AbstractPrinter.html#method-i-print_header">#print_header</a>
676
676
  &mdash;
677
- <span class="container">RubyProf::CallStackPrinter</span>
677
+ <span class="container">RubyProf::AbstractPrinter</span>
678
678
 
679
679
  <li class="method">
680
- <a href="RubyProf/AbstractPrinter.html#method-i-print_header">#print_header</a>
680
+ <a href="RubyProf/CallStackPrinter.html#method-i-print_header">#print_header</a>
681
681
  &mdash;
682
- <span class="container">RubyProf::AbstractPrinter</span>
682
+ <span class="container">RubyProf::CallStackPrinter</span>
683
683
 
684
684
  <li class="method">
685
685
  <a href="RubyProf/CallTreePrinter.html#method-i-print_headers">#print_headers</a>
@@ -752,14 +752,14 @@
752
752
  <span class="container">RubyProf::Profile</span>
753
753
 
754
754
  <li class="method">
755
- <a href="RubyProf/MethodInfo.html#method-i-root-3F">#root?</a>
755
+ <a href="RubyProf/CallInfo.html#method-i-root-3F">#root?</a>
756
756
  &mdash;
757
- <span class="container">RubyProf::MethodInfo</span>
757
+ <span class="container">RubyProf::CallInfo</span>
758
758
 
759
759
  <li class="method">
760
- <a href="RubyProf/CallInfo.html#method-i-root-3F">#root?</a>
760
+ <a href="RubyProf/MethodInfo.html#method-i-root-3F">#root?</a>
761
761
  &mdash;
762
- <span class="container">RubyProf::CallInfo</span>
762
+ <span class="container">RubyProf::MethodInfo</span>
763
763
 
764
764
  <li class="method">
765
765
  <a href="RubyProf/Cmd.html#method-i-run">#run</a>
@@ -776,15 +776,20 @@
776
776
  &mdash;
777
777
  <span class="container">RubyProf::Profile</span>
778
778
 
779
+ <li class="method">
780
+ <a href="RubyProf/AggregateCallInfo.html#method-i-self_time">#self_time</a>
781
+ &mdash;
782
+ <span class="container">RubyProf::AggregateCallInfo</span>
783
+
779
784
  <li class="method">
780
785
  <a href="RubyProf/MethodInfo.html#method-i-self_time">#self_time</a>
781
786
  &mdash;
782
787
  <span class="container">RubyProf::MethodInfo</span>
783
788
 
784
789
  <li class="method">
785
- <a href="RubyProf/AggregateCallInfo.html#method-i-self_time">#self_time</a>
790
+ <a href="RubyProf/Cmd.html#method-i-setup_options">#setup_options</a>
786
791
  &mdash;
787
- <span class="container">RubyProf::AggregateCallInfo</span>
792
+ <span class="container">RubyProf::Cmd</span>
788
793
 
789
794
  <li class="method">
790
795
  <a href="RubyProf/GraphHtmlPrinter.html#method-i-setup_options">#setup_options</a>
@@ -796,11 +801,6 @@
796
801
  &mdash;
797
802
  <span class="container">RubyProf::AbstractPrinter</span>
798
803
 
799
- <li class="method">
800
- <a href="RubyProf/Cmd.html#method-i-setup_options">#setup_options</a>
801
- &mdash;
802
- <span class="container">RubyProf::Cmd</span>
803
-
804
804
  <li class="method">
805
805
  <a href="RubyProf/AbstractPrinter.html#method-i-sort_method">#sort_method</a>
806
806
  &mdash;
@@ -861,11 +861,6 @@
861
861
  &mdash;
862
862
  <span class="container">RubyProf::CallStackPrinter</span>
863
863
 
864
- <li class="method">
865
- <a href="RubyProf/MethodInfo.html#method-i-to_s">#to_s</a>
866
- &mdash;
867
- <span class="container">RubyProf::MethodInfo</span>
868
-
869
864
  <li class="method">
870
865
  <a href="RubyProf/CallInfo.html#method-i-to_s">#to_s</a>
871
866
  &mdash;
@@ -876,6 +871,11 @@
876
871
  &mdash;
877
872
  <span class="container">RubyProf::AggregateCallInfo</span>
878
873
 
874
+ <li class="method">
875
+ <a href="RubyProf/MethodInfo.html#method-i-to_s">#to_s</a>
876
+ &mdash;
877
+ <span class="container">RubyProf::MethodInfo</span>
878
+
879
879
  <li class="method">
880
880
  <a href="RubyProf/Thread.html#method-i-top_call_infos">#top_call_infos</a>
881
881
  &mdash;
@@ -887,9 +887,9 @@
887
887
  <span class="container">RubyProf::Thread</span>
888
888
 
889
889
  <li class="method">
890
- <a href="RubyProf/Thread.html#method-i-total_time">#total_time</a>
890
+ <a href="RubyProf/AggregateCallInfo.html#method-i-total_time">#total_time</a>
891
891
  &mdash;
892
- <span class="container">RubyProf::Thread</span>
892
+ <span class="container">RubyProf::AggregateCallInfo</span>
893
893
 
894
894
  <li class="method">
895
895
  <a href="RubyProf/CallStackPrinter.html#method-i-total_time">#total_time</a>
@@ -897,14 +897,14 @@
897
897
  <span class="container">RubyProf::CallStackPrinter</span>
898
898
 
899
899
  <li class="method">
900
- <a href="RubyProf/AggregateCallInfo.html#method-i-total_time">#total_time</a>
900
+ <a href="RubyProf/MethodInfo.html#method-i-total_time">#total_time</a>
901
901
  &mdash;
902
- <span class="container">RubyProf::AggregateCallInfo</span>
902
+ <span class="container">RubyProf::MethodInfo</span>
903
903
 
904
904
  <li class="method">
905
- <a href="RubyProf/MethodInfo.html#method-i-total_time">#total_time</a>
905
+ <a href="RubyProf/Thread.html#method-i-total_time">#total_time</a>
906
906
  &mdash;
907
- <span class="container">RubyProf::MethodInfo</span>
907
+ <span class="container">RubyProf::Thread</span>
908
908
 
909
909
  <li class="method">
910
910
  <a href="RubyProf/MultiPrinter.html#method-i-tree_profile">#tree_profile</a>
@@ -917,9 +917,9 @@
917
917
  <span class="container">RubyProf::CallInfoVisitor</span>
918
918
 
919
919
  <li class="method">
920
- <a href="RubyProf/Thread.html#method-i-wait_time">#wait_time</a>
920
+ <a href="RubyProf/MethodInfo.html#method-i-wait_time">#wait_time</a>
921
921
  &mdash;
922
- <span class="container">RubyProf::Thread</span>
922
+ <span class="container">RubyProf::MethodInfo</span>
923
923
 
924
924
  <li class="method">
925
925
  <a href="RubyProf/AggregateCallInfo.html#method-i-wait_time">#wait_time</a>
@@ -927,9 +927,9 @@
927
927
  <span class="container">RubyProf::AggregateCallInfo</span>
928
928
 
929
929
  <li class="method">
930
- <a href="RubyProf/MethodInfo.html#method-i-wait_time">#wait_time</a>
930
+ <a href="RubyProf/Thread.html#method-i-wait_time">#wait_time</a>
931
931
  &mdash;
932
- <span class="container">RubyProf::MethodInfo</span>
932
+ <span class="container">RubyProf::Thread</span>
933
933
  </ul>
934
934
  </main>
935
935
 
@@ -14,7 +14,7 @@ static VALUE cMeasureAllocations;
14
14
  #if defined(HAVE_RB_GC_STAT)
15
15
  size_t rb_gc_stat(VALUE key);
16
16
 
17
- #if RUBY_VERSION >= 220
17
+ #if RUBY_VERSION >= 2200
18
18
  #define TOTAL_ALLOCATED_OBJECTS_STRING "total_allocated_objects"
19
19
  #else
20
20
  #define TOTAL_ALLOCATED_OBJECTS_STRING "total_allocated_object"
@@ -2,10 +2,10 @@
2
2
 
3
3
  # Load the C-based binding.
4
4
  begin
5
- RUBY_VERSION =~ /(\d+.\d+)/
6
- require "#{$1}/ruby_prof"
5
+ RUBY_VERSION =~ /(\d+\.\d+\.\d+)/
6
+ require "#{$1}/ruby_prof.so"
7
7
  rescue LoadError
8
- require "ruby_prof"
8
+ require "ruby_prof.so"
9
9
  end
10
10
 
11
11
  require 'ruby-prof/version'
@@ -1,3 +1,3 @@
1
1
  module RubyProf
2
- VERSION = "0.16.0"
2
+ VERSION = "0.16.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-prof
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.16.0
4
+ version: 0.16.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shugo Maeda, Charlie Savage, Roger Pack, Stefan Kaes
@@ -263,7 +263,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
263
263
  version: '0'
264
264
  requirements: []
265
265
  rubyforge_project:
266
- rubygems_version: 2.6.4
266
+ rubygems_version: 2.4.8
267
267
  signing_key:
268
268
  specification_version: 4
269
269
  summary: Fast Ruby profiler