* lib/base64.rb (Base64::b64encode): should not specify /o option
for regular expression. [ruby-dev:31221] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12806 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
6c12b69fda
commit
bc8724d05f
@ -1,3 +1,8 @@
|
|||||||
|
Mon Jul 16 23:07:51 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||||
|
|
||||||
|
* lib/base64.rb (Base64::b64encode): should not specify /o option
|
||||||
|
for regular expression. [ruby-dev:31221]
|
||||||
|
|
||||||
Mon Jul 16 18:29:33 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
Mon Jul 16 18:29:33 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
* string.c (rb_str_rindex_m): accept string-like object convertible
|
* string.c (rb_str_rindex_m): accept string-like object convertible
|
||||||
|
@ -110,7 +110,7 @@ module Base64
|
|||||||
# UnVieQ==
|
# UnVieQ==
|
||||||
|
|
||||||
def b64encode(bin, len = 60)
|
def b64encode(bin, len = 60)
|
||||||
encode64(bin).scan(/.{1,#{len}}/o) do
|
encode64(bin).scan(/.{1,#{len}}/) do
|
||||||
print $&, "\n"
|
print $&, "\n"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#define RUBY_VERSION "1.9.0"
|
#define RUBY_VERSION "1.9.0"
|
||||||
#define RUBY_RELEASE_DATE "2007-07-16"
|
#define RUBY_RELEASE_DATE "2007-07-17"
|
||||||
#define RUBY_VERSION_CODE 190
|
#define RUBY_VERSION_CODE 190
|
||||||
#define RUBY_RELEASE_CODE 20070716
|
#define RUBY_RELEASE_CODE 20070717
|
||||||
#define RUBY_PATCHLEVEL 0
|
#define RUBY_PATCHLEVEL 0
|
||||||
|
|
||||||
#define RUBY_VERSION_MAJOR 1
|
#define RUBY_VERSION_MAJOR 1
|
||||||
@ -9,7 +9,7 @@
|
|||||||
#define RUBY_VERSION_TEENY 0
|
#define RUBY_VERSION_TEENY 0
|
||||||
#define RUBY_RELEASE_YEAR 2007
|
#define RUBY_RELEASE_YEAR 2007
|
||||||
#define RUBY_RELEASE_MONTH 7
|
#define RUBY_RELEASE_MONTH 7
|
||||||
#define RUBY_RELEASE_DAY 16
|
#define RUBY_RELEASE_DAY 17
|
||||||
|
|
||||||
#ifdef RUBY_EXTERN
|
#ifdef RUBY_EXTERN
|
||||||
RUBY_EXTERN const char ruby_version[];
|
RUBY_EXTERN const char ruby_version[];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user