ruby-changes:34663
From: usa <ko1@a...>
Date: Mon, 7 Jul 2014 12:55:30 +0900 (JST)
Subject: [ruby-changes:34663] usa:r46746 (ruby_2_0_0): merge revision(s) 45344: [Backport #9543]
usa 2014-07-07 12:55:25 +0900 (Mon, 07 Jul 2014) New Revision: 46746 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=46746 Log: merge revision(s) 45344: [Backport #9543] * lib/gserver.rb: [DOC] Fixed typo in example by @stomar [Bug #9543] Modified directories: branches/ruby_2_0_0/ Modified files: branches/ruby_2_0_0/ChangeLog branches/ruby_2_0_0/lib/gserver.rb branches/ruby_2_0_0/version.h Index: ruby_2_0_0/ChangeLog =================================================================== --- ruby_2_0_0/ChangeLog (revision 46745) +++ ruby_2_0_0/ChangeLog (revision 46746) @@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ruby_2_0_0/ChangeLog#L1 +Mon Jul 7 12:53:45 2014 Zachary Scott <e@z...> + + * lib/gserver.rb: [DOC] Fixed typo in example by @stomar [Bug #9543] + Mon Jul 7 12:52:44 2014 Zachary Scott <e@z...> * enumerator.c: [DOC] Fix example to show Enumerator#peek behavior Index: ruby_2_0_0/lib/gserver.rb =================================================================== --- ruby_2_0_0/lib/gserver.rb (revision 46745) +++ ruby_2_0_0/lib/gserver.rb (revision 46746) @@ -37,7 +37,7 @@ require "thread" https://github.com/ruby/ruby/blob/trunk/ruby_2_0_0/lib/gserver.rb#L37 # super(port, *args) # end # def serve(io) -# io.puts(Time.now.to_s) +# io.puts(Time.now.to_i) # end # end # @@ -144,7 +144,7 @@ class GServer https://github.com/ruby/ruby/blob/trunk/ruby_2_0_0/lib/gserver.rb#L144 attr_reader :port # Host on which to bind, as a String attr_reader :host - # Maximum number of connections to accept at at ime, as a FixNum + # Maximum number of connections to accept at a time, as a FixNum attr_reader :maxConnections # IO Device on which log messages should be written attr_accessor :stdlog @@ -156,7 +156,7 @@ class GServer https://github.com/ruby/ruby/blob/trunk/ruby_2_0_0/lib/gserver.rb#L156 # Called when a client connects, if auditing is enabled. # - # +client+:: a TCPSocket instances representing the client that connected + # +client+:: a TCPSocket instance representing the client that connected # # Return true to allow this client to connect, false to prevent it. def connecting(client) @@ -192,7 +192,7 @@ class GServer https://github.com/ruby/ruby/blob/trunk/ruby_2_0_0/lib/gserver.rb#L192 # Called if #debug is true whenever an unhandled exception is raised. # This implementation simply logs the backtrace. # - # +detail+:: The Exception that was caught + # +detail+:: the Exception that was caught def error(detail) log(detail.backtrace.join("\n")) end @@ -212,9 +212,9 @@ class GServer https://github.com/ruby/ruby/blob/trunk/ruby_2_0_0/lib/gserver.rb#L212 # Create a new server # - # +port+:: the port, as a FixNum, on which to listen. + # +port+:: the port, as a FixNum, on which to listen # +host+:: the host to bind to - # +maxConnections+:: The maximum number of simultaneous connections to + # +maxConnections+:: the maximum number of simultaneous connections to # accept # +stdlog+:: IO device on which to log messages # +audit+:: if true, lifecycle callbacks will be called. See #audit Index: ruby_2_0_0/version.h =================================================================== --- ruby_2_0_0/version.h (revision 46745) +++ ruby_2_0_0/version.h (revision 46746) @@ -1,6 +1,6 @@ https://github.com/ruby/ruby/blob/trunk/ruby_2_0_0/version.h#L1 #define RUBY_VERSION "2.0.0" #define RUBY_RELEASE_DATE "2014-07-07" -#define RUBY_PATCHLEVEL 528 +#define RUBY_PATCHLEVEL 529 #define RUBY_RELEASE_YEAR 2014 #define RUBY_RELEASE_MONTH 7 Property changes on: ruby_2_0_0 ___________________________________________________________________ Modified: svn:mergeinfo Merged /trunk:r45344 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/