[#83107] Alias Enumerable#include? to Enumerable#includes? — Alberto Almagro <albertoalmagro@...>

Hello,

9 messages 2017/10/04

[ruby-core:83111] [Ruby trunk Bug#13972] [PATCH] document File.{setuid?, setgid?, sticky?} support for IO objects

From: normalperson@...
Date: 2017-10-04 20:47:55 UTC
List: ruby-core #83111
Issue #13972 has been reported by normalperson (Eric Wong).

----------------------------------------
Bug #13972: [PATCH] document File.{setuid?,setgid?,sticky?} support for IO objects
https://bugs.ruby-lang.org/issues/13972

* Author: normalperson (Eric Wong)
* Status: Open
* Priority: Normal
* Assignee: 
* Target version: 
* ruby -v: 
* Backport: 2.3: UNKNOWN, 2.4: UNKNOWN
----------------------------------------
Supporting bare IO objects which do not respond to #to_path
was accidentally introduced in r60108, but it seems harmless
enough.

* file.c (rb_file_setuid_p): rdoc for IO object support
  (rb_file_sgid_p): ditto
  (rb_file_sticky_p): ditto
* NEWS: inform users of new feature
* test/file/test_file_exhaustive.rb (io_open): wrapper for bare IO object
  (test_suid): test for bare IO support
  (test_sgid): ditto
  (test_sticky): ditto
  [ruby-core:83108]


---Files--------------------------------
0001-file.c-document-File.-setuid-setgid-sticky-support-f.patch (3.42 KB)


-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:[email protected]?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

In This Thread

Prev Next