Skip to content

Commit 9293c13

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_1_9_3@44944 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
1 parent 18b8c5c commit 9293c13

3 files changed

Lines changed: 9 additions & 3 deletions

File tree

ChangeLog

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
Fri Feb 14 15:25:23 2014 Tanaka Akira <akr@fsij.org>
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
Fri Feb 14 15:23:43 2014 Tanaka Akira <akr@fsij.org>
28

39
* ext/socket: Avoid unnecessary ppoll/select on Linux.

lib/resolv.rb

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

19021902
##
1903-
# Returns the first string from +strings+.
1903+
# Returns the concatenated string from +strings+.
19041904

19051905
def data
1906-
@strings[0]
1906+
@strings.join("")
19071907
end
19081908

19091909
def encode_rdata(msg) # :nodoc:

version.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#define RUBY_VERSION "1.9.3"
2-
#define RUBY_PATCHLEVEL 525
2+
#define RUBY_PATCHLEVEL 526
33

44
#define RUBY_RELEASE_DATE "2014-02-14"
55
#define RUBY_RELEASE_YEAR 2014

0 commit comments

Comments
 (0)