Activity
From 09/07/2016 to 09/13/2016
09/13/2016
-
11:49 PM Bug #12758: Error when passing Hash construction to function
- This is in FAQ.
Please see http://ruby-doc.org/docs/ruby-doc-bundle/FAQ/FAQ.html#s6 : "6.7 Why can't I pass a hash l... -
05:11 PM Bug #12758 (Rejected): Error when passing Hash construction to function
- I apologize if this is a known issue but I couldn't find it in the search.
If you have a function that can take ... - 10:22 PM Revision 202bbda2 (git): * 2016-09-14
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56159 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:22 PM Revision d51aea54 (git): * hash.c (each_pair_i_fast): use rb_yield_values2 to avoid var args.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56158 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:55 PM Bug #12548: Rounding modes inconsistency between round versus sprintf
- Ah - looks like the ReXML docs don't need to change. The round-even mode Ruby uses is still referred to as "round to ...
-
05:12 PM Feature #12744: Add str.reverse_each_char and str.reverse_chars
- Shyouhei Urabe wrote:
> I doubt if we can make a reverse_each_char which is faster than reverse.each_char. It ls no... -
12:21 AM Feature #12744: Add str.reverse_each_char and str.reverse_chars
- I doubt if we can make a reverse_each_char which is faster than reverse.each_char. It ls not always clear where is a...
-
03:51 PM Feature #12752: Unpacking a value from a binary requires additional '.first'
- There is more concise way:
length, = str.unpack('C')
You cannot use this in a method chain, though.
I ac... -
12:46 PM Feature #12754: Want to use prepared buffer with `Array#pack`
- `Array#pack` provides `@` for `offset`.
-
12:33 PM Revision 00fcd967 (git): string.c: avoid signed integer overflow
- The behavior on signed integer overflow is undefined. On platform with
sizeof(long)==4, it's fairly easy that 'len + ... -
12:33 PM Revision 2f551849 (git): Use PRIuSIZE format specifier for size_t values
- Use PRIuSIZE instead of PRIdSIZE. This fixes the exception message shown
on too large xmalloc2. This commit also fixe... -
12:28 PM Revision eaba7715 (git): string.c: rename STR_EMBEDABLE_P to STR_EMBEDDABLE_P
- * string.c (STR_EMBEDDABLE_P): Renamed from STR_EMBEDABLE_P(). And use
it in more places.
git-svn-id: svn+ssh://ci... -
12:26 PM Revision df1c68b2 (git): README{,.ja}.md: Drop support for BeOS now that Haiku is stable since 2.3.0. [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56154 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:26 PM Revision 21edae75 (git): fix a typo [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56153 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:26 PM Revision 24afa398 (git): fix unbalanced backquote [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56152 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:11 PM Revision 2608f7d9 (git): string.c: STR_EMBEDABLE_P
- * string.c (STR_EMBEDABLE_P): extract the predicate macro to tell
if the given length is capable in an embedded str... -
09:39 AM Revision d4faa101 (git): * test/ruby/test_exception.rb: fix thread issues.
- * use Queue instead of a local variable for synchronization.
* join created thread to soleve leaking threads warnin... -
08:12 AM Revision 8a647876 (git): string.c: fix integer overflow
- * string.c (rb_str_change_terminator_length): fix integer overflow
in the case growing the terminator length and th... -
07:36 AM Feature #6647: Exceptions raised in threads should be logged
- Responding to 2.4.0-preview2 announcement on ruby-core. I have the opinion that a good default for Thread.report_on_e...
-
07:10 AM Feature #12694: Want a String method to remove heading substr
- Naotoshi Seo wrote:
> Python lstrip http://www.tutorialspoint.com/python/string_lstrip.htm takes character classes... -
07:08 AM Bug #12757 (Closed): Wrong overflow check in rb_str_set_len()
- Applied in changeset r56148.
----------
string.c: fix buffer overflow check condition in rb_str_set_len()
* string.... -
07:05 AM Bug #12757 (Closed): Wrong overflow check in rb_str_set_len()
- string.c:
~~~c
void
rb_str_set_len(VALUE str, long len)
{
long capa;
const int termlen = TERM_LEN(str... -
07:08 AM Revision be3baa43 (git): string.c: fix buffer overflow check condition in rb_str_set_len()
- * string.c (rb_str_set_len): The buffer overflow check is wrong. The
space for termlen is allocated outside the cap... -
05:59 AM Revision b4d0e5a4 (git): openssl: workaround for Ubuntu's patched OpenSSL
- * test/openssl/test_ssl.rb (test_ctx_options): Add a workaround for
patched OpenSSL to fix the Ruby CI failure on U...
09/12/2016
-
09:11 PM Misc #12756 (Closed): Increase test coverage and stylistic changes for URI::HTTP
- Hello,
I increase test coverage for URI::HTTP class. Also I added some stylistic changes to code and documentation.
... -
09:04 PM Revision a2879ac2 (git): * common.mk (benchmark): fix lib path.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56146 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:58 PM Feature #12744: Add str.reverse_each_char and str.reverse_chars
- Martin Dürst wrote:
> What about using
>
> `str.reverse.chars` for `string.reverse_chars`?
>
> It allocates so... -
03:40 PM Feature #12364 (Closed): Copy superclass serial number to singleton subclasses for better IMC hits
- Applied in changeset r56144.
----------
Copy the serial number from the super class to the singleton class
This hel... - 03:40 PM Revision 332723a2 (git): * properties.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56145 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:40 PM Revision c4c53310 (git): Copy the serial number from the super class to the singleton class
- This helps hit inline method caches more frequently. Before this
commit:
```
[aaron@TC ruby (trunk)]$ time ./ruby -... - 03:16 PM Revision fd8fa1b2 (git): * 2016-09-13
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56143 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 03:16 PM Revision 774442d2 (git): * time.c (time_arg): guard for mswin64 CI.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56142 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:05 AM Feature #12755 (Open): optimize instruction sequence
- I'd like to propose Ruby to have a infrastructure optimizing its execution.
My implementation and detailed explanati... -
06:59 AM Feature #12754 (Closed): Want to use prepared buffer with `Array#pack`
- `Array#pack` always returns new allocated `String`, but sometimes users want to use prepared buffer, especially the p...
-
06:47 AM Feature #12753 (Closed): Useful operator to check bit-flag is true or false
- Ruby's 0 is truthy value. It's useful for many cases, but it's confusing and I made many bugs when I'm writing code t...
-
06:38 AM Feature #12752 (Closed): Unpacking a value from a binary requires additional '.first'
- When I parsed a binary protocol (msgpack) by `String#unpack`, there are many similar expressions, like below:
```r... -
06:38 AM Misc #12751 (Closed): Incompatibility of Ruby 3
- META ticket for Ruby 3's breakages
* Encoding on Windows
* [Feature #12654]
* [Feature #12650] -
06:35 AM Feature #12653 (Assigned): Use wide WinAPI for rb_w32_getcwd
-
05:13 AM Feature #12733: Bundle bundler to ruby core
- Vit Ondruch wrote:
> Not only this, but the test suite also needs connection to internet to succeed. No other test... -
04:50 AM Misc #12750 (Closed): Increase test coverage for URI::MailTo
- Fixed at r56139
-
04:48 AM Revision 94bbe4f0 (git): Added missing references of github and redmine.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 04:46 AM Revision 5ffc89f6 (git): * 2016-09-12
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56140 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:46 AM Revision 52f9d387 (git): * lib/uri/mailto.rb: Removed needless `return` and use `.`` instead of `::`
- with class method.
* test/uri/test_mailto.rb: Added tests for coverage.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/... -
03:22 AM Bug #12749 (Rejected): 2.4 preview で gem をインストールできません
09/11/2016
-
10:51 PM Bug #12749: 2.4 preview で gem をインストールできません
- Preview はRuby本体だけで、zlibなどは別途用意する事と理解しました。
お手数ですが close にしていただけますか。
-
01:17 PM Bug #12749 (Rejected): 2.4 preview で gem をインストールできません
- gem をインストールしようとするとエラーになります。
zlib が足りないようですが、対処方法がわかりませんでした。
preview はやはり敷居が高いですね。
~~~
> gem list
***... -
09:05 PM Feature #12142: Hash tables with open addressing
- > So hypothetically, even
an attacker spends huge CPU time
Why not GPU time? Why not FPGA? It is really not that ... -
08:50 PM Feature #12142: Hash tables with open addressing
- Yura Sokolov wrote:
> > Still I can make a patch quickly which completely eliminates this issue
> without any slowd... -
03:54 PM Misc #12750 (Closed): Increase test coverage for URI::MailTo
- Hello,
I increase test coverage for URI::MailTo class. You can find PR in github:
https://github.com/ruby/ruby/pull... -
12:33 PM Revision a3af2d1e (git): NEWS: News about Module.used_modules.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56138 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:32 PM Revision 8cce00e0 (git): fix a typo [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56137 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:34 AM Revision c616a9fa (git): Update URL of Japanese document of net/pop
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56136 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:33 AM Revision 07efce07 (git): Use https instead of http in some URLs
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56135 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:17 AM Bug #12748 (Closed): irb の評価結果が2回表示されます
- Applied in changeset r56134.
----------
* ChangeLog: added refs. [Bug #12748] [ruby-dev:49786] -
10:02 AM Bug #12748 (Open): irb の評価結果が2回表示されます
-
10:02 AM Bug #12748: irb の評価結果が2回表示されます
- あー、なるほど、バグですね。
これは2.4から入ったコードなので2.3以前で起きないのも納得です。
直しておきます。 -
09:49 AM Bug #12748: irb の評価結果が2回表示されます
- io.c の io_fwrite() に問題があるようです。
この関数内で #ifdef _WIN32 内の、rb_w32_write_console() と、その下の io_binwrite() の両方が呼び出されるために、2... -
07:59 AM Bug #12748: irb の評価結果が2回表示されます
- あ、ソースをいじってコンパイルが試せるのであれば話が早いかもです。
`win32/win32.c`の`rb_w32_write_console`の中にある、7123行目または7132行目の
`WriteConsleW`が実際の... -
06:42 AM Bug #12748: irb の評価結果が2回表示されます
- 現在の環境で
ruby 2.3.0p0 (2015-12-25 revision 53290) [i386-mingw32]
を常用していますが、この問題は始めてです。
なお、io.c の rb_io_puts() の s... -
04:44 AM Bug #12748 (Feedback): irb の評価結果が2回表示されます
- 残念ながら、当方の手元(Win7, Win10 / vc10, vc12, vc14 / x86, x64)では再現することができませんでした。
そちらの環境では、例えば過去のバージョンのrubyでは問題はなかったのでしょうか? -
02:22 AM Bug #12748: irb の評価結果が2回表示されます
- irb ではなく、ruby の出力そのものがおかしいようです。
~~~
*****@*****-PC C:\usr\local\bin
> type test.rb
STDOUT.pu... - 10:17 AM Revision 96046868 (git): * ChangeLog: added refs. [Bug #12748] [ruby-dev:49786]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56134 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 10:08 AM Revision 73bbccf4 (git): * 2016-09-11
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56133 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 10:08 AM Revision ee0a79b3 (git): * win32/win32.c (rb_w32_write_console): should set writen length as the
- return value.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56132 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
09/10/2016
-
09:54 PM Bug #12748 (Closed): irb の評価結果が2回表示されます
- irbを実行すると次のように評価結果が2回表示されます。
副作用のある呼び出しをしても副作用そのものは1回だけ実行されているので、表示上だけの問題でないかと思います。
作成: Visual Studio 2015 Commun... -
08:28 AM Bug #12554 (Rejected): yamlに渡すファイルポインタを自分でcloseしないと動作が変
- そういうときのためにブロック付きメソッドがあるので、次のように書いてください。
open( file , 'w') {|f| YAML.dump(data , f ) } - 08:16 AM Revision d432af3d (git): * 2016-09-10
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56131 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:16 AM Revision c5d707dc (git): extension.rdoc: rb_check_arity [ci skip]
- * doc/extension.rdoc (rb_check_arity): described.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56130 b2dd03c8-3... -
06:36 AM Feature #12747 (Closed): Add TracePoint#callee_id
- # Abstract
I propose to add TracePoint#callee_id which returns the called name of the method.
~~~ruby
def m
en... -
04:33 AM Feature #12739: deprecate_constant :Fixnum, :Bignum
- I tried [this], found rake defines `Fixnum::MAX` which seems useless, and submitted a [PR] to rake.
But it fails on ... -
03:46 AM Bug #12130 (Assigned): WEBrick::HTTPProxy closes connection when the socket is not writable temporally
-
02:58 AM Feature #12744 (Feedback): Add str.reverse_each_char and str.reverse_chars
- What about using
`str.reverse.chars` for `string.reverse_chars`?
It allocates some memory, but compared to all ...
09/09/2016
-
08:59 PM Feature #12746 (Closed): class Array: alias .prepend to .unshift ?
- This code works:
array = %w( b c ) # => ["b", "c"]
array.unshift "a"
array # => ["a", ... -
07:20 PM Feature #12734: `Array#flat?`
- This is pretty trivial to implement yourself:
~~~ruby
class Array
def flat?
none?{|e|e.is_a?(Array)}
e... -
06:39 PM Feature #12142: Hash tables with open addressing
- Just news share:
Python landed same dict algo for 3.6
https://mail.python.org/pipermail/python-dev/2016-September... -
07:03 AM Feature #12142: Hash tables with open addressing
- > Still I can make a patch quickly which completely eliminates this issue
without any slowdown in my hashing for num... -
06:34 PM Feature #12745 (Feedback): String#(g)sub(!) should pass a MatchData to the block, not a String
- A simplified (and stupid) example: replace some placeholders in a string with function calls
~~~ruby
def placehol... -
04:48 PM Feature #12733: Bundle bundler to ruby core
- Hiroshi SHIBATA wrote:
> * bundler uses rspec for test suites. How to use rspec on ruby core repository?
Not onl... -
03:45 PM Feature #12744 (Feedback): Add str.reverse_each_char and str.reverse_chars
- This patch adds `str.reverse_each` and `str.reverse_chars`. It's currently not really possible to iterate a Ruby stri...
-
02:25 PM Bug #12743 (Closed): throw(false) does not work as expected
- I expect UncaughtThrowError for these examples:
~~~
$ ruby -e'throw false'
-e: unexpected throw
$ ruby -e'Fiber... -
01:44 PM Revision d0c717e4 (git): * gems/bundled_gems: sort lines.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56127 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:09 PM Bug #12742 (Closed): backport r56117 (fix private constant message) and r56118 (fix deprecated constant message)
- バックポート管理用チケットです。
-
09:27 AM Revision 7f6410f0 (git): json_generator_test.rb: no Bignum
- * test/json/json_generator_test.rb (test_broken_bignum): get rid
of use of Bignum, obsolete name.
git-svn-id: svn+... -
08:59 AM Bug #12741 (Closed): Timeout with specified exception class sets cause on error if timeout block is handling an exception when timeout occurs
- Applied in changeset r56125.
----------
thread.c: set cause by Thread#raise
* thread.c (rb_threadptr_raise): set ca... -
08:59 AM Revision 646c5389 (git): thread.c: set cause by Thread#raise
- * thread.c (rb_threadptr_raise): set cause from the called thread,
but not from the thread to be interrupted.
[ru... -
04:50 AM Revision b5f3a113 (git): fix file names [ci skip]
- * doc/extension.rdoc, doc/extension.ja.rdoc: fix file name.
pointed out by @takkanm in the RubyKaigi talk.
git-svn... -
04:14 AM Revision 4915ce69 (git): * News: Announcing update to Unicode version 9.0.0 [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56123 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:08 AM Feature #12086: using: option for instance_eval etc.
- Charles Nutter wrote:
> > Yes, you'll get unexpected results in this case.
>
> I think you'd get unexpected resul... -
01:20 AM Feature #12086: using: option for instance_eval etc.
- > Yes, you'll get unexpected results in this case.
I think you'd get unexpected results in my original case too, w... -
03:02 AM Revision 4785df55 (git): object.c: update rdoc
- * object.c (InitVM_Object): update rdoc of NIL/TRUE/FALSE, and use
rb_deprecate_constant.
git-svn-id: svn+ssh://ci... -
03:02 AM Revision e6a260ec (git): variable.c: rb_deprecate_constant
- * variable.c (rb_deprecate_constant): new function to deprecate a
constant by the name.
git-svn-id: svn+ssh://ci.r... -
01:10 AM Revision 6054e6d6 (git): variable.c: fix deprecated constant message
- * variable.c (rb_const_search): warn with the actual class/module
name which defines the deprecated constant.
git-... -
01:07 AM Revision a3cc3cc5 (git): variable.c: fix private constant message
- * variable.c (rb_const_search): raise with the actual class/module
name which defines the private constant.
git-sv... - 12:49 AM Revision bef96f5a (git): * 2016-09-09
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56116 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:49 AM Revision 258cbd5e (git): e2mmap.rb: remove legacy code
- * lib/e2mmap.rb (Exception2MessageMapper::E2MM.def_exception):
remove legacy code. Symbol is no longer a number al...
09/08/2016
-
11:40 PM Feature #12086: using: option for instance_eval etc.
- Charles Nutter wrote:
> Yes, it appears that every call to instance_eval(using: Foo ...) blows away the global metho... -
11:36 PM Feature #12086: using: option for instance_eval etc.
- Charles Nutter wrote:
> I have threading concerns.
>
> ```ruby
> module X; refine Fixnum do; def +(x); puts "X r... -
11:27 PM Feature #12086: using: option for instance_eval etc.
- Thomas Enebo wrote:
> What is the scope of instance_eval here? Can I do:
The answer is yes, in my original propo... -
08:23 PM Bug #12741 (Closed): Timeout with specified exception class sets cause on error if timeout block is handling an exception when timeout occurs
- If `Timeout.timeout` is called with an exception class explicitly specified in the second argument, then if a timeout...
-
03:36 PM Misc #12740 (Closed): Document OpenSSL::SSL::SSLSocket hostname attribute for SNI (Server Name Indication) Support
- Thank you for reporting! There are already RDoc comments but it looks like RDoc couldn't find them.
Now they show ... -
02:44 PM Misc #12740 (Closed): Document OpenSSL::SSL::SSLSocket hostname attribute for SNI (Server Name Indication) Support
- I've been adding SNI support to the MongoDB Ruby driver and I've had to use the *hostname* attribute of a SSLSocket. ...
-
02:42 PM Feature #12739 (Closed): deprecate_constant :Fixnum, :Bignum
- How about `class Object; deprecate_constant :Fixnum, :Bignum; end`?
* naruse supports: https://twitter.com/nalsh/s... -
08:59 AM Revision e7209358 (git): io.c: check if Integer
- * io.c (rb_file_initialize): check if fd is an Integer but not a
Fixnum.
git-svn-id: svn+ssh://ci.ruby-lang.org/ru... -
08:56 AM Bug #12738 (Closed): Array#flattenで特異クラスが引き継がれる
- Applied in changeset r56111.
----------
* array.c (flatten): use rb_obj_class instead of rb_class_of
because rb_cl... -
08:51 AM Bug #12738 (Closed): Array#flattenで特異クラスが引き継がれる
- Array#flattenで生成されたオブジェクトがflattenのレシーバと特異クラスを共有してしまっています。
~~~ruby
a = []
class << a
def m; :m; end
end
p a.... -
08:56 AM Revision 1f8765bb (git): * array.c (flatten): use rb_obj_class instead of rb_class_of
- because rb_class_of may return a singleton class.
[ruby-dev:49781] [Bug #12738]
git-svn-id: svn+ssh://ci.ruby-lang... -
08:40 AM Revision 19f62454 (git): rbinstall.rb: gem bindir
- * tool/rbinstall.rb (gem): use the bindir of each gemspec instead
of hardcoded 'bin', since rdoc 5.0.0 overrides it... -
07:49 AM Feature #7418 (Closed): Kernel#used_refinements
- Applied in changeset r56109.
----------
* eval.c (rb_mod_s_used_modules): rename Module.used_refinements to
Module... -
07:42 AM Feature #7418: Kernel#used_refinements
- Shugo Maeda wrote:
> `Module.used_modules` might be a better name, because a module can have more than one refinemen... -
05:18 AM Feature #7418 (Open): Kernel#used_refinements
- > Module.used_refinements accepted.
`Module.used_modules` might be a better name, because a module can have more t... -
07:49 AM Revision 5fac45dc (git): * eval.c (rb_mod_s_used_modules): rename Module.used_refinements to
- Module.used_modules. [Feature #7418] [ruby-core:49805]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56109 b2dd... -
07:43 AM Feature #12695: File.expand_path should resolve ~/ using /etc/passwd when HOME is not set
- https://github.com/ruby/ruby/compare/trunk...nobu:feature/12695-homedir
-
06:51 AM Feature #12079 (Rejected): Loosening the condition for refinement
- This issue will be addressed by #9451 and #11476.
-
05:45 AM Revision dbff56f5 (git): Unbundle tk
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56107 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:38 AM Feature #12737 (Closed): Module#defined_refinements
- How about to provide Module#defined_refinements, which returns the refinements defined in the receiver as a Hash, as ...
-
05:35 AM Revision b1e9160b (git): Update svn:ignore [ci skip]
- * enc/unicode/data/9.0.0 (svn:ignore): ignore downloaded files.
see r55716 for 8.0.0.
git-svn-id: svn+ssh://ci.ru... -
05:34 AM Bug #12736 (Closed): `make install` says `fatal: Not a git repository (or any of the parent directories): .git`
- Applied in changeset r56104.
----------
* ext/psych/psych.gemspec, lib/rdoc/rdoc.gemspec: Use file list instead of
... -
05:04 AM Bug #12736: `make install` says `fatal: Not a git repository (or any of the parent directories): .git`
- rubygemsにこれを行うメソッドを追加すべきなんじゃないでしょうかね。
-
04:51 AM Bug #12736 (Assigned): `make install` says `fatal: Not a git repository (or any of the parent directories): .git`
- 数が多くて厳しいのですがハードコードする方向に修正します。
-
05:33 AM Revision c45a8f8b (git): * ext/psych/psych.gemspec, lib/rdoc/rdoc.gemspec: Use file list instead of
- git output. It shows warning message when invoke `make install`
[Bug #12736][ruby-dev:49778]
git-svn-id: svn+ssh:/... -
04:57 AM Revision 577de1e9 (git): replace fixnum by integer in documents.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56102 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:46 AM Feature #12734 (Feedback): `Array#flat?`
- Please explain the use-case.
It doesn't seem useful to me. -
04:44 AM Bug #10103 (Closed): Unable to refine class with CONSTANT
- Applied in changeset r56101.
----------
* insns.def (setclassvariable, setconstant): warn when self is a
refinemen... -
04:44 AM Revision bbd662c8 (git): * insns.def (setclassvariable, setconstant): warn when self is a
- refinement. [Bug #10103] [ruby-core:64143]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56101 b2dd03c8-39d4-4d... - 02:34 AM Revision 0a764c0b (git): NEWS: Add Hash#transform_values
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56100 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:33 AM Feature #12512 (Closed): Import Hash#transform_values and its destructive version from ActiveSupport
- Applied in changeset r56099.
----------
hash.c: map_v -> transform_values
* hash.c (rb_hash_transform_values, rb_ha... - 02:33 AM Revision eaa0a27f (git): hash.c: map_v -> transform_values
- * hash.c (rb_hash_transform_values, rb_hash_transform_values_bang):
Rename map_v to transform_values.
[Feature #1... -
01:09 AM Revision a128c0d3 (git): openssl: import v2.0.0.beta.2
- * {ext,test}/openssl: Import Ruby/OpenSSL 2.0.0.beta.2. The full commit
history since v2.0.0.beta.1 can be found at...
09/07/2016
-
10:23 PM Revision ba6ae341 (git): * lib/rdoc/*, test/rdoc/*: Update rdoc-5.0.0.beta2
- Fixed ri parse defect with left-hand matched classes.
https://github.com/rdoc/rdoc/pull/420
git-svn-id: svn+ssh://... -
04:15 PM Feature #7418 (Closed): Kernel#used_refinements
- Applied in changeset r56094.
----------
* eval.c (rb_mod_s_used_refinements): new method
Module.used_refinements. ... -
07:14 AM Feature #7418: Kernel#used_refinements
- `Module.used_refinements` accepted.
Matz.
- 04:15 PM Revision bf51c067 (git): * 2016-09-08
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56096 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 04:15 PM Revision 806eb7e1 (git): * remove trailing spaces.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56095 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:15 PM Revision 4a660c72 (git): * eval.c (rb_mod_s_used_refinements): new method
- Module.used_refinements. based on the patch by Charlie
Somerville. [Feature #7418] [ruby-core:49805]
git-svn-id:... -
02:22 PM Feature #12086: using: option for instance_eval etc.
- Yes, it appears that every call to instance_eval(using: Foo ...) blows away the global method cache by calling rb_usi...
-
02:08 PM Feature #12086: using: option for instance_eval etc.
- I have threading concerns.
```ruby
module X; refine Fixnum do; def +(x); puts "X refined"; super; end; end; end
... -
01:59 PM Feature #12086: using: option for instance_eval etc.
- Is this thread-safe? Would it be possible for two threads to refine the same block in different ways and step on each...
-
12:43 PM Feature #12086: using: option for instance_eval etc.
- I'll echo Tom's comments...this is dynamically-scoped refinements all over again, which we discussed heavily. There's...
-
08:10 AM Feature #12086: using: option for instance_eval etc.
- What is the scope of instance_eval here? Can I do:
~~~ ruby
instance_eval(using: MyRefinements), &a_block_from_s... -
02:12 PM Feature #12299: Add Warning module for customized warning handling
- Matz accepted this mechanism about a month ago, and shortly thereafter I added a patch with his requested change. Ca...
-
12:32 PM Revision d6e4975e (git): Use our domain instead of other's domain
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56093 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:32 PM Revision aaf249dc (git): fix a typo [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56092 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:29 PM Bug #12736 (Closed): `make install` says `fatal: Not a git repository (or any of the parent directories): .git`
- `make install` の時に `fatal: Not a git repository (or any of the parent directories): .git` というメッセージが2回出ます。
ext/psyc... -
10:55 AM Feature #12735 (Feedback): TCP Server documentation improvement
- Between version 2.0.0 and 2.3.1, documentation has shrunk a lot.
It could be useful to keep the original content
an... -
10:35 AM Feature #12695: File.expand_path should resolve ~/ using /etc/passwd when HOME is not set
- Bash seems to do that:
% bash -c 'unset HOME; echo ~'
/home/knu
As far as I tested most other known shells lik... -
09:04 AM Feature #12695: File.expand_path should resolve ~/ using /etc/passwd when HOME is not set
- Makes sense. Ruby knows how to resolve ~user, so you may well expect it to resolve ~ as well given that the login na...
-
08:43 AM Feature #12695: File.expand_path should resolve ~/ using /etc/passwd when HOME is not set
- I think its good idea.
Although POSIX doesn't specify it for shell, we can define it in Ruby.
-
10:29 AM Feature #12734 (Closed): `Array#flat?`
- It might be useful to have a method that determines whether an array is flat, i.e. one-dimensional.
~~~ruby
[1, 2... -
09:09 AM Bug #12709: POSIX-noncompliant setenv
- We can find if the commit cause SEGV...
-
08:52 AM Bug #12709 (Closed): POSIX-noncompliant setenv
-
08:57 AM Feature #12591 (Rejected): Allow ruby to either catch misspelled "ailas" statements or, possibly more accurately, be more specific in what it reports as an error to the end-user
- Unfortunately `ailas bar2 bar` is totally valid Ruby code. I recommend using syntax highlighting.
Matz.
-
08:55 AM Feature #10098 (Feedback): [PATCH] Timing-safe string comparison for OpenSSL::HMAC
- Even though OpenSSL uses the name `memcmp`, I re-considered it is a bad name.
Therefore this is back to naming issue. -
08:50 AM Revision b22b725c (git): util.h: POSIX-noncompliant setenv
- * include/ruby/util.h (setenv): remove POSIX-noncompliant
definition with 2 arguments.
git-svn-id: svn+ssh://ci.ru... -
08:47 AM Feature #12700 (Rejected): regexg heredoc support
- Use `%r`.
Matz.
-
08:35 AM Revision c0f48f23 (git): * unicode/8.0.0/casefold.h, name2ctype.h, unicode/data/8.0.0:
- removing directories/files related to Unicode version 8.0.0
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56090... -
08:34 AM Bug #12588 (Rejected): When an exception is re-raised in the "rescue" clause, the back trace does not contain the line in that clause
- I don't see any "reasonable expectancy". Use-case? Probably you want to use `Exception#cause`?
Matz.
-
08:22 AM Feature #11650 (Closed): Add custom error message arg to Timeout.timeout
- Applied in changeset r56089.
----------
timeout.rb: custom error message
* lib/timeout.rb (Timeout#timeout): add cu... -
08:03 AM Feature #11650: Add custom error message arg to Timeout.timeout
- Accepted.
Matz.
-
08:21 AM Revision 047ca4ba (git): timeout.rb: custom error message
- * lib/timeout.rb (Timeout#timeout): add custom error message
argument. [Feature #11650]
git-svn-id: svn+ssh://ci.... -
08:13 AM Feature #12513 (Closed): Update Unicode data to Unicode Version 9.0
- Applied in changeset r56087.
----------
* common.mk: Updated Unicode version to 9.0.0 [Feature #12513]
* unicode/9.0... - 08:13 AM Revision 62e8ceae (git): * properties.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56088 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:13 AM Revision d25e478e (git): * common.mk: Updated Unicode version to 9.0.0 [Feature #12513]
- * unicode/9.0.0/casefold.h, name2ctype.h, unicode/data/9.0.0:
new directories/files for Unicode version 9.0.0
git... -
08:03 AM Feature #12534: Refinements: refine modules as well
- I understand the implementation difficulty. If we prohibit `super` in refined methods in Modules, is it possible to r...
-
07:51 AM Feature #12694: Want a String method to remove heading substr
- PHP has ltrim and rtrim (which is an alias of chop), but they are for removing a character list, not removing a subst...
-
06:44 AM Feature #12694: Want a String method to remove heading substr
- It seems python, perl does not have similar methods (which removes heading substr)
-
06:42 AM Feature #12694: Want a String method to remove heading substr
- We discussed about this ticket on ruby development meeting.
Python lstrip http://www.tutorialspoint.com/python/str... -
06:42 AM Feature #12694: Want a String method to remove heading substr
- This method removes prefix string, so I propose `remove_prefix` or `deprefix` (means remove prefix).
-
06:39 AM Feature #12694 (Open): Want a String method to remove heading substr
-
07:45 AM Feature #11525 (Rejected): Add Module#used (refinement hook)
-
07:44 AM Feature #11525: Add Module#used (refinement hook)
- Unlike `included` and `inherited`, `using` is static operation. I don't think hooks work well with refinement.
Mat... -
07:40 AM Bug #12689: Thread isolation of $~ and $_
- Below example shows 2nd thread overwrites 1st thread's regexp match result.
```sh
% ruby -e 'P = proc {|s| p [s, ... -
07:40 AM Feature #11476: Methods defined in Refinements cannot be called via send
- Accepted.
The current behavior is according to the direct interpretation of the refinement spec. But many people e... -
07:35 AM Revision d9a6f701 (git): class.c: instance method conditions
- * class.c (ins_methods_i, ins_methods_prot_i, ins_methods_priv_i),
(ins_methods_pub_i): check for each conditions t... -
07:29 AM Feature #9451: Refinements and unary & (to_proc)
- I now think it's OK to accept this proposal. But I don't know how difficult to implement the issue.
Matz.
-
07:28 AM Feature #12733: Bundle bundler to ruby core
- Won't this make it harder to update bundler?
-
06:05 AM Feature #12733 (Closed): Bundle bundler to ruby core
- rubygems team has plan to migrate bundler into rubygems at rubygems 3.0.
ref. https://github.com/rubygems/rubygems... -
07:14 AM Feature #859 (Closed): open-uri doesn't allow redirection to https
- Applied in changeset r56085.
----------
lib/open-uri.rb: Allow http to https redirection.
* lib/open-uri.rb: Allow ... -
07:14 AM Revision 393ecc9f (git): lib/open-uri.rb: Allow http to https redirection.
- * lib/open-uri.rb: Allow http to https redirection.
Note that https to http is still forbidden.
[ruby-core:20485]... -
07:08 AM Feature #12347 (Closed): [PATCH] Make CSV::Row#each etc. return Enumerator when no block given
- committed at r56083.
-
07:02 AM Revision b8214668 (git): * ChangeLog: fix ticket number.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56084 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:55 AM Feature #12732: An option to pass to `Integer`, `Float`, to return `nil` instead of raise an exception
- Adding a slide to show code I'm actually writing vs want to write
-
05:13 AM Feature #12732 (Closed): An option to pass to `Integer`, `Float`, to return `nil` instead of raise an exception
- I would like to be able to pass an option to `Integer()` and `Float()` so that they don't raise an exception, but ret...
-
06:13 AM Feature #12512: Import Hash#transform_values and its destructive version from ActiveSupport
- Ok, I will introduce `transform_values` (not `map_v` nor `map_values`).
I wanted a `Hash` generation method in `En... -
06:06 AM Revision b425d4f1 (git): * lib/csv.rb (CSV::{Row,Table}#{each,delete_if}): returns an enumerator
- if no block is given. [ruby-core:75346] [Feature #11058]
* test/csv/test_row.rb: add test for above.
* test/csv/tes... -
05:54 AM Revision f60caf13 (git): * gems/bundled_gems: update to power_assert 0.3.1.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56082 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:16 AM Revision a9f63f98 (git): * ext/psych/*, test/psych/*: Update psych-2.1.1
- This version fixed following pull requests.
https://github.com/tenderlove/psych/pull/284
https://github.com/tende... - 02:51 AM Revision 2861d8b1 (git): * 2016-09-07
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56080 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:51 AM Revision 46e5c562 (git): * lib/rdoc/*, test/rdoc/*: Update rdoc-5.0.0.beta1
- This version is mostly same as r56072. It contains to remove code
for Ruby 1.8
git-svn-id: svn+ssh://ci.ruby-lang.... -
12:03 AM Feature #3511: rb_path_to_class should call custom const_defined? methods
- Thanks for considering!
I've opened a new ticket and described my concrete use case, as I don't see a way to reope... -
12:01 AM Feature #12731 (Open): rb_path_to_class should call custom const_defined? methods (take 2)
- (This is a continuation of #3511, as I don't see a way to reopen the ticket, as Matz requested there.)
I'm sorry t...
Also available in: Atom