Skip to content

Commit 957bd76

Browse files
committed
merge revision(s) 44642: [Backport ruby#9093]
* lib/resolv.rb (Resolv::DNS::Resource::TXT#data): Return concatenated string. Patch by Ryan Brunner. [ruby-core:58220] [Bug ruby#9093] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@45114 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
1 parent cb38be4 commit 957bd76

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

ChangeLog

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
Sat Feb 22 15:01:21 2014 Tanaka Akira <[email protected]>
2+
3+
* lib/resolv.rb (Resolv::DNS::Resource::TXT#data): Return concatenated
4+
string.
5+
Patch by Ryan Brunner. [ruby-core:58220] [Bug #9093]
6+
17
Sat Feb 22 14:52:55 2014 Zachary Scott <[email protected]>
28

39
* ext/openssl/ossl_pkey_dh.c: Fixed typo by Sandor Szuecs [Bug #9243]

lib/resolv.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1974,10 +1974,10 @@ def initialize(first_string, *rest_strings)
19741974
attr_reader :strings
19751975

19761976
##
1977-
# Returns the first string from +strings+.
1977+
# Returns the concatenated string from +strings+.
19781978

19791979
def data
1980-
@strings[0]
1980+
@strings.join("")
19811981
end
19821982

19831983
def encode_rdata(msg) # :nodoc:

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 58
3+
#define RUBY_PATCHLEVEL 59
44

55
#define RUBY_RELEASE_YEAR 2014
66
#define RUBY_RELEASE_MONTH 2

0 commit comments

Comments
 (0)