Project

General

Profile

Activity

From 02/04/2015 to 02/10/2015

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 geeta.kasar@gmail.com (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)

02/05/2015

09:39 PM Bug #10761 (Open): Marshal.dump 100% slower in 2.2.0 vs 2.1.5
r49386 is missing. nobu (Nobuyoshi Nakada)
04:19 PM Bug #10761: Marshal.dump 100% slower in 2.2.0 vs 2.1.5
ruby_2_2 r49513 merged revision(s) 49376,49387,49389. naruse (Yui NARUSE)
09:14 PM Bug #10803: Similar issue/stack trace as above in 2.1.5, 2.1.6
I think I found a pattern that could help... I have a specific piece of code in my application that stress a File.open {|| } pattern. It probably should be optimized to not do so, but I believe that with that information, you can reprodu... brodock (Gabriel Mazetto)
07:35 PM Bug #10803: Similar issue/stack trace as above in 2.1.5, 2.1.6
I want to let you know that I've tried syck 1.0.5 from tenderlove, and the problem still there. Here is a new bugtrace:
```
.rvm/gems/ruby-2.1.5/gems/activerecord-3.2.19/lib/active_record/attribute_assignment.rb:70: [BUG] rb_gc_mark(...
brodock (Gabriel Mazetto)
09:09 PM Revision e27a538e (git): security.rdoc: correction
* doc/security.rdoc (Symbols): ID2SYM never creates new IDs bound
to immortal symbols, SYM2ID may create new IDs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49516 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:06 PM Revision c6da6fb0 (git): * 2015-02-06
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49515 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
08:06 PM Revision 899a1faa (git): * doc/security.rdoc: [DOC] ammend symbols section for bug with
keyword args [ci-skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49514 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Marc-Andre Lafortune
07:58 PM Bug #10831 (Closed): Variable keyword arguments shouldn't create immortal symbols
Calling a method with keyword arguments will, sometimes, create immortal symbols.
The following tests should not fail:
def test_kwarg_symbol_leak_no_rest
foo = -> (arg: 42) {}
assert_no_immortal_symbol_created("kw...
marcandre (Marc-Andre Lafortune)
07:39 PM Feature #8564: Extend Module#attr... methods
I would love to see this added to Ruby too, so that I don't have to repeat myself by **defining** attributes in one place and then **initializing** them later in `initialize` (as discussed in #5825 and #8563).
In the meantime, however...
TylerRick (Tyler Rick)
04:05 PM Revision 665f7a2f (git): merge revision(s) 49376,49387,49389: [Backport #10761]
* st.c (st_numhash): mix float value for flonum
* hash.c (rb_any_hash): ditto
* benchmark/bm_hash_aref_flo.rb: new benchmark
* benchmark/bm_hash_ident_flo.rb: ditto
[Bug #10761]
* benchmark/b...
naruse (Yui NARUSE)
02:19 PM Bug #10830 (Closed): LDFLAGS not honoured when linking libruby.so
During configure the libraries are detected with LDFLAGS used e.g. to defined a search direcrtory with -L. During linking of library.so in Makefile.in the line
~~~
$(Q) $(LDSHARED) $(DLDFLAGS) $(OBJS) $(DLDOBJS) $(DTRACE_OBJ) $(SOLIBS)...
dagobert (Dagobert Michelsen)
01:59 PM Misc #10757: Vagrant environment for MRI contributors
Nobu,
Is there anything you would like for me to do to make this patch acceptable?
Thanks,
Anthony
anthonycrumley (Anthony Crumley)
01:43 PM Revision 9dc51967 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49512 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:42 PM Revision c3546c76 (git): * lib/rubygems: Update to RubyGems HEAD(5c3b6f3).
Fixed #1156, #1142, #1115, #1142, #1139 on rubygems/rubygems
* test/rubygems: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49511 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
11:04 AM Misc #10742: segmentation fault error while running ruby project
I have checked many sites for solution, and tried many ways. Please let me know the stable Ruby version other than Ruby1.8.7. or help in solving this issue. geeta.kasar@gmail.com (Geetanjali Kasar)
10:23 AM Feature #10561: Improve function of Thread::Backtrace::Location #path and #absolute_path
Benoit: correct, I just found this out by messing around more with this. This
behaviour is extremely confusing, especially since the tests both just compare
if `path` and `absolute_path` equal `__FILE__`.
Perhaps the Tempfile code i...
yorickpeterse (Yorick Peterse)
10:19 AM Feature #10561: Improve function of Thread::Backtrace::Location #path and #absolute_path
Nobuyoshi Nakada wrote:
> The result of `#path` equals to `__FILE__` in the script file.
> ...
There is only one main script (the file passed to the ruby executable) in a given execution, right?
Yorick: so #path is #absolute_path ex...
Eregon (Benoit Daloze)
08:56 AM Bug #10620 (Closed): #define_singleton_method keeps object from being garbage collected
shugo (Shugo Maeda)
08:19 AM Revision 69be3620 (git): test_gc.rb: read binary
* test/ruby/test_gc.rb (test_exception_in_finalizer): read in
binary encoding to get rid of invalid byte sequence exception.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49510 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:14 AM Bug #10661: The "possible reference to past scope" warning is quite frustrating and is forcing me to change my variable names from what I want
ruby_2_2 r49509 merged revision(s) 49082. naruse (Yui NARUSE)
07:30 AM Revision b5623f98 (git): merge revision(s) 49082: [Backport #10661]
* parse.y (gettable_gen): disable warnings of possible reference
to a local variable defined in a past scope.
[ruby-core:67162] [Bug #10661]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@49509 b2dd03...
naruse (Yui NARUSE)
06:49 AM Bug #10578 (Assigned): Allow undefining methods in refinements
Peter Zotov wrote:
> Since refinements are locally scoped monkey patches, and it is possible and useful to undef a method globally, I think refinements should allow to undef methods as well as def them.
The attached patch allow refin...
shugo (Shugo Maeda)
04:50 AM Revision bca96322 (git): mkmf/base.rb: fix constant scope
* test/mkmf/base.rb (TestMkmf::Base): fix constant scope for
r49482.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49508 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:49 AM Revision a932a1b8 (git): test_inadvertent_creation.rb: assert method_missing
* test/-ext-/symbol/test_inadvertent_creation.rb
(assert_no_immortal_symbol_in_method_missing): assert
method_missing. [Bug #10828]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49507 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:41 AM Revision 738ce30f (git): convert method name to a Symbol
* vm_eval.c (send_internal), vm_insnhelper.c (vm_call_opt_send):
convert String method name into a Symbol, as method_missing
method expects its first argument to be a Symbol. [Bug #10828]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby...
nobu (Nobuyoshi Nakada)
04:13 AM Feature #10773 (Rejected): nested module should work in instance_eval
It's an expected behavior that instance_eval doesn't affect constant lookup.
Constant lookup is designed to be as static as possible.
shugo (Shugo Maeda)
03:31 AM Bug #10828 (Closed): send should not create immortal symbols
Applied in changeset r49505.
----------
vm_insnhelper.c: fix missing reason
* vm_insnhelper.c (ci_missing_reason): return the reason of method
missing in call info.
* vm_insnhelper.c (vm_call_opt_send): re-apply r49500 with the
pro...
nobu (Nobuyoshi Nakada)
03:31 AM Revision 73645c1c (git): vm_insnhelper.c: fix missing reason
* vm_insnhelper.c (ci_missing_reason): return the reason of method
missing in call info.
* vm_insnhelper.c (vm_call_opt_send): re-apply r49500 with the
proper missing reason. [Bug #10828]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby...
nobu (Nobuyoshi Nakada)
02:10 AM Revision 0e414175 (git): test_inadvertent_creation.rb: move tests
* test/-ext-/symbol/test_inadvertent_creation.rb: move symbol leak
tests, for implementation details, from test/ruby/test_symbol.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49504 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:34 AM Revision 9e57ac56 (git): * class.c (rb_obj_singleton_methods): should use RTEST() to convert
VALUE to int.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49503 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shugo (Shugo Maeda)
12:36 AM Bug #9432: ThreadError [ Attempt to unlock a mutex which is locked by another thread ]
Dear Ruby maintainers: this is still a problem. Please, help out here. aaron@serendipity.cx (Aaron Stone)

02/04/2015

11:00 PM Feature #10829: Add to_proc method to the Array class
Update example code, there was a missing `&`:
```ruby
[1, 2, 3, 4, 5].map(&[:+, 3])
# => [4, 5, 6, 7, 8]
```
BenMorganIO (Ben Morgan)
10:59 PM Feature #10829 (Open): Add to_proc method to the Array class
In ruby, we've all seen this shortcut:
```ruby
user.posts.map(&:title)
```
The expanded version is:
```ruby
user.posts.map { |post| post.title }
```
Sometimes, however, that method might take arguments. This feature propo...
BenMorganIO (Ben Morgan)
09:21 PM Bug #10819: can't glob win32 short pathname
Usaku NAKAMURA wrote:
> 1. We should not assume that short filenames always contains `~`.
> ...
Kosaki-san tell me that ISO 9660 filesystem with Joliet extension (in other word, CD-ROM) is such one.
usa (Usaku NAKAMURA)
08:35 PM Bug #10819: can't glob win32 short pathname
1. We should not assume that short filenames always contains `~`.
MSDN says that some file systems do not use `~` for short filenames.
(But I don't know such file systems.)
See Remarks section of https://msdn.microsoft.com/en...
usa (Usaku NAKAMURA)
07:50 PM Bug #10828: send should not create immortal symbols
Mmm, I was hopeful about r49500 but it generates some failures in `test/drb/test_drb.rb`, so there's something going on that's above my ruby-fu level.
I reverted that commit, disabling the two tests.
I'm assigning this to Nobu, in hop...
marcandre (Marc-Andre Lafortune)
07:01 PM Bug #10828 (Closed): send should not create immortal symbols
While `public_send` is ok, `send` and `__send__` create immortal symbols when they shouldn't. marcandre (Marc-Andre Lafortune)
07:45 PM Revision 1fd6ab5b (git): * vm_insnhelper.c: Revert r49500 (6ae6a8c7bc86e97)
Creates a regression in test_drb. Above my rubyfu. [#10828]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49502 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Marc-Andre Lafortune
07:10 PM Revision 18eef0b9 (git): * vm_eval.c: Fix symbol leak with non optimized +send+ and method_missing [#10828]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49501 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
07:03 PM Revision 6ae6a8c7 (git): * vm_insnhelper.c: Fix symbol leak with +send+ and method_missing [#10828]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49500 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
07:03 PM Revision 454f89e2 (git): * vm_insnhelper.c: Fix one type of symbol leak with +send+
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49499 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
04:41 PM Revision 8350b7dc (git): * doc/security.rdoc: [DOC] ammend symbols section for bug with send [ci-skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49498 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
04:24 PM Revision da1330c8 (git): * 2015-02-05
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49497 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:24 PM Revision 229bfa7b (git): * doc/security.rdoc: [DOC] update symbols section [ci-skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49496 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
03:46 PM Bug #10765: Module#remove_method remove refined method entry.
Testing with r49495 and it seems to be fixed. Thanks. vo.x (Vit Ondruch)
08:16 AM Bug #10765 (Closed): Module#remove_method remove refined method entry.
Fixed in r49493. shugo (Shugo Maeda)
05:52 AM Bug #10765: Module#remove_method remove refined method entry.
The problem reported by Vit can be reproduced by the following command:
$ make test-all TESTS="test/ruby/test_refinement.rb test/json"
shugo (Shugo Maeda)
05:39 AM Bug #10765: Module#remove_method remove refined method entry.
Seiei Higa wrote:
> If touch the `me` after `rb_unlink_method_entry`, it could cause error?
It's not the problem.
r49480 exposed the following potential problem:
```ruby
class X
def foo
end
end
class Y < X
end
mo...
shugo (Shugo Maeda)
11:36 AM Bug #10827 (Closed): TestIO#test_io_select_with_many_files segfaults randomly
On various platforms on Fedora Rawhide, I observe random segfaults in test suite:
~~~
1) Failure:
TestIO#test_io_select_with_many_files [/builddir/build/BUILD/ruby-2.3.0-r49485/test/ruby/test_io.rb:3034]:
[ruby-core:53349]
pid 1...
vo.x (Vit Ondruch)
11:33 AM Bug #10822: make-snapshot breaks during download of bundled gems
Nobuyoshi Nakada wrote:
> It is right, the built rbconfig.rb must be loaded, not already installed one.
> ...
Because this is the rbconfig.rb file which is picked up from the checkout directory?
~~~
# cat '/tmp/ruby-snapshot2015020...
vo.x (Vit Ondruch)
08:03 AM Bug #10822 (Third Party's Issue): make-snapshot breaks during download of bundled gems
Vit Ondruch wrote:
> This is due to Ruby picking up rbconfig.rb from the current checkout, since $(RUNRUBY) adds the current directory on the load path [1]. I don't think this is right in this case.
It is right, the built rbconfig.rb...
nobu (Nobuyoshi Nakada)
11:30 AM Revision 99eaebce (git): * ext/win32ole/win32ole.c (Init_win32ole): should not use atexit to
free allocated hash table to avoid error on Cygwin.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49495 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
suke (Masaki Suketa)
09:37 AM Feature #10561: Improve function of Thread::Backtrace::Location #path and #absolute_path
Also, I'll submit a patch to fix the documentation of `path` so that it states it's an alias of `absolute_path`. yorickpeterse (Yorick Peterse)
09:33 AM Feature #10561: Improve function of Thread::Backtrace::Location #path and #absolute_path
Nobu: Thanks! I'll update the Rubinius implementation of this to match that behaviour. yorickpeterse (Yorick Peterse)
05:42 AM Feature #10561: Improve function of Thread::Backtrace::Location #path and #absolute_path
The result of `#path` equals to `__FILE__` in the script file.
It's expanded in `require`d libraries, but not in main scripts.
nobu (Nobuyoshi Nakada)
08:35 AM Revision d54db9b2 (git): _sdbm.c: fix pointers to shift
* ext/sdbm/_sdbm.c (delpair): dst and src point at the ends of
each data, whereas memmove requires pointers to the beginnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49494 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:45 AM Bug #10826 (Closed): Refinements make instance_methods(false) return methods of superclasses
Applied in changeset r49493.
----------
* class.c (method_entry_i, class_instance_method_list,
rb_obj_singleton_methods): should not include methods of
superclasses if recur is false. [ruby-dev:48854] [Bug #10826]
shugo (Shugo Maeda)
05:46 AM Bug #10826 (Closed): Refinements make instance_methods(false) return methods of superclasses
If a method is refined for a subclass X of the owner of the method,
X.instance_methods(false) returns that method even if it's not defined
in X.
```ruby
class X
def foo
end
end
class Y < X
end
module Bar
refine Y...
shugo (Shugo Maeda)
07:45 AM Revision dc3ea52e (git): * class.c (method_entry_i, class_instance_method_list,
rb_obj_singleton_methods): should not include methods of
superclasses if recur is false. [ruby-dev:48854] [Bug #10826]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49493 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shugo (Shugo Maeda)
07:41 AM Bug #10824 (Assigned): to_yaml incorrectly inserts return lines
Maybe a word wrapping? nobu (Nobuyoshi Nakada)
07:32 AM Bug #10823 (Closed): Issue building bigdecimal.
Applied in changeset r49491.
----------
bigdecimal.c: fix a typo
* ext/bigdecimal/bigdecimal.c (VpSetPTR): fix a typo, 'expoennt'
to 'exponent'. [ruby-core:67980] [Bug #10823] [Fix GH-825]
nobu (Nobuyoshi Nakada)
07:32 AM Revision a44f7a3e (git): bigdecimal.c: format specifiers
* ext/bigdecimal/bigdecimal.c (VpInit, VpPower, VpVarCheck): fix
format specifiers of BDIGIT.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49492 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:32 AM Revision 718b4253 (git): bigdecimal.c: fix a typo
* ext/bigdecimal/bigdecimal.c (VpSetPTR): fix a typo, 'expoennt'
to 'exponent'. [ruby-core:67980] [Bug #10823] [Fix GH-825]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49491 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:56 AM Bug #10825 (Closed): Fix build error in sdbm under Windows
Applied in changeset r49490.
----------
_sdbm.c: ruby/ruby.h for PRIdPTRDIFF
* ext/sdbm/_sdbm.c: include ruby/ruby.h for PRIdPTRDIFF when a
macro `DEBUG` is defined. based on the patch by Owen Rodley in
[ruby-core:67987]. [Bug #10...
nobu (Nobuyoshi Nakada)
06:55 AM Revision 8d27e64d (git): _sdbm.c: ruby/ruby.h for PRIdPTRDIFF
* ext/sdbm/_sdbm.c: include ruby/ruby.h for PRIdPTRDIFF when a
macro `DEBUG` is defined. based on the patch by Owen Rodley in
[ruby-core:67987]. [Bug #10825]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49490 b2dd03c8-39d4-4d8...
nobu (Nobuyoshi Nakada)
05:21 AM Misc #10742: segmentation fault error while running ruby project
thanks, but this is working for Ruby 1.8.7 and not working for higher version of ruby geeta.kasar@gmail.com (Geetanjali Kasar)
03:56 AM Bug #10818: Extrange behaviour when apliying a refinement inside eval
Shugo Maeda wrote:
> Pablo Herrero wrote:
> ...
I followed you there, but I meant the example where he activated the refinement outside the string and then stored the binding at the global variable. Sorry if I wasn't clear enough.
pabloh (Pablo Herrero)
03:01 AM Bug #10818: Extrange behaviour when apliying a refinement inside eval
Seiei Higa wrote:
> > Refinements should be activated in a lexical scope, so NoMethodError should be raised in that case.
> ...
It might be a bug too.
> [The docs of Binding](http://www.ruby-doc.org/core-2.2.0/Binding.html) says
> ...
shugo (Shugo Maeda)
02:47 AM Bug #10818: Extrange behaviour when apliying a refinement inside eval
Pablo Herrero wrote:
> Does it make any difference that the refinement at Seiei's example was already active before the string evaluation?.
If eval('using M', b) in Seiei's example is changed to eval('x = 1; using M', b),
refinement...
shugo (Shugo Maeda)
12:45 AM Bug #10818: Extrange behaviour when apliying a refinement inside eval
Seiei Higa wrote:
> How about this case?
> ...
OTOH that's also allowing you to leak the active refinements outside the lexical scope...
pabloh (Pablo Herrero)
12:40 AM Bug #10818: Extrange behaviour when apliying a refinement inside eval
Does it make any difference that the refinement at Seiei's example was already active before the string evaluation?. pabloh (Pablo Herrero)
02:42 AM Bug #10811: x86_64 segfault on Haiku
And our PTHREAD haves:
```
/Builds/ruby-2.2.0> grep -R HAVE_PTHREAD .ext/
.ext/include/x86_64-haiku/ruby/config.h:#define HAVE_PTHREAD_COND_INIT 1
.ext/include/x86_64-haiku/ruby/config.h:#define HAVE_PTHREAD_CONDATTR_INIT 1
.ext/i...
kallisti5 (Alexander von Gluck)
02:17 AM Bug #10811: x86_64 segfault on Haiku
*much* better tracing with ruby -d
```
/Builds/haikeuken-client/ruby/client.rb:199: warning: literal in condition
Using Ext extension for JSON.
Exception `NameError' at /tmp/ruby/lib/ruby/2.2.0/psych/class_loader.rb:67 - uninitiali...
kallisti5 (Alexander von Gluck)
02:12 AM Revision 57e60d1f (git): Makefile.in: do not rebuild unnecessarily
* Makefile.in (probes.stamp): rebuild dtrace dependent objects
only when `dtrace -G` modifies its input files.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49489 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:37 AM Revision ba455c6d (git): * 2015-02-04
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49488 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:36 AM Revision a91de831 (git): mkmf.rb: err by non existent file
* lib/mkmf.rb (try_cppflags, try_cflags, try_ldflags): err by non
existent source file. [ruby-core:67962] [Bug #10821]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49487 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
 

Also available in: Atom