diff --git a/ChangeLog b/ChangeLog index 2e409a8423..997d7a9c0d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Sat May 5 16:26:33 2007 Nobuyoshi Nakada + + * lib/date/format.rb (Format::Bag#method_missing): get rid of + modifying orginal argument. [ruby-core:11090] + Thu May 3 22:20:08 2007 Nobuyoshi Nakada * configure.in, defines.h, eval_load.c (rb_feature_p, rb_provided, diff --git a/lib/date/format.rb b/lib/date/format.rb index e0edb45720..723aa6713a 100644 --- a/lib/date/format.rb +++ b/lib/date/format.rb @@ -118,7 +118,7 @@ class Date end def method_missing(t, *args, &block) - t = t.to_s + t = "#{t}" set = t.chomp!('=') t = t.intern if set diff --git a/version.h b/version.h index 5ea5aaa1b8..de3d35f72a 100644 --- a/version.h +++ b/version.h @@ -1,7 +1,7 @@ #define RUBY_VERSION "1.9.0" -#define RUBY_RELEASE_DATE "2007-05-03" +#define RUBY_RELEASE_DATE "2007-05-05" #define RUBY_VERSION_CODE 190 -#define RUBY_RELEASE_CODE 20070503 +#define RUBY_RELEASE_CODE 20070505 #define RUBY_PATCHLEVEL 0 #define RUBY_VERSION_MAJOR 1 @@ -9,7 +9,7 @@ #define RUBY_VERSION_TEENY 0 #define RUBY_RELEASE_YEAR 2007 #define RUBY_RELEASE_MONTH 5 -#define RUBY_RELEASE_DAY 3 +#define RUBY_RELEASE_DAY 5 #ifdef RUBY_EXTERN RUBY_EXTERN const char ruby_version[];