[#75225] [Ruby trunk Feature#12324] Support OpenSSL 1.1.0 (and drop support for 0.9.6/0.9.7) — k@...
Issue #12324 has been reported by Kazuki Yamaguchi.
6 messages
2016/04/27
[#78693] Re: [Ruby trunk Feature#12324] Support OpenSSL 1.1.0 (and drop support for 0.9.6/0.9.7)
— Eric Wong <normalperson@...>
2016/12/17
k@rhe.jp wrote:
[#78701] Re: [Ruby trunk Feature#12324] Support OpenSSL 1.1.0 (and drop support for 0.9.6/0.9.7)
— Kazuki Yamaguchi <k@...>
2016/12/17
On Sat, Dec 17, 2016 at 01:31:12AM +0000, Eric Wong wrote:
[#78702] Re: [Ruby trunk Feature#12324] Support OpenSSL 1.1.0 (and drop support for 0.9.6/0.9.7)
— Eric Wong <normalperson@...>
2016/12/17
Kazuki Yamaguchi <k@rhe.jp> wrote:
[ruby-core:74844] [Ruby trunk Feature#7361] Adding Pathname#touch
From:
dsisnero@...
Date:
2016-04-07 15:35:22 UTC
List:
ruby-core #74844
Issue #7361 has been updated by Dominic Sisneros.
Any update on this
Class Pathname
def touch(options={})
FileUtils.touch(@path, options)
end
end
Pathname('test.pdf).touch(mtime: 1.hour.ago)
"#mkpath" almost works but doesn't have the mtime option
----------------------------------------
Feature #7361: Adding Pathname#touch
https://bugs.ruby-lang.org/issues/7361#change-57974
* Author: Alexander E. Fischer
* Status: Assigned
* Priority: Normal
* Assignee: Akira Tanaka
----------------------------------------
Pathname has an #mkdir method to create a directory at the path, but does not have a #touch method to create an empty file at that path.
There were numerous cases where I had to fallback to using
new_file = Pathname.new('location/for/new/file')
FileUtils.touch(new_file)
instead of simply being able to use:
new_file.touch
I would like to add this method. If you like it, let me know. I will provide a patch then.
--
https://bugs.ruby-lang.org/
Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>