Project

General

Profile

Activity

From 09/19/2015 to 09/25/2015

09/25/2015

08:05 PM Feature #11552 (Closed): ext/openssl: choose the OpenSSL::Digest class for OpenSSL::OCSP::Request.sign and OpenSSL::OCSP::BasicResponse.sign
ossl_ocsp.c is currently hard-coded to use SHA1 signatures when signing OCSP requests and basic responses, but SHA1 i... tshirley (Tim Shirley)
01:45 PM Bug #11551: `[BUG] cfp consistency error` for unidentified reasons
There is a typo in the `method_missing` definition which is the cause here. Changing `attribute_defintion` to `attrib... seantheprogrammer (Sean Griffin)
01:41 PM Bug #11551 (Rejected): `[BUG] cfp consistency error` for unidentified reasons
The code changes https://github.com/sgrif/rails/commit/ddbed0040f5e99a751b130de8213f7cc7e0d155d cause a segfault when... seantheprogrammer (Sean Griffin)
11:08 AM Feature #11550: Current behaviour of super(...) is dangerous in the presence of more than one included modules.
Why not simply having `super` in M1 and M2 #initialize?
All constructors should call `super`, unless they just inher...
Eregon (Benoit Daloze)
06:46 AM Feature #11550 (Open): Current behaviour of super(...) is dangerous in the presence of more than one included modules.
Consider a class
~~~
class C <P
include M1
include M2
def initialize
....
end
...
rovf (Ronald Fischer)
08:00 AM Misc #11548: FileUtils#remove_tailing_slash is a poor method name
It's a private method, we can replace it immediately. nobu (Nobuyoshi Nakada)
05:06 AM Misc #11548: FileUtils#remove_tailing_slash is a poor method name
I agree. We should probably introduce the new name now, and later deprecate the old one. duerst (Martin Dürst)
07:59 AM Bug #11546 (Third Party's Issue): Build failure of readline extension with FreeBSD 11
nobu (Nobuyoshi Nakada)
02:47 AM Bug #11546: Build failure of readline extension with FreeBSD 11
https://github.com/sstephenson/ruby-build/issues/805#issuecomment-142659622 hsbt (Hiroshi SHIBATA)
02:46 AM Bug #11540 (Closed): Certificate error (for minitest?)
fixed at r51933 hsbt (Hiroshi SHIBATA)
02:12 AM Bug #11545 (Rejected): Doc typo: "The examples are use regular expressions for the pattern"
1.9.3 is EOL. hsbt (Hiroshi SHIBATA)

09/24/2015

08:46 PM Feature #11473: Immutable String literal in Ruby 3
Rodrigo Rosenfeld Rosas wrote:
> Implementing what I suggested won't introduce any subtle bugs, it will only warrant...
jeremyevans0 (Jeremy Evans)
08:28 PM Feature #11473: Immutable String literal in Ruby 3
I understand that but unfreeze would only be called for strings which haven't been explicitly frozen by the users by ... rosenfeld (Rodrigo Rosenfeld Rosas)
07:50 PM Misc #11548 (Closed): FileUtils#remove_tailing_slash is a poor method name
One would expect this method to be called `remove_trailing_slash`
I asked around on IRC and the consensus is this ...
slash_nick (Ryan Hosford)
04:49 AM Feature #11523: optparse short options will match complete options
Try executing this script. The only difference between the previous script and this one is that instead of returning ... shishir127 (Shishir Joshi)

09/23/2015

06:53 PM Feature #11473: Immutable String literal in Ruby 3
Hi Rodrigo, I think you need to look into the implications of what you are proposing here.
For example: In one pl...
avit (Andrew Vit)
05:01 PM Feature #11473: Immutable String literal in Ruby 3
I never suggested to dup it, but to actually "unfreeze" it:
~~~
a = b = 'asdf'.freeze
a.unfreeze # this is cur...
rosenfeld (Rodrigo Rosenfeld Rosas)
05:04 PM Feature #11537: Introduce "Safe navigation operator"
Matthew, it shouldn't be implemented as a && a.b && a.b.c, but something like (temp1 = a) && (temp2 = temp1.b) && tem... rosenfeld (Rodrigo Rosenfeld Rosas)
03:09 PM Bug #11483 (Closed): internal.h included after math.h in complex.c
Applied in changeset r51922.
----------
complex.c: ruby/config.h must be included before math.h
because it defines _...
Anonymous
01:43 PM Feature #11547 (Closed): remove top-level constant lookup
If ruby cannot find a class in the specified scope it uses the top-level constant of the same name if it exists and e... gucki1 (Corin Langosch)

09/22/2015

11:49 PM Bug #11546 (Feedback): Build failure of readline extension with FreeBSD 11
Please show `ext/readline/mkmf.log` first. nobu (Nobuyoshi Nakada)
01:08 PM Bug #11546 (Third Party's Issue): Build failure of readline extension with FreeBSD 11
We got following issue with readline build failure.
https://github.com/sstephenson/ruby-build/issues/805
Can an...
hsbt (Hiroshi SHIBATA)
12:26 PM Bug #11545: Doc typo: "The examples are use regular expressions for the pattern"
Oh, seems to have been fixed in the newer docs, not sure if old docs like the above will be fixed. shevegen (Robert A. Heiler)
12:25 PM Bug #11545: Doc typo: "The examples are use regular expressions for the pattern"
Agreed, small typo. shevegen (Robert A. Heiler)
06:54 AM Bug #11545 (Rejected): Doc typo: "The examples are use regular expressions for the pattern"
At http://ruby-doc.org/core-1.9.3/String.html#method-i-gsub
I'm not a Ruby user; just saw this on the docs page.
dandv (Dan Dascalescu)
10:46 AM Feature #8976: file-scope freeze_string directive
Nobuyoshi Nakada wrote:
> https://github.com/nobu/ruby/tree/feature/pragma-frozen_string
Great. It works fine.
...
akr (Akira Tanaka)
09:33 AM Feature #8976: file-scope freeze_string directive
https://github.com/nobu/ruby/tree/feature/pragma-frozen_string nobu (Nobuyoshi Nakada)
06:43 AM Feature #8976: file-scope freeze_string directive
It seems (for me) frozen string literals are good trade-off between current Ruby (every string is mutable) and immuta... matz (Yukihiro Matsumoto)
02:06 AM Feature #9970: Add `Hash#map_keys` and `Hash#map_values`
No, you don't have to. We will take care. Thank you for the proposal.
Matz.
matz (Yukihiro Matsumoto)
01:58 AM Feature #9970: Add `Hash#map_keys` and `Hash#map_values`
Just to be clear, are you saying you would prefer that I edit the patch so that the methods are named #transform_keys... seantheprogrammer (Sean Griffin)

