File tree Expand file tree Collapse file tree 3 files changed +8
-1
lines changed Expand file tree Collapse file tree 3 files changed +8
-1
lines changed Original file line number Diff line number Diff line change
1
+ Thu Oct 16 00:30:30 2014 Tanaka Akira <akr@fsij.org>
2
+
3
+ * lib/find.rb (Find.find): Call to_path for arguments to obtain
4
+ strings.
5
+ [ruby-core:63713] [Bug #10035] Reported by Herwin.
6
+
1
7
Thu Oct 16 00:20:12 2014 Eric Wong <e@80x24.org>
2
8
3
9
* object.c (rb_class_real): do not dereference 0 VALUE
Original file line number Diff line number Diff line change @@ -40,6 +40,7 @@ def find(*paths) # :yield: path
40
40
fs_encoding = Encoding . find ( "filesystem" )
41
41
42
42
paths . collect! { |d | raise Errno ::ENOENT unless File . exist? ( d ) ; d . dup } . each do |path |
43
+ path = path . to_path if path . respond_to? :to_path
43
44
enc = path . encoding == Encoding ::US_ASCII ? fs_encoding : path . encoding
44
45
ps = [ path ]
45
46
while file = ps . shift
Original file line number Diff line number Diff line change 1
1
#define RUBY_VERSION "2.1.4"
2
2
#define RUBY_RELEASE_DATE "2014-10-16"
3
- #define RUBY_PATCHLEVEL 256
3
+ #define RUBY_PATCHLEVEL 257
4
4
5
5
#define RUBY_RELEASE_YEAR 2014
6
6
#define RUBY_RELEASE_MONTH 10
You can’t perform that action at this time.
0 commit comments