Activity
From 10/15/2017 to 10/21/2017
10/21/2017
-
11:57 PM Revision 6f889b50 (git): ext/win32ole/win32ole.c (fole_missing): set receiver in NoMethodError.
- test/win32ole/test_win32ole.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60330 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:54 PM Feature #2255 (Closed): unicode parameters cannot be passed to ruby
-
11:54 PM Feature #2255: unicode parameters cannot be passed to ruby
- Seems fixed already.
- 11:49 PM Revision 4b8c94dd (git): * remove trailing spaces.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60329 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:49 PM Revision 84616bf9 (git): * string.c: [DOC] Split rdoc of String#<< and String#concat [ci skip]
- Split String#<< and String#concat docs to reflect single and multiple
arguments
patched by MSP-Greg [fix GH-1614]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60328 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:44 PM Revision 2adcc0b8 (git): * object.c: Improve documentation of Kernel#Array
- Array(arg) does more than just call to_ary or to_a on the argument.
It also falls back to returning [arg] if neither method is available.
This patch extends the description and adds a few examples of how it
handles common types of argume... -
11:38 PM Revision 71b932d6 (git): * doc/regexp.rdoc: In regexp doc, two backslashes match one literally
- In the "Metacharacters and Escapes" section of regexp.rdoc, it said that
to match a backslash literally, it must be backslash-escaped, but the
rendered HTML showed three backslashes (\\\). There should only be two
backslashes (\\).
patc... -
11:36 PM Revision ba9e8707 (git): * doc/regexp.rdoc: Fix regexp doc syntax highlighting
- patched by jlmuir (J. Lewis Muir) [fix GH-1678]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60325 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:35 PM Revision d9e11970 (git): * string.c: Remove errant "the" in gsub documentation
- patched by jlmuir (J. Lewis Muir) [fix GH-1679]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60324 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:32 PM Revision bc28011f (git): Fix typo in comment
- * test/ruby/test_transcode.rb: fix typo in comment
patched by larskanis (Lars Kanis) [GH-1681]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60323 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:30 PM Revision bb3f2ce7 (git): compile.c: optimize local variable assignments
- * compile.c (iseq_peephole_optimize): eliminate repeated
assignments and copy from/to a same local variable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60322 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:23 PM Revision dd5b75af (git): reference Socket.getaddrinfo to Addrinfo.getaddrinfo.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60321 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:21 PM Revision 80c50308 (git): Improve performance of string interpolation
- This patch will add pre-allocation in string interpolation.
By this, unecessary capacity resizing is avoided.
For small strings, optimized `rb_str_resurrect` operation is
faster, so pre-allocation is done only when concatenated strings
... -
11:19 PM Revision d8089185 (git): deprecate TCPSocket.gethostbyname.
- TCPSocket.gethostbyname has problems similar to
Socket.gethostbyname.
An example of the problem which only the address family of
the first address is returned:
```
pp TCPSocket.gethostbyname("www.wide.ad.jp")
#=> ["www.wide.ad.jp",
... -
10:21 PM Feature #7082: Process.kill 0 in windows can return spurious success
- Sorry to jump in, but this might help.
In the past, I have had problems with the 'kill' command on Windows 7,
and I stopped using 'kill' on Windows over 4 years ago.
This problem with 'kill' was independent of Ruby. I found that... -
12:02 PM Feature #7082 (Open): Process.kill 0 in windows can return spurious success
-
09:45 PM Bug #14039 (Closed): MinGW - OpenSSL::TestSSL#test_max_version & #test_min_version, TestNetHTTPS#test_max_version
- I was triggering constant Appveyor builds to keep up with the recent flurry of commits (thanks everyone). When the dust settled, I have the following three issues.
```
79) Failure:
OpenSSL::TestSSL#test_max_version [ruby/test/open... -
08:26 PM Revision 66fd5651 (git): openssl: merge test fix from upstream
- Merge a commit from upstream:
d1cbf6d75280 test/test_ssl_session: skip tests for session_remove_cb
Tests using SSL::SSLContext#session_remove_cb= are now skipped.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60318 b2dd03c... -
05:15 PM Feature #8833 (Feedback): [PATCH] IPAddr#pred
- IPAddr has `succ` almost only because it is required along with `<=>` to generate a Range object, so I'd like to know a use case for `pred`, if any.
-
05:03 PM Bug #12437 (Closed): Is it "legal" to call collect! in class initializer?
- Applied in changeset trunk|r60317.
----------
Avoid use of `self.class.new(self)` in Set#collect!
That prevents infinite recursion when a subclass of Set uses
`collect!` in its constructor.
This should fix [Bug #12437]. - 05:03 PM Revision 0fcac8f1 (git): Avoid use of `self.class.new(self)` in Set#collect!
- That prevents infinite recursion when a subclass of Set uses
`collect!` in its constructor.
This should fix [Bug #12437].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60317 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:44 PM Revision d02211c9 (git): ignore server side error
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60316 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:44 PM Revision b39132e9 (git): Revert "ignore server side error"
- This reverts commit r60314.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60315 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:43 PM Revision facccd31 (git): ignore server side error
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60314 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:34 PM Revision 800da42c (git): fic expected error message
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60313 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:31 PM Bug #12198 (Closed): Hash#== sometimes returns false incorrectly
-
04:29 PM Bug #12072 (Closed): SortedSet#superset? raises NoMethodError if rbtree is installed
- Applied in changeset trunk|r60312.
----------
Fix comparison methods of Set to check if `@hash` is actually comparable
This should fix comparison of rbtree backed SortedSet instances.
[Bug #12072] - 04:28 PM Revision c1c527c2 (git): Fix comparison methods of Set to check if `@hash` is actually comparable
- This should fix comparison of rbtree backed SortedSet instances.
[Bug #12072]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60312 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:25 PM Feature #9450 (Closed): Allow overriding SSLContext options in Net::HTTP
- Applied in changeset trunk|r60311.
----------
Introduce Net::HTTP#min_version/max_version [Feature #9450]
Set SSL minimum/maximum version. -
04:25 PM Revision dcea9198 (git): Introduce Net::HTTP#min_version/max_version [Feature #9450]
- Set SSL minimum/maximum version.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60311 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:25 PM Revision 8cbf2dae (git): fix OpenSSL::SSL::SSLContext#min_version doesn't work
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60310 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:21 PM Bug #9480 (Feedback): Ruby on windows can get into an infinite loop when exiting
- This is not reproducible on my machine long time.
Is this still occurs? -
04:18 PM Feature #14038 (Closed): Use rb_execution_context_t instead of rb_thread_t to represent execution context
- # Summary
This ticket proposes the following three changes.
* (1) Separate `rb_execution_context_t` from `rb_thread_t`.
* (2) Allocate `rb_fiber_t` for each Thread even if Threads don't make Fiber.
* (3) Use `rb_execution_context... -
04:12 PM Revision 6cba29b4 (git): less random generations in Random::Formatter#choose.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60309 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:11 PM Revision 2c27e52f (git): Add documentation for `chomp` option.
- https://github.com/ruby/ruby/pull/1717
Patch by @ksss [fix GH-1717]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60308 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:10 PM Bug #8160 (Closed): M17N test failure around String#rpartition
- Sorry for being this late. There was r39928 and I think that fixed the problem, if any.
-
04:09 PM Revision d98db55b (git): Remove not used node_type NODE_CVDECL
- * compile.c (defined_expr0): This node_type has
not been used since r11614.
* ext/objspace/objspace.c (count_nodes): ditto
* node.c (dump_node): ditto
* node.h (node_type, NEW_CVDECL): ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby... -
04:06 PM Bug #8789 (Closed): File.expand_path(File.dirname(__FILE__)) return wrong encoded result
- Fixed already.
-
12:23 PM Bug #8789 (Open): File.expand_path(File.dirname(__FILE__)) return wrong encoded result
-
04:05 PM Revision 111a2de4 (git): Handle Errno::EADDRNOTAVAIL with Raspberry Pi environment.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60306 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:01 PM Revision 6caa91ed (git): erb.1: add missing option in detailed description
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60305 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:57 PM Bug #13735 (Closed): Initialization-error of sortedset
- Applied in changeset trunk|r60304.
----------
Use a mutex to make SortedSet.setup thread-safe
This should fix [Bug #13735]. - 03:57 PM Revision 8daa6985 (git): Use a mutex to make SortedSet.setup thread-safe
- This should fix [Bug #13735].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60304 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 03:57 PM Revision 76e38253 (git): Remove redundant use of module_eval
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60303 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:56 PM Revision 92746378 (git): Remove not used node_type NODE_IASGN2
- * compile.c (compile_massign_opt, iseq_compile_each0): This
node_type has not been used since r11813.
* ext/objspace/objspace.c (count_nodes): ditto
* node.c (dump_node, rb_gc_mark_node): ditto
* node.h (node_type, NEW_IASGN2): ditto
*... -
03:45 PM Revision dafb230c (git): driver.rb: allow executing driver.rb directly
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60301 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 03:43 PM Revision 3e8c0c57 (git): The encoding of __FILE__ and __dir__ should be same
- * ruby.c (process_options): convert the real path of the script to locale
encoding if its encoding is not locale (maybe UTF-8) on Windows/OS X.
this change makes the encoding of __dir__ to the same encoding of __FILE__
when the scr... -
03:39 PM Revision 8949479e (git): driver.rb: add option to specify target with rbenv
- [close GH-1724]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60299 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:39 PM Bug #12091: Freezing a SortedSet breaks Enumerable
- Fixed, thanks!
-
03:38 PM Bug #12091 (Closed): Freezing a SortedSet breaks Enumerable
- Applied in changeset trunk|r60298.
----------
Allow a SortedSet to be frozen and still functional [Bug #12091] - 03:38 PM Revision 3090169c (git): Allow a SortedSet to be frozen and still functional [Bug #12091]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60298 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:24 PM Feature #13000 (Feedback): Implement Set#include? with Hash#include?
-
03:21 PM Feature #10849 (Closed): Adding an alphanumeric function to SecureRandom
- Applied in changeset trunk|r60297.
----------
SecureRandom.alphanumeric implemented.
[ruby-core:68098] [Feature #10849] proposed by Andrew Butterfield.
SecureRandom.choose and SecureRandom.graph is not included.
(The implementation ha... -
03:21 PM Revision b867882a (git): SecureRandom.alphanumeric implemented.
- [ruby-core:68098] [Feature #10849] proposed by Andrew Butterfield.
SecureRandom.choose and SecureRandom.graph is not included.
(The implementation has SecureRandom.choose but it is private.)
I feel the method name, SecureRandom.choose,... - 03:19 PM Revision cd381d8a (git): * remove trailing spaces.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60296 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:19 PM Revision 86f1d9b7 (git): Clarify return value for assignment methods.
- https://github.com/ruby/ruby/pull/1682
Patch by @sos4nt [fix GH-1682]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60295 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:17 PM Bug #11638 (Closed): [doc] misleading IO.write offset description
- Applied in changeset trunk|r60294.
----------
Clarify the behavior of IO.write without offset in write mode.
https://github.com/ruby/ruby/pull/1571
Patch by @takanabe [fix GH-1571]
[Bug #11638][ruby-core:71277] -
03:16 PM Revision 2476bf2b (git): Clarify the behavior of IO.write without offset in write mode.
- https://github.com/ruby/ruby/pull/1571
Patch by @takanabe [fix GH-1571]
[Bug #11638][ruby-core:71277]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60294 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:02 PM Revision 774b42d6 (git): erb.rb: specify frozen_string_literal: true
- for compilation performance.
$ ruby ./benchmark/driver.rb -e "trunk::/Users/k0kubun/.rbenv/versions/trunk/bin/ruby;modified::/Users/k0kubun/.rbenv/versions/modified/bin/ruby" -d ./benchmark -p app_erb
----------------------------------... - 03:02 PM Revision 4aed1c7f (git): * 2017-10-22
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60292 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:02 PM Revision f4ae225b (git): Update some words on README.md.
- * Remove space on double spaces.
* Capitalization of "Ruby".
* Use macOS instead of OS X.
https://github.com/ruby/ruby/pull/1610
Patch by @bunkrich [fix GH-1610]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60291 b2dd03c8... -
02:55 PM Revision 7d2e5fb9 (git): Added explicitly require to example code.
- https://github.com/ruby/ruby/pull/1666
Patch by @guilherme [fix GH-1666]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60290 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:54 PM Feature #13867 (Closed): Copy offloading in IO.copy_stream
- commited in r60284.
-
06:31 AM Feature #13867 (Assigned): Copy offloading in IO.copy_stream
- This patch makes IO.copy_stream use copy_file_range(2) without keyword arguments.
-
02:51 PM Bug #13887: test/ruby/test_io.rb may get stuck with FIBER_USE_NATIVE=0 on Linux
- Sorry for missing this ticket.
I can't understand it is correct, but I believe you guys. Please commit it.
Thank you so much.
I'm not sure why previous versions doesn't have same problem. -
02:51 PM Revision 617c5313 (git): Do not pass a not used argument
- * parse.y (new_op_assign_gen): new_op_assign_gen for
ripper does not need column information.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60289 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:40 PM Revision dabdec31 (git): Use caller with length to reduce unused strings
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60288 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:35 PM Revision 4c6eb271 (git): fix r60281
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60287 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:32 PM Revision 1ec8694c (git): Define the macro separately for ruby parser and for ripper
- * parse.y (new_op_assign): Define the macro separately
for ruby parser and for ripper.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60286 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:31 PM Revision 47dd9bf7 (git): Add doxygen comments
- * include/ruby/ruby.h (enum ruby_value_type): add doxygen comments
* internal.h (enum imemo_type, struct vm_svar): add doxygen comments
* method.h (rb_method_type_t, rb_method_iseq_t): add doxygen comments
git-svn-id: svn+ssh://ci.ruby-... -
02:25 PM Revision 0686d5f4 (git): io.c: introduce copy offload to IO.copy_stream
- io.c (rb_io_s_copy_stream): add copy offload feature (by using
copy_file_range(2) if available) to IO.copy_stream
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60284 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:22 PM Revision 3e5a2521 (git): test_pathname.rb#test_open should care about umask
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60283 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:22 PM Revision 76897dba (git): Fix r60271
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60282 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:21 PM Revision 3666ceb7 (git): test_cp_preserve_permissions should care about umask
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60281 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:21 PM Revision d88a0f13 (git): Describe recommended-methods.
- Addrinfo.getaddrinfo is recommended instead of
Socket.gethostbyname.
Addrinfo#getnameinfo is recommended instead of
Socket.gethostbyaddr.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60280 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:19 PM Bug #6121 (Closed): [[Ruby 1.9:]] Etc.sysconfdir hides sysconfdir on windows
- Applied in changeset trunk|r60279.
----------
sysconfdir on Windows
* ext/etc/etc.c (etc_sysconfdir): mentioned special case on
Windows. [ruby-core:43110] [Bug #6121]
* win32/Makefile.sub (config.status): sysconfdir is not used on
... -
02:19 PM Revision e4ff51b0 (git): sysconfdir on Windows
- * ext/etc/etc.c (etc_sysconfdir): mentioned special case on
Windows. [ruby-core:43110] [Bug #6121]
* win32/Makefile.sub (config.status): sysconfdir is not used on
Windows.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60279 b2... -
02:11 PM Revision 52a275ee (git): Removed obsoleted safe level checks on irb.
- https://github.com/ruby/ruby/pull/1713
Patch by @y-yagi [fix GH-1713]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60278 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:06 PM Revision fe7f0518 (git): fix up r60243
- * tool/vcs.rb (VCS::GIT.get_revisions): use last revision also as
changed revision when the head does not have svn ID.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60277 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 01:58 PM Revision 9a093e74 (git): * properties.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60276 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:58 PM Revision db590b5d (git): Fixed unexpected behavior of `Resolv::MDNS#each_address` when given ".local" address.
- https://github.com/ruby/ruby/pull/1425
Patch by @elct9620 [fix GH-1484]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60275 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:50 PM Bug #11631 (Closed): OpenURI.redirectable? が http -> https の時もfalseを返す
- fixed at r56085.
-
01:49 PM Revision 926103a9 (git): Improve docs for `File.delete` exceptions.
- https://github.com/ruby/ruby/pull/1505
Patch by @mrtazz [fix GH-1505]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60274 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:40 PM Revision ec4141f1 (git): Added sample code of merge! method in hash.c.
- https://github.com/ruby/ruby/pull/1652
Patch by @selmertsx [fix GH-1652]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60273 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:38 PM Bug #13769 (Closed): IPAddr#ipv4_compat incorrect behavior
- Applied in changeset trunk|r60272.
----------
Fix the issue reference to [Bug #13769], handled in r60270 -
01:37 PM Bug #13769: IPAddr#ipv4_compat incorrect behavior
- Depreation warning added in r60270. Thanks!
-
07:50 AM Bug #13769: IPAddr#ipv4_compat incorrect behavior
- I'll mark `IPAddr#ipv4_compat` and `#ipv4_compat?` as deprecated in Ruby 2.5 / ipaddr 1.x and remove them in Ruby 2.6 / ipaddr 2.x.
-
07:07 AM Bug #13769: IPAddr#ipv4_compat incorrect behavior
- While I do understand the need for dealing with legacy situations, changing the current behavior can cause a subtle bug with rarely maintained code without being noticed immediately.
I'd rather just remove it so that breakage is notic... - 01:38 PM Revision 3e95ecd8 (git): Fix the issue reference to [Bug #13769], handled in r60270
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60272 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:35 PM Feature #11666: IPAddr#private?
- Added, thanks for the suggestion.
-
01:34 PM Feature #11666 (Closed): IPAddr#private?
- Applied in changeset trunk|r60270.
----------
Import ipaddr 1.2.0
- Add IPAddr#prefix
- Add IPAddr#loopback?
- Add IPAddr#private? [Feature #11666]
- Add IPAddr#link_local? [Feature #10912]
- Reject invalid address mask [Bug #13399]
- ... -
01:35 PM Feature #10912: Add method(s) to IPAddr for determining whether an address is link local
- Added, thanks for the suggestion.
-
01:34 PM Feature #10912 (Closed): Add method(s) to IPAddr for determining whether an address is link local
- Applied in changeset trunk|r60270.
----------
Import ipaddr 1.2.0
- Add IPAddr#prefix
- Add IPAddr#loopback?
- Add IPAddr#private? [Feature #11666]
- Add IPAddr#link_local? [Feature #10912]
- Reject invalid address mask [Bug #13399]
- ... -
01:34 PM Bug #13399 (Closed): IPAddr accepts invalid address mask
- Applied in changeset trunk|r60270.
----------
Import ipaddr 1.2.0
- Add IPAddr#prefix
- Add IPAddr#loopback?
- Add IPAddr#private? [Feature #11666]
- Add IPAddr#link_local? [Feature #10912]
- Reject invalid address mask [Bug #13399]
- ... -
08:20 AM Bug #13399: IPAddr accepts invalid address mask
- Now I see!
```
% RBENV_VERSION=ruby_2_5 ruby -Itest/lib:lib test/drb/test_acl.rb
Run options:
# Running tests:
[ 2/12] DRbTests::ACLEntryTest#test_ip = 0.00 s
1) Failure:
DRbTests::ACLEntryTest#test_ip [test/drb/test_acl.r... -
08:03 AM Bug #13399: IPAddr accepts invalid address mask
- nobu (Nobuyoshi Nakada) wrote:
> After fixing it, I found that `drb/acl` depends on this behavior.
Thanks for the patch, but what do you mean by `drb/acl` depending on this behavior? - 01:34 PM Revision e9d9f784 (git): Add a new test case for ipaddr 1.2.0 + drb/acl
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60271 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 01:34 PM Revision c2db917b (git): Import ipaddr 1.2.0
- - Add IPAddr#prefix
- Add IPAddr#loopback?
- Add IPAddr#private? [Feature #11666]
- Add IPAddr#link_local? [Feature #10912]
- Reject invalid address mask [Bug #13399]
- Warn that IPAddr#ipv4_compat and #ipv4_compat? are deprecated [#Bug ... -
01:17 PM Revision 31cc5b15 (git): Rename spec/rspec to .bundle.
- It used without rspec installation for test-* task.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60269 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:15 PM Revision 1493972e (git): kill "discards ‘const’ qualifier" warning
- Kill following warning.
../../../ext/psych/yaml/emitter.c: In function ‘yaml_emitter_write_block_scalar_hints’:
../../../ext/psych/yaml/emitter.c:2196:20: warning: assignment discards ‘const’ qualifier from pointer target type [enabled ... -
01:15 PM Revision e3b4cd38 (git): kill "discards ‘const’ qualifier" warning
- Kill following warning.
../../../ext/psych/yaml/emitter.c: In function ‘yaml_emitter_write_folded_scalar’:
../../../ext/psych/yaml/emitter.c:2283:5: warning: passing argument 2 of ‘yaml_emitter_write_indicator’ discards ‘const’ qualifie... -
01:13 PM Feature #13097 (Closed): Deprecate Socket.gethostbyaddr and Socket.gethostbyname
- Applied in changeset trunk|r60266.
----------
Deprecation document for gethostbyname,gethostbyaddr.
[Feature #13097]
I confirmed current ruby (Ruby 2.4 and trunk) uses
gethostbyname() and gethostbyaddr().
Socket.gethostbyname uses ge... -
01:13 PM Revision b5c6fc85 (git): Deprecation document for gethostbyname,gethostbyaddr.
- [Feature #13097]
I confirmed current ruby (Ruby 2.4 and trunk) uses
gethostbyname() and gethostbyaddr().
Socket.gethostbyname uses getaddrinfo() and gethostbyname().
Socket.gethostbyaddr uses gethostbyaddr().
Socket.gethostbyname uses... -
01:06 PM Revision 7f7d5d0c (git): node.h: Remove a not used function prototype
- * node.h (rb_node_newnode_longlife): The definition
of this function was deleted r24490.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60265 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:02 PM Revision af14720f (git): kill "value computed is not used" warning
- Currently, gcc claims your coding style is not good. Shut it up.
../../../ext/psych/yaml/emitter.c: In function ‘yaml_emitter_write_plain_scalar’:
../../../ext/psych/yaml/emitter.c:28:6: warning: value computed is not used [-Wunused-val... -
01:01 PM Revision 4911d456 (git): kill variable set but not used warning
- Currently, dummy_mark variable makes following warnings. Let's fix it.
../../../ext/psych/yaml/parser.c: In function ‘yaml_parser_parse_block_sequence_entry’:
../../../ext/psych/yaml/parser.c:762:21: warning: variable ‘dummy_mark’ set b... -
12:57 PM Revision c70f12c2 (git): kill "variable set but not used" warning
- Currently, scanner.c makes following warning. Fix it.
../../../ext/psych/yaml/scanner.c: In function ‘yaml_parser_decrease_flow_level’:
../../../ext/psych/yaml/scanner.c:1189:23: warning: variable ‘dummy_key’ set but not used [-Wunused-... -
12:34 PM Bug #13833 (Closed): String#scanf("%a") incorrectly requires a sign on the (binary) exponent
- Applied in changeset trunk|r60261.
----------
Fix bug about String#scanf("%a")
* lib/scanf.rb (extract_float, initialize): allow to omit a sign
on the binary exponent. [ruby-core:82435] [Bug #13833]
[Fix GH-1689]
From: tarotaro0 ... -
12:34 PM Revision 4bf6a04f (git): Fix bug about String#scanf("%a")
- * lib/scanf.rb (extract_float, initialize): allow to omit a sign
on the binary exponent. [ruby-core:82435] [Bug #13833]
[Fix GH-1689]
From: tarotaro0 <tarousann11922960@yahoo.co.jp>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trun... -
12:32 PM Bug #11458 (Third Party's Issue): SEGMENTATION FAULT during Redmine Deploy
-
12:31 PM Bug #11434 (Rejected): test_try_ldflag_invalid_opt fails when ruby is not installed
- 2.0.0 is out of date
-
12:30 PM Bug #9730 (Feedback): E:/Rails/Ruby1.9.3/lib/ruby/1.9.1/webrick/server.rb:98: [BUG] Segmentation fault
-
12:22 PM Revision 6fba455a (git): add example for Socket.gethostbyaddr.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60260 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:21 PM Feature #9323 (Assigned): IO#writev
- This patch makes IO#write accept multiple arguments.
-
12:18 PM Revision 6d2dc71a (git): gc.c (rb_raw_obj_info): suppress a warning
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60259 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:18 PM Revision a4664da6 (git): gc.c (rb_raw_obj_info): adjust indent
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60258 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:13 PM Feature #7526 (Closed): infinit loop in Registry::each_value
- Applied in changeset trunk|r60257.
----------
Treat REG_NONE just like REG_BINARY
* ext/win32/lib/win32/registry.rb (read, write): treat REG_NONE just like
REG_BINARY when reading and writing.
cf. [Bug #7526] - 12:12 PM Revision f03f4c42 (git): Treat REG_NONE just like REG_BINARY
- * ext/win32/lib/win32/registry.rb (read, write): treat REG_NONE just like
REG_BINARY when reading and writing.
cf. [Bug #7526]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60257 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:00 PM Feature #6744 (Feedback): ruby unable to run system commands that require elevated privileges
-
11:59 AM Revision f7c06992 (git): Sync svn:ignore [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60256 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:56 AM Feature #6399 (Feedback): IO.read ignores valid open_args on Windows
-
11:50 AM Bug #5931 (Rejected): Random SEGV during execution on YARD specs
- 1.9 is out of date
-
10:55 AM Bug #7733 (Closed): Segfault in ::JSON.parse(nil, :quirks_mode => true)
-
10:55 AM Bug #11506 (Closed): Changed behavior of URI.unescape between 2.1.5 and 2.2.3
-
10:55 AM Bug #11506: Changed behavior of URI.unescape between 2.1.5 and 2.2.3
- nagachika (Tomoyuki Chikanaga) wrote:
> It is related with r46491 for [Feature #2542] (support RFC 3986)?
> ...
Yes.
You should use `URI.decode_www_form(url.query)`. -
10:53 AM Misc #11474 (Closed): [META] Call for Feature Proposals for Ruby 2.3
-
10:52 AM Bug #10397 (Closed): gcc 4.1.2 for x86 can't build trunk
- There's no real users.
-
10:47 AM Bug #10922 (Closed): TracePoint#binding may return nil in Ruby 2.2
-
10:45 AM Bug #4673 (Rejected): URI::Generic registry is not properly set.
-
10:44 AM Revision c1db20c3 (git): Revert "Dir.glob with FNM_EXTGLOB is optimized [Feature #13873]"
- This reverts commit r60253 because it causes on error on Linux.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60255 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:41 AM Bug #9258 (Closed): Fix bugreport URL in error.c
- http://www.ruby-lang.org/bugreport.html is redirected to https://bugs.ruby-lang.org/ now.
-
10:36 AM Feature #2034 (Rejected): Consider the ICU Library for Improving and Expanding Unicode Support
-
10:35 AM Feature #7280 (Closed): How to set filesystem encoding
- > UNIX系でfilesystem encodingを設定したいユースケースはあるので、何らかの手段は提供したい。
Dir.entries等は引数でencodingを設定するようになりました。
> ...
いろいろ考慮してUTF-8固定になりました。 -
10:33 AM Bug #12219 (Closed): JSON.parse does not resolve to specific Class by 'json_class' attribute, when symbolize_names:true
- JSON library's upstream is https://github.com/flori/json.
Could you report it to there? -
10:33 AM Revision ec30bc59 (git): * string.c (deleted_prefix_length, deleted_suffix_length):
- Add doxygen comment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60254 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:29 AM Bug #13741 (Assigned): A documentation bug of IO#putc
- OK, could you commit it?
-
10:28 AM Feature #13873 (Closed): Optimize Dir.glob with FNM_EXTGLOB
- Applied in changeset trunk|r60253.
----------
Dir.glob with FNM_EXTGLOB is optimized [Feature #13873]
The order of resulted array is changed in some cases. -
10:28 AM Revision e2a92c54 (git): Dir.glob with FNM_EXTGLOB is optimized [Feature #13873]
- The order of resulted array is changed in some cases.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60253 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 10:26 AM Revision a2d6b37f (git): fix comment abount IMEMO_FL_USHIFT
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60252 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:23 AM Revision 62c68b4c (git): do not need to clear by NULL because of last commit
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60251 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:23 AM Misc #13027 (Closed): Release Engineering 2.4
-
10:23 AM Feature #12973: [RFC] net/http: use require_relative to reduce syscalls
- OK, could you commit it?
-
10:21 AM Revision 2ab99609 (git): imemo_mask (enum) -> IMEMO_MASK (immediate value).
- * internal.h: imemo_mask is not a valid imemo type but
switch statements show warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60250 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:57 AM Bug #13593 (Rejected): Addrinfo#== behaves oddly
- Precise definition of comparing Addrinfo is very difficult if not impossible
- 09:53 AM Revision 49ce3ca3 (git): Make ACL::ACLEntry not suppress IPAddr::InvalidPrefixError
- This is because it would be a user error because a pattern containing
a slash shouldn't be a host name pattern but an IP address pattern.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60249 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 09:50 AM Revision 0fc3ae4a (git): * properties.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60248 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:50 AM Revision 6faa0e12 (git): [EXPERIMENTAL] Added test-bundled-gems task.
- `test-bundled-gems` invoke test suite of bundled gems with
build environment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60247 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:25 AM Revision d5b34b53 (git): common.mk: preserve rest fields of bundled_gems
- * common.mk (update-bundled_gems): preserve rest fields other than
names and versions, for more extensions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60246 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:24 AM Revision 293b9d66 (git): add RUNRUBY_USE_GDB envvar for runruby.rb.
- * tool/runruby.rb: add RUNRUBY_USE_GDB environment variable.
If RUNRUBY_USE_GDB=true then use 'gdb --args'.
If there is 'run.gdb' file (made by 'make run.gdb') on current directory,
run gdb with this file ('gdb -x run.gdb --args').... -
09:10 AM Revision 719531db (git): fix up imemo_alloc
- * internal.h (rb_imemo_alloc_struct), gc.c (gc_mark_imemo): turned
next into the pointer to chain.
* parse.y (NEWHEAP): needs a cast.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60244 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:06 AM Bug #5950 (Closed): open-uri: https redirect fix
- closed as [Feature #859]
-
08:56 AM Revision f5f328d4 (git): vcs.rb: try to extract revision number from tags
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60243 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:44 AM Revision 2432796e (git): RbConfig::LIMITS is provided by rbconfig/sizeof.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60242 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:41 AM Revision 4ad1ac75 (git): declare variables once for each line in pathname.c.
- This ease adding/deleting variables.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60241 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:41 AM Feature #13732 (Closed): Precise Time.now on Windows
- Applied in changeset trunk|r60240.
----------
Use GetSystemTimePreciseAsFileTime on recent Windows
* win32/win32.c (gettiemeofday, wutime): use GetSystemTimePreciseAsFileTime
instead of GetSystemTimeAsFileTime if it is available.
T... - 08:41 AM Revision 6a832cdb (git): Use GetSystemTimePreciseAsFileTime on recent Windows
- * win32/win32.c (gettiemeofday, wutime): use GetSystemTimePreciseAsFileTime
instead of GetSystemTimeAsFileTime if it is available.
This patch is based on Takehiro Kubo <kubo@jiubao.org> 's one (change only
the name of wrapper funct... -
08:40 AM Revision ccfe3788 (git): Replace NODE_ALLOCA with T_IMEMO (imemo_alloc)
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60239 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:35 AM Feature #7360 (Closed): Adding Pathname#glob
- Applied in changeset trunk|r60238.
----------
Pathname#glob method implemented.
[ruby-core:49373] [Feature #7360] proposed by Alexander E. Fischer. -
08:34 AM Revision cea5f5aa (git): Pathname#glob method implemented.
- [ruby-core:49373] [Feature #7360] proposed by Alexander E. Fischer.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60238 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:48 AM Misc #14037: Writing doxygen document comments to static functions
- https://github.com/ruby/ruby/pull/1722
-
07:46 AM Misc #14037 (Open): Writing doxygen document comments to static functions
- I often feel that C API documents are lacked in C source codes, especially for `static` functions.
With https://bugs.ruby-lang.org/issues/904, `make install-capi` target was introduced to generate c api documents using Doxygen.
Howev... - 07:44 AM Revision 2caaae07 (git): File.symlink is not potable
- * test/fileutils/test_fileutils.rb: skip tests using File.symlink if it's not
available. this problem is reported by ko1.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60237 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:13 AM Misc #12439 (Closed): [PATCH cleanup] process.c (disable_child_handler_fork_child): simplify
- It seems already committed.
-
07:01 AM Feature #13527 (Closed): Accept IO object as stdin data in Open3.capture
- Applied in changeset trunk|r60236.
----------
lib/open3.rb: accept IO-like object for :stdin_data argument.
Open3.capture3, Open3.capture2, Open3.capture2e accepts
IO-like object for :stdin_data argument.
[ruby-core:80936] [Feature #13... -
07:00 AM Revision 3d945399 (git): lib/open3.rb: accept IO-like object for :stdin_data argument.
- Open3.capture3, Open3.capture2, Open3.capture2e accepts
IO-like object for :stdin_data argument.
[ruby-core:80936] [Feature #13527] proposed by janko.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60236 b2dd03c8-39d4-4d8f-98ff-823... -
06:57 AM Revision b6d97cc9 (git): vm.c, vm_insnhelper.h: export symbols of VM serials
- This change is for future JIT compiler introduction.
See r60231 for the purpose.
[close GH-1721]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60235 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:51 AM Feature #13712 (Closed): String#start_with? with regexp
- Applied in changeset trunk|r60234.
----------
[Feature #13712] String#start_with? supports regexp -
06:51 AM Revision 6187b000 (git): [Feature #13712] String#start_with? supports regexp
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60234 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:45 AM Revision ae2578f6 (git): [DOC] describe methods used for src and dst argument.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60233 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:25 AM Feature #13532 (Closed): Enable :encoding key or open-uri (open()) similar as to how File.read() and File.readlines() already allow for
- :encoding option is implemented at r60232.
Note that encoding in mode string is already possible as open(filename, "r:enc"). -
06:22 AM Revision a2831955 (git): lib/open-uri.rb: accept :encoding option as well as encoding in mode string.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60232 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:22 AM Revision e6484a15 (git): vm_core.h: export symbols of shared variables
- vm_insnhelper.h: ditto.
All changes are for reducing changes required to introduce JIT compiler.
Unlike functions that can be inlined by header, those variables should
be shared with JIT-ed code. This will help reducing cost of rebase
a... -
06:11 AM Revision d3589722 (git): Update NEWS for Hash#slice
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60230 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:08 AM Revision 6c50bdda (git): hash.c: Add Hash#slice
- * hash.c (rb_hash_slice): add Hash#slice [Feature #8499]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60229 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 05:18 AM Revision d83f9745 (git): Replace `to_a[1..-1]` on a MatchData with `captures`
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60228 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 05:18 AM Revision da665b02 (git): Remove redundant calls of String#chr
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60227 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:18 AM Revision 08c8f731 (git): assertion for r60225
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60226 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:50 AM Revision 1a0ed8cb (git): Do not literal_flush if float is read correctly
- * parse.y (parse_numeric): Do not literal_flush if
float is read correctly. This will fix the first
column of float.
before:
```
1.2i1.1
^
```
after:
```
1.2i1.1
^~~
```
git-svn-id: svn+ssh://ci.ruby-lan... -
01:06 AM Revision 342e9ae3 (git): moved node generation for dregex_once to parse.y
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60224 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:19 AM Feature #14035: URI module always serializes to the minimal form insted of the traditional one
- The spec for file URIs is [RFC8089](https://tools.ietf.org/html/rfc8089), which allows for file URIs with no authority part (e.g. 'file:/foo').
Neither it nor RFC3986 make any claims about canonical representation of URIs, much as I m... -
12:14 AM Revision 1d80b192 (git): Fix build on Windows
- * parse.y (new_cdecl_gen): Rename local variable name
from cdecl to nd_cdecl. We can not use cdecl on Windows.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60223 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
10/20/2017
-
11:13 PM Feature #13983: Rational and Complex should be frozen
- nobu (Nobuyoshi Nakada) wrote:
> Applied in changeset trunk|r60214.
Thank you nobu for the patch!
I'll write some specs for it :) -
11:02 PM Feature #8948: Frozen regex
- > Regexp class has no built-in destructive methods so freezing them does almost nothing; just prohibits method redefinitions.
I think it is useful in communicating this is a immutable object.
So singleton methods definitions are prev... -
01:40 AM Feature #8948: Frozen regex
- We had a discussion around this issue at yesterday's developer meeting.
Seems everyone there agreed that in long term future, regex shall be frozen. However the status quo is that there are wild applications that do override regex me... -
10:47 PM Feature #14022: String#surround
- knu (Akinori MUSHA) wrote:
> I thought `yield_self` was about solving problems like this:
> ...
Interesting idea.
It is very long though.
It also is not as expressive as .surround("<", ">"), which makes the intent easier to read in m... -
09:50 AM Feature #14022: String#surround
- I thought `yield_self` was about solving problems like this:
`[1, 2, 3].join(", ").yield_self { |s| "<#{s}>" }`
A nice-to-have in addition would be a [shorter name](https://bugs.ruby-lang.org/issues/10095), a [special syntax](https... -
12:56 AM Feature #14022: String#surround
- An alternate (short but cryptic) way:
```
str = "one\ntwo"
str.gsub(/^.*/m, '<\0>')
```
- gsub! can do it destructively
- using `/m` can control if it wraps each line, or all
(A similar usage for wrapping characters in a str... -
09:40 PM Bug #14036 (Closed): Signature of rb_uint2big and rb_int2big
- `rb_uint2big` and `rb_int2big` are declared as such:
```c
VALUE rb_uint2big(VALUE);
VALUE rb_int2big(SIGNED_VALUE);
```
and `VALUE` is one of
```c
typedef uintptr_t VALUE;
typedef unsigned long VALUE;
typedef unsigned LONG... - 04:22 PM Revision a9f5b840 (git): * remove trailing spaces.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60222 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 04:22 PM Revision b4180737 (git): * 2017-10-21
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60221 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:22 PM Revision 6d4b5578 (git): Store token first column number on RNode
- * node.c (A_NODE_HEADER): Print column number.
* node.h (nd_column, nd_set_column): Define getter/setter
macros for column number of RNode.
* parse.y: Set first column number of tokens.
Notes:
* Use `@n` to get the location of token ... -
02:19 PM Feature #14035 (Closed): URI module always serializes to the minimal form insted of the traditional one
- ### Reproduce
execute URI("file:///etc/hosts").to_s
### I expect
- URI("file:///etc/hosts").to_s == "file:///etc/hosts"
- URI to preserve traditional form instead converting it to the minimal one (Eg. see https://tools... -
10:13 AM Feature #12589: VM performance improvement proposal
- > In any case, if we are going to do some optimizations by ourself (and I see such necessity in the future) not only by GCC/LLVM, we need a convenient IR for this.
Yeah, I saw rtl_exec.c transforms ISeq dynamically and allows MJIT to... -
09:03 AM Revision 43e320ba (git): Merge rubygems master(ddbf3203f3857649abe95c73edefc7de7e6ecff4).
- It fixed: https://github.com/rubygems/rubygems/issues/2041
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60219 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:41 AM Feature #855: HTTP/1.1 fixes and other enhancements to webrick
- mame@ruby-lang.org wrote:
> Could you handle this very old ticket about webrick?
Sure; it looks like a lot are already done except 4. Will take
a closer look tomorrow or next week. Thanks for the ping. -
08:24 AM Feature #1482: Kernel.exec doesn't respect COMSPEC environment variable on Windows
- At least on Windows 10, doesn't `CreateProcess()` honor `COMSPEC` variable now?
1.rb
```ruby
p $$; exec("./1.bat")
```
```
$ COMSPEC="./miniruby.exe -e 'p $$, Process.ppid, ARGV'" ./miniruby -v ./1.rb
ruby 2.5.0dev (2017-10-19 ... -
01:22 AM Feature #1482: Kernel.exec doesn't respect COMSPEC environment variable on Windows
- Nobu, are you still willing to reimprement the patch for this issue?
-
07:03 AM Bug #13914 (Closed): FileUtis.cp_r with remove_destination cannot overwrite a symlink of directory
- Applied in changeset trunk|r60218.
----------
Overwrite destination symlink file if `remove_destination` is set.
[Bug #13914][ruby-core:82846] Patch by @mzp
https://github.com/ruby/fileutils/pull/9 -
07:03 AM Revision 0242f7cc (git): Overwrite destination symlink file if `remove_destination` is set.
- [Bug #13914][ruby-core:82846] Patch by @mzp
https://github.com/ruby/fileutils/pull/9
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60218 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:43 AM Feature #14033: Add String#append
- phluid61 (Matthew Kerwin) wrote:
> 1 [...] I would expect that a new word-based name for the dangerous operation would end with "!".
That contradicts `Array#append` / `Array#prepend`. And since `String#prepend` also modifies the re... -
12:22 AM Feature #14033: Add String#append
- I am opposed to this alias as proposed.
1. `<<` is known to be "dangerous", but other "safe" concatenation operations exist for String (e.g. `+`). I would expect that a *new* word-based name for the dangerous operation would end with... -
02:37 AM Feature #13653: Bundled zlib helper
- To. shyouhei
Thanks for your explanation.
I updated my pull request. It only download and add zlib source files to ruby package(like tar ball)
https://patch-diff.githubusercontent.com/raw/ruby/ruby/pull/1638.diff
I try to thi... -
02:16 AM Feature #13653: Bundled zlib helper
- We took a look at this issue at yesterday's developer meeting.
It surprised me that currently, zlib and several other header files are mandatory for building ruby from the source. It might be trivial for developers like us, but not f... -
02:17 AM Feature #13300 (Rejected): Strip chroot path from $LOADED_FEATURES when calling Dir.chroot
- shyouhei (Shyouhei Urabe) wrote:
> We discussesed this issue at the developer meeting yesterday.
> ...
Correct. Actually when using chroot in real applications, autoload is the most likely thing to cause breakage. Hopefully autoload ... -
01:12 AM Feature #13300: Strip chroot path from $LOADED_FEATURES when calling Dir.chroot
- We discussesed this issue at the developer meeting yesterday.
It seems practically not possible to provide a solution that works for everyone; for instance autoloads might break because the then-specified autoload library might become... -
02:03 AM Misc #13840 (Rejected): Collection methods - stability
- (Rejecting for now but please don't hesitate to open a new one for the Gem::Resolver issue if necessary.)
As Martin already pointed out our documents clearly say that sorting methods are not stable. -
01:58 AM Feature #13869: Filter non directories from Dir.glob
- We looked at this issue at yesterday's developer meeting.
`"FNM_NONDIR"` doesn't sound well (the negative form is problematic). However the attendees could not propose alternative name.
Also there was a discussion as to symbolic l... -
01:29 AM Feature #1586: Including a module already present in ancestors should not be ignored
- When is proper time? Ruby 3.0? :-)
-
01:27 AM Feature #1873 (Rejected): MatchData#[]: Omits All But Last Captures Corresponding to the Same Named Group
- The discussion has been stalled. It seems the feature itself looks good (note that matz has not said his opinion, thoguh). Anyway, the name matters. Please reopen or create a new ticket if you come up with a good name for the method.
-
01:24 AM Feature #1644: recv on inherited socket wrapped in TCPSocket does not read data, on Windows
- Usa-san, do you still have a plan to imprement this?
-
01:17 AM Feature #13867: Copy offloading in IO.copy_stream
- We took a look at this issue at yesterday's developer meeting and agreed with Eric here; it can be automatically applied whenever possible. Seems there are no practical reasons to disable this feature.
-
01:13 AM Feature #13610 (Assigned): IPAddr doesn't provide helpful methods to get the subnet or IP address
-
01:03 AM Bug #14034 (Closed): Time.parse does not handle timezone offsets with seconds
- Applied in changeset trunk|r60216.
----------
Make Time.parse respect timezone offset seconds
DateTime.parse handles them correctly, and DateTime.parse.to_time
results in the correct time. Time.parse doesn't handle them
correctly beca... - 01:03 AM Revision 41877131 (git): * 2017-10-20
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60217 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:03 AM Revision 90048176 (git): Make Time.parse respect timezone offset seconds
- DateTime.parse handles them correctly, and DateTime.parse.to_time
results in the correct time. Time.parse doesn't handle them
correctly because Time.zone_offset uses a different regexp that
only considers hours and minutes, not seconds....
10/19/2017
-
09:39 PM Feature #14033: Add String#append
- I +1 agree with Stefan for symmetry. :)
However had, I may be biased since I discussed in favour of the
Array-methods .prepend() and .append() so it may be best if others
can comment here too, to avoid "mono-view bias". :) -
08:10 PM Feature #14033 (Open): Add String#append
- Ruby 2.5 introduces `Array#append` as an alias for `<<` / `push`.
Likewise, there should be `String#append` as an alias for `<<` / `concat`. The documentation for `<<` even says "append":
> Append—Concatenates the given object to s... -
09:36 PM Bug #14034 (Closed): Time.parse does not handle timezone offsets with seconds
- `DateTime.parse` handles them correctly, and `DateTime.parse.to_time` results in the correct time. `Time.parse` doesn't handle them correctly because `Time.zone_offset` uses a different regexp that only considers hours and minutes, not ...
-
03:38 PM Feature #12589: VM performance improvement proposal
- k0kubun (Takashi Kokubun) wrote:
> > An alternative approach can be useful but it might be a waste of your time at the end. But any performance work requires a lot alternative implementations (e.g. the current global RA in GCC was act... -
08:23 AM Feature #12589: VM performance improvement proposal
- > Saving stack insns is what we discussed with Koichi at RubyKaigi and after that. I promised to investigate another way of RTL generation through stack insns. I am now realizing that it might be a better way than generating RTL directly...
-
04:19 AM Feature #12589: VM performance improvement proposal
- k0kubun (Takashi Kokubun) wrote:
> Hi Vladimir. I was happy to talk with you about JIT at RubyKaigi.
> ...
Hi. I am also glad that I visited RubyKaigi and I got a lot of feedback from my discussions with Koichi, Matz, and you.
> T... -
02:25 PM Bug #1388 (Rejected): cygwin-1.7, gcc4-4.3, and ruby-1.9. make btest #236 test_io.rb Segmentation fault
- Sorry for leaving this ticket untouched, but Ruby 1.9 has been EOL status since a long time ago. If there is anyone who is willing to maintain cygwin ruby, please investigate the current status of the issue and write a patch.
-
01:03 PM Feature #908 (Rejected): Should be an easy way of reading N characters from am I/O stream
- I'm rejecting this issue since it has been stalled for five years. If anyone really needs it, it would be good to re-organize the discussion all over again.
-
12:51 PM Feature #855: HTTP/1.1 fixes and other enhancements to webrick
- Eric Wong,
Could you handle this very old ticket about webrick? -
11:24 AM Bug #13829 (Closed): NUL char in $0
- Applied in changeset trunk|r60215.
----------
ruby.c: reject NUL in $0
* ruby.c (ruby_setproctitle): raise if the argument contains NUL
char. process title is a NUL-terminated string.
[ruby-core:82425] [Bug #13829] -
11:24 AM Revision f16f0441 (git): ruby.c: reject NUL in $0
- * ruby.c (ruby_setproctitle): raise if the argument contains NUL
char. process title is a NUL-terminated string.
[ruby-core:82425] [Bug #13829]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60215 b2dd03c8-39d4-4d8f-98ff-823fe69... -
11:10 AM Feature #8948: Frozen regex
- matz (Yukihiro Matsumoto) wrote:
> I agree with frozen regexp literals. If you want to freeze all regexp objects, you need more info to persuade me.
> ...
I think the inconsistency between Regexp being freezed by default or not (based ... -
08:58 AM Feature #8948: Frozen regex
- This change will break compatibility.
If the change has clear benefit, such incompatibility is acceptable.
But this benefit seems not so much.
If so this should be postponed on introducing parallelization. -
08:26 AM Feature #8948: Frozen regex
- I agree with frozen regexp literals. If you want to freeze all regexp objects, you need more info to persuade me.
Matz.
-
11:10 AM Feature #13985 (Closed): Avoid exception for #dup/#clone on Rational and Complex
-
10:58 AM Feature #13983 (Closed): Rational and Complex should be frozen
- Applied in changeset trunk|r60214.
----------
freeze Complex and Rational
* complex.c (nucomp_s_new_internal, nucomp_loader): Complex
instances are always frozen now. [Feature #13983]
* rational.c (nurat_s_new_internal, nurat_loade... -
08:16 AM Feature #13983: Rational and Complex should be frozen
- Agreed.
Matz.
-
10:58 AM Revision 42c98194 (git): freeze Complex and Rational
- * complex.c (nucomp_s_new_internal, nucomp_loader): Complex
instances are always frozen now. [Feature #13983]
* rational.c (nurat_s_new_internal, nurat_loader): Rational
instances are always frozen now. [Feature #13983]
git-svn-i... -
10:51 AM Bug #13794: Infinite loop of sched_yield
- I'd just like to confirm that after several weeks, I have not seen a recurrence of this issue while running the original PID check patch. Thanks all!
-
10:13 AM Feature #12753: Useful operator to check bit-flag is true or false
- I think plural makes most sense:
~~~ruby
a.allbits? b #→ a & b == b
a.anybits? b #→ a & b != 0
a.nobits? b #→ a & b == 0
~~~
It introduces a strange paradox, though:
~~~ruby
a.allbits? 0 #→ true
a.nobits? 0 #→ true
~~~ -
07:11 AM Feature #12753: Useful operator to check bit-flag is true or false
- Speaking of plurality, what about:
`a.bit?(b)` → `a & b != 0`
`a.bits?(b)` → `a & b == b` -
06:58 AM Feature #12753: Useful operator to check bit-flag is true or false
- `has_*` is not acceptable. It's not compatible with other method names.
I vote for `allbit?`, `anybit?` and `nobit?`. I am not sure about plurality though.
Matz.
-
06:49 AM Feature #12753: Useful operator to check bit-flag is true or false
- How about Integer#has_allbits?(n), Integer#has_somebits?(n) and Integer#has_nobits?(n) ?
```ruby
class Integer
def has_allbits?(n) self & n == n end
def has_somebits?(n) self & n != 0 end
def has_nobits?(n) self & n == 0 end... -
09:05 AM Feature #614 (Rejected): instance_method(ancestor)
- Even if we provide the proposed feature, we cannot implement `Module#conflict?`, because ancestor order is not common.
```
module A
end
module B
end
module C
include A
include B
end
module D
include B
include ... -
08:56 AM Feature #13869: Filter non directories from Dir.glob
- Just an idea: a flag to say directories should end with a slash so you can collect directories with `"...*/"` and non-directories with `"...*"`.
-
08:30 AM Feature #13873: Optimize Dir.glob with FNM_EXTGLOB
- Agreed.
Matz
-
07:54 AM Feature #13712: String#start_with? with regexp
- Agreed. Need to update `Regexp.last_math`.
Matz. -
07:48 AM Feature #8499 (Closed): Importing Hash#slice, Hash#slice!, Hash#except, and Hash#except! from ActiveSupport
- As `Hash#slice` has been accepted in #13563, I decided to close this issue.
I intend to open the different issue for discussing other methods such as `Hash#except`.
Thanks. -
07:28 AM Feature #8499: Importing Hash#slice, Hash#slice!, Hash#except, and Hash#except! from ActiveSupport
- One concern is that Array#slice! returns deleted elements whereas this Hash#slice! would return pairs left after slicing.
-
07:28 AM Feature #13777 (Rejected): Array#delete_all
- The name `delete_all` is not acceptable. This method works as a modifying version of `partition`. The name does not indicate the fact. This can be achieved by
```
result = []
ary.delete_if do|e|
if cond(e)
result << e
t... -
06:50 AM Feature #14025: #initialize with ivars
- Where did I define that only one argument could be passed?
I don't want to initialize ivar explicitly in #initialize.
I would like that instead of:
def initialize name='default_name', age=0
@name, @age = name, age
end
I c... -
05:28 AM Feature #14025: #initialize with ivars
- I don't quite understand your second example.
class Person
initialize name: 'person', age: 18
Did you not define before that only one argument can be passed?
class Person
def initialize name = 'person'
B... -
06:49 AM Feature #13969: Dir#each_child
- ```diff
diff --git a/dir.c b/dir.c
index 44d309195c..242afa131d 100644
--- a/dir.c
+++ b/dir.c
@@ -2743,6 +2743,13 @@ dir_s_each_child(int argc, VALUE *argv, VALUE io)
return Qnil;
}
+static VALUE
+dir_each_child_m(VALU... -
06:32 AM Feature #13653 (Assigned): Bundled zlib helper
-
06:31 AM Feature #13713 (Feedback): socketの便利メソッドのdatagramのUNIXSocket用対応
- こんな感じでどうですかね。
```
Addrinfo.unix(ENV["NOTIFY_SOCKET"], :DGRAM).connect
``` -
06:19 AM Feature #12882: Add caller/file/line information to internal Kernel#warn calls
- ```diff
diff --git a/error.c b/error.c
index 9bd8c31386..499212cdd8 100644
--- a/error.c
+++ b/error.c
@@ -321,10 +321,28 @@ end_with_asciichar(VALUE str, int c)
static VALUE
rb_warn_m(int argc, VALUE *argv, VALUE exc)
{
- ... -
05:52 AM Feature #12882 (Feedback): Add caller/file/line information to internal Kernel#warn calls
- I prefer option 1. The issue is the name (and semantics) of the keyword argument.
`caller:` seems ambiguous. How about `uplevel:n` to prepend `caller(n,1)` to the message.
Matz.
-
06:10 AM Feature #9323: IO#writev
- I vote for making `IO#write` take multiple arguments, probably using `writev(2)` inside.
Matz
-
05:32 AM Bug #14031: WeakRef example misleading and wrong
- Semi-off topic - a variable named "omg" is for the win ... ;)
-
02:43 AM Bug #14031 (Closed): WeakRef example misleading and wrong
- I just noticed that the second part of the doc of `WeakRef` is misleading and later plainly wrong.
I'm talking about the example with `WeakHash` in
https://ruby-doc.org/stdlib-2.4.0/libdoc/weakref/rdoc/WeakRef.html
The example sho... -
05:31 AM Feature #14022: String#surround
- > After joining the elements of an array into a string using Array#join,
> ...
I do not need to do this often, but I have had a need to do this, largely
due to file names on the *nix commandline that have ' ' characters (space),
so I ... -
05:10 AM Bug #14032 (Closed): squiggly heredoc with an interpolation at the beginning is unindented wrongly
- Applied in changeset trunk|r60213.
----------
parse.y: indent at '#'
* parse.y (parser_here_document): update indent at '#', which is
not a space. [ruby-core:83368] [Bug #14032] -
05:02 AM Bug #14032 (Closed): squiggly heredoc with an interpolation at the beginning is unindented wrongly
- This result should be prefixed with spaces, not unindented.
```ruby
p <<~E
a
#{1}
E
```
-
05:10 AM Revision 8b501f6d (git): parse.y: indent at '#'
- * parse.y (parser_here_document): update indent at '#', which is
not a space. [ruby-core:83368] [Bug #14032]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60213 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:25 AM Bug #14027 (Closed): Ripper parses squiggly heredoc incorrectly
- Applied in changeset trunk|r60212.
----------
lexer.rb: no dedent strings in middle
* ext/ripper/lib/ripper/lexer.rb (on_heredoc_dedent): dedent only
strings at the beginning, not strings in middle.
[ruby-core:83343] [Bug #14027] -
01:39 AM Bug #14027: Ripper parses squiggly heredoc incorrectly
- I'm very sorry nobu, I copy and pasted the wrong script.
This is what I meant to express:
~~~
diff -u <(ruby -v -rripper -rpp -e 'pp Ripper.lex("<<-E\n\#{1} \#{2}\nE")') \
<(ruby -v -rripper -rpp -e 'pp Ripper.lex("<<~E\n\#{1} \#... -
04:25 AM Revision 0e7936f8 (git): lexer.rb: no dedent strings in middle
- * ext/ripper/lib/ripper/lexer.rb (on_heredoc_dedent): dedent only
strings at the beginning, not strings in middle.
[ruby-core:83343] [Bug #14027]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60212 b2dd03c8-39d4-4d8f-98ff-823fe6... -
01:46 AM Feature #13581: Syntax sugar for method reference
- matz (Yukihiro Matsumoto) wrote:
> I am for adding syntax sugar for method reference. But I don't like proposed syntax (e.g. `->`).
> ...
What do you think about: `Kernel:puts`, `Kernel~>puts`, `Kernel:>puts` ? -
01:02 AM Bug #14013: [PATCH] Webrick 60172 fix
- Greg.mpls@gmail.com wrote:
> Thanks. I tested 60211. My local build passed, Travis passed, and Appveyor passed.
Thanks for your help with testing this!
> Now maybe I can finally write the code to run a Webrick SSL server locall... -
12:05 AM Bug #14013: [PATCH] Webrick 60172 fix
- Eric,
Thanks. I tested 60211. My local build passed, Travis passed, and Appveyor passed.
Now maybe I can finally write the code to run a Webrick SSL server locally. I normally use Puma or Thin...
> I've considered it, but it...
10/18/2017
-
11:41 PM Bug #14013: [PATCH] Webrick 60172 fix
- ```
Eric Wong <normalperson@yhbt.net> wrote:
> Oops, try r60210; I moved the return outside of the timeout
> block.
Erm, make that r60211 :x
``` -
11:31 PM Bug #14013: [PATCH] Webrick 60172 fix
- ```
Greg.mpls@gmail.com wrote:
> Bad news. Appveyor just failed with:
Oops, try r60210; I moved the return outside of the timeout
block.
> Re the patch you included above, can you please bracket it
> with triple backticks (\`... -
10:59 PM Bug #14013: [PATCH] Webrick 60172 fix
- Eric,
Bad news. Appveyor just failed with:
```
1) Failure:
TestNetHTTPS#test_certificate_verify_failure [C:/projects/ruby/test/net/http/utils.rb:48]:
<[]> expected but was
<["[2017-10-18 22:01:37] ERROR LocalJumpError: unexp... -
09:51 PM Bug #14013: [PATCH] Webrick 60172 fix
- Eric Wong <normalperson@yhbt.net> wrote:
> Greg.mpls@gmail.com wrote:
> > Issue #14013 has been updated by MSP-Greg (Greg L).
> >
> > File webrick_ssl.patch added
> >
> > I posted [GitHub PR #1718](https://github.com/ruby/ruby/p... -
09:02 PM Bug #14013: [PATCH] Webrick 60172 fix
- Greg.mpls@gmail.com wrote:
> Issue #14013 has been updated by MSP-Greg (Greg L).
>
> File webrick_ssl.patch added
>
> I posted [GitHub PR #1718](https://github.com/ruby/ruby/pull/1718), which passed both Travis & Appveyor. It al... -
08:51 PM Bug #14013: [PATCH] Webrick 60172 fix
- Greg.mpls@gmail.com wrote:
> Eric wrote:
> > Also, does test/openssl/test_pair.rb work for you?
Oops, I mean how accept_nonblock worked in that test. In other
words, can you try this to dump all the outputs?
diff --git a/test... -
07:29 PM Bug #14013: [PATCH] Webrick 60172 fix
- I posted [GitHub PR #1718](https://github.com/ruby/ruby/pull/1718), which passed both Travis & Appveyor. It also passes on my local MinGW trunk build
Rather than an OS check, it checks to see if the `#wait_*` methods return `nil`.
B... -
03:51 AM Bug #14013: [PATCH] Webrick 60172 fix
- Eric,
I'm about to 'go offline', but the following fails when replacing the case statement group
```ruby
ret = sock.accept_nonblock(exception: false)
if ret == :wait_readable || ret == :wait_writable
sock.to_io.__send__(ret)
... -
03:09 AM Bug #14013: [PATCH] Webrick 60172 fix
- normalperson (Eric Wong) wrote:
> Also, does test/openssl/test_pair.rb work for you?
Yes.
> ...
Yes. Changes (needed `#to_io`), starting at line 401:
```ruby
th = Thread.new do
rets = []
begin
rv... -
11:37 PM Bug #14005 (Closed): [PATCH] webrick: do not hang acceptor on slow TLS connections
-
11:37 PM Bug #14005 (Open): [PATCH] webrick: do not hang acceptor on slow TLS connections
- needs r60211, too :x
- 11:34 PM Revision cda27e1a (git): webrick: fix up r60172 and r60210
- Thanks to MSP-Greg (Greg L) for helping with this.
* lib/webrick/server.rb (start_thread): properly fix non-local return
introduced in r60208 and r60210
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60211 b2dd03c8-39d4-4d8f-98ff-... - 11:23 PM Revision 834c252e (git): webrick: fix up r60172 and r60208
- Thanks to MSP-Greg (Greg L) for helping with this.
* lib/webrick/server.rb (start_thread): fix non-local return
introduced in r60208
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60210 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:13 PM Bug #14027 (Feedback): Ripper parses squiggly heredoc incorrectly
- I can see only difference at the first line.
```
$ diff -u <(./ruby -v -rripper -rpp -e 'pp Ripper.lex("%{<<-E\n\#{1} \#{2}\nE}")') \
<(./ruby -v -rripper -rpp -e 'pp Ripper.lex("%{<<~E\n\#{1} \#{2}\nE}")')
```
```diff
--- /dev... -
03:15 PM Bug #14027 (Closed): Ripper parses squiggly heredoc incorrectly
- Where you have two or more embedded expressions on the same line within a squiggly heredoc
seperated by whitespace, Ripper considers that whitespace as ignored space despite it not being at the
beginning of a line. Below is a diff of l... - 09:45 PM Revision 60702188 (git): * 2017-10-19
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60209 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 09:45 PM Revision 3b1db7d3 (git): webrick: fix up r60172 and revert r60189
- Thanks to MSP-Greg (Greg L) for helping with this.
* lib/webrick/server.rb (start_thread): ignore ECONNRESET, ECONNABORTED,
EPROTO, and EINVAL on TLS negotiation errors the same way they
were ignored before r60172 in the accept_clie... -
09:16 PM Bug #14015: Enumerable & Hash yielding arity
- Would it be possible to issue a warning for cases of lambdas with arity 1 used in 2.5, so we can go forward in the next version?
-
07:44 PM Feature #14025: #initialize with ivars
- ~~~ ruby
module ObjectInitialization
def self.included base
base.class_eval do
extend ClassMethods
end
end
module ClassMethods
def attr_initializer default_arguments={}
raise Ru... -
02:47 PM Feature #14025 (Open): #initialize with ivars
- For:
class Person
def initialize name = 'person'
@name = name
end
end
I thought that the following would be nice:
class Person
initialize :name
end
class Person
initialize name: 'person', age: 18... -
07:22 PM Bug #14028 (Closed): RubyVM logic backported into Ruby 2.3 tests
- For https://bugs.ruby-lang.org/issues/12517 a test was added to test/coverage/test_coverage.rb that uses RubyVM.
This test is used by JRuby (at least) which does not support the MRI-specific RubyVM module. As a result, we cannot run t... -
07:04 PM Feature #14022: String#surround
- +1, I often do "<" + long_chain + ">" because "<#{long_chain}>" tends to be harder to read, and wished there was such a method.
Making it part of #join might be slightly more efficient, but it would make the signature more complex, li... -
12:41 PM Feature #14022: String#surround
- +1
i thought i have seen something like that before, but i don't remember where
ah now i remember, it was for JQuery#wrap http://api.jquery.com/wrap/
i think such a surround method might be used for xml stuff and other similar one... -
09:10 AM Feature #14022: String#surround
- +1 for that (and exactly for the method chains).
Always define `String#surround` in my internal projects. -
06:20 AM Feature #14022: String#surround
- @mame In addition to conciseness, I often need to do this kind of string formatting after having done a long method chaining on an array. In that case, having to do string format from the beginning is not convenient.
```ruby
"<#{some... -
06:07 AM Feature #14022: String#surround
- IMO `"<#{ foo }>"` is more concise than `foo.surround("<", ">")`.
-
04:43 AM Feature #14022: String#surround
- I would like both destructive and non-destructive versions of the method.
-
04:38 AM Feature #14022 (Rejected): String#surround
- After joining the elements of an array into a string using `Array#join`, I frequently need to put substrings before and after the string. In such case, I would have to use either of the following:
```ruby
[1, 2, 3].join(", ").prepend... -
06:45 PM Feature #12589: VM performance improvement proposal
- Hi Vladimir. I was happy to talk with you about JIT at RubyKaigi.
To help introducing RTL and MJIT to upstream Ruby core safely, I'm wondering if we might experimentally introduce optional (switchable by -j option) JIT infrastructure ... -
03:13 PM Bug #14024 (Closed): Segment fault on OpenSSL::Cipher#auth_data=
- Since CFB isn't an authenticated encryption mode, OpenSSL::Cipher#auth_data= must not be called. It is definitely a bug that calling it crashes, though.
https://github.com/ruby/openssl/commit/bb10767b0570d44f240632a7399c882764a48649 -
02:03 PM Bug #14024 (Closed): Segment fault on OpenSSL::Cipher#auth_data=
- The doc of *auth_data=* says that "If no associated data shall be used, this method must still be called with a value of '' . " http://ruby-doc.org/stdlib-2.4.2/libdoc/openssl/rdoc/OpenSSL/Cipher.html#method-i-auth_data-3D
But if I cal... -
02:53 PM Bug #14026: RUBY ERROR ON DIVISION with FDIV
- Screen shot is better for the eye.
-
02:49 PM Bug #14026 (Closed): RUBY ERROR ON DIVISION with FDIV
- ~$ ruby -v
ruby 2.4.1p111 (2017-03-22 revision 58053) [x86_64-darwin16]
~$ rvm use 2.4.2
Using /Users/frankpimenta/.rvm/gems/ruby-2.4.2
~$ ruby -rbigdecimal -e 'p 196.fdiv(BigDecimal("13.0"))'
2.203413367e-314
~$ rvm use 2.... -
01:08 PM Revision 4a375f3e (git): parse.y: serial comparisons
- * parse.y (rel_expr): warn sequence of comparisons, which would be
probably unintentional. [EXPERIMENTAL]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60207 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:08 PM Revision c1c3d073 (git): parse.y: relop
- * parse.y (relop): extract to simplify comparisons.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60206 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:10 AM Bug #14023 (Rejected): SyntaxError on array argument and block
- ~~~
$ RBENV_VERSION=2.4.2 ruby -v
ruby 2.4.2p198 (2017-09-14 revision 59899) [x86_64-darwin16]
$ RBENV_VERSION=2.4.2 ruby -c -e 'a [] {}'
Syntax OK
$ RBENV_VERSION=2.5.0-preview1 ruby -v
ruby 2.5.0preview1 (2017-10-10 trunk 601... -
06:24 AM Bug #13959 (Rejected): IO.write(filename, Marshal.dump(obj), :encoding => 'binary') != File.open(filename, 'wb') { |fil| Marshal.dump(obj, fil) }
- `:encoding => 'binary'` does not set binmode, but just makes the result encoding ASCII-8bit.
Use `IO.binread` and `IO.binwrite` to read/write binary data. - 04:35 AM Revision 05fee6c1 (git): * 2017-10-18
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60205 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:35 AM Revision 20685cdc (git): Get rid of shadowing local variables
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60204 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:12 AM Feature #13996: [PATCH] file.c: apply2files releases GVL
- In the same vein as https://bugs.ruby-lang.org/issues/13996
There's 4 more patches to dir.c around opendir, readdir, openat,
and chdir.
I don't think releasing GVL around rewinddir is necessary, since
AFAIK; it's just an lseek a... -
12:22 AM Feature #13996: [PATCH] file.c: apply2files releases GVL
- I wrote:
> > https://bugs.ruby-lang.org/issues/13996
>
> Updated patch with benchmark, now:
>
> https://80x24.org/spew/20171012191218.1624-1-e@80x24.org/raw
>
> This hurts performance on fast filesystem, but these methods
...
10/17/2017
-
07:32 PM Bug #13887: test/ruby/test_io.rb may get stuck with FIBER_USE_NATIVE=0 on Linux
- s.wanabe@gmail.com wrote:
> Assignee set to ko1 (Koichi Sasada)
> https://bugs.ruby-lang.org/issues/13887#change-66853
ko1: ping? -
04:32 PM Bug #14013: [PATCH] Webrick 60172 fix
- Greg.mpls@gmail.com wrote:
> diff --git a/lib/webrick/server.rb b/lib/webrick/server.rb
> index 2d678273e5..57ffe5a48b 100644
> --- a/lib/webrick/server.rb
> +++ b/lib/webrick/server.rb
> @@ -295,12 +295,14 @@ def start_thread(sock... -
03:49 PM Bug #14013: [PATCH] Webrick 60172 fix
- Eric, thanks.
I was working some read_nonblock code at the same time...
> There's also no need to call .to_io with IO.select, as it's already done transparently.
Aware of that, it was used in several ruby doc examples...
Anyw... -
12:40 PM Misc #14019 (Closed): Layout fixes in rdoc of lib/tempfile.rb
- Applied in changeset trunk|r60203.
----------
tempfile.rb: [DOC] all arguments [ci skip]
* lib/tempfile.rb (Tempfile.create): mention the other arguments
too. [ruby-core:83321] [Misc #14019] -
12:07 PM Misc #14019: Layout fixes in rdoc of lib/tempfile.rb
- Why change from `*args` to `**options`?
I thinks `all arguments` do not mean `**options` only but basename, tmpdir, `mode:`, and `**options`. -
05:44 AM Misc #14019: Layout fixes in rdoc of lib/tempfile.rb
- The change has been merged, this report can be closed
-
12:40 PM Revision 593d9786 (git): tempfile.rb: [DOC] all arguments [ci skip]
- * lib/tempfile.rb (Tempfile.create): mention the other arguments
too. [ruby-core:83321] [Misc #14019]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60203 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:30 PM Revision ecf61fa5 (git): node.c: all node types
- * node.c (dump_node): moved rb_bug for unknown node outside to let
unhandled node types be warned.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60202 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:30 PM Revision 4e01c507 (git): node.c: adjust indent
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60201 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:05 PM Revision ee34bbbc (git): compile.c: compile_for
- * compile.c (compile_for): extract from iseq_compile_each.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60200 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:05 PM Revision e0ef514a (git): compile.c: compile_iter
- * compile.c (compile_iter): extract from iseq_compile_each.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60199 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:59 AM Bug #14020 (Closed): Not really a bug, more a warning - in net/ftp.rb line 331, unused variable sock - Applied in changeset trunk|r60198.
----------
Fix warning: assigned but unused variable
[Bug #14020][ruby-core:83313] -
11:58 AM Revision 73d128ff (git): Fix warning: assigned but unused variable
- [Bug #14020][ruby-core:83313]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60198 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:38 AM Revision c5fd4cd7 (git): Improve some annotation names of output of parsetree-with-comment
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60197 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:13 AM Revision 0c8292cb (git): node.c: Add NODE_OP_CDECL to dump node list.
- * node.c (dump_node): Add NODE_OP_CDECL to dump node list.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60196 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:30 AM Bug #13872: Duplicate assignment no longer silences "assigned but unused variable" warning
- There could be:
1. add assignments in user code
2. enable duplicate assignment as a special case
3. add another way to suppress warnings, e.g. magic comment
4. etc
-
12:16 AM Bug #13872: Duplicate assignment no longer silences "assigned but unused variable" warning
- Yes, in my understanding that is exactly the case we use this idiom for, usually when the contents of ERB is user-given and so it's uncertain if the local variable 'foo' will be used there or not.
```diff
require 'erb'
-foo = :bar
... -
07:41 AM Revision 2075bc51 (git): Fix the leak in `TestRDocGeneratorDarkfish#test_generated_method_with_html_tag_yield`
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60195 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:41 AM Revision 16b6fe17 (git): Suppress leak of file descriptors
- `Bundler.ui=` in `Gem::TestCase#setup` creates `Bundler::UI::RGProxy`
which inherites `::Gem::SilentUI` whose `initialize` opens `/dev/null`,
and assigns it to `Gem::DefaultUserInteraction.ui`.
After that, `Gem::TestCase#setup` forces to...
10/16/2017
-
11:11 PM Revision 6b4cd8a9 (git): Layout fixes in rdoc of lib/tempfile.rb [ci skip]
- RDoc doesn't understand an asterisk inside the plus markers. Moving them
out of the markers looks better.
[Fix GH-1716]
From: Herwin Weststrate <herwinw@herwinw.nl>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60193 b2dd03c8-39... -
08:50 PM Bug #14021 (Rejected): Block parsing with arguments
- Duplicate of #13547, #13691, #13898, #13939, and #13976
-
08:27 PM Bug #14021 (Rejected): Block parsing with arguments
- It appears that between 2.4.1 and 2.4.2, something changed with method argument parsing:
~~~
$ cat test.rb
#!/usr/bin/env ruby
def test(num)
p num
yield
end
test 5 { puts 'hello world' }
$ rbenv shell 2.4.1
$ ruby -... -
08:21 PM Bug #14013: [PATCH] Webrick 60172 fix
- Odd, so using IO#wait_*able methods doesn't work for you, but
IO.select does? Can you try the following patch?
It's basically your patch with "writable" spelled correctly:
```
diff --git a/lib/webrick/server.rb b/lib/webrick/se... -
03:23 PM Bug #14013: [PATCH] Webrick 60172 fix
- Eric,
Thank you for looking at this, along with r60189. It seems that the Appveyor mswin builds are still failing on TestNetHTTPS#test_certificate_verify_failure.
Since many contributors are not using (or familiar with) Windows, I... -
04:41 AM Bug #14013: [PATCH] Webrick 60172 fix
- Greg.mpls@gmail.com wrote:
> Issue #14013 has been updated by MSP-Greg (Greg L).
>
> File webrick_60172_fix.patch added
Thanks, I based r60189 on your patch to webrick/server.rb
However, I'm unsure about the test/net/http/test... -
04:34 AM Bug #14013 (Closed): [PATCH] Webrick 60172 fix - Applied in changeset trunk|r60189.
----------
webrick: fix up r60172
By making the socket non-blocking in r60172, TLS/SSL negotiation
via the SSL_accept function must handle non-blocking sockets
properly and retry on SSL_ERROR_WANT_REA... - 07:42 PM Revision dc8865e8 (git): * 2017-10-17
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60192 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 07:42 PM Revision 00308ec0 (git): spec/ruby/optional/capi/io_spec.rb: speling fics
- * spec/ruby/optional/capi/io_spec.rb: speling: s/writeable/writable/
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60191 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:57 PM Feature #13610: IPAddr doesn't provide helpful methods to get the subnet or IP address
- I think #11210 is the better solution here, since that has additional possibilities to get the formatting of the subnet mask (so you could easily output /24 instead of 255.255.255.0)
-
03:34 PM Bug #14020 (Closed): Not really a bug, more a warning - in net/ftp.rb line 331, unused variable sock
- Hello ruby folks,
Just a tiny warning after I compiled the latest svn from source:
/Programs/Ruby/16.10.2017/lib/ruby/2.5.0/net/ftp.rb:331: warning: assigned but unused variable - sock
Not sure how to resolve this; if it is no... -
11:25 AM Misc #14019 (Closed): Layout fixes in rdoc of lib/tempfile.rb
- https://github.com/ruby/ruby/pull/1716
-
06:44 AM Bug #14009: macOS High Sierra and “fork” compatibility
- myst (Boaz Segev) wrote:
> It would probably work exactly like the patch, except it will be user controlled instead of persistent.
It's a temporary repair until the next release, of course.
-
01:01 AM Bug #14009: macOS High Sierra and “fork” compatibility
- I'm happy this was merged to the Ruby trunk.
> Just an idea, environment variable DYLD_INSERT_LIBRARIES=/System/Library/Frameworks/Foundation.framework/Versions/Current/Foundation doesn't work?
Interesting idea :)
It would proba... -
06:16 AM Bug #14018: Sidekiq rejects output of Marshal.dump
- Cross-submitted to Sidekiq at https://github.com/mperham/sidekiq/issues/3638
-
06:13 AM Bug #14018 (Third Party's Issue): Sidekiq rejects output of Marshal.dump
- I encountered this bug when using ActiveJob in Rails. Here is what happens...
`parcel = Marshal.dump(1508129809)` # => "\x04\bl+\a\x11<\xE4Y"
`MyJob.perform_later(parcel)` # this is where the error happens (as the parcel is being pr... -
05:00 AM Revision 90ab739a (git): configure.ac: fix SOEXT on Windows
- * configure.ac (SOEXT): shoud be "dll" on Windows.
[ruby-core:83208] [Bug #14002]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60190 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 04:33 AM Revision 525ebb86 (git): webrick: fix up r60172
- By making the socket non-blocking in r60172, TLS/SSL negotiation
via the SSL_accept function must handle non-blocking sockets
properly and retry on SSL_ERROR_WANT_READ/SSL_ERROR_WANT_WRITE.
OpenSSL::SSL::SSLSocket#accept cannot do that p... -
04:19 AM Revision 885c16c1 (git): test_complex.rb: NaN Complex
- * test/ruby/test_complex.rb (test_finite_p): assertions for NaN
Complex. NaN is not an infinite nor a finite number.
[ruby-core:83272] [Bug #14014]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60188 b2dd03c8-39d4-4d8f-98ff-823... -
04:15 AM Revision ae0eea21 (git): fix missing variables in ruby.pc
- * configure.ac (LIBRUBY_SO): get rid of referrence to
LIBRUBY_SONAME which is not present in ruby.pc.
* template/ruby.pc.in (RUBY_API_VERSION, SOEXT): add new
variables. [ruby-core:83208] [Bug #14002]
git-svn-id: svn+ssh://ci.ruby... -
04:08 AM Bug #13872: Duplicate assignment no longer silences "assigned but unused variable" warning
- ronnie@dio.jp wrote:
> Please upgrade your code to actually "use" all the assigned
> local variables, in this case, to `var = "foo"; var = var`.
The problem is with binding:
require 'erb'
foo = :bar
puts ERB.new('<%= foo %>... -
02:23 AM Bug #13872: Duplicate assignment no longer silences "assigned but unused variable" warning
- This is not a bug. The warning you see is a result of an improvement of "unused variable" detection at r59585.
Now it simply checks whether each variable is actually "used" or not. Please also take a look at #13809 to see what was solve... -
02:43 AM Feature #14007: open mode 'x' to raise error if file exists
- Sorry, I didn't know that feature #11258 existed. I might have searched bugs.ruby-lang.org for "open mode" but not looked through the long list of results.
10/15/2017
-
11:21 PM Feature #10085 (Closed): Add non-ASCII case conversion to String#upcase/downcase/swapcase/capitalize
- Close way overdue, should have happened somewhere around r55281.
-
08:02 PM Feature #6647: Exceptions raised in threads should be logged
- FWIW, I enabled Thread.report_on_exception = true by default in ruby/spec.
I had to change a few specs, but I think it really improved the specs rather than being cumbersome.
See https://github.com/ruby/spec/pull/517 for details.
I ... -
05:50 PM Bug #13163: Uncaught exceptions may not be reported when Thread#report_on_exception=true and Thread#abort_on_exception=true
- I believe we only need a 2.4 backport, Thread#report_on_exception is only defined from Ruby 2.4+.
-
05:34 PM Bug #14017: Hash.sort_by inconsistent between 2.2.6 and upper versions
- nobu (Nobuyoshi Nakada) wrote:
> Ruby's sort method is not stable sort.
> ...
Just to be cristal clear:
A sort being stable means that when values are the same, the elements stay in the original order.
This would mean that the or... -
05:11 PM Bug #14017: Hash.sort_by inconsistent between 2.2.6 and upper versions
- got it, forgot to check the doc. Thx for clearing that up!
-
04:57 PM Bug #14017: Hash.sort_by inconsistent between 2.2.6 and upper versions
- chucke (Tiago Cardoso) wrote:
> The bug occurs when sorting by a numeric value and two different keys have similar values: It is very easily demonstrated here:
It is not a bug.
> ...
Ruby's sort method is not stable sort.
The d... -
04:54 PM Bug #14017 (Rejected): Hash.sort_by inconsistent between 2.2.6 and upper versions
- Ruby 2.2 is in the security maintenance phase, see https://bugs.ruby-lang.org/projects/ruby/wiki/ReleaseEngineering
As this is not a security issue, it is not suitable for backporting to ruby 2.2. -
04:25 PM Bug #14017 (Rejected): Hash.sort_by inconsistent between 2.2.6 and upper versions
- The bug occurs when sorting by a numeric value and two different keys have similar values: It is very easily demonstrated here:
```ruby
enc = {"foo"=>0.9, "bar"=>1.0, "identity"=>1.0}
enc.sort_by { |_, q| -q }
# in ruby 2.2.6
#=... - 04:05 PM Revision 653263d0 (git): * 2017-10-16
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60186 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:05 PM Revision 1ebb148a (git): error.c: [DOC] fix typo [ci skip]
- * error.c (RuntimeError): example code uses Kernel#raise instance
method, not Kernel.raise singleton method.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60185 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:31 PM Bug #14015: Enumerable & Hash yielding arity
- Perhaps ruby 3.x?
To be honest, while I agree with Marc here, if only for consistency, I
think it is probably not the biggest issue overall. I use yield a lot
but most of my use cases are very simple with yield. Not that I am sayin... -
04:40 AM Bug #14015: Enumerable & Hash yielding arity
- Reading more, I see that in some cases there were differences between a lambda with arity 2 and a method with arity 2.
In particular, the change of `Hash#map` in Ruby 2.4.2 was only for methods, but lambdas were working before. What a m... -
01:21 AM Bug #14015: Enumerable & Hash yielding arity
- We know, but can't fix for backward compatibilities, now.
-
11:24 AM Bug #14014 (Closed): NaN.finite?
-
09:26 AM Bug #14014: NaN.finite?
- Should this be marked as closed rather than rejected and a test be added for NaN for the backport to be performed then?
-
09:50 AM Bug #14009: macOS High Sierra and “fork” compatibility
- Just an idea, environment variable `DYLD_INSERT_LIBRARIES=/System/Library/Frameworks/Foundation.framework/Versions/Current/Foundation` doesn't work?
-
04:46 AM Bug #14016: URI IPv6 address can't be used to open socket
- > if someone be so kind as to edit/replace the original description,
> ...
I think there may be a few who could modify it (not me); at the
least the title can be changed, but possibly also the body of
the message. For some reason, the... -
03:10 AM Feature #13224: Add FrozenError as a subclass of RuntimeError
- Out of topic, `Kernel.raise` in examples should be `Kernel#raise`, I think.
-
02:51 AM Feature #13224: Add FrozenError as a subclass of RuntimeError
- Matz accepted this feature about 6 months ago, but it didn't make it into 2.5.0-preview1. Attached is an updated patch that applies to current trunk.
-
02:31 AM Revision b6251910 (git): configure.ac: fix SONAME
- * configure.ac (RUBY_SO_NAME): revert $(RUBY_API_VERSION:.=) to
$(MAJOR)$(MINOR), as a string in middle is not replaced.
[ruby-core:83208] [Bug #14002]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60184 b2dd03c8-39d4-4d8f-98ff-... -
02:20 AM Revision b1ef4d80 (git): envutil.rb: precommand in invoke_ruby [ci skip]
- * test/lib/envutil.rb (invoke_ruby): add precommand option to
invoke ruby via some other commands, e.g., sudo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60183 b2dd03c8-39d4-4d8f-98ff-823fe69b080e