Activity
From 09/21/2016 to 09/27/2016
09/27/2016
-
09:11 PM Bug #12794 (Rejected): Invalid ASN1 from OpenSSL::X509::Requests
- Running #to_der and #to_pem when linked to OpenSSL 1.0.1g+ outputs invalid ASN1. It seems to output valid ASN1 with 1.0.1f. It appears that the last object identifier field is missing in the invalid output. Output from the openssl too...
-
06:09 PM Revision cc00f5bf (git): * ChangeLog: fix typo of r56271. [ci skip]
- * NEWS: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56276 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:21 PM Bug #12793 (Closed): Warning.warn with non-string object
- Applied in changeset r56274.
----------
error.c: check argument of Warning.warn
* error.c (rb_warning_s_warn): the argument must be an
ASCII-compatible string. [ruby-core:77430] [Bug #12793] -
02:58 PM Bug #12793 (Closed): Warning.warn with non-string object
- `Warning.warn` with non-string argument causes SEGV.
For example, `Warning.warn nil`. - 03:21 PM Revision cdd5a94a (git): * 2016-09-28
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56275 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:21 PM Revision d28bac1c (git): error.c: check argument of Warning.warn
- * error.c (rb_warning_s_warn): the argument must be an
ASCII-compatible string. [ruby-core:77430] [Bug #12793]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56274 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:22 PM Revision 3d2e45d3 (git): parse.y: fix up r56198
- * parse.y (symbol, dsym, parser_set_number_literal): set state to
ENDARG, so that `do` after a literal should be `do_block` and
bound to the outer method. [ruby-core:72482] [Bug #11873]
* parse.y (parse_ident): revert r56198.
* pars... -
02:19 PM Revision 0e547e63 (git): test_syntax.rb: more test_warn_balanced
- * test/ruby/test_syntax.rb (test_warn_balanced): more assertions
for a symbol literal and a local variable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56272 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:01 PM Revision e9fa5495 (git): * NEWS: news about Warning.warning. [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56271 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:37 PM Feature #10098: [PATCH] Timing-safe string comparison for OpenSSL::HMAC
- `secure` sounds vague, and `compare` doesn't address the point by shyouhei, I think.
-
12:44 PM Feature #10098: [PATCH] Timing-safe string comparison for OpenSSL::HMAC
- Rack and Rails uses `secure_compare`.
- http://www.rubydoc.info/github/rack/rack/Rack/Utils.secure_compare
- http://api.rubyonrails.org/classes/ActiveSupport/SecurityUtils.html#method-c-secure_compare -
12:20 PM Feature #10098: [PATCH] Timing-safe string comparison for OpenSSL::HMAC
- Ok, here are couple suggestions, to keep the carriage rolling.
~~~
#safe_eql?
#secure_eql?
#timesafe_eql?
#timingsafe_eql?
~~~
-
09:07 AM Feature #10098: [PATCH] Timing-safe string comparison for OpenSSL::HMAC
- (Just to be clear) what is bad about the word "memcmp" is that the "cmp" part implies returning integers, rather than true/false. One of such example that returns integer is String#casecmp. But almost nobody wants integers for timing-s...
-
12:53 PM Bug #12792 (Closed): cannot open https://bugs.jruby.org/4176
- https://bugs.jruby.org/4176 in r56260.
But I cannot open it because connection refused. -
12:13 PM Revision 078dcd26 (git): * test/ripper/test_ripper.rb: fix squiggly heredoc identifier
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56270 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:25 AM Feature #12299: Add Warning module for customized warning handling
- Sorry, I was too busy to merge this before preview2.
-
09:19 AM Feature #12299 (Closed): Add Warning module for customized warning handling
- Applied in changeset r56269.
----------
* error.c: This makes all warnings raised call Warning.warn, which
by default does the same thing it does currently
(rb_write_error_str). You can override Warning.warn to change
the beha... -
09:54 AM Feature #12790: Better inspect for stdlib classes
- Maybe it would be nice to use a formatting like sprintf's %g?
So numbers without a huge exponent would print just like floats.
Actually, following how Float are printed would be consistent (1.234e+57, 12.34, etc),
while keeping the ex... -
09:00 AM Feature #12790: Better inspect for stdlib classes
- > https://github.com/ruby/ruby/compare/trunk...nobu:feature/12790-bigdecimal%23inspect
So, you decided to leave scientific notation for any amounts? Could we talk about that?.. It is really hard not to make small mistakes comparing va... -
08:37 AM Feature #12790: Better inspect for stdlib classes
- > As for Date and DateTime, do you still need/use them?
Why not? It is a common pattern seen everywhere to use `Date` when you need, just, err, date (e.g. emphasize the fact that "this variable is granulated to days").
About `Date... -
02:13 AM Feature #12790: Better inspect for stdlib classes
- I agree about `BigDecimal` almost.
`Prec` may be useful but `MaxPrec` would be rarely.
And for huge `BigDecimal`, I prefer `_` separated representation like `Integer`.
https://github.com/ruby/ruby/compare/trunk...nobu:feature/12790-bi... -
09:19 AM Revision 4e60f998 (git): * error.c: This makes all warnings raised call Warning.warn, which
- by default does the same thing it does currently
(rb_write_error_str). You can override Warning.warn to change
the behavior. [ruby-core:75016] [Feature #12299]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@562... -
08:42 AM Bug #12588: When an exception is re-raised in the "rescue" clause, the back trace does not contain the line in that clause
- Hiro Asari wrote:
> I am not sure how I can use `Exception#cause`.
Exception#cause makes sense when you raise another exception from inside of a rescue clause. Take a look at this example:
```ruby
def foo
raise 'raised in #f... -
08:35 AM Revision a38b2f84 (git): iseq.c: syntax error in compile_file
- * iseq.c (iseqw_s_compile_file): deal with syntax error as well as
compile, and should not abort when rescued.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56268 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:35 AM Revision 2ca58e42 (git): assertions.rb: success option
- * test/lib/test/unit/assertions.rb (assert_in_out_err): add
success option to check the exit status.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56267 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:32 AM Bug #12787 (Feedback): Stackoverflow over when alias_method and prepend are used in combination
- Which version of ruby are you using? because I can't reproduce the stack overflow using 2.3.1 on my machine.
```
% ruby -v ~/Downloads/stackoverflow_with_alias_and_prepend
ruby 2.3.1p112 (2016-04-26 revision 54768) [x86_64-darwin15]... -
07:06 AM Feature #12142: Hash tables with open addressing
- tiny fix for string hash function.
branch is updated with force.
mbox re-uploaded: https://bugs.ruby-lang.org/attachments/download/6160/hash_improvements_and_st_array_with_open_addressing.mbox -
06:23 AM Revision b15f7655 (git): iseq.c: kwarg to compile
- * iseq.c (iseqw_s_compile, iseqw_s_compile_file): allow keyword
arguments as the options.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56266 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:34 AM Revision 802e5677 (git): iseq.c: file name encoding
- * iseq.c (iseqw_s_compile): keep the encoding of file name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56265 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:26 AM Revision eb937455 (git): ChangeLog: remove extra line
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56264 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:50 AM Revision 17901bbc (git): fix a typo [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56263 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:17 AM Bug #12791 (Closed): Don't allow ,-separator for cookie
- Applied in changeset r56262.
----------
* lib/cgi/cookie.rb (parse): don't allow , as a separator. [Bug #12791]
* lib/webrick/cookie.rb (parse): ditto. -
03:11 AM Bug #12791 (Closed): Don't allow ,-separator for cookie
- RFC2965 allowed both ; and , as a separator for cookie, but RFC6265 only allows ;.
Moreover CVE-2016-7401 uses , as a separator to overwrite CSRF-token.
https://gist.github.com/mala/457a25650950d4daf4144f98159802cc -
03:17 AM Revision 5f33c6b0 (git): * lib/cgi/cookie.rb (parse): don't allow , as a separator. [Bug #12791]
- * lib/webrick/cookie.rb (parse): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56262 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
09/26/2016
- 09:12 PM Revision f0137ba8 (git): * 2016-09-27
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56261 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:12 PM Revision fbaa8233 (git): * test/ripper/test_ripper.rb: add a test for dedent_string.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56260 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:37 PM Feature #12790: Better inspect for stdlib classes
- I agree, I'd also love to have a better inspect representation for big decimals and dates.
-
02:17 PM Feature #12790 (Open): Better inspect for stdlib classes
- `#inspect` is important for understanding "what I have" in irb/pry, and in [puts-debugging](https://tenderlovemaking.com/2016/02/05/i-am-a-puts-debuggerer.html), and in ton of other cases.
Sadly, some of important stdlib classes (in m... -
06:27 PM Feature #12142: Hash tables with open addressing
- Good day, everyone.
I'm adding alternative patch version for st_table.
It is my compromise with Vladimir and his proposals.
I really count and mention Vladimir Makarov as co-author of this version.
- It uses open-addressing with ... -
06:27 PM Feature #12075: some container#nonempty?
- I know `any?` works on some use cases, but I'm positive to have a proposed method because using `any?` has a pitfall. We have to guarantee an array doesn't have only false or nil. Also I'm worrying users who started to use `any?` for thi...
-
03:02 PM Feature #6783: Infinite loop in inspect, not overriding inspect, to_s, and no known circular references. Stepping into inspect in debugger locks it up with 100% CPU.
- See also #9725, my issue/request relating to NameError's behavior of carrying the target object and causing huge inspect-driven memory bloat when attempting to print the message.
-
11:07 AM Feature #6783 (Open): Infinite loop in inspect, not overriding inspect, to_s, and no known circular references. Stepping into inspect in debugger locks it up with 100% CPU.
- reopen as per request (seems like it is no longer a bug ticket but a feature request?)
-
02:58 PM Bug #12742: backport r56117 (fix private constant message) and r56118 (fix deprecated constant message)
- ruby_2_3 r56259 merged revision(s) 56117,56118.
-
02:58 PM Revision a669f1f9 (git): merge revision(s) 56117,56118: [Backport #12742]
- * variable.c (rb_const_search): raise with the actual class/module
name which defines the private constant.
* variable.c (rb_const_search): warn with the actual class/module
name which defines the deprecated ... -
02:41 PM Revision dce01373 (git): merge revision(s) 55057:
- * ext/openssl/ossl_pkcs12.c (ossl_pkcs12_initialize): pop errors
leaked by PKCS12_parse(). This is a bug in OpenSSL, which exists
in the versions before the version 1.0.0t, 1.0.1p, 1.0.2d.
git-svn-id: svn+ssh://ci.r... -
02:26 PM Bug #11133: Wrong Hyperlink representation in man page
- Akinori MUSHA wrote:
> Sorry for the delay, and thanks for spotting it.
> ...
Yes, it should be fixed, there was this [1] ticket referenced in the original gnome-terminal bug [2]. Testing on Fedora Rawhide with:
$ rpm -q gnome-termi... -
02:13 PM Bug #12711: Darwin doesn't show C backtrace correctly if iSIGSEGV is received when IP is in userland
- ruby_2_3 r56257 merged revision(s) 56030,56035.
-
02:13 PM Revision 6ccadbaf (git): merge revision(s) 56030,56035: [Backport #12711]
- * vm_dump.c (backtrace): use rip in the saved context for the case
the SIGSEGV is received when the process is in userland.
Note that ip in the stack should be used if the signal is received
when it is in ke... -
02:04 PM Feature #12788: Improve String lstrip and strip performance
- Ary Borenszweig wrote:
> Thank you Nobu-san for reviewing and accepting this. Matsuda-san also mentioned a "patch monster" in his talk, I think now I know what he means :-)
🤘🏻 -
12:51 PM Feature #12788: Improve String lstrip and strip performance
- Thank you Nobu-san for reviewing and accepting this. Matsuda-san also mentioned a "patch monster" in his talk, I think now I know what he means :-)
-
05:11 AM Feature #12788 (Closed): Improve String lstrip and strip performance
- Applied in changeset r56250.
----------
string.c: fast path of lstrip_offset
* string.c (lstrip_offset): add a fast path in the case of single
byte optimizable strings, as well as rstrip_offset.
[ruby-core:77392] [Feature #12788] -
01:04 AM Feature #12788 (Closed): Improve String lstrip and strip performance
- This adds a fast path for lstrip_offset in the case of single byte optimizable strings. This optimization already exists in rstrip_offset but I noticed it was missing in rstrip.
I made sure to only remove ascii space, not '\0', to pre... - 12:39 PM Revision c2e59df3 (git): Remove Ns before puctuation
- * man/erb.1, man/irb.1, man/ri.1, man/ruby.1: Remove Ns before
puctuation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56256 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:35 PM Bug #5244 (Closed): Continuation causes Bus Error on Debian sparc
- > This may still be a problem on Solaris sparc64 where the link stage fails thus :
No, different issue from the original report.
The error message shows that the symbol "asm" is not found.
With "-Xc" option (strict ISO C mode), "a... -
10:56 AM Bug #5244 (Open): Continuation causes Bus Error on Debian sparc
- (Just reopening... Sorry I don't have this specific hardware so can't reproduce)
-
11:41 AM Bug #12789 (Closed): syntax error keyword_do_block at ruby 2.4.0dev (2016-09-26 trunk 56254)
- ruby 2.4.0dev (2016-09-26 trunk 56254) にて、ブロック付きの特異メソッド呼び出しの前に、
同名の変数への代入があると syntax error になりました。以下、サンプルコードです。
```
% cat syntax_error.rb
class A
def self.foo(&block)
puts 'hello'
end
foo = nil
foo do
end
e... -
11:25 AM Revision ded336e9 (git): * gems/bundled_gems: update minitest to 5.8.5.
- * tool/downloader.rb: revert workarounds.
* tool/gem-unpack.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@56255 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:43 AM Bug #12720 (Third Party's Issue): Ruby segmentation issue
- Let me change this ticket's status to be a third party's issue for a while. Please just reopen this if it turns out to be a ruby's fault.
-
10:36 AM Feature #12734 (Closed): `Array#flat?`
- OK, closing as per request.
-
10:21 AM Misc #12722 (Third Party's Issue): Localizing Ruby
- Would you mind if I close this ticket?
-
10:15 AM Bug #12758 (Rejected): Error when passing Hash construction to function
- Let me reject this (a FAQ).
-
07:33 AM Revision 91a32fc0 (git): test_exception.rb: another assertion
- * test/ruby/test_exception.rb (test_throw_false): test the thrown
tag. [Bug #12743]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56254 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:24 AM Revision e6e66094 (git): stringio.c: fix signed integer overflow
- * ext/stringio/stringio.c (strio_seek): Avoid signed integer overflow.
It's not harmful in practice here, but is still undefined behavior.
* ext/stringio/stringio.c (strio_extend): Check that the new length does
not exceed LONG_MAX.... -
06:43 AM Bug #12743 (Closed): throw(false) does not work as expected - Applied in changeset r56252.
----------
eval_intern.h: make TH_PUSH_TAG() initialize rb_vm_tag::tag with Qundef
* eval_intern.h (TH_PUSH_TAG): Initialize struct rb_vm_tag::tag with
Qundef rather than 0 which is equal to Qfalse. Since... -
06:43 AM Revision ed5a926b (git): eval_intern.h: make TH_PUSH_TAG() initialize rb_vm_tag::tag with Qundef
- * eval_intern.h (TH_PUSH_TAG): Initialize struct rb_vm_tag::tag with
Qundef rather than 0 which is equal to Qfalse. Since Kernel#throw(obj)
searches a tag with rb_vm_tag::tag == obj, throw(false) can
accidentally find an unrelated ... -
05:55 AM Feature #11965: provide default basename parameter Tempfile.create
- I also wanted to have default basename parameter for Tempfile.create as Tempfile.new, and found this issue.
I believe nobody have objections to this change, so committed to trunk.
If anyone has any objections, please let me know.
Th... -
05:45 AM Feature #11965 (Closed): provide default basename parameter Tempfile.create
- Applied in changeset r56251.
----------
* lib/tempfile.rb: provide default basename parameter
for Tempfile.create. [Feature #11965] Patch by Yuki Kurihara
* test/test_tempfile.rb: ditto. -
05:45 AM Revision 64f53f0d (git): * lib/tempfile.rb: provide default basename parameter
- for Tempfile.create. [Feature #11965] Patch by Yuki Kurihara
* test/test_tempfile.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56251 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:30 AM Bug #12402: Inline rescue behavior inconsistent for method calls with arguments and assignment
- Even though it's a bug, the behavior change could break existing applications. I won't backport into ruby_2_3 branch.
-
05:10 AM Revision 8d501ec0 (git): string.c: fast path of lstrip_offset
- * string.c (lstrip_offset): add a fast path in the case of single
byte optimizable strings, as well as rstrip_offset.
[ruby-core:77392] [Feature #12788]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56250 b2dd03c8-39d4-4d8f-98ff... -
03:00 AM Revision 3973cc58 (git): minitest-5.9.1
- * gems/bundled_gems: update to minitest-5.9.1.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56249 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:50 AM Revision d1dbeebe (git): rbinstall.rb: don't install gemspec for skipped libraries
- * tool/rbinstall.rb (gem): Don't install gemspec if no files will be
installed for the gem. This happens when the extension library is not
compiled.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56248 b2dd03c8-39d4-4d8f-98ff-823... -
02:44 AM Bug #12670: Segmentation fault on `Magick::Image#get_pixels` on ruby since ruby-2.2
- wanabe san, thank you for your great investigation!
Sasada san, could you take a look at the lines wanabe san pointed out? -
02:42 AM Bug #12670 (Assigned): Segmentation fault on `Magick::Image#get_pixels` on ruby since ruby-2.2
-
02:09 AM Revision 537fea99 (git): string.c: fix integer overflow in enc_strlen() and rb_enc_strlen_cr()
- * string.c (enc_strlen, rb_enc_strlen_cr): Avoid signed integer
overflow. The result type of a pointer subtraction may have the same
size as long. This fixes String#size returning an negative value on
i686-linux environment:
s... -
12:56 AM Bug #12588: When an exception is re-raised in the "rescue" clause, the back trace does not contain the line in that clause
- The current stacktrace is misleading. Without line 4 in it, the implication is that the exception was found on line 2, and was not caught by `rescue`. In this simple case, the stack trace should contain lines `[4,7]`, not `[2,7]`.
I a...
09/25/2016
- 10:29 PM Revision b1de2a16 (git): * 2016-09-26
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56246 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:29 PM Revision 5ebce690 (git): test_dln.rb: fix constants
- * test/-ext-/win32/test_dln.rb (test_check_imported): use toplevel
constants explicitly to get rid of constants under the scope.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56245 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:28 PM Revision 6e726873 (git): * tool/gem-unpack.rb: don't set security policy.
- workaround for certificate expiration of minitest-5.8.3.gem.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@56244 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:33 PM Bug #12766: Backport r56166 (Don't include bad password in URI exception output)
- ruby_2_3 r56243 merged revision(s) 56166.
-
09:33 PM Revision d45d826f (git): merge revision(s) 56166: [Backport #12766]
- * lib/uri/generic.rb (def check_password): don't include bad password
in URI exception output
* test/uri/test_generic.rb (def test_set_component): test for behavior
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branche... -
09:25 PM Revision c84dd6fc (git): * version.h: bump up RUBY_PATCHLEVEL for the last change.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@56242 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 09:23 PM Revision fe5e7688 (git): * 2016-09-26
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@56241 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:23 PM Revision d14b8301 (git): * tool/downloader.rb: comment out gem package verification.
- workaround for certificate expiration of minitest-5.8.3.gem.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@56240 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:48 PM Revision 7f6a2e4a (git): vm_args.c: split make_unused_kw_hash
- * vm_args.c (make_unknown_kw_hash, make_rest_kw_hash): split
make_unused_kw_hash for key_only parameter.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56239 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:48 PM Revision 76a3f0ca (git): remove unnecessary :stag accessor
- * lib/erb.rb (ERB::Compiler::TrimScanner#stag): The :stag accessor
has already been available because it is defined in parent
Scanner class. [Fix GH-1445]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56238 b2dd03c8-39d4-4d8f-9... -
01:33 PM Revision 598fd0cd (git): proc.c: trivial optimization
- * proc.c (rb_proc_arity): reduce repeated GetProcPtr.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56237 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 10:23 AM Revision 55ce57d8 (git): * 2016-09-25
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56236 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:23 AM Revision dd3ccb8b (git): * node.c (dump_array): remove duplicate header of NODE_ARRAY/
- NODE_VALUES.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56235 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:37 AM Bug #12713: backport r56036
- ruby_2_3 r56234 merged revision(s) 56036,56041.
-
07:37 AM Revision 9b651bea (git): merge revision(s) 56036,56041: [Backport #12713]
- * io.c (nogvl_fsync, nogvl_fdatasync): on Windows, just ignore if the
fd is associated to non-disk device. if call fsync and/or fdatasync
with such fds, it causes Errno::EBADF exception and the behavior is
... -
07:36 AM Bug #12738: Array#flattenで特異クラスが引き継がれる
- ruby_2_3 r56233 merged revision(s) 56111.
-
07:36 AM Revision 8833bfbd (git): merge revision(s) 56111: [Backport #12738]
- * 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.org/ruby/branches/ruby_2_3@56233 b2dd03... -
06:07 AM Bug #12692: remove RUBYLIB_PREFIX from man/irb.1
- ruby_2_3 r56232 merged revision(s) 55984.
-
06:07 AM Revision 0b519785 (git): merge revision(s) 55984: [Backport #12692]
- * man/irb.1: remove useless -width option.
[ruby-dev:49767] [Bug #12692]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@56232 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:43 AM Bug #12778 (Closed): Segmentation Fault in win32ole on Ruby 2.3.1p112 [x64-mingw32] when creating Windows Share
-
12:30 AM Bug #12778: Segmentation Fault in win32ole on Ruby 2.3.1p112 [x64-mingw32] when creating Windows Share
- Thank you for your reporting.
This issue is same as #11880.
And I confirmed it works in ruby 2.3.2p182.
09/24/2016
-
06:47 PM Bug #12787 (Closed): Stackoverflow over when alias_method and prepend are used in combination
- With Ruby 2.0 Module#prepend was used to overcome the drawbacks of alias_method_chaining. Most of the gems/projects still use alias_method_chain since they support 1.9.3 and with upcoming gems/projects using prepend for the method that i...
-
01:32 PM Bug #12774 (Rejected): TkDND cannot handle text/plain, text/uri-list type well
- Thank you for report. But tk has been extracted trunk branch.
Can you submit your patch to https://github.com/ruby/tk via pull request?
Thank you. -
01:26 PM Revision 021d3c7a (git): appveyor.yml: build zlib together
- * appveyor.yml (install): extract zlib source under ext/zlib and
build within the build process.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56231 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:26 PM Revision 97a016ac (git): install extra libraries
- * ext/extmk.rb (extract_makefile, extmake, configuration): store
extra libraries to be installed.
* tool/rbinstall.rb (ext-arch): install extra libraries.
* ext/zlib/extconf.rb: install zlib if built.
git-svn-id: svn+ssh://ci.ruby-lan... -
12:51 PM Revision 3778f2f3 (git): use OpenSSL-Win64
- * appveyor.yml (install): use pre-installed OpenSSL-Win64.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56229 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:51 PM Revision e969e3ba (git): use TESTOPTS instead of OPTS for tests
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56228 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:52 AM Revision e051de83 (git): Download by AppVeyor
- * appveyor.yml (install): use AppVeyor command-line utility to
download files, instead of Start-FileDownload cmdlet which no
longer works more than once.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56227 b2dd03c8-39d4-4d8f-98f... -
08:57 AM Feature #12612: Switch Range#=== to use cover? instead of include?
- Did anybody saw this?..
-
08:35 AM Feature #12786: String#casecmp?
- Some thoughts on method naming...
* New method: `#casecmp?`
* **PROS:** Nice symmetry with `Fixnum`'s `#<=>` & `#equal?` methods. 'casecmp' seems to imply case-insensitivity (see `String#casecmp` or C's `strcasecmp`)
* **CONS:**... -
03:02 AM Feature #12786: String#casecmp?
- Martin Dürst wrote:
> Does it only compare for equality (after case folding)?
Yep. All it would do is check if the return value of `#casecmp` is equal to zero. I'm sure there are plenty of clever uses for `#casecmp`, but I've only ... -
02:53 AM Feature #12786: String#casecmp?
- Can you describe exactly what `String#casecmp?` method would do? Does it only compare for equality (after case folding)?
This proposal is interesting, because `String#upcase`/`downcase`/`capitalize`/`swapcase` now work for all of Unic... -
02:34 AM Feature #12786 (Closed): String#casecmp?
- Description
I would find String#casecmp? convenience method handy. I don't believe I've ever called String#casecmp without chaining #zero? to the result.
```ruby
'abc'.casecmp?('ABC') #=> true
'abc'.casecmp?('DEF') #=> false
``` -
07:53 AM Feature #12700: regexg heredoc support
- Martin Dürst wrote:
> I'm confused. You only give arguments for rejection, but then reopen the issue.
My private opinion is I don't need this.
But I don't want to rule out my being wrong-headed.
The OP might have other use-case whe... -
04:26 AM Feature #12700: regexg heredoc support
- Shyouhei Urabe wrote:
> Reopened.
> ...
I'm confused. You only give arguments for rejection, but then reopen the issue. -
02:45 AM Feature #12700 (Open): regexg heredoc support
- Reopened.
Though I have never needed to write such long regexp literals inline, privately.
Whenever I wanted multine superb regexps they are named, most likely become constants.
For variable/constant assignments, %r perfectly works.... -
05:26 AM Revision 232d4828 (git): * spec/README: update URL. [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56226 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:28 AM Revision 0cc169d1 (git): fid typos [ci skip]
- * fix typos, "a" before "Integer" to "an". [Fix GH-1438]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56225 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:25 AM Feature #12020: Documenting Ruby memory model
- Great. I'm looking forward.
-
01:19 AM Bug #12785 (Closed): misc/test_ruby_mode.rb failed with emacs 25.1.1
- Applied in changeset r56224.
----------
test_ruby_mode.rb: fix for Emacs 25.1
* test/misc/test_ruby_mode.rb (assert_indent): since write-region
in Emacs 25.1 no longer displays the "Wrote file" message, shows
the explicit message t... -
01:19 AM Revision 967c0133 (git): test_ruby_mode.rb: fix for Emacs 25.1
- * test/misc/test_ruby_mode.rb (assert_indent): since write-region
in Emacs 25.1 no longer displays the "Wrote file" message, shows
the explicit message to check if successfully finished.
[ruby-core:77355] [Bug #12785]
git-svn-id: ... - 01:18 AM Revision 1181ecbb (git): * 2016-09-24
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56223 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:18 AM Revision 569d0062 (git): test_ruby_mode.rb: save-buffer 0
- * test/misc/test_ruby_mode.rb (EXPR_SAVE): use a numeric prefix
argument of 0, not to make the previous version into a backup
file, instead of backup-inhibited.
* test/misc/test_ruby_mode.rb (run_emacs): always save the buffer
if m...
09/23/2016
-
05:29 PM Bug #12785: misc/test_ruby_mode.rb failed with emacs 25.1.1
- I check with following diff, file is saved.
```diff
diff --git a/test/misc/test_ruby_mode.rb b/test/misc/test_ruby_mode.rb
index a91e1c2..36009f8 100644
--- a/test/misc/test_ruby_mode.rb
+++ b/test/misc/test_ruby_mode.rb
@@ -35,6... -
08:30 AM Bug #12785: misc/test_ruby_mode.rb failed with emacs 25.1.1
- Does `save-buffer` in Emacs 25.1 print nothing?
Or did it fail? -
02:59 PM Revision 5a121a4f (git): * vm_method.c (make_method_entry_refined): fix wrong use of ||.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56221 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:18 PM Revision b212dd66 (git): zlib: no checks [ci skip]
- * ext/zlib/extconf.rb: no feature checks when building zlib from
the source, assume it is recent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56220 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:18 PM Revision f5f8f3ce (git): zlib: fix directory [ci skip]
- * ext/zlib/extconf.rb: fix directory to install zlib library.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56219 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:00 PM Bug #12688: Thread unsafety in autoload
- > It successfully runs for less than 50 dots, and then one of the threads errors out. I don't think it should.
Ok, I can't count...it does run through one full iteration and then probably fails because the autoload doesn't actually lo... - 12:40 PM Revision 9d5bc13f (git): Add support for the `Lk` macro to tool/mdoc2man.rb
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56218 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:16 PM Revision 4d3e3c25 (git): forwardable.rb: remove debug print
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56217 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:08 PM Revision 807114dd (git): Remove a garbage file.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56216 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:46 AM Feature #12534 (Closed): Refinements: refine modules as well
- Applied in changeset r56213.
----------
* eval.c (rb_mod_refine): refine modules as well.
[ruby-core:76199] [Feature #12534] - 11:46 AM Revision 47ebf735 (git): * properties.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56215 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 11:46 AM Revision 415d7a03 (git): * remove trailing spaces.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56214 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:46 AM Revision a463ab1f (git): * eval.c (rb_mod_refine): refine modules as well.
- [ruby-core:76199] [Feature #12534]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56213 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:31 AM Bug #11133 (Feedback): Wrong Hyperlink representation in man page
- Sorry for the delay, and thanks for spotting it.
I've replaced the use of the `Pa` macro with `Lk` in r56211. The `Lk` macro was added to mdocml a long time ago, which I didn't notice when I committed r39640.
As for the original p... - 11:21 AM Revision 0b5a4e68 (git): Update the paragraphs in "Rich Libraries" which included a dead link
- * man/ruby.1: Update the paragraphs in "Rich Libraries" which
included a dead link.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56212 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 11:21 AM Revision 7c30df71 (git): Use the `Lk` macro for hyperlinks
- * man/ruby.1, man/erb.1, man/irb.1, man/ri.1: Use the `Lk` macro
for hyperlinks, which has been available since mdocml 1.5.1
(released more than seven years ago).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56211 b2dd03c8-39d4... -
10:43 AM Feature #12020: Documenting Ruby memory model
- Hi Shyouhei, sorry for not doing it so far, I took vacation to travel Japan right after the conference. It is already on my todolist when I get back.
-
10:23 AM Feature #12020: Documenting Ruby memory model
- Can someone summarize the off-line discussion mentioned earlier? I was not there.
-
10:28 AM Bug #12685 (Feedback): malloc error: pointer being freed was not allocated
- Yes, it sounds serious. But so far I'm not successful in reproducing the error. Can you show us a bit more detailed instruction how to actually see this bug on my machine?
-
10:11 AM Bug #12679 (Feedback): Failed to build ruby on aarch64 with musl libc and gcc 6
- Sorry, this platform (arch and libc) is not actively supported officially I think.
I'm happy to introduce a fix if someone have one. -
09:37 AM Bug #12783 (Closed): Segmentation fault when verifying RSA signature
- Thanks for reporting!
Fixed at upstream by commit:
https://github.com/ruby/openssl/commit/0e49794521db899ab25774e932f83d6ce452a8ec -
06:47 AM Bug #12782 (Closed): Forwardable breaks on private methods in ruby 2.4
- Applied in changeset r56210.
----------
forwardable.rb: private methods
* lib/forwardable.rb (_delegator_method): allow private methods to
be delegated, with warnings. [ruby-core:77341] [Bug #12782] -
06:47 AM Revision ef13e60f (git): forwardable.rb: private methods
- * lib/forwardable.rb (_delegator_method): allow private methods to
be delegated, with warnings. [ruby-core:77341] [Bug #12782]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56210 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:27 AM Revision 1e1a114c (git): test_fileutils.rb: use Dir.mktmpdir
- * test/fileutils/test_fileutils.rb: use Dir.mktmpdir instead of
fixed name for temporary directory.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56209 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:15 AM Revision 7382eb7e (git): compile.c: tailcall in conditinal block
- * compile.c (iseq_peephole_optimize): enable tail call
optimization inside a conditional block.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56208 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 01:32 AM Revision 9ec75a25 (git): * 2016-09-23
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56207 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:32 AM Revision e53e212b (git): ignore all versions [ci skip]
- .gitignore: ignore all versions of unicode data.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56206 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
09/22/2016
-
05:39 PM Bug #12688: Thread unsafety in autoload
- > $".pop would be needed to clear bar.rb in loaded features.
> ...
But why does it work for a while and then stop working? There still seems to be a threading issue here.
Here's my modified script, with the confirmation dots moved af... -
05:19 PM Bug #12729: crash after refining private method to public
- On latest head of master I don't get this abort trap or core dump, but I also don't see it return. It hangs, using 100% CPU, for at least a full minute and can only be stopped with "kill 9".
-
04:24 PM Bug #12780: BigDecimal#round returns different types depending on argument
- The Japanese issue appears to be saying that there's a problem in RubySpec that will need to be fixed, and that fixing it is a problem with (I think?) early 1.9 compatibility.
-
03:29 PM Bug #12548: Rounding modes inconsistency between round versus sprintf
- Opened an issue with RubySpec: https://github.com/ruby/spec/issues/294
-
03:25 PM Bug #12548: Rounding modes inconsistency between round versus sprintf
- Also: looks like your patch fixes it for integer rounding too, based on your RubySpec failures. Mine does not. Sprintf doesn't have an integer rounding mode, but your way is probably still better.
-
03:10 PM Bug #12548: Rounding modes inconsistency between round versus sprintf
- @nobu: makes sense. I'll file an issue with RubySpec to let them know that at least some of these tests aren't compatible with IEEE 754 round-nearest-to-even mode. Examining the first test failure (spec/core/float/round_spec.rb line 70),...
-
07:01 AM Bug #12548: Rounding modes inconsistency between round versus sprintf
- I have a [patch] too, but it breaks compatibilities in rubyspec.
```
1)
Float#round returns rounded values for big values FAILED
Expected 200000000000000000000
to have same value and type as 300000000000000000000
spec/rubyspec/... -
06:33 AM Bug #12548: Rounding modes inconsistency between round versus sprintf
- Noah Gibbs wrote:
> It appears both tests won't work if we correctly implement the round-even behavior, so the new patch fixes those.
That is what I had mentioned.
-
04:39 AM Bug #12548: Rounding modes inconsistency between round versus sprintf
- You're right. I apologize. I had been running test-ruby instead of test-all without realizing it.
It appears both tests won't work if we correctly implement the round-even behavior, so the new patch fixes those.
New patch is attach... -
01:13 AM Bug #12548: Rounding modes inconsistency between round versus sprintf
- Your patch breaks two tests.
```
[24/42] TestVector#test_round = 0.00 s
1) Failure:
TestVector#test_round [test/matrix/test_vector.rb:162]:
<Vector[1.23, 2.34, 3.4]> expected but was
<Vector[1.23, 2.35, 3.4]>.
[... -
03:17 PM Bug #12782: Forwardable breaks on private methods in ruby 2.4
- The choice might be more between simply reverting and reverting but adding code to detect private calls and issue a deprecation warning so we can reintroduce the optimization in another version.
-
06:14 AM Bug #12782: Forwardable breaks on private methods in ruby 2.4
- Nobuyoshi Nakada wrote:
> I suspect that it was a bug to able to delegate a private method.
It does seem like a bad idea to allow forwarding to private methods. However, the commit message did not mention that it fixes a bug, so I be... -
03:03 AM Bug #12782: Forwardable breaks on private methods in ruby 2.4
- I suspect that it was a bug to able to delegate a private method.
-
02:22 PM Bug #12785 (Closed): misc/test_ruby_mode.rb failed with emacs 25.1.1
- When emacs is 25.1.1, test/misc/test_ruby_mode.rb causes 8 failures.
```
vagrant@archlinux:~/ruby/build$ make test-all TESTS=misc/test_ruby_mode.rb
CC = ccache gcc
LD = ld
LDSHARED = ccache gcc -shared
... -
02:18 PM Bug #12784 (Closed): Compiling v2.3.1 on Debian stable
- Good afternoon!
I am backporting ruby2.3 (v2.3.1) from Debian testing to stable.
https://packages.debian.org/stretch/ruby2.3
```
# P="http://http.debian.net/debian/pool/main/r/ruby2.3/ruby2.3_2.3.1-5.dsc"
# docker run --rm --tty... -
02:05 PM Revision ddad0541 (git): sync with svn:ignore. see r56105 [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56205 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:56 PM Bug #12783 (Closed): Segmentation fault when verifying RSA signature
- I ran into a segfault while using the [json-jwt](https://github.com/nov/json-jwt/) gem, it happens when trying to verify the RSA signature using the OpenSSL library. I've attached a minimal test case which triggers the segfault without g...
-
07:24 AM Bug #10290: segfault when calling a lambda recursively after rescuing SystemStackError
- Nobuyoshi Nakada wrote:
> It causes `SystemStackError` as expected, with ruby 2.3.
No it definitely segfaults for me:
~~~ text
$ cat ex.rb
l = -> { l.() }
begin
l.()
rescue SystemStackError
l.() # segfault
end
$ whic... -
06:35 AM Revision 21255071 (git): zlib: try zlib source
- * ext/zlib/extconf.rb: try building zlib from the source if
exists.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56204 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:35 AM Revision 958c0489 (git): dlntest.dll: move
- * ext/-test-/win32/dln/{depend,extconf.rb} (dlntest.dll): make
under the extension directory, instead of the top directory.
* test/-ext-/win32/test_dln.rb (test_check_imported): explicit
PATH environment variable to load the DLL.
g... - 04:06 AM Revision 0e0bff15 (git): * 2016-09-22
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56202 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:06 AM Revision c6501ccc (git): gc.c: fix rdoc of garbage_collect [ci skip]
- * gc.c (gc_start_internal): [DOC] methods without arguments
like r56194. [Bug #12777]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56201 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:35 AM Misc #12781 (Third Party's Issue): Segmentation fault on macOS Sierra (sqlite3_adapter.rb)
- Please report to the sqlite3-ruby project.
09/21/2016
-
10:04 PM Bug #12782 (Closed): Forwardable breaks on private methods in ruby 2.4
- Due to an optimization in r55376, attempting to forward to private methods no longer works in ruby 2.4. Among other things, this breaks haml template support in tilt. Example:
~~~ ruby
require 'forwardable'
class Foo
private def ... -
08:56 PM Bug #5244: Continuation causes Bus Error on Debian sparc
- This may still be a problem on Solaris sparc64 where the link stage fails thus :
~~~
compiling vm.c
"./include/ruby/st.h", line 85: warning: nonportable bit-field type
"vm_insnhelper.c", line 1838: warning: statement not reached
... -
07:58 PM Bug #12548: Rounding modes inconsistency between round versus sprintf
- Here's a patch that makes floating-point rounding behavior match sprintf()'s round-to-even. It also adds a unit test for the new behavior. The change doesn't break any existing unit tests.
-
07:58 PM Misc #12781 (Third Party's Issue): Segmentation fault on macOS Sierra (sqlite3_adapter.rb)
- After upgrading my MBP to macOS Sierra, I now get a segmentation fault on the sqlite3_adapter.rb with every request sent to Unicorn:
-
02:55 PM Feature #2172: Enumerable#chunk with no block
- Forgot to note that the other possiblity suggested for `chunk` with no block can now be done clearly and succintly with `chunk(&:itself)`, so there's no longer any doubt that the block without block should return an `Enumerator`
-
02:53 PM Feature #2172: Enumerable#chunk with no block
- Matz, would you agree to return enumerator for `chunk` without a block?
This is useful in particular to chain it with `with_index`
A real case example is to summarize a list of integers into ranges. Currently, we need:
```ruby
in... -
11:24 AM Bug #12521: Syntax for retrieving argument without removing it from double-splat catch-all
- Guyren Howe wrote:
> ```ruby
> ...
So this would be syntactic sugar for essentially this?
```ruby
def render **context
name = context.fetch :name
something = context.fetch :something
foo = context.fetch :foo
… now use... -
11:13 AM Bug #12521: Syntax for retrieving argument without removing it from double-splat catch-all
- Tomohiro Hashidate wrote:
> I want this feature.
> ...
Why is it better than this?
~~~ ruby
class KMS
def initialize(key_id, **auth)
@client = Aws::KMS::Client.new(**auth) # simple
@key_id = key_id
end
# ...
~... -
08:22 AM Bug #12521: Syntax for retrieving argument without removing it from double-splat catch-all
- https://github.com/ruby/ruby/compare/trunk...nobu:feature/12521-kwarg-in-option
-
10:47 AM Bug #12780 (Closed): BigDecimal#round returns different types depending on argument
- BigDecimal#round returns Integer when no arguments are given and BigDecimal otherwise. I would have assumed the result to always be BigDecimal.
BigDecimal.new('12.34').round # => 12 (Integer)
BigDecimal.new('12.34').round(0) # => 12 ... -
08:46 AM Revision fdaea159 (git): * process.c (InitVM_process): Support CLOCK_MONOTONIC_RAW_APPROX,
- CLOCK_UPTIME_RAW, and CLOCK_UPTIME_RAW_APPROX which are introduced
by macOS 10.12.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56200 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:47 AM Revision f4ac0d75 (git): parse.y: preserve cmdarg_stack
- * parse.y (brace_body, do_body): preserve cmdarg_stack so that
`do` after cmdarg in a block should be `do_block` and bound to
the outer method. [ruby-core:72482] [Bug #11873]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56199 ... -
04:38 AM Bug #11873 (Closed): Syntax error and parse problem when calling a method without parentheses
- Applied in changeset r56198.
----------
parse.y: do after cmdarg in paren
* parse.y: `do` after cmdarg in parentheses should be `do_block`
and bound to the outer method. [ruby-core:72482] [Bug #11873] -
04:38 AM Revision c924e2db (git): parse.y: do after cmdarg in paren
- * parse.y: `do` after cmdarg in parentheses should be `do_block`
and bound to the outer method. [ruby-core:72482] [Bug #11873]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56198 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:36 AM Revision b458aef0 (git): parse.y: remove spaces [ci skip]
- * parse.y (cmd_brace_block, do_block): remove spaces before tab in
indent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56197 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 04:32 AM Revision ceddc8f5 (git): * 2016-09-21
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56196 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:32 AM Revision 7b4b01bf (git): parse.y: block bodies
- * parse.y (brace_body, do_body): extract block bodies.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56195 b2dd03c8-39d4-4d8f-98ff-823fe69b080e