From 6b35c34c6808f24f6ac8f03d99620a6406676b0e Mon Sep 17 00:00:00 2001 From: hsbt Date: Fri, 7 Oct 2016 05:18:57 +0000 Subject: [PATCH] * basictest/test.rb: Adjust spaces in class declarations with inheritance. [fix GH-1227] Patch by @adrfer * lib/irb/*: ditto. * lib/prime.rb: ditto. * lib/shell/builtin-command.rb: ditto. * object.c: ditto. * sample/*.rb: ditto. * test/-ext-/method/test_arity.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56371 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 11 +++++++++++ basictest/test.rb | 6 +++--- lib/irb/cmd/chws.rb | 4 ++-- lib/irb/cmd/fork.rb | 2 +- lib/irb/cmd/help.rb | 2 +- lib/irb/cmd/load.rb | 6 +++--- lib/irb/cmd/pushws.rb | 6 +++--- lib/irb/cmd/subirb.rb | 8 ++++---- lib/irb/notifier.rb | 6 +++--- lib/irb/output-method.rb | 2 +- lib/prime.rb | 4 ++-- lib/shell/builtin-command.rb | 2 +- object.c | 8 ++++---- sample/delegate.rb | 2 +- sample/export.rb | 2 +- test/-ext-/method/test_arity.rb | 2 +- 16 files changed, 42 insertions(+), 31 deletions(-) diff --git a/ChangeLog b/ChangeLog index d0a2f08b65..dd17e1b256 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,14 @@ +Fri Oct 7 14:18:40 2016 SHIBATA Hiroshi + + * basictest/test.rb: Adjust spaces in class declarations + with inheritance. [fix GH-1227] Patch by @adrfer + * lib/irb/*: ditto. + * lib/prime.rb: ditto. + * lib/shell/builtin-command.rb: ditto. + * object.c: ditto. + * sample/*.rb: ditto. + * test/-ext-/method/test_arity.rb: ditto. + Thu Oct 6 17:29:44 2016 Nobuyoshi Nakada * load.c (rb_require_safe): SyntaxError created by the parser just diff --git a/basictest/test.rb b/basictest/test.rb index 8472a0d14a..25d52ca1ef 100755 --- a/basictest/test.rb +++ b/basictest/test.rb @@ -2242,11 +2242,11 @@ test_check "alias" class Alias0 def foo; "foo" end end -class Alias1other. Returns * nil if there's no relationship between the two. * (Think of the relationship in terms of the class definition: - * "class Amod is a subclass of other. Returns * nil if there's no relationship between the two. * (Think of the relationship in terms of the class definition: - * "class Anil if there's no relationship between the two. * (Think of the relationship in terms of the class definition: - * "class AA".) + * "class A < B" implies "B > A".) * */ @@ -1638,7 +1638,7 @@ rb_mod_ge(VALUE mod, VALUE arg) * Returns true if mod is an ancestor of other. Returns * nil if there's no relationship between the two. * (Think of the relationship in terms of the class definition: - * "class AA".) + * "class A < B" implies "B > A".) * */ diff --git a/sample/delegate.rb b/sample/delegate.rb index 918dc08877..dc7ea2a0af 100644 --- a/sample/delegate.rb +++ b/sample/delegate.rb @@ -1,6 +1,6 @@ require 'delegate' -class ExtArray