ruby-changes:38175
From: hsbt <ko1@a...>
Date: Sun, 12 Apr 2015 13:52:41 +0900 (JST)
Subject: [ruby-changes:38175] hsbt:r50256 (trunk): * ext/coverage/coverage.c: Remove extension from require argument.
hsbt 2015-04-12 13:52:23 +0900 (Sun, 12 Apr 2015) New Revision: 50256 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=50256 Log: * ext/coverage/coverage.c: Remove extension from require argument. [ci skip][fix GH-870] Patch by @yui-knk Modified files: trunk/ChangeLog trunk/ext/coverage/coverage.c Index: ChangeLog =================================================================== --- ChangeLog (revision 50255) +++ ChangeLog (revision 50256) @@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Sun Apr 12 13:52:18 2015 SHIBATA Hiroshi <shibata.hiroshi@g...> + + * ext/coverage/coverage.c: Remove extension from require argument. + [ci skip][fix GH-870] Patch by @yui-knk + Sun Apr 12 10:29:14 2015 Eric Wong <e@8...> * ext/openssl/ossl_ssl.c (ossl_ssl_connect_nonblock): Index: ext/coverage/coverage.c =================================================================== --- ext/coverage/coverage.c (revision 50255) +++ ext/coverage/coverage.c (revision 50256) @@ -93,7 +93,7 @@ rb_coverage_result(VALUE klass) https://github.com/ruby/ruby/blob/trunk/ext/coverage/coverage.c#L93 * * = Usage * - * 1. require "coverage.so" + * 1. require "coverage" * 2. do Coverage.start * 3. require or load Ruby source file * 4. Coverage.result will return a hash that contains filename as key and @@ -116,7 +116,7 @@ rb_coverage_result(VALUE klass) https://github.com/ruby/ruby/blob/trunk/ext/coverage/coverage.c#L116 * end * [EOF] * - * require "coverage.so" + * require "coverage" * Coverage.start * require "foo.rb" * p Coverage.result #=> {"foo.rb"=>[1, 1, 10, nil, nil, 1, 1, nil, 0, nil]} -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/