Activity
From 10/30/2015 to 11/05/2015
11/05/2015
-
11:48 PM Feature #11537: Introduce "Safe navigation operator"
- tom.enebo@gmail.com wrote:
> How about '\'? We can pay homage to Windows file delimeter?
>
> a\b\c
>
> I just scanned lexer and I cannot think of a reason off the top of my head why not...what does \ mean? who knows...what for ... -
11:01 PM Feature #11537: Introduce "Safe navigation operator"
- How about '\'? We can pay homage to Windows file delimeter?
a\b\c
I just scanned lexer and I cannot think of a reason off the top of my head why not...what does \ mean? who knows...what for .? mean? I don't know that either. Th... -
10:28 PM Bug #11658: Segmentation fault with activeadmin test suite
- shibata.hiroshi@gmail.com wrote:
> Can you install `nodejs` via apt?
Sorry, I'm willing to audit all that code before I run it.
I cannot afford to develop any expectation of being able to
run/debug JS in any way; likewise for X11/... -
08:44 AM Bug #11658 (Assigned): Segmentation fault with activeadmin test suite
- Can you install `nodejs` via apt?
I got another error related with r52332 at ubuntu 14.04
```
$ sudo apt install nodejs
$ cd activeadmin
$ bundle exec rake spec
(snip)
/data/dev/activeadmin/lib/active_admin/resource/action_ite... -
07:28 AM Bug #11658: Segmentation fault with activeadmin test suite
- It's still asking for a JS runtime:
/lib/ruby/gems/2.3.0/gems/execjs-2.4.0/lib/execjs/runtimes.rb:45:in `autodetect': Could not find a JavaScript runtime. See https://github.com/sstephenson/execjs for a list of available runtimes
... -
07:00 AM Bug #11658: Segmentation fault with activeadmin test suite
- > Anyway to reproduce this without loading a JS engine?
Yes, I can reproduce with `ruby -Ilib:spec -e "require 'rails_helper'"` in activeadmin directory. -
06:38 AM Bug #11658: Segmentation fault with activeadmin test suite
- Anyway to reproduce this without loading a JS engine?
I haven't touched anything Rails-related in years because of JS. -
03:46 AM Bug #11658 (Closed): Segmentation fault with activeadmin test suite
- I detect causes of SEGV with Ruby 2.3.0 HEAD and activeadmin-1.0.0.pre2 after r52332.
Please try following instructions with ruby of r52332.
```sh
$ gem install bundler
$ git clone --branch v1.0.0.pre2 https://github.com/activead... -
10:09 PM Feature #11286: [PATCH] Add case equality arity to Enumerable's sequence predicates.
- I've come to realize that it might not be entirely clear what is being proposed. In essence, all of the following examples feel very "Ruby" and should, in my opinion, Just Work.
```ruby
[1, 3.14, 2ri].all?(Numeric) # => true
if sh... -
09:53 PM Feature #11286: [PATCH] Add case equality arity to Enumerable's sequence predicates.
- This seems quite nice. Any downsides?
- 10:06 PM Revision 9a0802a3 (git): * 2015-11-06
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52460 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 10:05 PM Revision 7d0a3681 (git): test/ruby/test_autoload: hoist out ruby_impl_require
- Having "require" implemented in Ruby is the common case nowadays
with RubyGems, so ensure it is easy-to-reuse the same logic for
future tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52459 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:23 PM Bug #11663 (Closed): Segfault when using multiple keywords if the first keyword is invalid
- When loading a method with an invalid keyword (such as one that ends in a question mark), a syntax error occurs as is expected. However, when loading a method with multiple keywords, if the first keyword is invalid then a segmentation fa...
-
09:13 PM Bug #11662 (Closed): Hash#delete causes segmentation fault at 0x00000000001ec8
- I have seen this bug happen several times, but only when the system is under heavy load. I have to apologize that don't have any means of easily reproducing it. I saw the same bug appear (segmentation fault at same line 296) on ruby 2....
-
08:48 PM Bug #11661 (Closed): sprintf causes a KeyError instead of using a default value for hash substitution
- When using a format string that substitutes hash values (or using the `%` operator on a string), instead of using the Hash's default value if a key is not present, it causes a KeyError.
As an end-user, to get around this, my hash need... -
08:36 PM Feature #11660 (Open): a falsy value (similar to js undefined) that facilitates forwarding of default arguments
- I'll call it "missing" here. Consider the following scenario:
```ruby
def foo(default1 = some_expression)
end
def bar(default1 = some_expression)
foo default1
end
def foobar(default1 = some_expression)
bar default1
en... -
04:13 PM Bug #11603: Count trace_running for internal event
- Byebug 7.0.0 including https://github.com/deivid-rodriguez/byebug/pull/160 is released to rubygems.org the day before yesterday.
Since byebug gem is installed by Rails' default Gemfile, I guess many users may have chance to cause this S... -
06:59 AM Bug #11659: Strange behavior setting previously-undefined local variables with a statement modifier
~~~
var2 = 'default' if defined?(var1).nil?; var2
~~~
because you got a typo for var2, see the var1 inside.
~~~
var4 = 'default' if defined?(var4).nil?; var4
~~~
the problem there is that var got defined from the parse...-
06:43 AM Bug #11659 (Rejected): Strange behavior setting previously-undefined local variables with a statement modifier
- Consider a previously-undefined local variable `var1`:
~~~
irb(main):001:0> if defined?(var1).nil?; var1 = 'default'; end; var1
=> "default"
~~~
Consider previously-undefined local variables `var1` and `var2`:
~~~
irb(main):... -
05:23 AM Bug #11656: ruby crashes when running rspec from top level context, but not from the individual spec that is causing ruby to crash
- What does `let` do?
-
04:04 AM Revision 72b785e0 (git): id.def: token_ops
- * defs/id.def (token_ops): gather associations between IDs,
operators, and parser tokens.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52458 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:08 AM Feature #8976: file-scope freeze_string directive
- > Shugo Maeda wrote:
>
>> It's not just for compatibility.
>>
>> The original problem was that a new String object has to be allocated by a string literal
>> for each evaluation. So I don't understand the reason why a dynamic stri... -
03:02 AM Bug #11657 (Closed): Abort Trap 6 when running a test suite
- An internal Ruby gem I develop for my company has a test suite that works fine on Ruby 2.1.x but crashes on **2.2.3 and 2.3.0-dev** with:
~~~
[BUG] Stack consistency error (sp: 273, bp: 271)
~~~
I've tried this on both OS X (10.1... -
02:39 AM Bug #11655: Can't refine Object.const_missing
- Nobu? Given the behavior observed above, I must maintain that this is a bug worth reopening. If I am mistaken in that conclusion, could you please take a moment to clarify your assertion that the Refinements spec prohibits implicit invoc...
-
01:24 AM Revision fcd15352 (git): parse.y: CALL_Q_P
- * parse.y (CALL_Q_P): extract common condition for safe-call
token.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52457 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:17 AM Revision 612978ed (git): ext: use RARRAY_ASET
- * ext/socket/socket.c (make_addrinfo): use RARRAY_ASET for
write-barrier.
* ext/tk/tcltklib.c ({call,eval,invoke}_queue_handler): ditto.
* ext/tk/tkutil/tkutil.c (ary2list, ary2list2): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/rub... -
01:15 AM Revision d2e48a3f (git): tk: RARRAY_AREF
- * ext/tk/tcltklib.c, ext/tk/tkutil/tkutil.c (RARRAY_AREF): add
fallback definition.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52455 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 01:09 AM Revision 4d21e6aa (git): * 2015-11-05
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52454 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:09 AM Revision 57e2877e (git): ext: use RARRAY_AREF
- * ext/**/*.c: prefer RARRAY_AREF to indexing RARRAY_CONST_PTR.
pointed out by hanmac.
https://github.com/ruby/ruby/commit/3553a86#commitcomment-14187670
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52453 b2dd03c8-39d4-4d8f-98ff...
11/04/2015
-
06:23 PM Bug #11656: ruby crashes when running rspec from top level context, but not from the individual spec that is causing ruby to crash
- Daniel Greenberg wrote:
> Attached file here because it is hard to read above.
```ruby
describe '#hash' do
let(:attr_vals) { subject.attr_values.to_s }
before { expect(Digest::MD5).to receive(:hexdigest).with(attr_vals... -
06:11 PM Bug #11656: ruby crashes when running rspec from top level context, but not from the individual spec that is causing ruby to crash
- Attached file here because it is hard to read above.
-
06:07 PM Bug #11656 (Closed): ruby crashes when running rspec from top level context, but not from the individual spec that is causing ruby to crash
- /Users/dgreenbe77/Development/frederick_gem/lib/frederick/models/model.rb
./spec/lib/frederick/models/model_spec.rb
-
02:11 PM Bug #11655: Can't refine Object.const_missing
- Nobuyoshi Nakada wrote:
> It's a spec.
> ...
How does that square with the behavior observed below?
```ruby
using Module.new {
refine Object do
def method_missing(*)
42
end
end
}
p foo # => 42
``` -
01:43 PM Bug #11655 (Rejected): Can't refine Object.const_missing
- It's a spec.
Refinements targets only explicit invocations. -
12:32 PM Bug #11655 (Rejected): Can't refine Object.const_missing
- ```ruby
TracePoint.new(:c_call) { |tp|
if tp.method_id == :const_missing
puts "top-level const_missing is #{tp.self}'s"
end
}.enable { Foo rescue 1 }
# => top-level const_missing is Object's
module M
refine Object.sin... -
01:40 PM Bug #11654: Segmentation fault
- Seems related to GC, but uncertain.
And the latest 2.2 is 2.2.3. -
10:19 AM Bug #11654 (Closed): Segmentation fault
- I encountered a segmentation fault in a default job running in the background.
Unfortunately, I can not share the running code and the error is not reproducible so far. However all it does is basically sending out emails.
It might al... -
12:34 PM Revision a015a013 (git): revive deleted entry [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52452 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:12 AM Feature #8976: file-scope freeze_string directive
- Shugo Maeda wrote:
> It's not just for compatibility.
> ...
It is not a big problem.
We can reduce extra object allocation with "foo#{exp}bar".dup using an optimization similar for "foo".freeze.
I think the pragma and option name... -
07:45 AM Feature #8976: file-scope freeze_string directive
- Koichi Sasada wrote:
> akr: how about dynamic strings “foo#{bar}baz”?
> ...
It's not just for compatibility.
The original problem was that a new String object has to be allocated by a string literal
for each evaluation. So I don't... -
08:33 AM Revision 86875c2b (git): * lib/debug.rb: Add documentation for #thread_list_all.
- [Misc #11580][ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52451 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:50 AM Revision 0047ab96 (git): tkutil.c: rb_ary_cat
- * ext/tk/tkutil/tkutil.c (rb_ary_cat): fallback definition.
rb_ary_cat() is available since 2.0.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52450 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:50 AM Revision 8df1863d (git): tkutil.c: strndup
- * ext/tk/tkutil/tkutil.c (strndup): fallback definition.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52449 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:27 AM Revision 3553a86e (git): ext: use RARRAY_CONST_PTR
- * ext/bigdecimal/bigdecimal.c: use RARRAY_CONST_PTR just fore
reference instead of RARRAY_PTR, to keep the array WB-protected.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52448 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:18 AM Revision 52912db4 (git): ext: adjust index type
- * ext: use long for index instead of int and RARRAY_LENINT.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52447 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:59 AM Revision c8803b10 (git): variable.c: suppress a warning
- * variable.c (autoload_reset): initialize formally to suppress a
warning from container_off_var() by Visual C.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52446 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:46 AM Revision b381e3ca (git): * class.c: fix documentation for rb_define_class{_id}_under.
- [fix GH-991][ci skip] Patch by @kachick
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52445 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:40 AM Revision 825c891b (git): * method.h: fix typo. Patch by @davydovanton
- [fix GH-1076][ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52444 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:39 AM Revision b6807ba3 (git): * hash.c: use correct grammer. Patch by @tveastman
- [fix GH-1079][ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52443 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:01 AM Feature #11653: Add to_proc on Hash
- You can write it as:
~~~ruby
[:e, :a, :b, :f, :c, :d].map(&my_hash.method(:[]))
~~~ -
05:24 AM Feature #11653: Add to_proc on Hash
- I think this is an excellent idea. I hope this can make it into Ruby 2.3.
-
02:59 AM Feature #11653 (Closed): Add to_proc on Hash
- Procs can be called the same way a hash is with `[]`. But a Hash is not mappable as a Proc.
~~~ruby
my_hash = ->key{{
a: 1, b: 2, c: 3, d: 4, e: 5, f: 6
}[key]}
my_hash[:a]
# => 1
[:e, :a, :b, :f, ... -
03:48 AM Bug #10984: Hash#contain? to check whether hash contains other hash
- What if
```ruby
{b: 1} === {a: 2, b: 1}
```
then
```ruby
h = {a: 2, b: 1}
case h
when {b: 1}
puts "got it"
end
```
😁😃😄😈 - 03:13 AM Revision c457e91a (git): * lib/drb/drb.rb: add debug information for mswin CI. this change will be reverted later.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52442 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:38 AM Revision f6043758 (git): process.c: fix rdoc of Process.getsid [ci skip]
- * process.c (proc_getsid): [DOC] Fix double word 'for' and typo.
[Fix GH-1080]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52441 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:33 AM Revision 96831c00 (git): test_gdbm.rb: sync after reorganize
- * test/gdbm/test_gdbm.rb (test_reorganize): sync after reorganize
to ensure that the db file get packed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52440 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:32 AM Revision ecbbd236 (git): fake.rb: fix builddir
- * tool/fake.rb (prehook): consider the case building under the
source directory.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52439 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:31 AM Revision 7995eb43 (git): mkmf/base.rb: capture output
- * test/mkmf/base.rb (TestMkmf::Base::Capture#write): capture
output inside mkmf method.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52438 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:31 AM Revision 051127ab (git): mkmf.rb: revert r52431
- * lib/mkmf.rb: it's an issue of test/mkmf.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52437 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:44 AM Feature #11537: Introduce "Safe navigation operator"
- Thomas, that reminds me of old UUCP addresses (grin).
But ,as Nobu pointed out, it can be parsed as `u(!profile(!thumbnails(!large)))` unfortunately.
Matz.
-
12:32 AM Feature #11537: Introduce "Safe navigation operator"
- Thomas Sawyer wrote:
> `..` wouldn't work. But that reminds me. Was `!` ever considered?
> ...
No, it's a unary operator. -
12:07 AM Feature #11537: Introduce "Safe navigation operator"
- Philip Claren wrote:
> Thomas Sawyer wrote:
> ...
Is allowing false necessary/useful? On the other hand, if it is, then might a nil-only ternary operator be useful too (regardless of this issue)?
-
12:01 AM Feature #11537: Introduce "Safe navigation operator"
- Laurentiu Macovei wrote:
> The same discussion happens to be on TypeScript and ES6 worlds.
> ...
`..` wouldn't work. But that reminds me. Was `!` ever considered?
u!profile!thumbnails!large
-
12:03 AM Feature #11643: A new method on Hash to grab values out of nested hashes, failing gracefully
- Yukihiro Matsumoto wrote:
> I prefer method way to (already reverted) `params.?[:order].?[:shipping_info].?[:country]`.
> ...
clojure has get-in for their maps, how about fetch_in with replacement like fetch
hash.fetch_in(:order, :s...
11/03/2015
-
11:38 PM Bug #10984: Hash#contain? to check whether hash contains other hash
- Responding to feedback from Akira Tanaka and Nobuyoshi Nakada at [DevelopersMeeting20150514Japan](https://docs.google.com/document/u/1/d/1kEsXwy0X046Z0RqsvWv6O-gJ-tLY91Mc0vDHYZoJE1M/pub)
> akr: “contain” is too general. “subhash”?
... -
11:33 PM Feature #10123: Named capture groups don't set local vars when matched using ~
- Josh Cheek wrote:
> Broken when using `~`:
> ...
Similarly, these do not set the local variable.
~~~
$ echo ' josh' | ruby -ne '/(?<initial>\w)/ !~ $_ or puts initial'
$ echo ' josh' | ruby -ne '$_[/(?<initial>\w)/] and puts initi... -
10:34 PM Bug #10996: Inline if statements should hoist variables.
- Yukihiro Matsumoto wrote:
> The fundamental rule is that local variables are defined by the first assignment. For consistency, I will not bend this rule for if modifiers.
> ...
That's why it seems like this should be turned on, since i... - 09:17 PM Revision 9801be68 (git): * 2015-11-04
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52436 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:17 PM Feature #11647 (Closed): [PATCH] include/ruby/ruby.h (struct RObject): hide iv_index_tbl type - Applied in changeset r52435.
----------
include/ruby/ruby.h (struct RObject): hide iv_index_tbl type
This is an implementation detail and should not be exposed to
C extension users. We may change this to id_table soon; and
id_table sh... -
03:48 AM Feature #11647 (Closed): [PATCH] include/ruby/ruby.h (struct RObject): hide iv_index_tbl type
- This is an implementation detail and should not be exposed to
C extension users. We may change this to id_table soon; and
id_table should not be exposed as a public API.
It is highly unlikely any existing C extensions require this;... - 09:16 PM Revision 2f418fb3 (git): include/ruby/ruby.h (struct RObject): hide iv_index_tbl type
- This is an implementation detail and should not be exposed to
C extension users. We may change this to id_table soon; and
id_table should not be exposed as a public API.
It is highly unlikely any existing C extensions require this;
so ... -
05:47 PM Bug #11412: The default filename encoding causes errors on Windows
- I'd like to see this issue reopened.
The solution of specifying UTF-8 explicitly works, but this should be the default for Ruby on Windows. Two reasons:
1) This is a serious usability issue. It took me half an hour to work this out... -
05:03 PM Bug #11652 (Closed): Bug after running 'next' during binding.pry in a rails project
- ```
[1] pry(#<WarehouseRowReader::#country>)> next
test/services/importers/warehouse_row_reader_test.rb:13: [BUG] Segmentation fault at 0x00000000000000
ruby 2.2.3p173 (2015-08-18 revision 51636) [x86_64-darwin15]
```
-
01:28 PM Bug #11644: Since r52055, TestMkmf::TestConvertible failed on Solaris 10 with fcc
- コマンドラインは正常だったので、やはりWarningが出たのが原因のようです。
以下のようにキャストするとFailureは出なくなりました。
(三項演算子のどちらか片方だけのキャストではダメでした。)
しかし、古いバージョンのコンパイラのバグっぽい挙動のために、全環境でキャストを入れるのは、
将来の型変更時のミス等を隠蔽するため有害な気がするので、
#ifdef 等で環境・コンパイラを限定してキャストするのがよいかと思っています。
~~~
--- ... -
07:57 AM Bug #11644: Since r52055, TestMkmf::TestConvertible failed on Solaris 10 with fcc
- Naohisa Goto wrote:
> あるいは、コンパイラへのオプションが mkmf.rb 内部で削られて、32ビットモードでコンパイルしている可能性はあるかもしれません。
> ...
出してたはずと思ったら出てませんでした。
r52431で試してみてください。 -
05:02 AM Bug #11644: Since r52055, TestMkmf::TestConvertible failed on Solaris 10 with fcc
- > それにVALUEがunsigned longとは違うということはIL32P64コンパイラでしょうか。
いいえ、LP64 です。
コンパイラは `const VALUE *` と `const unsigned long *` が incompatible と主張していますが、そんなことはないはずなので、この点に関しては、コンパイラのバグかもしれません。
あるいは、コンパイラへのオプションが mkmf.rb 内部で削られて、32ビットモードでコンパイ... -
01:24 PM Revision 3a67ca1e (git): test_gdbm.rb: teardown
- * test/gdbm/test_gdbm.rb (teardown): show hidden files.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52434 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:42 PM Feature #11650: Add custom error message arg to Timeout.timeout
- Sounds reasonable.
-
10:27 AM Feature #11650 (Closed): Add custom error message arg to Timeout.timeout
- Now Timeout.timeout can accept custom error message:
~~~ruby
Timeout.timeout(30, CustomException, “custom_message”)
~~~
This option might be useful for networking:
~~~ruby
# net/smtp.rb#do_start
Timeout.timeout(30, Net::Open... -
12:15 PM Revision e0d6328f (git): test_timeout.rb: exact messages
- * test/test_timeout.rb (test_rescue_exit, test_custom_exception):
assert with exact messages.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52433 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:18 AM Revision ce58200f (git): test_gdbm.rb: teardown
- * test/gdbm/test_gdbm.rb (teardown): show tmpdir contents if
failed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52432 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:17 AM Misc #11649 (Closed): [Refactor] Use `rb_method_visibility_t` instead of `int` in `rb_print_undef`
- See also https://github.com/ruby/ruby/pull/1078.
Same as `rb_print_inaccessible`, change `rb_print_undef` to use `rb_method_visibility_t`.
Please let me merge this patch. -
07:52 AM Revision 6d57a526 (git): mkmf.rb: log messages
- * lib/mkmf.rb (xsystem, xpopen, egrep_cpp, pkg_config): log
messages to the log file too.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52431 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:44 AM Bug #11648 (Closed): Undocumented features of String#oct
- String#oct will adjust the base of the stringy number being converted to 2 (if prefixed with 0B), 8 (also the default, if prefixed with 0O), 10 (if prefixed with 0D), or 16 (if prefixed with 0X). Much to my surprise this behavior is not ...
-
07:06 AM Feature #11643: A new method on Hash to grab values out of nested hashes, failing gracefully
- dam i begun to like that "params.?[:order]" bad that it got reverted :/
i think the problem is that it might parse "?[" as a char or something? -
06:21 AM Feature #11643: A new method on Hash to grab values out of nested hashes, failing gracefully
- I prefer method way to (already reverted) `params.?[:order].?[:shipping_info].?[:country]`.
I am not sure `dig` is the best name for it. It's short, concise thought.
Any other idea, anyone?
Matz.
-
06:56 AM Bug #11598: Ruby crash when I run calabash-android
- Where I can find more log information when it occurred? I can only find the error info on dos screen. Attachment is the ruby lib I have installed
-
03:38 AM Bug #11384: multi-threaded autoload sometimes fails
- shugo@ruby-lang.org wrote:
> It's still running beyond 49,000 times on my notebook, which sleeps at night.
> I'll inform you if any error occurs.
Actually, I've managed to reproduce around 47,000 times.
So my patch (r52332) seems ... -
12:27 AM Revision a3ee54f8 (git): parse.y: revert lbracket
- * parse.y (lbracket): remove .? before aref. [Feature #11537]
revert r52422 and r52424
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52430 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
11/02/2015
-
11:28 PM Bug #11644 (Feedback): Since r52055, TestMkmf::TestConvertible failed on Solaris 10 with fcc
- r52055のinclude/ruby/ruby.h:2003は
~~~c
RARRAY(a)->as.ary : RARRAY(a)->as.heap.ptr;
~~~
でどちらも`const VALUE *`のはずですが…。
それに`VALUE`が`unsigned long`とは違うということはIL32P64コンパイラでしょうか。 -
11:36 AM Bug #11644 (Closed): Since r52055, TestMkmf::TestConvertible failed on Solaris 10 with fcc
- r52055以降、Solaris 10 上の古いfcc (Fujitsu C Compiler) にてコンパイルすると、
make test-all にて
TestMkmf::TestConvertible#test_typeof_builtin
TestMkmf::TestConvertible#test_typeof_typedef
がfailureになります。
長いのでFailure部分のログはファイル(r52055-failure.log)にて添付... -
11:17 PM Feature #9696: More Flexible Refinement Syntax
- Another alternative is to slightly abuse the fact that refinements are also modules:
~~~
module Refinement
Behaviour = refine Target do
def new_method
'facets-supplied-behaviour'
end
end
end
~~~
To use as ... -
11:13 PM Feature #9696: More Flexible Refinement Syntax
- It *might* be possible to support both monkey-patching and refinements with a combination of modules, using prepend and refine:
~~~
class Target
end
# actual code
module Behaviour
def new_method
'facets-supplied behaviou... -
11:08 PM Revision b907c6e9 (git): keywords: make name singed
- * defs/keywords (kwtable::name): turn into singed int, as gperf
fills invalid slots with -1.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52429 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 10:18 PM Revision b147b5a3 (git): id_table: const correctness for _size and _memsize
- This allows us to swap in rb_id_table_memsize for st_memsize
(which takes a "const st_table *") more easily.
It also makes sense to do the same for rb_id_table_size,
too; as the table cannot be altered when accessing size.
* id_table.h... - 09:50 PM Revision ca86c3ab (git): variable.c: remove casts for rb_class_ivar_set callers
- Casting any arguments of rb_class_ivar_set to st_data_t is wrong
as the function does not take any st_data_t parameters anymore.
There's no functional change, as ID, VALUE, and st_data_t are
all the same type, but this reduces confusion ... - 09:26 PM Revision 5aef9e1d (git): variable.c (rb_global_tbl): convert to id_table
- Mainly this is to reduce casting a tiny amount; and
probably nothing depends on the order of globals.
Likely no measurable memory usage improvement as globals
are not common, but maybe some weird code out there benefits.
git-svn-id: svn... -
08:36 PM Feature #11643: A new method on Hash to grab values out of nested hashes, failing gracefully
- Matthew Kerwin wrote:
> How about:
> ...
Thanks Matthew, I'll be honest, I hadn't thought of that. There is a certain appeal in avoiding adding a new method on Hash. On the other hand, by adding a new method we can more easily and more... -
04:07 AM Feature #11643: A new method on Hash to grab values out of nested hashes, failing gracefully
- How about:
params.?[:order].?[shipping_info].?[country] -
02:04 AM Feature #11643 (Closed): A new method on Hash to grab values out of nested hashes, failing gracefully
- (I posted this to the mailing list last year [0] and received no response, but am inspired to file an issue here based on the positive reception to https://bugs.ruby-lang.org/issues/11537 )
This comes up sometimes in Rails programming... -
05:10 PM Bug #11645 (Closed): Since r52422, failed to compile parse.y on Solaris 10 with Oracle Solaris Studio 12.3
- Applied in changeset r52424.
----------
* parse.y (NO_QCALL): fix type mismatch of operands that causes
compile error with Oracle Solaris Studio on Solaris.
[Bug #11645] [ruby-dev:49327] -
04:07 PM Bug #11645 (Closed): Since r52422, failed to compile parse.y on Solaris 10 with Oracle Solaris Studio 12.3
- Solaris 10 にて、 Oracle Solaris Studio 12.3 にて、parse.y (から生成された parse.c)のコンパイルに失敗します。
~~~
ruby --disable=gems ./tool/id2token.rb --path-separator=.:./ --vpath=.ext/include/sparc64-solaris2.10/ruby:./include/ruby:./missing id.h parse.y ... - 05:10 PM Revision 295135be (git): * 2015-11-03
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52425 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:10 PM Revision 71c972c0 (git): * parse.y (NO_QCALL): fix type mismatch of operands that causes
- compile error with Oracle Solaris Studio on Solaris.
[Bug #11645] [ruby-dev:49327]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52424 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 11:10 AM Revision e802ec51 (git): * 2015-11-02
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52423 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:07 AM Revision dbf73f6f (git): parse.y: lbracket
- * parse.y (lbracket): support .? before aref. [Feature #11537]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52422 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:58 AM Feature #8976 (Open): file-scope freeze_string directive
- Quoted from
log: https://docs.google.com/document/d/1axnQv1A2SdRExw--_RzXXJAPrRyvN7MCIB0WrKcZaSE/pub
of https://bugs.ruby-lang.org/projects/ruby/wiki/DevelopersMeeting20151021Japan
```
Decide whether -*- should be required for fro... -
09:56 AM Bug #11452 (Third Party's Issue): Stability issues with glibc-2.22
- The glibc-new-condvar.patch which was causing the issues was dropped from Fedora [1], so this should be resolved for now, unless this will get reintroduced into upstream.
[1] http://pkgs.fedoraproject.org/cgit/glibc.git/commit/?id... -
01:57 AM Misc #11584 (Closed): Kernel::loop silently catching StopIteration, should be documented
- r52218 added documentation about Kernel#loop and StopIteration.
11/01/2015
-
08:17 AM Revision 840e6b63 (git): * id_table.c (mix_id_table_insert): do not touch list during
- list->hash transition because GC can run during transition.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52421 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:50 AM Revision 9f37449f (git): ruby-runner.c.in: trivial optimization
- * template/ruby-runner.c.in (main): trivial optimization.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52420 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 02:13 AM Revision 513d8b34 (git): iseq.c (iseq_memsize): account for rb_call_cache entries
- Add some comments to clarify the allocated field used for the
allocations while we're at it.
TODO: figure out a better way of testing/maintaining this...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52419 b2dd03c8-39d4-4d8f-98ff-8... -
12:44 AM Bug #11642 (Rejected): Thread List Example - Wrong Output
- Just depends on the time the second thread needs.
-
12:12 AM Revision 7484d07c (git): parse.y: invalid symbol
- * parse.y (parser_yylex): ':' separated by a comment and a newline
is not valid as symbol.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52418 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
10/31/2015
-
11:39 PM Revision 1a2a4084 (git): tcltklib.c: basename
- * ext/tk/tcltklib.c (setup_rubytkkit): use ruby_enc_find_basename
if available, instead of File.basename.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52417 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 11:34 PM Revision 753ee6ac (git): * 2015-11-01
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52416 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:34 PM Revision 48a66a58 (git): ruby-runner: RUBY_INSTALL_NAME
- * Makefile.in (ruby-runner), template/ruby-runner.c.in: use
expanded RUBY_INSTALL_NAME, not RUBY_BASE_NAME.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52415 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:56 PM Bug #11367: Use OP_NO_TICKET when testing SSL session cache callbacks
- r51569 and r51649 were backported into `ruby_2_2` branch at r52414.
-
06:56 PM Bug #11366: Don't force SSLv3 in test, as it is insecure and may not be supported
- r51569 and r51649 were backported into `ruby_2_2` branch at r52414.
-
06:55 PM Revision a8b1b529 (git): merge revision(s) 51569,51649: [Backport #11366] [Backport #11367]
- test_ssl_session.rb: check SSL method
* test/openssl/test_ssl_session.rb (test_ctx_server_session_cb):
ensure the method to be tested is supported.
* test/openssl/test_ssl_session.rb: Fix tests so that they take in to
... -
06:43 PM Bug #10046: OpenSSL::TestSSLSession#test_ctx_server_session_cb and OpenSSL::TestSSLSession#test_ctx_client_session_cb test failures
- Backported into `ruby_2_2` branch at r52413.
-
06:42 PM Revision a5a5494d (git): merge revision(s) 49099: [Backport #10046]
- * test/openssl/test_ssl_session.rb (OpenSSL#test_ctx_client_session_cb):
fix test failure with OpenSSL disabled SSLv3 protocol.
[ruby-core:63772] [Bug #10046]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/rub... -
01:51 PM Bug #11642 (Rejected): Thread List Example - Wrong Output
- http://ruby-doc.org/core-1.9.3/Thread.html
list → array click to toggle source
Returns an array of Thread objects for all threads that are either runnable or stopped.
~~~ruby
Thread.new { sleep(200) }
Thread.new { 1000000.times ... -
11:16 AM Revision a8438d30 (git): * test/openssl/test_pair.rb: skipped tests if openssl doesn't support
- ECDH cipher.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52412 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:22 AM Revision bd362b70 (git): mdoc2man.rb: colon in quotes
- * tool/mdoc2man.rb (parse_macro): colon should not pop quotes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52411 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:22 AM Revision eef8b3fc (git): optional arguments
- * man/ruby.1 (SYNOPSIS): arguments of -F and -K are optional.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52410 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:02 AM Revision fb1c8834 (git): remove extraneous space
- * man/ruby.1 (SYNOPSIS): remove extraneous space for -K option
too.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52409 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:58 AM Bug #11641 (Closed): ruby(1) manpage shows extraneous space for -F option
- Applied in changeset r52408.
----------
remove extraneous space
* man/ruby.1 (SYNOPSIS): remove extraneous space for -F option as
it does not allow spaces before its argument.
[ruby-core:71283] [Bug #11641] -
04:12 AM Bug #11641 (Closed): ruby(1) manpage shows extraneous space for -F option
- The manual page for the ruby executable describes the -F option as:
~~~
-F pattern Specifies input field separator ($;).
~~~
This (and the corresponding item in the synopsis) should be `-Fpattern`, with no space. The ou... -
05:58 AM Revision afde5975 (git): remove extraneous space
- * man/ruby.1 (SYNOPSIS): remove extraneous space for -F option as
it does not allow spaces before its argument.
[ruby-core:71283] [Bug #11641]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52408 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:55 AM Revision 9cd5c850 (git): ruby.1: fix --enable/disable
- * man/ruby.1: missing Fl before --{enable|disable}.
* tool/mdoc2man.rb (parse_macro): supprot braces, Bro and Brc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52407 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:19 AM Revision a2756437 (git): test_super.rb: test_missing_super
- * test/ruby/test_super.rb (test_missing_super): test for the
simple case super method is not found.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52406 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:01 AM Revision abbe73bf (git): revert r52402
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52405 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:54 AM Revision c8caec54 (git): vm_insnhelper.c: get rid of copying garbage
- * vm_insnhelper.c (vm_call_method_missing): get rid of extra
garbage after argv.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52404 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:18 AM Revision 1c89b6bd (git): test_exception.rb: get rid of did_you_mean
- * test/ruby/test_exception.rb (test_message_of_name_error): get
rid of failure caused by did_you_mean message.
[ruby-core:71282] [Bug #11640]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52403 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:32 AM Revision f5b2da3a (git): * vm_insnhelper.c (vm_search_super_method): do not touch `ci' here.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52402 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:25 AM Revision 9b183482 (git): tcltklib.c: GC guard
- * ext/tk/tcltklib.c (setup_rubytkkit): add GC guard instead of
volatile.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52401 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:23 AM Bug #11640 (Closed): [PATHC] Sometime `NameError#message` raises `ArgumentError: malformed format string - %$`
- Applied in changeset r52400.
----------
eval_error.c: Fix a format of `NameError#message`
* eval_error.c (undef_mesg_for): fix typo. Before this commit
`ArgumentError: malformed format string - %$` was raised when
`NameError#messa... -
01:22 AM Revision ce7f8287 (git): eval_error.c: Fix a format of `NameError#message`
- * eval_error.c (undef_mesg_for): fix typo. Before this commit
`ArgumentError: malformed format string - %$` was raised when
`NameError#message` is called. [ruby-core:71282] [Bug #11640]
[Fix GH-1077]
git-svn-id: svn+ssh://ci.rub... -
01:02 AM Revision 9d64a542 (git): internal.h: RUBY_DTRACE_HOOK
- * internal.h (RUBY_DTRACE_HOOK): extract from
RUBY_DTRACE_CREATE_HOOK for other type hooks.
* gc.c (RUBY_DTRACE_GC_HOOK): ditto.
* parse.y (RUBY_DTRACE_PARSE_HOOK): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52399 b2dd... -
01:02 AM Revision 1546ffed (git): use rb_source_loc and rb_source_location
- * error.c, eval.c, eval_error.c, gc.c, variable.c, vm.c,
vm_eval.c, vm_trace.c: use rb_source_loc/rb_source_location
instead of combination of rb_sourcefile/rb_sourcefilename and
rb_sourceline.
git-svn-id: svn+ssh://ci.ruby-lang.o... -
12:17 AM Revision 954224f3 (git): vm.c: initialize line always
- * vm.c (rb_source_location): reset line to 0 if no location is
found.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52397 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 12:02 AM Revision 7e9a86ea (git): * 2015-10-31
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52396 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:02 AM Revision e7122333 (git): ignore dump terminal
- * tool/generic_erb.rb, tool/ifchange: no colorization if tput
returned nothing or dump terminal.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52395 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
10/30/2015
-
04:22 PM Bug #11640 (Closed): [PATHC] Sometime `NameError#message` raises `ArgumentError: malformed format string - %$`
- ```ruby
def test_message_of_name_error
begin
Module.new do
module_function :foo
end
rescue => e
error = e
end
assert_match /\Aundefined method `foo' for module `#<Module:.*>'\z/, err... -
02:35 PM Feature #11639 (Closed): Refactor some description of `Forwardable`
- See https://github.com/documenting-ruby/ruby/issues/57
Some `Forwardable` description doesn't scan correctly, this refactors that. -
01:40 PM Revision 8db48b11 (git): fix a typo [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52394 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:14 PM Revision 833dcacd (git): * gems/bundled_gems: update to power_assert 0.2.5.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52393 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:30 AM Revision a96ae767 (git): * gc.c (newobj_slowpath): do not need to use flags hack (commit miss).
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52392 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:18 AM Revision 8ced6af8 (git): explicitly overwrite signal handling
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52391 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:09 AM Revision e3e5d634 (git): * gc.c (heap_get_freeobj_from_next_freepage): not so UNLIKELY.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52390 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:47 AM Bug #11638 (Closed): [doc] misleading IO.write offset description
- "If offset is not given, the file is truncated. Otherwise, it is not truncated."
The above is NOT true when 'a' mode is used. I'd suggest to clarify in documentation that offset is usually 0 if not specified but in 'a' mode it is at e... -
09:33 AM Revision b872ad58 (git): * gc.c (newobj_slowpath): reduce 1 parameter to use only registers
- for performance.
On my laptop, 'N.times{x = []}' (where N = 29_000_000) is
1.86 sec -> 1.74 sec.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52389 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:21 AM Bug #11501: About priority of a hash element when using {**hash1, **hash2} literal
- wanabe san, thank you for your investigation!
According to #10315, It's intentional change.
I'll add comment for it in NEWS in ruby_2_2 and doc/NEWS-2.2.0 in trunk.
-
07:17 AM Revision 0445b5f6 (git): test/fiddle: revert r52384 partially
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52388 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:04 AM Bug #11343: random.c: getrandom compile error with clang
- Please backport r51242 to 2.2.
-
07:01 AM Revision b3602a54 (git): set as binary before gsub
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52387 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:45 AM Bug #11637 (Closed): SEGV
-
06:24 AM Bug #11637: SEGV
- duplicate of Bug #11610
-
05:46 AM Bug #11637 (Closed): SEGV
- ~~~ruby
ARGV << nil
ARGF.each{}
~~~
SEGVでます -
05:55 AM Revision 3077816c (git): show parent process's signal mask from child process
- Because this tests raises timeout on failure, and it doesn't
reach assertions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52386 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:30 AM Revision a4a29af2 (git): Old linux's default hard rlimit_nofile is 1024
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52385 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:37 AM Revision 068f312a (git): use assert_raise
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52384 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:56 AM Revision a2845a44 (git): * test/ruby/test_call.rb: added test for safe navigation operator.
- [fix GH-1066]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52383 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:49 AM Revision 8af12307 (git): * ChangeLog: fix wrong commit name.
- Fri Oct 30 12:36:16 2015 yui-knk <spiketeika@gmail.com>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52382 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:36 AM Revision 8d4dff2c (git): * vm_method.c: added documentation of protected/private methods.
- [fix GH-1072]
* test/ruby/test_module.rb: added testcase for method_defined?
[fix GH-1071]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52381 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:07 AM Revision 6f77d0a3 (git): variable.c: rb_class_ivar_set
- * variable.c (rb_class_ivar_set): rename as class specific ivar
setter, and st_table is no longer involved.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52380 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:02 AM Revision a96626e6 (git): test_object.rb: add more checks
- * test/ruby/test_object.rb (test_remove_instance_variable): refine
failure message and check the name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52379 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 02:37 AM Revision 0a9f20ae (git): variable.c (generic_ivar_remove): return original value
- This fixes a bug introduced in r50678
("variable.c: use indices for generic ivars")
and does not affect any released version of Ruby
* variable.c (generic_ivar_remove): adjust type, set valp
(rb_obj_remove_instance_variable): simplify... -
02:31 AM Revision fc8416ab (git): test_gc.rb: fix failure message
- * test/ruby/test_gc.rb (test_interrupt_in_finalizer): append
signal info to stderr outputs in a proc, not to a proc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52377 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:12 AM Bug #11635 (Rejected): super in instance_eval in a method defined in a module is invoked with a wrong receiver
-
02:09 AM Bug #11635 (Rejected): super in instance_eval in a method defined in a module is invoked with a wrong receiver
- super in instance_eval in a method defined in a module is invoked with a wrong receiver:
```
class Foo
def initialize
@foo = :foo
end
def foo
p [self, @foo]
end
end
module M
def foo
x = Object.ne... -
02:11 AM Bug #11636 (Closed): super in instance_eval in a method defined in a module is invoked with a wrong receiver
- super in instance_eval in a method defined in a module is invoked with a wrong receiver:
```ruby
class Foo
def initialize
@foo = :foo
end
def foo
p [self, @foo]
end
end
module M
def foo
x = Object.... -
01:58 AM Revision bb87df3e (git): show child and parent signal mask
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52376 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:57 AM Revision 89d0720e (git): use spawn's option to shorten the code
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52375 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 01:40 AM Revision a666e9b5 (git): variable.c (rb_st_insert_id_and_value): reduce args
- Minor simplification; this will hopefully make future patches
for switching to id_table easier-to-review.
* internal.h (rb_st_insert_id_and_value): update prototype
* variable.c (rb_st_insert_id_and_value): reduce args
(find_class_pat... -
12:57 AM Revision 57880d7e (git): * gems/bundled_gems: update latest gems.
- test-unit-3.1.5 and minitest-5.8.2
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52373 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:54 AM Revision e00d5437 (git): * lib/rubygems: Update to RubyGems HEAD(60d7972).
- this version contains pull requests number of #1343, #1356, #1357, #1363
at https://github.com/rubygems/rubygems/pulls
* test/rubygems: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52372 b2dd03c8-39d4-4d8f-98ff-823fe69b080e