Project

General

Profile

Activity

From 10/12/2016 to 10/18/2016

10/18/2016

11:27 PM Bug #12852: URI.parse can't handle non-ascii URIs
Olivier Lacan wrote:
>
> ...
You keep using the word "URI" to refer to these data objects, and by specification a URI data object cannot contain non-ASCII characters (and even some ASCII characters are forbidden.) If we agree that `"h...
phluid61 (Matthew Kerwin)
09:57 PM Bug #12852: URI.parse can't handle non-ascii URIs
Matthew Kerwin wrote:
> The rails snippet you linked is part of a HTML form. A web browser displaying and submitting that form would interpret the `✓` entity as U+2713 CHECK MARK, yes, but it would percent-encode it as `%E2%9C%93...
olivierlacan (Olivier Lacan)
09:18 PM Bug #12852: URI.parse can't handle non-ascii URIs
As a point of order, there's no such thing as a "non-ASCII URI"*; that would be an [IRI](https://tools.ietf.org/html/rfc3987).
The rails snippet you linked is part of a HTML form. A web browser displaying and submitting that form woul...
phluid61 (Matthew Kerwin)
08:10 PM Bug #12852 (Closed): URI.parse can't handle non-ascii URIs
Given a return URL path like: `/search?utf8=\u{2713}&q=foo`, `URI.parse` raises the following exception:
```ruby
URI.parse "/search?utf8=\u{2713}&q=foo"
URI::InvalidURIError: URI must be ascii only "/search?utf8=\u{2713}&q=foo"
``...
olivierlacan (Olivier Lacan)
05:43 PM Bug #12851 (Rejected): string.gsub!(/\W/, '').downcase! returns undefined method in some (listed) cases
This isn't a bug. String#gsub! returns nil if no changes are made. From the documentation for String#gsub!: "Performs the substitutions of String#gsub in place, returning str, or nil if no substitutions were performed." jeremyevans0 (Jeremy Evans)
05:21 PM Bug #12851 (Rejected): string.gsub!(/\W/, '').downcase! returns undefined method in some (listed) cases
Hi! Found this strange issue with gsub! and downcase! methods used together for a string. Example code:
~~~ ruby
def palindrome? (str)
str.gsub!(/\W/, '').downcase!
str == str.reverse
end
puts palindrome?("Madam, I'm Adam!"...
ciscoved (Mikhail A)
03:40 PM Revision 72ad249e (git): Update comments in prelude.c [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56448 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
03:09 PM Bug #12850 (Closed): SEGV in C level backtrace information
Applied in changeset r56446.
----------
addr2line.c: boundary checks
* addr2line.c (parse_debug_line_cu): boundary checks for
compressed debug sections. [ruby-dev:49840] [Bug #12850]
nobu (Nobuyoshi Nakada)
02:38 PM Bug #12850: SEGV in C level backtrace information
`--enable-shared`のときしか有効にしていないからでしょう。
シグナルハンドラでzlib呼び出すのはかなり怖いので、revertしますかね。
nobu (Nobuyoshi Nakada)
02:21 PM Bug #12850: SEGV in C level backtrace information
http://rubyci.org/ の Ubuntu 16.04 x86_64 では通っているように見えるので、違いを調べてみたところ、`--enable-shared` を外すと手元でも大丈夫になりました。 znz (Kazuhiro NISHIYAMA)
01:41 PM Bug #12850 (Closed): SEGV in C level backtrace information
Ubuntu 16.04.1 LTS の環境で、r56445 の変更の影響で SEGV のテストの `C level backtrace information` の表示で SEGV します。
```
% gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper
Target: x86_64-li...
znz (Kazuhiro NISHIYAMA)
03:09 PM Revision 40517422 (git): * 2016-10-19
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56447 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:09 PM Revision 685a436a (git): addr2line.c: boundary checks
* addr2line.c (parse_debug_line_cu): boundary checks for
compressed debug sections. [ruby-dev:49840] [Bug #12850]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56446 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:45 PM Bug #12849: Ruby 2.3.1 build fails with FreeBSD 11
I'm going to prepare FreeBSD 11 environment for this issue at this weekend. hsbt (Hiroshi SHIBATA)
01:14 PM Bug #12849 (Feedback): Ruby 2.3.1 build fails with FreeBSD 11
Added a comment at the GitHub issue. It sounds weird, because its existence of SSLv2_method should be checked by ext/openssl/extconf.rb in all stable branches including 2.3. rhenium (Kazuki Yamaguchi)
12:47 PM Bug #12849 (Rejected): Ruby 2.3.1 build fails with FreeBSD 11
I got build failure report for openssl build on Ruby 2.3.1
see. https://github.com/rbenv/ruby-build/issues/1009
It caused that FreeBSD 11 removed `SSLv2_method`.
Can we pick patch from r55162 for Ruby 2.3.1 ?
hsbt (Hiroshi SHIBATA)
07:36 AM Revision a40d95c4 (git): configure.in: compress debug sections
* configure.in (DLDFLAGS): append --compress-debug-sections=zlib
if available, which reduces the size of LIBRUBY_SO by half or
more.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56445 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:55 AM Revision 5f69a2e5 (git): separated_version.mk: option for linux [ci skip]
* defs/separated_version.mk (RUBY_VERSION_DLDFLAGS): move linux
specific option.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56444 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:35 AM Revision fed06646 (git): * 2016-10-18
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56443 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:35 AM Revision 3ee370ae (git): separated_version.mk [ci skip]
* defs/separated_version.mk: FOR DEVELEPERS ONLY.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56442 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:44 AM Bug #12847: Documentation of instance method Thread.abort_on_exception= is wrong
Hah sorry about that, I completely misread the sentence. I would suggest changing the docs to be a bit more clear that this is different than `Thread.abort_on_exception=` (though it is logical). Maybe something like:
~~~
When set to ...
mikekap (Mike Kaplinskiy)
12:12 AM Bug #12847 (Rejected): Documentation of instance method Thread.abort_on_exception= is wrong
It is the instance-level setting but terminates the whole process. nobu (Nobuyoshi Nakada)
03:55 AM Feature #9108: Hash sub-selections
Indeed, I'm still hanging out for this. Seems like such a common thing I run into, and I'm always surprised this functionality isn't built in. `Hash#select { |k,v| {...}.include?(k) }` is very verbose. wardrop (Tom Wardrop)
12:17 AM Feature #12848 (Assigned): Crazy idea: Allow regex definition for methods (Do not take it seriously please)
nobu (Nobuyoshi Nakada)

10/17/2016

06:07 PM Bug #12743: throw(false) does not work as expected
ruby_2_3 r56441 merged revision(s) 56252,56254. nagachika (Tomoyuki Chikanaga)
06:07 PM Revision ded40392 (git): merge revision(s) 56252,56254: [Backport #12743]
* eval_intern.h (TH_PUSH_TAG): Initialize struct rb_vm_tag::tag with
Qundef rather than 0 which is equal to Qfalse. Since Kernel#throw(obj)
searches a tag with rb_vm_tag::tag == obj, throw(false) can
acciden...
nagachika (Tomoyuki Chikanaga)
05:56 PM Bug #12776: Flaky test case: TestThread#test_thread_name
ruby_2_3 r56440 merged revision(s) 53520. nagachika (Tomoyuki Chikanaga)
05:56 PM Revision 69f86f79 (git): merge revision(s) 53520: [Backport #12776]
test_thread.rb: wait for the thread to sleep
* test/ruby/test_thread.rb (test_thread_name): wait for the status
of the subject thread to fix, so that the status does not change
between two inspect methods.
git-svn-id: svn+s...
nagachika (Tomoyuki Chikanaga)
05:55 PM Bug #12811: SyntaxError does not have a backtrace in 2.3+
ruby_2_3 r56439 merged revision(s) 56363,56365. nagachika (Tomoyuki Chikanaga)
05:55 PM Revision 10555f93 (git): merge revision(s) 56363,56365: [Backport #12811]
* load.c (rb_require_safe): SyntaxError created by the parser just
has the mesage and needs to set up the backtrace.
[ruby-core:77491] [Bug #12811]
has the message and needs to set up the backtrace.
git-sv...
nagachika (Tomoyuki Chikanaga)
05:54 PM Feature #12848 (Rejected): Crazy idea: Allow regex definition for methods (Do not take it seriously please)
Me again, sorry - only crazy ideas coming about as of late here.
### Crazy idea: Allow regex definition for methods
I should wait until first april. :)
But anyway.
Consider this:
```ruby
def foo_bar
puts 'hi there!'
e...
shevegen (Robert A. Heiler)
05:38 PM Bug #12822: Backport r56374 (fix monthly log rotate with DST)
ruby_2_3 r56438 merged revision(s) 56374. nagachika (Tomoyuki Chikanaga)
05:38 PM Revision 7c0c4c8e (git): merge revision(s) 56374: [Backport #12822]
* lib/logger.rb (Logger::Period#next_rotate_time): fix monthly log
rotate when DST is applied during a month of 31 days.
[Fix GH-1458]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@56438 b2dd03c8-39d...
nagachika (Tomoyuki Chikanaga)
05:23 PM Bug #12823: compile issues 2.2.5 with cygwin
ruby_2_3 r56437 merged revision(s) 55232. nagachika (Tomoyuki Chikanaga)
05:23 PM Revision 55f7a78c (git): merge revision(s) 55232: [Backport #12823]
crypt.c: protoize
* missing/crypt.c: protoize function definitions and make
always-zero functions void.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@56437 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
05:09 PM Bug #12847 (Rejected): Documentation of instance method Thread.abort_on_exception= is wrong
The documentation for the instance method says that the setting is global: https://ruby-doc.org/core-2.3.0/Thread.html#method-i-abort_on_exception-3D:
~~~
When set to true, all threads (including the main program) will abort if an ex...
mikekap (Mike Kaplinskiy)
08:56 AM Feature #12843: Proposal to add a new method to class File in order to determine the name of the file without any suffix
What is your use-case?
If it's to append another extension, `Pathname#sub_ext` might interest you.
Actually, it can even be used to remove the extension:
```ruby
Pathname("dir/file.ext").sub_ext("") # => #<Pathname:dir/file>
```...
Eregon (Benoit Daloze)
07:20 AM Revision 79ca0925 (git): install-static-library option [ci skip]
* win32/configure.bat: add option to enable/disable to install
static ruby library. defaulted to "no". [Feature #12845]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56436 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:17 AM Feature #12845 (Closed): Do we need libruby-static.a?
Applied in changeset r56434.
----------
install-static-library option [ci skip]
* configure.in (install-static-library): add option to enable/
disable to install static ruby library. defaulted to "no" if
enable-shared. [Feature #...
nobu (Nobuyoshi Nakada)
06:08 AM Feature #12845 (Closed): Do we need libruby-static.a?
On install directory, `lib/libruby-static.a` consumes 53MB on my Ubuntu 16 machine (4.4.0-42-generic, gcc 5.4.0). (Because I always use `--enable-shared` option) libruby.so consumes 15MB on same build.
Can we drop this libruby-static....
ko1 (Koichi Sasada)
07:17 AM Revision aacbca88 (git): * 2016-10-17
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56435 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:17 AM Revision 9bd24907 (git): install-static-library option [ci skip]
* configure.in (install-static-library): add option to enable/
disable to install static ruby library. defaulted to "no" if
enable-shared. [Feature #12845]
* tool/rbinstall.rb (local-arch-lib): respect the option.
git-svn-id: svn+...
nobu (Nobuyoshi Nakada)
06:53 AM Bug #12846 (Rejected): delete
Osanda Jayathissa wrote:
> We can crash a computer by making it's Disk and Memory to 100% and CPU too above 50%.
> ...
You can do this in many different ways, with most if not all programming languages, and with most operating system...
duerst (Martin Dürst)
06:13 AM Bug #12846 (Rejected): delete
We can crash a computer by making it's Disk and Memory to 100% and CPU too above 50%.
The issue is when performing illogical ranges and converting them to an array.
Proof of Concept:
('malith'..'osanda').to_a
I have tested on a...
Osanda (Osanda Jayathissa)
02:49 AM Bug #12844 (Feedback): Unable to run $rails console
We need the "many lines of code" you omit to say who is wrong. shyouhei (Shyouhei Urabe)

10/16/2016

11:53 PM Feature #12843: Proposal to add a new method to class File in order to determine the name of the file without any suffix
Robert A. Heiler wrote:
> I would thus like to suggest a way for a new method addition, on the
> ...
Maybe what is called as "stem" in GNU make document?
> ```ruby
> ...
It sounds like same as `basename`.
> What we actually appe...
nobu (Nobuyoshi Nakada)
10:39 AM Feature #12843 (Open): Proposal to add a new method to class File in order to determine the name of the file without any suffix
We currently have `File.basename()` and `File.dirname()`, both of which
work very well and are quite useful when working with files and
directories.
When you want to get the filename without extension, you can use
something like th...
shevegen (Robert A. Heiler)
08:00 PM Bug #12844 (Closed): Unable to run $rails console
If I run rails console it diplays many lines of code and then states:
```
[NOTE]
You may have encountered a bug in the Ruby interpreter or extension libraries.
Bug reports are welcome.
For details: http://www.ruby-lang.org/bugrep...
FrederickJohn (Frederick Schiller)
06:09 AM Revision 64b62f40 (git): * enc/windows_1254.c, test/ruby/enc/test_case_comprehensive.rb:
Implement non-ASCII case conversion for Windows-1254.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56433 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
duerst (Martin Dürst)

10/15/2016

11:34 PM Revision 64efbf24 (git): test_io.rb: use assert_not_predicate
* test/ruby/test_io.rb (test_DATA_binmode): assert_not_predicate
for more descriptive message.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56432 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
10:59 PM Revision 9ec940a4 (git): test_refinement.rb: test_symbol_proc
* test/ruby/test_refinement.rb (test_symbol_proc): move from
test_symbol.rb [Feature #9451]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56431 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
10:59 PM Revision 9ffaf140 (git): test_refinement.rb: using without eval
* test/ruby/test_refinement.rb (FooExtClient, FooExtClient2): no
needs to eval, using works in a class block now.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56430 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:29 PM Bug #12814: Pathname#each_child(false) produces unusable file paths
I see… Still I can't decide whether it is for good or not. What is the purpose of such a path then? Shouldn't a String object instead of a Pathname be returned in such a case?
In my scenario I traverse directories and process some of ...
tao (Mr. Tao)
03:45 PM Revision 65c9aaa9 (git): * 2016-10-16
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56429 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:45 PM Revision 371e3f4f (git): Add test of DATA.binmode?
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56428 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
11:29 AM Bug #12842 (Third Party's Issue): Bug in ruby intrepreter
nobu (Nobuyoshi Nakada)
09:05 AM Bug #12842 (Third Party's Issue): Bug in ruby intrepreter
```
Nischals-Device:jwt_api_auth nischalgautam$ rails c
Running via Spring preloader in process 23900
Loading development environment (Rails 5.0.0.1)
2.3.1 :001 > @post=Post.create(title: "hello")
/Users/nischalgautam/.rvm/gems/rub...
nischal1024@gmail.com (Nischal Gautam)
10:37 AM Bug #12705: yielding args to a lambda uses block/proc rather than lambda/method semantics
This bug seems specific to yield, calling the lambda behaves as expected.
I added specs in ruby/spec to verify this behavior:
https://github.com/ruby/spec/commit/c4cabcf37ac804ea127bd0216c0239e5f9045ec1
The ruby_bug guard can be adj...
Eregon (Benoit Daloze)
09:05 AM Revision 65daf7be (git): vm_args.c: cache procs
* vm_args.c (vm_caller_setup_arg_block): cache proc with
refinements. [Feature #9451]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56427 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:17 AM Feature #9451 (Closed): Refinements and unary & (to_proc)
Applied in changeset r56426.
----------
vm_args.c: allow refinements in Symbol proc
* vm_args.c (refine_sym_proc_call): search and call method with
refinements.
* vm_args.c (vm_caller_setup_arg_block): enable refinements when
enabl...
nobu (Nobuyoshi Nakada)
05:17 AM Feature #12638 (Closed): Symbol#to_proc probable bug (seems not to support refinements)
Applied in changeset r56426.
----------
vm_args.c: allow refinements in Symbol proc
* vm_args.c (refine_sym_proc_call): search and call method with
refinements.
* vm_args.c (vm_caller_setup_arg_block): enable refinements when
enabl...
nobu (Nobuyoshi Nakada)
05:17 AM Revision 35a29390 (git): vm_args.c: allow refinements in Symbol proc
* vm_args.c (refine_sym_proc_call): search and call method with
refinements.
* vm_args.c (vm_caller_setup_arg_block): enable refinements when
enabled in the caller. [Feature #9451]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@...
nobu (Nobuyoshi Nakada)

10/14/2016

03:54 PM Bug #12841 (Closed): Kernel#exec(cmdname, arg1, ...) passes arg1 that is encoded strangely on Japanese Windows
Applied in changeset r56424.
----------
process.c: use uaspawn
* process.c (proc_exec_cmd): use UTF-8 version aspawn.
[ruby-dev:49838] [Bug #12841]
nobu (Nobuyoshi Nakada)
01:06 PM Bug #12841 (Closed): Kernel#exec(cmdname, arg1, ...) passes arg1 that is encoded strangely on Japanese Windows
Kernel#exec(cmdname, arg1, ...) 形式でプログラムを呼び出す際、argが日本語を含んでいると
化けた文字列が渡されます。
同じ内容を Kernel#excec(cmdline) 形式で呼び出すと問題は発生しません。
直接呼び出す場合は問題なし
~~~

> ruby test.rb あ
arg: あ, enc: Window...
dogatana (Toshihiko Ichida)
03:54 PM Revision 69692d48 (git): * 2016-10-15
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56425 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:54 PM Revision 5d4309d0 (git): process.c: use uaspawn
* process.c (proc_exec_cmd): use UTF-8 version aspawn.
[ruby-dev:49838] [Bug #12841]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56424 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:20 PM Bug #12838: Duplication of UDP packets for DNS responses causing "no address" results for valid hostnames
I looked through some of the DNS RFCs, at the suggestion of a colleague, to see if there was any mention of a standard way of dealing with duplicate responses. I didn't see anything specifically calling out duplicates, but I did find thi... jschneiderhan (Jon-Erik Schneiderhan)
02:58 PM Bug #12838: Duplication of UDP packets for DNS responses causing "no address" results for valid hostnames
I added a diff file (check-sender.diff) instead of using the issue description to show the change I made to fix the error on my machine. The change and diff were made against the v2_3_1 tag in the git repo mirrored on github. I'm not nec... jschneiderhan (Jon-Erik Schneiderhan)
01:26 PM Revision 0687baaf (git): optparse/kwargs.rb
* lib/optparse/kwargs.rb (OptionParser#define_by_keywords):
[EXPERIMENTAL] extract command line option definitions from the
information of keyword arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56423 b2dd03c8-39d4-4d8f...
nobu (Nobuyoshi Nakada)
12:07 PM Bug #12840 (Closed): Add test for Forwardable#def_delegator on private methods
This is for #12782. aycabta (aycabta .)
09:40 AM Feature #4897: Define Math::TAU and BigMath.TAU. The "true" circle constant, Tau=2*Pi. See http://tauday.com/
See also https://github.com/jneen/math-tau . sbaird (Simon Baird)
08:38 AM Feature #4897: Define Math::TAU and BigMath.TAU. The "true" circle constant, Tau=2*Pi. See http://tauday.com/
Just to add my POV:
I'm a complete amateur in pure Mathematics. To me who is an outsider of academia, I can't say we should accept or reject this request right now. All I can say is it seems not widely used in papers for some reaso...
shyouhei (Shyouhei Urabe)
06:42 AM Feature #4897: Define Math::TAU and BigMath.TAU. The "true" circle constant, Tau=2*Pi. See http://tauday.com/
Nobuyoshi Nakada wrote:
> At the developers' meeting this week, mrkn suggested `TWO_PI` instead.
I don't think TWO_PI would be very useful since it misses the main point of tau, which is that tau is the correct circle constant, (and ...
sbaird (Simon Baird)
05:41 AM Feature #4897: Define Math::TAU and BigMath.TAU. The "true" circle constant, Tau=2*Pi. See http://tauday.com/
On 2016/10/14 13:35, RRRoy BBBean wrote:

> Would such an interconnected system be packaged as a bunch of individual
> gems, or is there some higher-level packaging concept than the Ruby gem?
>
> I personally think gems are best wh...
duerst (Martin Dürst)
03:12 AM Feature #4897: Define Math::TAU and BigMath.TAU. The "true" circle constant, Tau=2*Pi. See http://tauday.com/
At the developers' meeting this week, mrkn suggested `TWO_PI` instead. nobu (Nobuyoshi Nakada)
09:28 AM Revision b40d13a9 (git): * Fix wrong class name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56422 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
09:27 AM Bug #11736 (Closed): Float(arg) not consistent with documentation
Applied in changeset r56421.
----------
* object.c: Improve documentation for Integer conversion.
[ruby-core:71661][Bug #11736][ci skip]
hsbt (Hiroshi SHIBATA)
09:27 AM Revision 3827c23a (git): * object.c: Improve documentation for Integer conversion.
[ruby-core:71661][Bug #11736][ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56421 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
09:02 AM Misc #12730 (Rejected): Documentation String.slice!(regex)
hsbt (Hiroshi SHIBATA)
09:01 AM Feature #12803 (Closed): Improve Logger.new option documentation
Applied in changeset r56420.
----------
* lib/logger.rb: Improve Logger.new option documentation.
[Feature #12803][ruby-core:77467]
hsbt (Hiroshi SHIBATA)
09:01 AM Revision 990b23bb (git): * lib/logger.rb: Improve Logger.new option documentation.
[Feature #12803][ruby-core:77467]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56420 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
08:20 AM Revision 99ad5124 (git): optparse.rb: hyphenize
* lib/optparse.rb (make_switch, parse_in_order): unify underscores
to hyphens.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56419 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:45 AM Feature #12839 (Closed): CSV - Give not nil but empty strings for empty fields
The CSV parser gives nil for empty fields.
```rb
require "csv"
CSV.parse(%|,""|) #=> [[nil, ""]]
```
The above behavior maybe be suitable for certain programmers, but I hope to get `[["", ""]]`.
So I had used to write the f...
5.5 (5 5)
01:48 AM Revision def1fbde (git): * 2016-10-14
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56418 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:48 AM Revision 1fc0c086 (git): webrick: use monotonic clock for timeouts
The monotonic clock is immune to system time changes and
a better option for implementing timing comparisons.
* lib/webrick/utils.rb (TimeoutHandler): use monotonic clock
(watch): ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tru...
Eric Wong
01:04 AM Bug #12833: incorrect iso8601 parsing of YYYY-MM format
I searched for this issue, before filing this ticket. However, I just discovered https://bugs.ruby-lang.org/issues/12285 which reports this same issue. jonwolski (Jon Wolski)

10/13/2016

08:50 PM Bug #12838 (Closed): Duplication of UDP packets for DNS responses causing "no address" results for valid hostnames
A network that I'm running a Ruby app on has an issue where it is duplicating UDP packets (a separate issue that I need to fix). This is resulting in intermittent "not found" results for valid hostnames.
In my case, my resolver is set...
jschneiderhan (Jon-Erik Schneiderhan)
07:25 PM Bug #12821: Object converted to Hash unexpectedly under certain method call
It's not what I expected, but Ruby is splitting `test2` into two hashes, with all keywords into the second hash. There are no keywords in `{0 => [0, 1]}`, so Ruby passes `{0 => [0, 1]}` as `foo` and `{}` as keywords.
~~~ ruby
def arg...
kernigh (George Koehler)
03:45 PM Misc #12835: RDoc comment of String#casecmp
I created [pull request](https://github.com/rurema/doctree/pull/339) for Japanese Reference Manual. znz (Kazuhiro NISHIYAMA)
01:29 PM Misc #12835 (Closed): RDoc comment of String#casecmp
String#casecmp dose not return nil but raise TypError for incomparable argument.
So
~~~
* str.casecmp(other_str) -> -1, 0, +1 or nil
~~~
should be like
~~~
* str.casecmp(other_str) -> -1, 0, +1
~~~
or
~~~...
dogatana (Toshihiko Ichida)
03:42 PM Bug #12834: `prepend` getting prepended even if it already exists in the ancestors chain
My point was that whether or not a module will get prepended can have an actual impact, yet it got changed between versions without an explicit notice. Given that the behaviour is documented as opposed to left undefined, I thought that t... ndn (Nikola Nenkov)
03:26 PM Bug #12834: `prepend` getting prepended even if it already exists in the ancestors chain
`Module#include` can make multiple times module existence in `ancestors`.
```ruby
module M; end
class A; end
class B < A; include M; end
class A; include M; end
B.ancestors #=> [B, M, A, M, Object, Kernel, BasicObject]
```
znz (Kazuhiro NISHIYAMA)
10:48 AM Bug #12834 (Closed): `prepend` getting prepended even if it already exists in the ancestors chain
```
module M; end
class A; prepend M; end
class B < A; prepend M; end
B.ancestors # => [M, B, M, A, Object, Kernel, BasicObject]
```
Even though I find this behaviour to be more intuitive, it is inconsistent with `Module#includ...
ndn (Nikola Nenkov)
02:47 PM Bug #12837 (Closed): Add test for what Forwardable#def_delegator extends object what doesn't mix-in Module class
In #12478, fixed error for what Forwardable#def_delegator extends object what doesn't mix-in Module class. This is test for it. aycabta (aycabta .)
02:01 PM Bug #12836 (Closed): Backport r56416 (copy_stream to duplex IO)
バックポート管理用チケットです。 nagachika (Tomoyuki Chikanaga)
10:41 AM Revision 34d420ac (git): io.c: copy_stream to duplex IO
* io.c (copy_stream_body): use IO to write to copy to duplex IO.
http://twitter.com/knu/status/786505317974585344
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56416 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:15 AM Revision f087533b (git): NEWS: [Feature #11818] [ci skip]
* NEWS: add Hash#compact and Hash#compact!. [Feature #11818]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56415 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:06 AM Feature #11818 (Closed): `Hash#compact`
Applied in changeset r56414.
----------
hash.c: add compact and compact! methods
* hash.c (rb_hash_compact, rb_hash_compact_bang): Removes nil
values from the original hash, to port Active Support behavior.
[Feature #11818]
nobu (Nobuyoshi Nakada)
08:06 AM Revision bbd58fa2 (git): hash.c: add compact and compact! methods
* hash.c (rb_hash_compact, rb_hash_compact_bang): Removes nil
values from the original hash, to port Active Support behavior.
[Feature #11818]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56414 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:35 AM Revision 5b3b8554 (git): unstable sort [ci skip]
* array.c (rb_ary_sort_bang, rb_ary_sort, rb_ary_sort_by_bang):
[DOC] describe that sort may not be stable.
* enum.c (enum_sort, enum_sort_by): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56413 b2dd03c8-39d4-4d8f-98ff-823...
nobu (Nobuyoshi Nakada)
02:31 AM Revision 7e9112a4 (git): Fix tests depending on sort stability
* test/rexml/xpath/test_text.rb (test_ancestors): Array#sort may
not be stable. [ruby-core:76088] [Bug #12509]
* test/rss/test_maker_{0.9,1.0,2.0}.rb (test_items): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56412 b2dd03...
nobu (Nobuyoshi Nakada)
01:52 AM Bug #12509: Using qsort_s in mingw-w64 causes failures
Or a patch for stable sort.
```diff
diff --git i/lib/rexml/xpath_parser.rb w/lib/rexml/xpath_parser.rb
index 181b2b6..7ae6495 100644
--- i/lib/rexml/xpath_parser.rb
+++ w/lib/rexml/xpath_parser.rb
@@ -503,9 +503,9 @@
...
nobu (Nobuyoshi Nakada)
01:49 AM Feature #12664 (Closed): Multiline pretty-printing of multiline strings
It's fixed at r56391 hsbt (Hiroshi SHIBATA)
01:40 AM Revision 43112104 (git): doc/extension.rdoc: wording fix w.r.t. volatile vs RB_GC_GUARD
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56411 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Eric Wong
01:17 AM Bug #12833 (Closed): incorrect iso8601 parsing of YYYY-MM format
## Duplicate
This ticket duplicates https://bugs.ruby-lang.org/issues/12285
## Expected
`DateTime.iso8601('2016-10')` parses the input string as four-digit year and two-digit month.
```sh
$ ruby -r date -e "puts DateTime.iso...
jonwolski (Jon Wolski)

10/12/2016

10:07 PM Feature #12664: Multiline pretty-printing of multiline strings
Great, thanks. Would you like me to submit it in form of a patch? pitr.ch (Petr Chalupa)
04:49 PM Bug #12705: yielding args to a lambda uses block/proc rather than lambda/method semantics
please also take a look at Bug #12706, it may be related, also has to to with how args are yielded to lambdas bughit (bug hit)
04:43 PM Feature #12676: Significant performance increase, and code conciseness, for prime_division method in prime.rb
I know this may be past your pay grade, but I present this to bring awareness to it.
In general for Ruby 2.x, `while` loops perform the best, but in JRuby they perform the worst.
I have seen various technical explanations for this, but...
jzakiya (Jabari Zakiya)
03:48 PM Bug #12509: Using qsort_s in mingw-w64 causes failures
This is because `Array#sort` and `Array#sort_by` may not be stable.
I fixed `test_array.rb` and reported to rubygems, but uncertain the rest, whether rexml and rss expect stable sort, or the orders are undefined and the tests have bugs....
nobu (Nobuyoshi Nakada)
03:39 PM Bug #12509 (Closed): Using qsort_s in mingw-w64 causes failures
Applied in changeset r56410.
----------
test_array.rb: do not assume stable sort
* test/ruby/test_array.rb (test_sort_bang_with_freeze): make a
clone to copy a <=> singleton method, instead of dup. which
element will be called is ...
nobu (Nobuyoshi Nakada)
03:39 PM Revision 89230e7c (git): test_array.rb: do not assume stable sort
* test/ruby/test_array.rb (test_sort_bang_with_freeze): make a
clone to copy a <=> singleton method, instead of dup. which
element will be called is not predictable.
[ruby-core:76088] [Bug #12509]
git-svn-id: svn+ssh://ci.ruby-la...
nobu (Nobuyoshi Nakada)
03:29 PM Revision 9d8f62d5 (git): better assertion
* test/rexml/xpath/test_text.rb (test_ancestors): use
assert_kind_of for better assertion message.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56409 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:28 PM Revision 7f887ab1 (git): Fix similar typos [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56408 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
03:28 PM Revision caa90834 (git): Fix typo [ci skip]
Replace "You can defined hooked variables" with "You can define hooked variables"
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56407 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
znz (Kazuhiro NISHIYAMA)
03:28 PM Revision 93c8fec0 (git): fix a typo [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56406 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
03:28 PM Revision c2902620 (git): fix warning: assigned but unused variable
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56405 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
03:28 PM Revision 1056f545 (git): * 2016-10-13
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56404 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:28 PM Revision 0c7a092d (git): do not need to downcase twice
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56403 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
02:22 PM Bug #12832: Calling Object#method hangs for private method defined on module then made public once it's been used to extend class
In case it helps, it seems as if Ruby v2.3 is "more" broken than earlier versions. If I remove the `Bar.method(:foo)` lookup *before* the `Baz` module is prepended, the final lookup still hangs in Ruby v2.3, but not in v2.2. See below:
...
floehopper (James Mead)
04:50 AM Bug #12832 (Assigned): Calling Object#method hangs for private method defined on module then made public once it's been used to extend class
I can reproduce this. Seems like a infinite loop inside of`rb_callable_method_entry_without_refinements`. I think this is a showstopper bug.
```
zsh % lldb ./miniruby target.rb
(lldb) target create "./miniruby"
Current executable...
shyouhei (Shyouhei Urabe)
01:33 PM Revision 50454616 (git): merge revision(s) 56399:
* tool/downloader.rb: Removed verification of gem certification.
Because signed gem is not working on rubygems ecosystem.
* tool/gem-unpack.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@564...
nagachika (Tomoyuki Chikanaga)
12:07 PM Revision e592a735 (git): * ruby.c (open_load_file): revert r56385. it introduced incompatibility
about `DATA.binmode?`.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56401 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
09:46 AM Feature #6284: Add composition for procs
Paul Mucur wrote:
> Yukihiro Matsumoto wrote:
> ...
If Matz says so, then yes, this is the main blocker.
duerst (Martin Dürst)
08:28 AM Feature #6284: Add composition for procs
Yukihiro Matsumoto wrote:
> Positive about adding function composition. But we need method name consensus before adding it?
> ...
Aside from implementation details, is the lack of consensus on the method name (and the resulting behavio...
mudge (Paul Mucur)
08:24 AM Revision 21f1b89b (git): ruby.c: fix macros
* ruby.c (open_load_file): FILE_ALT_SEPARATOR and EXEEXT are
config.status variables, not available in config.h.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56400 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:24 AM Revision 2e5fffa7 (git): * tool/downloader.rb: Removed verification of gem certification.
Because signed gem is not working on rubygems ecosystem.
* tool/gem-unpack.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56399 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
 

Also available in: Atom