09/21/2015

09:01 PM Bug #11543 (Closed): Run Rinda/DRb tests on localhost
Resolved by r51916. vo.x (Vit Ondruch)
11:43 AM Bug #11543 (Closed): Run Rinda/DRb tests on localhost
I am trying to setup Ruby CI workers using Fedora's Jenkins instance [1, 2]. Unfortunately, the Rinda/DRb tests typic... vo.x (Vit Ondruch)
12:29 PM Bug #11544 (Rejected): ArgumentError: Enumerable#to_set(klass, *args, &block) if specify *args.
~~~ruby
require "set"
[2,5,4,3,2,1,3].to_set(Set, 6, 7, 8) #=> ArgumentError
~~~
## Actual
~~~
/Users/torif...
torifuku.kaiou (Osamu Yamauchi)
12:00 PM Feature #11539: Support explicit declaration of volatile instance variables
The costs for MRI would be minimal even in the future, because this is a very conservative approach to providing visi... headius (Charles Nutter)
11:57 AM Bug #11540: Certificate error (for minitest?)
It breaks on rubyci.org all builds:
http://rubyci.s3.amazonaws.com/debian/ruby-trunk/log/20150921T093002Z.log.html...
vo.x (Vit Ondruch)
09:36 AM Bug #11486: euc-jpな文字列に対してgsubするとSEGVします
code_to_mbc() がエラーを返す原因について調べてみました。
String#gsub の内部で呼び出される forward_search_range() は、内部で reg->optimize の値によって呼び出す関数...
wanabe (_ wanabe)
05:46 AM Feature #11530: unicode planes
Eike Dierks wrote:
> Back then, there was ASCII, 7bit.
> ruby2 does allow for the use of unicode characters throu...
duerst (Martin Dürst)
04:11 AM Bug #11542 (Closed): Zlib::DataError: incorrect data check
When I trying to send HTTP POST, I am getting follolwing Error
Zlib::DataError: incorrect data check
/usr/local...
lingaraj (Lingaraj Kothokatta)

09/20/2015

03:37 PM Feature #11541 (Closed): Let attr_accessor, _reader & _writer return symbols of the defined methods
Since Ruby 2.1, `def` returns a symbol with the name of the just defined method, so you can easily pass it to visibil... iGEL (Johannes Barre)
06:58 AM Bug #11540 (Closed): Certificate error (for minitest?)
With the command 'make up', I get the following error.
Downloading bundled gem files...
power_assert-0.2.4.gem al...
duerst (Martin Dürst)
01:37 AM Feature #11539: Support explicit declaration of volatile instance variables
Charles Nutter wrote:
> # RISKS
>
> There is risk that the new `Module#volatile` would conflict with some libra...
duerst (Martin Dürst)

09/19/2015

09:58 AM Feature #11523: optparse short options will match complete options
Modified code example `optiontest.rb`
~~~
require 'optparse'
require 'pp'
class OptparseExample
def self.p...
mjrk (Micha J)
06:40 AM Feature #11473: Immutable String literal in Ruby 3
Rodrigo Rosenfeld Rosas wrote:
> Hi Andrew, why mutating a string would change every other place the string is refer...
avit (Andrew Vit)
04:09 AM Feature #11537: Introduce "Safe navigation operator"
As per the discussion a few years ago in #8191, I'm +1 for `.?foo` syntax.
I still have a lingering question about...
phluid61 (Matthew Kerwin)
 

Also available in: Atom