mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ext/digest/md5/md5init.c (Init_md5): Now that we have digest.rb,
require "digest" rather than "digest.so". * ext/digest/rmd160/rmd160init.c (Init_rmd160): Ditto. * ext/digest/sha1/sha1init.c (Init_sha1): Ditto. * ext/digest/sha2/sha2init.c (Init_sha2): Ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11042 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
62ad417517
commit
3c29f3feef
5 changed files with 15 additions and 4 deletions
11
ChangeLog
11
ChangeLog
|
@ -1,3 +1,14 @@
|
||||||
|
Wed Sep 27 22:08:16 2006 Akinori MUSHA <knu@iDaemons.org>
|
||||||
|
|
||||||
|
* ext/digest/md5/md5init.c (Init_md5): Now that we have digest.rb,
|
||||||
|
require "digest" rather than "digest.so".
|
||||||
|
|
||||||
|
* ext/digest/rmd160/rmd160init.c (Init_rmd160): Ditto.
|
||||||
|
|
||||||
|
* ext/digest/sha1/sha1init.c (Init_sha1): Ditto.
|
||||||
|
|
||||||
|
* ext/digest/sha2/sha2init.c (Init_sha2): Ditto.
|
||||||
|
|
||||||
Wed Sep 27 21:21:08 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
|
Wed Sep 27 21:21:08 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||||
|
|
||||||
* string.c (rb_str_startwith): rename startwith? to start_with?,
|
* string.c (rb_str_startwith): rename startwith? to start_with?,
|
||||||
|
|
|
@ -23,7 +23,7 @@ Init_md5()
|
||||||
{
|
{
|
||||||
VALUE mDigest, cDigest_Base, cDigest_MD5;
|
VALUE mDigest, cDigest_Base, cDigest_MD5;
|
||||||
|
|
||||||
rb_require("digest.so");
|
rb_require("digest");
|
||||||
|
|
||||||
mDigest = rb_path2class("Digest");
|
mDigest = rb_path2class("Digest");
|
||||||
cDigest_Base = rb_path2class("Digest::Base");
|
cDigest_Base = rb_path2class("Digest::Base");
|
||||||
|
|
|
@ -24,7 +24,7 @@ Init_rmd160()
|
||||||
VALUE mDigest, cDigest_Base, cDigest_RMD160;
|
VALUE mDigest, cDigest_Base, cDigest_RMD160;
|
||||||
ID id_metadata;
|
ID id_metadata;
|
||||||
|
|
||||||
rb_require("digest.so");
|
rb_require("digest");
|
||||||
|
|
||||||
mDigest = rb_path2class("Digest");
|
mDigest = rb_path2class("Digest");
|
||||||
cDigest_Base = rb_path2class("Digest::Base");
|
cDigest_Base = rb_path2class("Digest::Base");
|
||||||
|
|
|
@ -23,7 +23,7 @@ Init_sha1()
|
||||||
{
|
{
|
||||||
VALUE mDigest, cDigest_Base, cDigest_SHA1;
|
VALUE mDigest, cDigest_Base, cDigest_SHA1;
|
||||||
|
|
||||||
rb_require("digest.so");
|
rb_require("digest");
|
||||||
|
|
||||||
mDigest = rb_path2class("Digest");
|
mDigest = rb_path2class("Digest");
|
||||||
cDigest_Base = rb_path2class("Digest::Base");
|
cDigest_Base = rb_path2class("Digest::Base");
|
||||||
|
|
|
@ -30,7 +30,7 @@ Init_sha2()
|
||||||
|
|
||||||
FOREACH_BITLEN(DECLARE_ALGO_CLASS)
|
FOREACH_BITLEN(DECLARE_ALGO_CLASS)
|
||||||
|
|
||||||
rb_require("digest.so");
|
rb_require("digest");
|
||||||
|
|
||||||
id_metadata = rb_intern("metadata");
|
id_metadata = rb_intern("metadata");
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue