Activity
From 04/27/2015 to 05/03/2015
05/03/2015
-
11:52 PM Bug #11118 (Closed): Unable to build Ruby with Visual Studio 2015 RC
- I installed the latest Visual Studio, and then tried to build Ruby 2.2.2 on Windows 7. But, I'm having trouble right away. This is an RC candidate (so I guess that's why the CLI shows Visual Studio 14).
C:\Program Files (x86)\Microsof... -
07:16 PM Bug #11117 (Closed): When you refine String with to_regexp, then it breaks Regexp.try_convert even when the refinement is not used
- I’ve run into a very strange bug with refinements. Let me show you:
~~~ruby
module Ref
refine String do
def to_regexp
end
end
end
Regexp.try_convert('foo')
# or Regexp.union('foo', 'bar')
~~~
~~~
bug.rb:8:in... -
06:13 PM Revision 11b97855 (git): console.c: pressed? on Windows
- * ext/io/console/console.c (console_key_pressed_p): new method
IO#pressed? on Windows. [EXPERIMENTAL]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50427 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 06:11 PM Revision ff332256 (git): * 2015-05-04
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50426 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 06:11 PM Revision daa18e50 (git): * 2015-05-04
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50426 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:11 PM Revision 85366d7d (git): console.c: cursor position on Windows
- * ext/io/console/console.c (console_goto): new method IO#goto on
Windows. [EXPERIMENTAL]
* ext/io/console/console.c (console_cursor_pos): new method
IO#cursor on Windows. [EXPERIMENTAL]
* ext/io/console/console.c (console_cursor_... -
06:11 PM Revision 1014dfb4 (git): console.c: IO#beep
- * ext/io/console/console.c (console_beep): new method IO#beep.
[EXPERIMENTAL]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50424 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 01:54 PM Revision fadd0160 (git): * ext/-test-/file/fs.c: need to include sys/statvfs.h
- to use statvfs().
* ext/-test-/file/extconf.rb: check the existence of
sys/statvfs.h
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50423 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:59 PM Revision 9a2c3fd6 (git): * lib/yaml.rb: fix typo. [ci skip][fix GH-890]
- Patch by @miketheman
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50422 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:36 AM Bug #11116 (Closed): The spec of String#dump
- The current spec says:
call-seq:
str.dump -> new_str
Produces a version of +str+ with all non-printing characters replaced by
-
08:39 AM Bug #11115 (Rejected): Assigning a non-existent local variable to itself sets it to nil; unintuitive behaviour?
- George Millo wrote:
> Is this a bug, or a feature?
A feature. -
06:17 AM Bug #11115 (Rejected): Assigning a non-existent local variable to itself sets it to nil; unintuitive behaviour?
- Here's what normally happens when I try to reference a local variable that doesn't exist:
~~~ruby
def foo
bar
end
foo
# => NameError: undefined local variable or method `bar'
~~~
But if I assign bar to "itself", it doesn'... -
01:04 AM Bug #11114: rails server crash
- You have to reinstall `sqlite3_native.bundle`.
-
01:02 AM Bug #11113 (Closed): Time ranges cannot be used in case statements in 1.9+ but they could in 1.8.7
- Applied in changeset r50421.
----------
range.c: covered for linear objects
* range.c (linear_object_p, range_include): test if covered for
linear objects. [ruby-core:69052] [Bug #11113] -
01:02 AM Revision b0616346 (git): range.c: covered for linear objects
- * range.c (linear_object_p, range_include): test if covered for
linear objects. [ruby-core:69052] [Bug #11113]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50421 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 12:36 AM Revision 06cb3200 (git): * 2015-05-03
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50420 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:35 AM Revision 3cfd6f9f (git): console.c: remove old ifdef
- * ext/io/console/console.c (LAST_ERROR): remove old ifdef, should
use rb_w32_map_errno always.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50419 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
05/02/2015
-
11:43 PM Bug #11114: rails server crash
- so how do I fix this? uninstall and reinstall ruby?
-
11:35 PM Bug #11114 (Rejected): rails server crash
- >0x103c88000 - 0x103e34ff7 libruby.2.0.0.dylib (106) /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/libruby.2.0.0.dylib
You mixed another version of ruby. -
11:15 PM Bug #11114 (Rejected): rails server crash
- Trying to run rails server
05/01/2015
-
11:02 PM Bug #11113: Time ranges cannot be used in case statements in 1.9+ but they could in 1.8.7
- Good point, it looks like Float is already "covered" (I didn't check) so it's only Time that is the issue here.
> Seems like something like range.begin < other && range.end > other would perform better (constant time)
Yes, that's e... -
10:56 PM Bug #11113: Time ranges cannot be used in case statements in 1.9+ but they could in 1.8.7
- > The "can't iterate" error is simply because Time is float-based: there is no succ number.
Floats don't have a `succ` method, and yet `(2.3...3.2) === 3.0` works just fine. Actually, I'm surprised that `succ` is used for `===` at al... -
10:48 PM Bug #11113: Time ranges cannot be used in case statements in 1.9+ but they could in 1.8.7
- The "can't iterate" error is simply because Time is float-based: there is no `succ` number.
Something like this could be a solution:
~~~
module Range::RubyIssue11113
def ===(other)
case first
when Time, Float then sel... -
03:15 PM Bug #11113 (Closed): Time ranges cannot be used in case statements in 1.9+ but they could in 1.8.7
- Given this script:
```ruby
range = (Time.now - 1000)...(Time.now + 1000)
case Time.now
when range then puts "in range"
else puts "not in range"
end
```
I'd expect it to print "in range". This worked on 1.8.7:
```
$ rub... - 10:39 PM Revision 7f71df55 (git): * 2015-05-02
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50418 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:39 PM Revision 0238f47f (git): range.c: predefined IDs
- * range.c (id_cmp, id_succ): use predefined IDs in id.def.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50417 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:27 PM Bug #11112 (Rejected): Segfault on `require json` in Ruby 2.1.6
- Your json extension is linked to ruby 2.0.0, not ruby 2.1.6.
~~~
9 libruby.2.0.0.dylib 0x0000000100f1c2ab rb_require + 11
10 parser.bundle 0x0000000100ee28bf Init_parser + 19 (parser.rl:893)
11 ruby ... -
02:09 PM Bug #11112 (Rejected): Segfault on `require json` in Ruby 2.1.6
- I've just installed Ruby 2.1.6 using ruby-install. If I start `irb` and type `require "json"`, I get a segfault. I'm on OSX. I've also installed and tried this on Ruby 2.1.2-2.1.5, and 2.1.6 is the only version that segfaults.
I'm att... -
08:28 AM Bug #11111: Backport incompatible libruby check
- Memo:
and the patches pointed by nobu are totally broken,
only r50416 is needed but the diff is on the assumption of r50410-r50515. -
05:11 AM Bug #11111 (Closed): Backport incompatible libruby check
- Please backport r50410, r50412, and r50413, to get rid of frequently reported stale bugs.
These changes raise an exception when an extension library linked to an incompatible ruby is loaded. -
07:27 AM Revision 75319221 (git): dln.c: fix EXTERNAL_PREFIX
- * configure.in (EXPORT_PREFIX): revert r50410.
* dln.c (EXTERNAL_PREFIX): define by predefined macros.
configured EXPORT_PREFIX is different thing.
* win32/Makefile.sub: r50414-50415.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trun... -
06:57 AM Revision e15f8b22 (git): Makefile.sub: EXPORT_PREFIX
- * win32/Makefile.sub (config.h): fix typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50415 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:46 AM Revision 3f5daebc (git): Makefile.sub: EXPORT_PREFIX
- * win32/Makefile.sub (config.h): add EXPORT_PREFIX for r50410.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50414 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:41 AM Revision 55851c98 (git): dln.c: raise fatal
- * dln.c (dln_load): raise fatal error on OSX not other extension
libraries to refer different libruby.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50413 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:30 AM Revision f2604ef5 (git): dln.c: check incompatible libruby
- * dln.c (dln_load): check if a different libruby is loaded by the
extension library, and then bail out to get rid of very frequent
reported stale bug reports.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50412 b2dd03c8-39d4-4d8... - 04:29 AM Revision 2d3a0fa6 (git): * 2015-05-01
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50411 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:29 AM Revision 70abda7e (git): dln.c: use EXPORT_PREFIX
- * configure.in (EXPORT_PREFIX): define exported symbol prefix
string in config.h.
* dln.c (FUNCNAME_PREFIX): use configured EXPORT_PREFIX, not
hardcoded condition.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50410 b2dd03c8-39... -
02:55 AM Bug #11110 (Rejected): [Bug] Segmentation fault
- Noel Dixon wrote:
> ~~~
> ...
You mix static ruby and shared libruby.
-
02:07 AM Bug #11110 (Rejected): [Bug] Segmentation fault
- I see the OpenSSL.bundle issue, yes and bundle returns a similar list of issues and bug report as below. Do I need to scale Ruby back to 1.9.x??? This issue makes Jekyll unusable, shy's me away from these type of tools/applications.
~... -
01:14 AM Bug #8308 (Rejected): Segmentation fault
-
12:43 AM Bug #8308: Segmentation fault
- Feel free to close this. I haven't used ruby 2.0 in a while. All of my projects are using 2.1 or 2.2.
I don't think I have access to close this. -
12:34 AM Bug #11109: Crash of irb.
- Already.
"Third Party's Issue" is a kind of "Closed."
04/30/2015
-
06:23 PM Bug #10967: Is "warning: private attribute?" wrong?
- There's also a discussion going on in another PR, https://github.com/ruby/ruby/pull/889
@nobu, not sure what are the invalid use cases you refer to, and also what if I need to use let's say 2 private accessors? should I do ...
```
... -
04:41 PM Bug #11109: Crash of irb.
- Thanks for your help. One more question, when can I close the bug?
-
04:35 PM Bug #11109: Crash of irb.
- I don't know.
-
04:10 PM Bug #11109: Crash of irb.
- Thanks for your fix and advise.
I added a `sio.rewind` between `from_bson`. The script works well. I should've realized the EOF issue.
Please see also the attached file.
By the way, how long does a bugfix be merged into BSON's m... -
03:56 PM Bug #11109: Crash of irb.
- `IO#read` and `StringIO#read` return `nil` at EOF.
https://github.com/mongodb/bson-ruby/pull/31 -
03:05 PM Bug #11109: Crash of irb.
- `BSON::Int64.from_bson` accepts the object who can response IO#read, so I have to wrap a string with StringIO.
After re-checking, I found how to reproduce the bug. Please see also my attached file.
In the file, I called `BSON::Int6... -
02:52 PM Bug #11109 (Third Party's Issue): Crash of irb.
- `BSON::Int64.from_bson` seems to accept `String` only, but not to check the argument.
-
02:40 PM Bug #11109: Crash of irb.
- I double-checked the backtrace in the attached log, in which it shows the `rb_integer_from_bson_int64` causes the crash, however I was not sure. Could you guys still check the attached log file for confirmation?
Of course, I will cont... -
01:51 PM Bug #11109 (Third Party's Issue): Crash of irb.
- ENV:
Mac OS X 10.10.3
ruby 2.2.2p95 (2015-04-13 revision 50295) [x86_64-darwin14]
HOW TO COMPILE:
1. cd to the dir of ruby 2.2.2.
2. ./configure
3. make
4. make install as root.
STEPS:
1. Start the irb on console.
2. Ty... -
03:04 PM Bug #11101: Forking is killing my memory when running GC
- This is without jemalloc. I made the changes just like requested, but the issue still persists. I get what I want, when I turn the GC off (GC.disabled), but this isn't an option since, anyway after a time my memory is filled with garbage.
-
02:36 PM Revision 4d12807e (git): parse.y: %-string cannot be a label
- * parse.y (parser_yylex): %-string cannot be a label even if
terminated by single/double quotes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50409 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:38 PM Feature #11105: ES6-like hash literals
- As Yusuke Endoh said, I'd expect this notation to create a Set, not a Hash...
-----
Carlos Agarie
+55 11 97320-3878 | @carlos_agarie
-
02:55 AM Feature #11105: ES6-like hash literals
- Yusuke Endoh wrote:
> `{x, y}` is a conventional notation of a mathematical set.
> ...
`{x, y}` looks like a set of variable bindings, so it's reasonable that each key is a variable name and each value is its value.
-
02:50 AM Feature #11105: ES6-like hash literals
- Yukihiro Matsumoto wrote:
> What if we have variables with same name and different prefixes? e.g.
> ...
The last one is used with warnings:
```
lexington:ruby$ cat x.rb
a = 1
@a = 2
$a = 3
p({a, @a, $a})
lexington:ruby$ ./ruby... -
02:48 AM Feature #11105: ES6-like hash literals
- Hola matz
Alfredo Bravo Cuero (@abracu)
Open Source culture advocate and Ruby on Rails Developer
| Skype: yo@alfredobravocuero.co | Cel +573192837240
Enviado desde mi iPad
-
02:36 AM Feature #11105: ES6-like hash literals
- Question:
What if we have variables with same name and different prefixes? e.g.
~~~ruby
a = 1
@a = 2
$a = 3
~~~
Matz. -
01:36 AM Feature #11105: ES6-like hash literals
- -1.
`{x, y}` is a conventional notation of a mathematical set.
When I read it, I expect it to be equivalent to `{ x => true, y => true }`.
--
Yusuke Endoh <mame@ruby-lang.org> -
10:51 AM Bug #11096 (Closed): 'private' access control bypassed when ||= is used
- Applied in changeset r50408.
----------
compile.c: disallow private readers
* compile.c (iseq_compile_each): revert r46873 and r46875, not to
allow to execute private readers by pretending op assign.
[ruby-core:68984] [Bug #11096] -
10:51 AM Revision 71324799 (git): compile.c: disallow private readers
- * compile.c (iseq_compile_each): revert r46873 and r46875, not to
allow to execute private readers by pretending op assign.
[ruby-core:68984] [Bug #11096]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50408 b2dd03c8-39d4-4d8f-98... -
08:03 AM Bug #11075 (Closed): Rational literal undocumented
- Applied in changeset r50406.
----------
* rational.c: Added documentation for rational literal.
[Bug #11075][fix GH-885][ci skip] Patch by @shishir127 - 08:02 AM Revision 0e42b434 (git): * remove trailing spaces.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50407 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:02 AM Revision f748c14c (git): * rational.c: Added documentation for rational literal.
- [Bug #11075][fix GH-885][ci skip] Patch by @shishir127
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50406 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:45 AM Revision 03c19dc5 (git): ipsocket.c: fix merge miss
- * ext/socket/ipsocket.c (init_inetsock_internal): fix local
variable name by merge miss. [ruby-core:68531] [Bug #10975]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50405 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:40 AM Bug #10975 (Closed): [BUG] rb_sys_fail(getaddrinfo) - errno == 0 (Ruby 2.0.0)
- Applied in changeset r50404.
----------
ipsocket.c: sys_error
* ext/socket/ipsocket.c (init_inetsock_internal): preserve errno
before other library calls and use rb_syserr_fail.
[ruby-core:68531] [Bug #10975] -
07:39 AM Revision db7a4e66 (git): ipsocket.c: sys_error
- * ext/socket/ipsocket.c (init_inetsock_internal): preserve errno
before other library calls and use rb_syserr_fail.
[ruby-core:68531] [Bug #10975]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50404 b2dd03c8-39d4-4d8f-98ff-823fe... -
07:22 AM Bug #11107 (Closed): Syntax error is raised by "p ->() do a(1) do end end", but not by "p ->() do a 1 do end end"
- Applied in changeset r50402.
----------
parse.y: push cmdarg_stack
* parse.y (lambda): push and reset cmdarg_stack in lambda body.
[ruby-core:69017] [Bug #11107] - 07:22 AM Revision d7168fa6 (git): * 2015-04-30
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50403 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:22 AM Revision fd0e9d25 (git): parse.y: push cmdarg_stack
- * parse.y (lambda): push and reset cmdarg_stack in lambda body.
[ruby-core:69017] [Bug #11107]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50402 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
04/29/2015
-
09:32 PM Feature #11105: ES6-like hash literals
- I use that a lot with CoffeeScript and would love to be able to do the same with Ruby. +1
-
05:38 PM Feature #11105: ES6-like hash literals
- It does look easier to read but feels like it would be harder to write and
debug.
What if you're typing in a hurry, or doing a lot of copy/paste and somehow
you accidentally omit a key? Currently the interpreter would raise a syntax... -
01:06 PM Feature #11105: ES6-like hash literals
- 2015-04-29 10:19 GMT+09:00 Matthew Kerwin <matthew@kerwin.net.au>:
> Shugo Maeda wrote:
> ...
The proposed syntax contributes to readability because it reduces redundancy and
tells us that a key has the same name as the corresponding ... -
12:38 PM Feature #11105: ES6-like hash literals
- Hi Martin.
I fixed this issue. it is caused by latest version of redmine.
Please try to report again.
Thanks.
On Wed, Apr 29, 2015 at 2:02 PM, "Martin J. Dürst"
<duerst@it.aoyama.ac.jp> wrote:
> I tried to reply to ... -
12:32 AM Feature #11105 (Rejected): ES6-like hash literals
- Why not support ECMAScript6-like hash literals?
For example,
{x, y}
is equivalent to:
{x: x, y: y}
For convenience, the prefix of global, instance, and class variables should be removed from the key name as follows... -
04:59 PM Bug #11059: When saving a hash to YAML or JSON the default value isn't stored
- JSON is based on JavaScript and the JavaScript default value for hashes can't be changed. The YAML spec says
These primitives were chosen because they are both powerful and familiar: the sequence corresponds to a Perl array and a Pyth... -
01:22 PM Revision 5d071fe3 (git): cookie.rb: trailing comma
- * lib/cgi/cookie.rb: add trailing comma for further lines.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50401 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:57 PM Bug #11108 (Closed): Unexpected LocalJumpError from "break" in nested begin block
-
12:35 PM Bug #11108: Unexpected LocalJumpError from "break" in nested begin block
- The script below raises an unexpected "`LocalJumpError`".
~~~ruby
%w(a b c).each { |c|
p c
begin
raise
rescue =e
begin
raise
rescue =e
break
end
end
}
~~~ -
12:00 PM Bug #11108 (Closed): Unexpected LocalJumpError from "break" in nested begin block
- The script below raises an unexpected "`LocalJumpError`".
```ruby
%w(a b c).each { |c|
p c
begin
raise
rescue => e
begin
raise
rescue => e
break
end
end
}
```
-
11:39 AM Bug #11107 (Closed): Syntax error is raised by "p ->() do a(1) do end end", but not by "p ->() do a 1 do end end"
- As below, lambda literal with do..end block can raise syntax error.
```
$ ./ruby -ve 'p ->() do a(1) do end end'
ruby 2.3.0dev (2015-04-26 trunk 50395) [x86_64-darwin14]
-e:1: syntax error, unexpected keyword_do_block, expecting ke... -
11:39 AM Feature #11106 (Rejected): Redmine update issue.
- I confirmed to open a new ticket. Thanks!
-
11:38 AM Feature #11106 (Rejected): Redmine update issue.
- I update latest version of Redmine and apply to change some configuration.
- 03:49 AM Revision 95471947 (git): * 2015-04-29
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50400 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:49 AM Revision 9efec44c (git): parse.y: simplified
- * parse.y (primary): turned nested if-else blocks into a switch
statement.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50399 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:48 AM Revision 810522e0 (git): compile.c: move expansion of massign
- * compile.c (iseq_compile_each): move expansion for massign to
variable of for-loop from the parser, to reduce method calls on
intermediate objects.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50398 b2dd03c8-39d4-4d8f-98ff-823... -
12:30 AM Feature #11104 (Rejected): ES6-like hash literals
- すみません、ruby-devになってしまったので出しなおします。
-
12:27 AM Feature #11104 (Rejected): ES6-like hash literals
- Why not support ECMAScript6-like hash literals?
For example,
{x, y}
is equivalent to:
{x: x, y: y}
For convenience, the prefix of global, instance, and class variables should be removed from the key name as follows...
04/28/2015
-
05:45 AM Bug #11021: FileUtils.mv displays the wrong destination when Errno::EEXIST is raised
- ruby_2_1 r50397 merged revision(s) 50141.
- 05:16 AM Revision 7829c32e (git): merge revision(s) 50141: [Backport #11021]
- * lib/fileutils.rb (FileUtils#mv): show the exact target path in
the error message instead of the destination parent directory
name. patched by Joao Britto <jabcalves AT gmail.com> at
[ruby-core:68706]. [B... -
05:14 AM Bug #11030: Ruby 2.2.1 fails to compile with hardened GCC
- ruby_2_1 r50396 merged revision(s) 50316.
- 05:14 AM Revision 513b313d (git): merge revision(s) 50316: [Backport #11030]
- * thread_pthread.c (reserve_stack): keep sp safe zone to get rid
of crash by -fstack-check. [ruby-core:68740] [Bug #11030]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@50396 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:40 AM Bug #9644: ssl hostname verification security bug: verify_certificate_identity wildcard matching allows to much
- Hi,
I was able to backport the patch to Ruby 1.9.3, and it will be included in a Debian wheezy security update soon. I am attaching the patch here. -
12:27 AM Bug #11103 (Rejected): Reassignment in if block that is not ran, causes variable to become nil
-
12:25 AM Bug #10967: Is "warning: private attribute?" wrong?
- FWIW, I feel that warning should be removed. There are too many false positives, and I suspect very very few cases where that warning is of any help. Note that without the warning, it will be obvious anyways when calling that reader/writ...
04/27/2015
-
11:47 PM Bug #11103: Reassignment in if block that is not ran, causes variable to become nil
- Ruby is behaving as it should here. Your confusion is between local variables and method calls.
Before that 'if' block `mock_input` resolves to the "mock_input" *method* of your class. The 'if' block then declares a variable with the sa... -
10:06 PM Bug #11103 (Rejected): Reassignment in if block that is not ran, causes variable to become nil
- I came across a situation where, when reassigning a variable, inside an if statement that is evaluated to false, causes the variable to become nil.
I have included the code to reproduce the problem as a file.
Changing the line -
10:41 PM Bug #10967: Is "warning: private attribute?" wrong?
- It's valid in your case, but may not in others.
It doesn't sound enough reason to remove that warning to me.
If you want to suppress the warning, you can explicitly do it after the definition.
```ruby
class Y
attr_writer :x
... -
09:34 PM Bug #10871: Sclass thread unsafe due to CREF sharing
- Koichi, I think a workaround patch to be applied to 2.2 and 2.1 would be very useful.
-
07:28 PM Feature #10600: [PATCH] Queue#close
- clojure's core.async has close! which implements the same semantics proposed by this issue.
https://clojure.github.io/core.async/#clojure.core.async/close%21
-
06:14 PM Bug #11102 (Closed): Segmentation fault while running the db:create command in Rails
- /var/www/src/thoughtstream-user_management/vendor/bundle/ruby/2.1.0/bin/rake: [BUG] Segmentation fault at 0x00000000000020
ruby 2.1.5p273 (2014-11-13 revision 48405) [x86_64-linux]
-- Control frame information -----------------------... -
04:48 PM Bug #11101: Forking is killing my memory when running GC
- Is this with or without jemalloc?
In either case, try disabling transparent hugepages in Linux, THP causes
some problems with Postgres and Redis forking, too (it is far easier to
dirty and trigger CoW on 2M hugepages than regular 4K ... -
03:13 PM Bug #11101 (Closed): Forking is killing my memory when running GC
Memory is duplicated when forking and calling GC in 2.2.1. The main issue here is that we are operating with huge data, going up to 3GB, and one fork is enough to kill our machine.
We have written a small program that reproduces the...-
10:15 AM Bug #10850: BigDecimal division incorrect
- Maybe you have an advice for the following I am thinking to use.
I could convert BigDecimal to Rational, do the calculation in Rational numbers and then convert that to back to BigDecimal.
Do you see any caveats with this approach?... -
07:04 AM Feature #11100 (Open): Permit multiple captures with String[Regexp, ...]
- I propose that if we are able to conveniently grab one capture with this method, we ought to be able to grab more than one. Still, there are some caveats worth considering:
* It should return an array, but every other `#[]` variant re...