Project

General

Profile

Activity

From 02/06/2015 to 02/12/2015

02/12/2015

11:55 PM Feature #10849 (Closed): Adding an alphanumeric function to SecureRandom
It would be handy to have a method that produces a random alphanumeric string. [email protected] (Andrew Butterfield)
10:18 PM Misc #10754 (Closed): Tiny optimisation of Set#include?
marcandre (Marc-Andre Lafortune)
05:47 PM Misc #10754: Tiny optimisation of Set#include?
Awesome! :)
Shouldn't this issue be closed also?
ismael (Ismael Abreu)
08:59 PM Bug #10848 (Closed): [BUG] Segmentation fault at 0x00000000000440 ???
I keep encountering this when trying to start a rails server. I've gone through what little I know to try and fix it but haven't found a fix. The output suggested I file a bug report. Anonymous
06:39 PM Bug #10839: OpenSSL 1.0.2 does not allow wrap mode (fixed by r49525)
r49575 で fedora での失敗の調査(?)のため追加修正あり。 nagachika (Tomoyuki Chikanaga)
06:13 PM Bug #10813: Fix intermittent SIGBUS on Linux (fixed at r49452)
ruby_2_2 r49578 merged revision(s) 49452. naruse (Yui NARUSE)
06:13 PM Revision f0375410 (git): merge revision(s) 49452: [Backport #10813]
* thread_pthread.c (reserve_stack): fix intermittent SIGBUS on
Linux, by reserving the stack virtual address space at process
start up so that it will not clash with the heap space.
[Fix GH-822]
git-svn-id...
naruse (Yui NARUSE)
01:50 PM Bug #10847 (Closed): SystemStackError after NameError prepends a module
The following code causes `SystemStackError`.
```ruby
module Foo
end
NameError.prepend Foo
foo rescue $!
```
And here is the full backtrace:
```
system_stack_error_from_name_error.rb:3:in `initialize': stack level too de...
yuki24 (Yuki Nishijima)
09:36 AM Revision 643dced6 (git): test_random.rb: add
* test/openssl/test_random.rb (OpenSSL::TestRandom): add minimum
tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49577 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
09:34 AM Revision 25455e61 (git): openssl: check RAND_edg to support libressl
* ext/openssl/extconf.rb: check RAND_edg to support libressl.
* ext/openssl/ossl_rand.c (ossl_rand_egd): define only if RAND_edg
is available. [Fix GH-829]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49576 b2dd03c8-39d4-4d8f-98...
nobu (Nobuyoshi Nakada)
08:33 AM Revision a6747a09 (git): test_cipher.rb: show cipher name
* test/openssl/test_cipher.rb (test_ciphers): show wrap mode
cipher name, which does not end with "wrap".
http://rubyci.blob.core.windows.net/fedora21/ruby-trunk/log/20150212T061502Z.fail.html.gz
git-svn-id: svn+ssh://ci.ruby-lang.o...
nobu (Nobuyoshi Nakada)
04:00 AM Bug #10846: Stack consistency error
This seems very suspicious.
~~~
Thread 23:
0 libsystem_kernel.dylib 0x00007fff89c0e136 __psynch_cvwait + 10
1 ffi_c.bundle 0x00000001104282db async_cb_wait + 91
2 ruby 0...
nobu (Nobuyoshi Nakada)
02:47 AM Revision 2049c58d (git): drbtest.rb: refactor
* test/drb/drbtest.rb (test_07_public_private_protected_missing):
refactor by splitting and using assert_raise.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49574 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:04 AM Revision 0605e80c (git): configure.in: no redundant library path
* configure.in (LDFLAGS): exclude /usr/lib from appendant library
path list, which should be redundant.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:02 AM Revision 9f94dfeb (git): configure.in: trailing spaces
* configure.in (CFLAGS, LDFLAGS): do not append trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49572 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:46 AM Revision 678ae5d1 (git): * proc.c (proc_call): Improve Proc#call documentation. Patch by
Hsing-Hui Hsu. [fix GH-761]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49571 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)

02/11/2015

