8000 merge revision(s) 44878,44879: [Backport #9483] · github/ruby@8f7b410 · GitHub
[go: up one dir, main page]

Skip to content

Commit 8f7b410

Browse files
committed
merge revision(s) 44878,44879: [Backport ruby#9483]
* ext/ripper/lib/ripper/lexer.rb: [DOC] use lower case version of core classes when referring to return value, since we aren't directly talking about the class. Patch by Jonathan Jackson [Bug ruby#9483] * lib/open-uri.rb: [DOC] use lower case version of core classes, same as commit r44878, based on patch by Jonathan Jackson [Bug ruby#9483] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@45116 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
1 parent bda92e9 commit 8f7b410

File tree

4 files changed

+17
-5
lines changed

4 files changed

+17
-5
lines changed

ChangeLog

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
Sat Feb 22 15:06:32 2014 Zachary Scott <e@zzak.io>
2+
3+
* lib/open-uri.rb: [DOC] use lower case version of core classes, same
4+
as commit r44878, based on patch by Jonathan Jackson [Bug #9483]
5+
6+
Sat Feb 22 15:06:32 2014 Zachary Scott <e@zzak.io>
7+
8+
* ext/ripper/lib/ripper/lexer.rb: [DOC] use lower case version of core
9+
classes when referring to return value, since we aren't directly
10+
talking about the class. Patch by Jonathan Jackson [Bug #9483]
11+
112
Sat Feb 22 15:03:05 2014 Ayumu AIZAWA <ayumu.aizawa@gmail.com>
213

314
* variable.c: adding extra example in docs.

ext/ripper/lib/ripper/lexer.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
class Ripper
1414

15-
# Tokenizes the Ruby program and returns an Array of String.
15+
# Tokenizes the Ruby program and returns an array of strings.
1616
#
1717
# p Ripper.tokenize("def m(a) nil end")
1818
# # => ["def", " ", "m", "(", "a", ")", " ", "nil", " ", "end"]
@@ -21,7 +21,7 @@ def Ripper.tokenize(src, filename = '-', lineno = 1)
2121
Lexer.new(src, filename, lineno).tokenize
2222
end
2323

24-
# Tokenizes the Ruby program and returns an Array of an Array,
24+
# Tokenizes the Ruby program and returns an array of an array,
2525
# which is formatted like <code>[[lineno, column], type, token]</code>.
2626
#
2727
# require 'ripper'

lib/open-uri.rb

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -534,8 +534,9 @@ def charset
534534
end
535535
end
536536

537-
# returns a list of encodings in Content-Encoding field
538-
# as an Array of String.
537+
# Returns a list of encodings in Content-Encoding field as an array of
538+
# strings.
539+
#
539540
# The encodings are downcased for canonicalization.
540541
def content_encoding
541542
vs = @metas['content-encoding']

version.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#define RUBY_VERSION "2.1.1"
22
#define RUBY_RELEASE_DATE "2014-02-22"
3-
#define RUBY_PATCHLEVEL 60
3+
#define RUBY_PATCHLEVEL 61
44

55
#define RUBY_RELEASE_YEAR 2014
66
#define RUBY_RELEASE_MONTH 2

0 commit comments

Comments
 (0)
0