Bug #9543

[Doc] Fix example in GServer documentation (lib/gserver)

Added by Marcus Stollsteimer over 1 year ago. Updated 11 months ago.

[ruby-core:60910]
Status:Closed
Priority:Normal
Assignee:Zachary Scott
ruby -v:ruby 2.1.0p0 (2013-12-25 revision 44422) [i686-linux] Backport:2.0.0: DONE, 2.1: DONE

Description

The code example does not match its description: the server should return time in seconds since 1970.

Patch appended (Time.now.to_s -> Time.now.to_i).

Also fixes some minor typos and inconsistencies.

doc_lib_gserver.patch Magnifier (1.78 KB) Marcus Stollsteimer, 02/20/2014 07:35 PM

Associated revisions

Revision 45344
Added by Zachary Scott about 1 year ago

  • lib/gserver.rb: [DOC] Fixed typo in example by @stomar [Bug #9543] [ci skip]

Revision 45344
Added by Zachary Scott about 1 year ago

  • lib/gserver.rb: [DOC] Fixed typo in example by @stomar [Bug #9543] [ci skip]

Revision 46719
Added by Tomoyuki Chikanaga 11 months ago

merge revision(s) r45344: [Backport #9543]

* lib/gserver.rb: [DOC] Fixed typo in example by @stomar [Bug #9543]

Revision 46746
Added by Usaku NAKAMURA 11 months ago

merge revision(s) 45344: [Backport #9543]

* lib/gserver.rb: [DOC] Fixed typo in example by @stomar [Bug #9543]

History

#1 Updated by Marcus Stollsteimer over 1 year ago

Now the patch...

#2 Updated by Zachary Scott about 1 year ago

  • Status changed from Open to Assigned

Thanks for the patch!

#3 Updated by Zachary Scott about 1 year ago

  • % Done changed from 0 to 100
  • Status changed from Assigned to Closed

Applied in changeset r45344.


  • lib/gserver.rb: [DOC] Fixed typo in example by @stomar [Bug #9543] [ci skip]

#4 Updated by Usaku NAKAMURA 11 months ago

  • Backport changed from 1.9.3: UNKNOWN, 2.0.0: UNKNOWN, 2.1: UNKNOWN to 2.0.0: REQUIRED, 2.1: REQUIRED

#5 Updated by Tomoyuki Chikanaga 11 months ago

  • Backport changed from 2.0.0: REQUIRED, 2.1: REQUIRED to 2.0.0: REQUIRED, 2.1: DONE

Backported into ruby_2_1 branch at r46719.

#6 Updated by Usaku NAKAMURA 11 months ago

  • Backport changed from 2.0.0: REQUIRED, 2.1: DONE to 2.0.0: DONE, 2.1: DONE

backported into ruby_2_0_0 at r46746.

Also available in: Atom PDF