07:33 PM Revision a1992e25 (git): * compar.c (cmp_equal): no more error hiding for Comparable#==.
It now behaves as other Comparable methods. See #7688.
* test/ruby/test_comparable.rb: update related test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49570 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Eregon (Benoit Daloze)
07:08 PM Misc #10754: Tiny optimisation of Set#include?
Thanks for the reminder, I got distracted with other stuff :x
Committed r49568
normalperson (Eric Wong)
12:49 AM Misc #10754: Tiny optimisation of Set#include?
Any update on this? ismael (Ismael Abreu)
07:04 PM Revision ecbc694f (git): * 2015-02-12
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49569 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:04 PM Revision 709e0ecb (git): set: speed up Set#include?
* lib/set.rb (initialize): internal hash defaults to false
* lib/set.rb (include?): use Hash#[] for optimized dispatch.
Patch by Ismael Abreu <[email protected]>
[ruby-core:67664] [Misc #10754]
git-svn-id: svn+ssh://ci.ruby-lang.o...
Eric Wong
04:32 PM Bug #10846 (Closed): Stack consistency error
Hi,
I'm maintaining a (private) Rails 4 app, which was running fine on Ruby 2.1.4 and have some issues on 2.2.0
The issue is present on OS X 10.10.2 "ruby 2.2.0p0 (2014-12-25 revision 49005) [x86_64-darwin14]"
but not on a Linux D...
jlecour (Jérémy Lecour)
06:50 AM Revision 5e868b2b (git): configure.in: add -L options
* configure.in (LDFLAGS): add -L options for library directories
corresponding to default include directories, as gcc does not
prepend duplicate directories.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49567 b2dd03c8-39d4-4d8f...
nobu (Nobuyoshi Nakada)
04:58 AM Revision 0b71264e (git): md5init.c: fix a typo
* ext/digest/md5/md5init.c: fix a typo, remove an extra
underscore from a macro.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49566 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:09 AM Revision b97ceb66 (git): digest: CommonDigest
* ext/digest/digest_conf.rb (digest_conf): check for CommonDigest.
* ext/digest/*/*cc.h: for Apple CommonCrypto/CommonDigest.h.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49565 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:09 AM Revision 935275bb (git): digest: define Finish func from Final func
* ext/digest/digest.h (DEFINE_FINISH_FUNC_FROM_FINAL): macro for
finish functions, by inverting arguments order.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49564 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:08 AM Revision b632ca43 (git): digest: common configurations
* ext/digest/digest_conf.rb (digest_conf): extract common
configurations.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49563 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:01 AM Revision e5c516c8 (git): generator.c: fix infinite recursion
* ext/json/generator/generator.c (generate_json): get rid of
unnecessary recursive calls which can cause infinite recursion.
T_STRING may not have rb_cString.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49562 b2dd03c8-39d4-4d8...
nobu (Nobuyoshi Nakada)
12:18 AM Bug #10845: Subclassing String
Ahh yea, me being derpy =(. What I wanted to actually do was sanity
check some other methods that would return a new_str:

~~~ruby
irb(main):005:0> MyString.new("hello")[0].class
=> MyString
irb(main):006:0> MyString.new("he...
dummey (Ricky Ng)
12:01 AM Bug #10845: Subclassing String
>Ricky
Methods that modify the receiver and return the receiver would have to return the exact same object, which means that the class is the same. That is not the issue here.
sawa (Tsuyoshi Sawada)

02/10/2015

11:58 PM Bug #10845: Subclassing String
Hmm, guessing that '+' and '%' are being a bit weird...

Verified the some thing happens in: ruby 2.0.0p481

It does look like '<<' is working (or not working) though.

~~~ruby
irb(main):007:0> MyString.new("foo").<<("foo"...
dummey (Ricky Ng)
11:41 PM Bug #10845 (Closed): Subclassing String
If I make a subclass of `String`, the method `*` returns an instance of that class.
~~~ruby
class MyString < String
end
MyString.new("foo").*(2).class #=> MyString
~~~
This is different from other similar operations like `+` ...
sawa (Tsuyoshi Sawada)
11:37 PM Revision 4068d908 (git): digest: no ID cache
* ext/digest/*/*init.c: no need to cache interned IDs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49561 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
10:54 PM Revision 11ac0867 (git): * test/win32ole/test_word.rb: use skip method to skip test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49560 b2dd03c8-39d4-4d8f-98ff-823fe69b080e suke (Masaki Suketa)
10:30 PM Feature #5663: Combined map/select method
~~~
The only caveat is that it would be impossible to intentionally return nil here
~~~
I don't see why you need that, just have the block return a pair `(keep_if_true, mapped_value)`. I also would second the name `filter_map`. Igno...
rokob (Andrew Ledvina)
10:24 PM Revision 193ad643 (git): * 2015-02-11
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49559 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
10:24 PM Revision 8c5f8186 (git): configure.in: iquote /usr/local/include
* configure.in (CPPFLAGS): use -iquote for both /usr/include and
/usr/local/include, so that the order can be overridden later
with -I options.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49558 b2dd03c8-39d4-4d8f-98ff-823fe69b...
nobu (Nobuyoshi Nakada)
04:23 PM Bug #10837: spatting a single element array produces an array instead of a single value for return and next
Marc-Andre Lafortune wrote:
> bug hit wrote:
> ...
So it seems it's an implementation artifact. Would it not be better if semantics of splatting were consistent, i.e. rvalue splat would always destructure the array?
bughit (bug hit)
03:25 PM Bug #10837: spatting a single element array produces an array instead of a single value for return and next
bug hit wrote:
> `b = *[a]` is `b = [a]` why?
> ...
I agree, this can be surprising.
The reason for the behavior is that `return 1, 2`, strictly speaking, shouldn't be valid Ruby as you can only return one value. Instead of forbiddi...
marcandre (Marc-Andre Lafortune)
01:50 PM Revision 886b770a (git): fix a typo [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49557 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
01:38 PM Feature #9781: Feature Proposal: Method#super_method
Marc-Andre Lafortune wrote:
> I must be tired.
> ...
Actually there is a caveat with an UnboundMethod created with Module#instance_method, from a module (and not a class), as it has no idea what is the actual super method (as that can ...
Eregon (Benoit Daloze)
01:24 PM Feature #10844 (Feedback): TracePoint API needs an event to inform about creating/removing a new frame without calling something
There are some situations when Ruby VM creates a new frame even if there is no calls
E.g. ensure create a new block.
Here is a simple program which shows that the frame is added but no event is reported.
It is important to known about...
os97673 (Oleg Sukhodolsky)
12:35 PM Bug #10817: [PERF] vm3_gc slower
More results ran on my local machine
### [bm_vm3.rb](https://github.com/ruby-bench/ruby-bench-suite/blob/master/ruby/benchmarks/bm_vm3_gc.rb) Benchmarks
## Ruby 2.1.5
```
raw data:
[["vm3_gc",
[[1.781873639,
1.78385710...
tgxworld (Guo Xiang Tan)
08:30 AM Revision e98f7ea4 (git): mkconfig.rb: SDKROOT
* tool/mkconfig.rb (RbConfig): allow prefix includedir by SDKROOT
environment variable on OSX. cf.
http://www.opensource.apple.com/source/ruby/ruby-106/patches/tool_mkconfig.rb.diff
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk...
nobu (Nobuyoshi Nakada)
08:30 AM Revision 6f2a41e9 (git): configure.in: use /usr/include
* configure.in (CPPFLAGS): override /usr/local/include by
/usr/include, unless explicitly /usr/local is given.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49555 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:30 AM Misc #10742: segmentation fault error while running ruby project
Any updates please [email protected] (Geetanjali Kasar)
03:59 AM Misc #10843: Removed libraries still exist in doc/standard_library.rdoc
パッチも添付したつもりだったのですができてないようなので再度添付します。 sho-h (Sho Hashimoto)
03:54 AM Misc #10843 (Closed): Removed libraries still exist in doc/standard_library.rdoc
最近削除されたライブラリがdoc/standard_library.rdocに残っているようです。 sho-h (Sho Hashimoto)
02:44 AM Bug #10578: Allow undefining methods in refinements
I've committed the patch because I consider this issue a bug.
However, I'm not sure whether it should be backported.
shugo (Shugo Maeda)
02:40 AM Bug #10578 (Closed): Allow undefining methods in refinements
Applied in changeset r49554.
----------
* vm_insnhelper.c (vm_call_method): stop method search when a method
is not found in a refinement, to support undef in refinements.
[ruby-core:66741] [Bug #10578]
shugo (Shugo Maeda)
02:40 AM Revision 53053bca (git): * vm_insnhelper.c (vm_call_method): stop method search when a method
is not found in a refinement, to support undef in refinements.
[ruby-core:66741] [Bug #10578]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49554 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shugo (Shugo Maeda)
02:26 AM Revision 25dda42b (git): * 2015-02-10
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49553 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:26 AM Revision cd29e5fc (git): * lib/net/ftp.rb (chdir, delete, gettextfile, mdtm, mkdir, nlst,
putbinaryfile, puttextfile, rename, rmdir, size): support
Pathname. Patch by Joe Rafaniello. [fix GH-828]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49552 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shugo (Shugo Maeda)

02/09/2015

11:18 PM Bug #10837: spatting a single element array produces an array instead of a single value for return and next
bug hit wrote:
> bug hit wrote:
> ...
please explain
bughit (bug hit)
02:17 PM Bug #10460: Segfault instead of stack level too deep
This seems to be fixed, possibly with this commit https://github.com/ruby/ruby/commit/8fe95fea9d238a6deb70c8953ceb3a28a67f4636 plexus (Arne Brasseur)
02:06 PM Bug #10655: Segmentation fault on chef-client run
Also occurs with Chef 12.0.3. See attached log from chef run.
stevenelder (Steven Elder)
12:51 PM Bug #10842 (Feedback): rake update to 10.4.2 -> Segmentation fault : ruby 2.1.5p273 (2014-11-13 revision 48405) [x64-mingw32]
Do you run it in a "Command Prompt"? nobu (Nobuyoshi Nakada)
12:44 PM Bug #10842 (Closed): rake update to 10.4.2 -> Segmentation fault : ruby 2.1.5p273 (2014-11-13 revision 48405) [x64-mingw32]
I tried to update the existing rake gem up to 10.4.2:
* download the latest version from rubygems and save it locally
* run `gem install rake -l -N` to install it locally
* got the below error:
~~~
C:\Users\XXXXX\Documents\Soft\...
Javix (Sergueï Cambour)
07:36 AM Revision ab8dbd10 (git): make-snapshot: no loading unexpected libraries
* tool/make-snapshot (package): get rid of loading unbundled and
unexpected libraries. [ruby-core:67977] [Bug #10822]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49551 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:27 AM Bug #10841 (Third Party's Issue): 2.2.0p43 not building with gcc 4.9.1
When peforming 'make' of Ruby 2.2.0p43 with gcc version 4.9.1
on Linux 3.16.0-28 x86_64, the build is dying when making enc/trans/big5.c
I am able to build 2.2.0p43 on a system with gcc version 4.8.2 on Linux 3.13.0-24 x86_64.
Her...
AlamoZ (Adrien Lamothe)
02:23 AM Bug #10840 (Closed): documentation for Vector#cross_product in module 'matrix' is inconsistent
The bug was fixed in 2.1.3, so if you are looking at the code in the doc for 2.1.0, you will get the wrong code obviously.
In short, refer to the doc & source for 2.1.3, 2.1.4, 2.1.5 or 2.2.0, like:
http://ruby-doc.org/stdlib-2.1.3/l...
marcandre (Marc-Andre Lafortune)
12:21 AM Bug #10840 (Closed): documentation for Vector#cross_product in module 'matrix' is inconsistent
the documentation of cross_product is inconsistent. The doc says:
Vector[1, 0, 0].cross_product Vector[0, 1, 0] => Vector[0, 0, 1]
which seems good to me, but the definition given in the "click to toggle source" actually produces: Ve...
anajilly (Ana Johnson)
01:28 AM Revision af775f2b (git): TestException.rb: exclude stack overflow tests
* test/excludes/TestException.rb: exclude machine stack overflow
tests by default.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49550 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:28 AM Revision bfd1fbf0 (git): test/unit.rb: regexps to exclude
* test/lib/test/unit.rb (ExcludedMethods#exclude_from): allow
regexps for methods to be excluded.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49549 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)

02/08/2015

04:51 PM Bug #10839: OpenSSL 1.0.2 does not allow wrap mode (fixed by r49525)
Backported into `ruby_2_1` at r49548. nagachika (Tomoyuki Chikanaga)
03:51 PM Bug #10839 (Closed): OpenSSL 1.0.2 does not allow wrap mode (fixed by r49525)
バックポート管理用です。
r49525 の修正が RubyCI の Yosemite での 1F をなおしてくれそうです。
nagachika (Tomoyuki Chikanaga)
04:50 PM Revision 095d964e (git): merge revision(s) r49525: [Backport #10839]
test_cipher.rb: OpenSSL 1.0.2
* test/openssl/test_cipher.rb (OpenSSL::TestCipher#test_ciphers):
OpenSSL 1.0.2 does not allow wrap mode.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@49548 b2dd03c8-39d4-4d8f-98...
nagachika (Tomoyuki Chikanaga)
03:26 PM Revision 031c46f8 (git): optparse.rb: update --version example [ci skip]
* lib/optparse.rb (OptparseExample): [DOC] update example code for
--version option, to print OptparseExample::Version.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49547 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:16 PM Revision 37d346dc (git): * 2015-02-09
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49546 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:16 PM Revision 670c01d9 (git): gc.c: disable lazy sweeping check
* gc.c (rb_objspace_free): disable provisionally lazy sweeping
check.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49545 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
11:09 AM Revision 1a98f56a (git): * lib/net/http/header.rb: pass header names as symbols.
Patch by @DamirSvrtan [fix GH-805]
* test/net/http/test_httpheader.rb: added test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49544 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
09:46 AM Bug #10838 (Closed): ri's man page and options are wrong
## Man page
`man ri` is missing these options:
--[no-]interactive
--[no-]list-doc-dirs
-a, --[no-]all
-l, --[no-]list
--server [PORT]
-v
--help
It lists two options that don't exist
-...
josh.cheek (Josh Cheek)
04:04 AM Revision 1a18454d (git): getaddrinfo.c: GHOST vulnerability check
* ext/socket/getaddrinfo.c (get_addr): reject too long hostname to
get rid of GHOST vulnerability on very old platforms.
* ext/socket/raddrinfo.c (make_hostent_internal): ditto, paranoic
check for the canonnical name.
git-svn-id: sv...
nobu (Nobuyoshi Nakada)
03:49 AM Bug #10820 (Closed): Win32 Registry Delete uses ANSI instead of Wide APIs
Applied in changeset r49542.
----------
registry.rb: wide versions
* ext/win32/lib/win32/registry.rb (Win32::Registry::API): use wide
versions of RegDeleteValue and RegDeleteKey.
[ruby-core:67958] [Bug #10820]
nobu (Nobuyoshi Nakada)
03:32 AM Bug #10820 (Assigned): Win32 Registry Delete uses ANSI instead of Wide APIs
nobu (Nobuyoshi Nakada)
03:48 AM Revision a6516ff5 (git): registry.rb: wide versions
* ext/win32/lib/win32/registry.rb (Win32::Registry::API): use wide
versions of RegDeleteValue and RegDeleteKey.
[ruby-core:67958] [Bug #10820]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49542 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:25 AM Bug #10837: spatting a single element array produces an array instead of a single value for return and next
bug hit wrote:
> Nobuyoshi Nakada wrote:
> ...
some examples
`method_call *[a]` is `method_call a` as expected
`rescue *[a]` is `rescue a` as expected
`[*[a]]` is `[a]` as expected
`b = *[a]` is `b = [a]` why?
`(next|return) *[a...
bughit (bug hit)
02:02 AM Bug #10837: spatting a single element array produces an array instead of a single value for return and next
Nobuyoshi Nakada wrote:
> It's similar to `return *[1, 2]`.
No it's not similar,
`return *[1, 2]` means `return 1, 2`
similar would be:
`return *[1]` means `return 1`
in general, splatting in a context that takes a coma ...
bughit (bug hit)
01:48 AM Bug #10837 (Rejected): spatting a single element array produces an array instead of a single value for return and next
It's similar to `return *[1, 2]`. nobu (Nobuyoshi Nakada)
12:01 AM Bug #10837 (Rejected): spatting a single element array produces an array instead of a single value for return and next
irb(main):013:0> ->{return *[1]}.()
=> [1]
irb(main):014:0> ->{next *[1]}.()
=> [1]
______________
*[x] should mean x as it already does for arguments
bughit (bug hit)
01:54 AM Revision f16b6fc5 (git): gc.c: disable gc_rest after finalization
* gc.c (rb_objspace_call_finalizer): disable provisionally gc_rest
as it breaks RVALUE consistency.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49541 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:45 AM Bug #10835 (Third Party's Issue): Could not generate migration -- seg fault error
You should report with the crash report log. nobu (Nobuyoshi Nakada)
01:42 AM Bug #10834 (Third Party's Issue): Segmentation fault when I try to do rails server in Windows 7 home edition 64bits
nobu (Nobuyoshi Nakada)
01:35 AM Revision 67e5129a (git): * 2015-02-08
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49540 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:35 AM Revision 32c19cdc (git): socket/extconf.rb: reduce duplicated code
* ext/socket/extconf.rb: reduce duplicated code. set fallback
value first, then check OS-provided functions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49539 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)

02/07/2015

11:43 PM Misc #10836 (Closed): Add Documentation to Regexp
Documented non-subexp option toggling
Regexp option toggling can be done in two forms:
/(?imx:subexpr)/ - this was already mentioned in docs
/before(?imx)after/ - there was no mention of this.
This section of the documentation ...
tom-lord (Tom Lord)
08:44 PM Bug #10835 (Third Party's Issue): Could not generate migration -- seg fault error
~~~
/railsbridge/idk $ rails g migration addColumnToDB
/Users/afeinberg/.rvm/gems/ruby-2.2.0/gems/json-1.8.2/lib/json/ext/parser.bundle: [BUG] Segmentation fault at 0x00000000000418
ruby 2.2.0p0 (2014-12-25 revision 49005) [x86_64-dar...
afeinberg (Alexander Feinberg)
02:19 PM Bug #10834: Segmentation fault when I try to do rails server in Windows 7 home edition 64bits
I guess this issue is a duplicate of https://bugs.ruby-lang.org/issues/8591
phasis68 (Heesob Park)
02:02 PM Bug #10834 (Third Party's Issue): Segmentation fault when I try to do rails server in Windows 7 home edition 64bits
I've had installed Ruby Installer 2.1 then DevKit, after that rubyGem last version, then rails 4.0.0, after that MySQL Community Server 5.6.23 for windows,
then I download `mysql-connector-c-6.1.5-winx64` and extract in `C:\mysql-conne...
Max134 (Max Max)
01:17 PM Revision d9bc7904 (git): * test/win32ole/test_win32ole_record.rb: remove test using .NET
Framework 3.5 because it is not included in Windows 8/8.1.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49538 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
suke (Masaki Suketa)
10:25 AM Revision 034e38d8 (git): dir.c: long path name on Windows
* dir.c (has_magic): always get long path name on Windows even if
no tilde is there. [ruby-core:68011] [Bug #10819]
* dir.c (replace_real_basename): FindFirstFile ignore redirection
character, check if exists before call it. cf. [B...
nobu (Nobuyoshi Nakada)
05:08 AM Revision 7645c974 (git): dir.c: fix a typo
* dir.c (has_magic): fix a typo, check code not c.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49536 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:37 AM Revision a654ee31 (git): * test/win32ole/test_win32ole_record.rb
(test_ole_instance_variable_get): correct VT_RECORD type and
instance variables.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49535 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
suke (Masaki Suketa)
02:03 AM Feature #9390: Support for the ALPN TLS extension
FYI: ALPN support landed in the recent [1.0.2 version](https://www.openssl.org/news/openssl-1.0.2-notes.html) release of openssl.
tbetbetbe (Tim Emiola)
12:11 AM Revision 98b5f511 (git): * 2015-02-07
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49534 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:11 AM Revision b53f9528 (git): dir.c: use USE_NAME_ON_FS
* dir.c (glob_helper): use USE_NAME_ON_FS instead of configure and
platform macro list.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49533 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:11 AM Revision 461c38a9 (git): dir.c: fix escaping multibyte char
* dir.c (has_magic): fix escaping multibyte char, with glob
meta-char in trailing bytes, e.g., Shift-JIS
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49532 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)

02/06/2015

10:25 PM Bug #10824: to_yaml incorrectly inserts return lines
You're right.
I saw the newlines in my database and filed the bug but they do disappear when de-serializing, so this is not a bug.
Thanks for clearing that up.
Out of curiosity, why does it insert newlines at all? Does it have t...
cthielen (Christopher Thielen)
07:36 AM Bug #10824: to_yaml incorrectly inserts return lines
I don't understand. Why should it not insert the newline? The string will roundtrip correctly:
~~~
>> require 'yaml'
=> true
> ...
=> "{\"config_path\":\"something\",\"mode\":\"something_underscore\",\"person\":{\"id\":1,\"name\"...
tenderlovemaking (Aaron Patterson)
01:34 PM Feature #10833 (Third Party's Issue): getting argument error in rails production
You should ask Rails developers. nobu (Nobuyoshi Nakada)
12:05 PM Feature #10833 (Third Party's Issue): getting argument error in rails production
1. I deployed my rails application using passenger + nginx
2.data base is postgresql
3. when i am creating a new issue its showing Sorry, the page you are looking for is currently unavailable.
Please try again later.
plz help me out ...
raja (narasinga raja)
01:24 PM Revision 6548425e (git): test_dir_m17n.rb: fix tests
* test/ruby/test_dir_m17n.rb (with_enc_path): test with UTF-8
default external encoding for non-locale environments.
* test/ruby/test_dir_m17n.rb (test_glob_warning_opendir): valid
only if file permissions work.
git-svn-id: svn+ssh...
nobu (Nobuyoshi Nakada)
11:34 AM Bug #10814: SIGBUS by stack overflow on Funtoo (fixed at r49463)
ruby_2_2 r49530 merged revision(s) 49463. naruse (Yui NARUSE)
11:34 AM Revision e4bb7513 (git): merge revision(s) 49463: [Backport #10814]
signal.c: SIGBUS by stack overflow on Funtoo
* signal.c (sigbus): seems that Funtoo Linux also delivers SIGBUS
at stack overflow.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@49530 b2dd03c8-39d4-4d8f-98ff-823...
naruse (Yui NARUSE)
09:58 AM Bug #10768: segfault during ruby_vm_destruct() in cont_free()
r49474 (gc.c: ensure GC state is consistent during VM shutdown)
introduces a failure for me in test/ruby/test_io.rb.
Reverting this commit solves the problem for me on one of my
x86-64 (Debian 7.0) systems (could not reproduce the is...
normalperson (Eric Wong)
08:50 AM Bug #10496 (Closed): Yaml: Serialization of cross-referrenced objects with psych
Applied in changeset r49529.
----------
* ext/psych/lib/psych/visitors/yaml_tree.rb: register nodes when
dumping objects with custom coders. [ruby-core:66215] [Bug #10496]
* test/psych/test_coder.rb: test for fix
Anonymous
08:50 AM Revision ecbf8351 (git): * ext/psych/lib/psych/visitors/yaml_tree.rb: register nodes when
dumping objects with custom coders. [ruby-core:66215] [Bug #10496]
* test/psych/test_coder.rb: test for fix
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49529 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
tenderlovemaking (Aaron Patterson)
08:37 AM Revision ef5b8fe1 (git): dir.c: preserve encoding
* dir.c (sys_enc_warning_in): preserve encoding of path name in
warning messages.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49528 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:37 AM Revision 18db8cea (git): error.c: rb_sys_enc_warning
* error.c (rb_sys_enc_warning): new function to show warning and
error message with the encoding.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49527 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:37 AM Revision ae2d3230 (git): error.c: warning_string
* error.c (warning_string): extract a method to create warning
message string.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49526 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:30 AM Revision 9f9034bb (git): test_cipher.rb: OpenSSL 1.0.2
* test/openssl/test_cipher.rb (OpenSSL::TestCipher#test_ciphers):
OpenSSL 1.0.2 does not allow wrap mode.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49525 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:00 AM Revision 56d4257a (git): * ext/psych/lib/psych/visitors/to_ruby.rb: fix support for regular
expressions with newlines. tenderlove/psych#222
* test/psych/test_yaml.rb: test for change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49524 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
tenderlovemaking (Aaron Patterson)
05:20 AM Bug #10832 (Closed): while loop segmentation fault
nobu (Nobuyoshi Nakada)
05:14 AM Bug #10832: while loop segmentation fault
It seems similar to:
https://bugs.ruby-lang.org/issues/10804
J@n
janfry (j j)
05:07 AM Bug #10832 (Closed): while loop segmentation fault
## Hello everyone, this is my first bug report so please forgive me if I am doing something wrong:
### The following small piece of code gives me a segmentation fault on he second iteration of the loop, as soon as I try inputting some...
janfry (j j)
04:11 AM Bug #10522 (Feedback): SSL_VERSION not handled properly in Net::Http, OpenSSL libraries
Matt Dressel wrote:
> https://github.com/ruby/ruby/pull/762/files
What exception is raised?
The following code works fine on my box (x86_64-linux):
```ruby
def test_allow_tls_v1_for_client
# server does not support SSLv...
shugo (Shugo Maeda)
03:06 AM Bug #10794: false positive on mswin CI
ruby_2_2 r49523 merged revision(s) 49180. naruse (Yui NARUSE)
03:06 AM Revision 1ba0c259 (git): merge revision(s) 49180: [Backport #10794]
* test/ruby/test_symbol.rb (TestSymbol#test_symbol_fstr_leak): get rid of a
false positive on mswin CI.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@49523 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
03:05 AM Bug #10694: Improve Thread#value rubydoc
ruby_2_2 r49522 merged revision(s) 49428. naruse (Yui NARUSE)
03:05 AM Revision ad68184e (git): merge revision(s) 49428: [Backport #10694]
* thread.c: Improve documentation for Thread#value
[Bug #10694][ruby-core:67324][ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@49522 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
03:02 AM Bug #10780: Unable to build with Visual Studio 2013
ruby_2_2 r49521 merged revision(s) 49397. naruse (Yui NARUSE)
03:02 AM Revision 20a13042 (git): merge revision(s) 49397: [Backport #10780]
* ext/fiddle/win32/libffi.mk.tmpl: assemble without directory prefix.
workaround of a bug of VC12 ml, by unak at [ruby-core:67792].
[ruby-core:67789] [Bug #10780]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches...
naruse (Yui NARUSE)
02:51 AM Bug #10518 (Rejected): String "delete" method does not remove some characters from input string
usa (Usaku NAKAMURA)
02:39 AM Bug #10518 (Closed): String "delete" method does not remove some characters from input string
shugo (Shugo Maeda)
02:33 AM Revision 4194ca02 (git): revert r45487
* variable.c (rb_alias_variable): IDs are always immportal now, no
pin down is needed.
* vm_method.c (rb_method_entry_make): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49520 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:33 AM Revision e98b3070 (git): variable.c: ignore mortal classid
* variable.c (classname): ignore classid if it is a mortal symbol.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49519 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:33 AM Revision 536ef60a (git): vm_eval.c: no use of SYM2ID
* vm_eval.c (check_funcall_missing): no longer turn an ID into a
symbol temporarily to get rid of use of SYM2ID.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49518 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:32 AM Bug #10831 (Closed): Variable keyword arguments shouldn't create immortal symbols
Applied in changeset r49517.
----------
vm_core.h: fix symbols leak
* vm_core.h (rb_call_info_kw_arg_struct): make keywords a symbols
list to get rid of inadvertent creation by variable keyword
arguments. [ruby-core:68031] [Bug #1...
nobu (Nobuyoshi Nakada)
01:31 AM Revision b4f61ad6 (git): vm_core.h: fix symbols leak
* vm_core.h (rb_call_info_kw_arg_struct): make keywords a symbols
list to get rid of inadvertent creation by variable keyword
arguments. [ruby-core:68031] [Bug #10831]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49517 b2dd03c...
nobu (Nobuyoshi Nakada)
 

Also available in: Atom