Activity
From 10/14/2016 to 10/20/2016
10/20/2016
-
09:08 PM Bug #11929: No programatic way to check ability to dup/clone an object
- Martin Dürst wrote:
> I clearly prefer the last proposal (fail silently).
> ...
I very much agree. -
09:11 AM Bug #11929: No programatic way to check ability to dup/clone an object
- I clearly prefer the last proposal (fail silently).
That would make for a much more unified, streamlined protocol, avoiding needless exposition of internals. It would do exactly what dup (and clone) are described to do, namely (preten... -
04:03 AM Bug #11929: No programatic way to check ability to dup/clone an object
- *D.E.*, while you're technically not wrong, IMHO, the need to **`undef`** the method is only abated in the strictest of senses: the sanity check averts what might otherwise be a segfault or memory leak or some other aberration, and makes...
-
07:29 PM Bug #12548: Rounding modes inconsistency between round versus sprintf
- Benoit Daloze says that RubySpec should test previous rounding behavior for Ruby before 2.4.0, and test round-even for 2.4.0+. That makes sense to me. Opened RubySpec PR #322 (https://github.com/ruby/spec/pull/322) to reflect this.
Wh... -
07:10 PM Bug #12857 (Third Party's Issue): macOS Sierra sqlite3 bug
- ```
Hughs-MacBook-Pro:travel hughtures$
```
-
05:29 PM Bug #12855: Inconsistent keys identity in compare_by_identity Hash when using literals
- Jeremy Evans wrote:
> While this was a behavior change between 2.1 and 2.2, I'm not sure I would consider it a regression.
> ...
The main reason I consider it a bug is that it contradicts the very basic intuition that replacing a liter... -
01:52 PM Bug #12855: Inconsistent keys identity in compare_by_identity Hash when using literals
- While this was a behavior change between 2.1 and 2.2, I'm not sure I would consider it a regression. It seems unlikely anyone who uses compare_by_identity hashes would also be using string literals and want string literals keys to have ...
-
12:35 PM Bug #12855 (Closed): Inconsistent keys identity in compare_by_identity Hash when using literals
- This seems a regression since 2.2.
I would guess it's due to some optimization for having a string literal between []=.
That optimization should not trigger for compare_by_identity hashes, so both cases below are consistent.
~~~ruby... -
05:00 PM Bug #12856 (Rejected): Help Please
- This is for bugs with the Ruby language.
You can ask for help on the ruby-talk mailing list (http://lists.ruby-lang.org/cgi-bin/mailman/listinfo/ruby-talk ), StackOverflow.com, ... -
02:54 PM Bug #12856 (Rejected): Help Please
- Hello,
I downloaded the ruby program for Windows OS. Whenever I write a program in the notepad and I save it as a ruby program following instructions from my computer studies course, the program opens for a few seconds and before the co... -
01:18 PM Revision 6f22fc6b (git): fix hexdigest [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56459 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:10 AM Bug #6785 (Feedback): Documentation for RubyVM::InstructionSequence
-
08:03 AM Misc #11960 (Closed): Tiny documentation improvement for URI.escape
-
08:03 AM Revision 13e474f0 (git): * lib/uri/common.rb: added documentation for deprecated method.
- [Misc #11960][ruby-core:72733][ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56458 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:59 AM Revision a6ed6e2b (git): test_proc.rb: improve curry tests
- * test/ruby/test_proc.rb (test_curry): split.
* test/ruby/test_proc.rb (test_curry_passed_block): simplify the
assertion.
* test/ruby/test_proc.rb (test_curry_with_trace): run all curry
tests.
git-svn-id: svn+ssh://ci.ruby-lang.or... -
07:57 AM Feature #10452 (Closed): Add documentation for Digest
- Applied in changeset r56455.
----------
* ext/digest/digest.c: Add documentation for Digest.
[Feature #10452][ruby-core:66001][ci skip]
* remove HMAC from list of digest algorithms,
* add MD5 in list of digest algorithms,
* add ... - 07:57 AM Revision 10035cb4 (git): * remove trailing spaces.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56456 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:57 AM Revision 814c1ade (git): * ext/digest/digest.c: Add documentation for Digest.
- [Feature #10452][ruby-core:66001][ci skip]
* remove HMAC from list of digest algorithms,
* add MD5 in list of digest algorithms,
* add information about writing a C digest implementation using Digest::Base,
* add documentation fo... -
07:26 AM Misc #11329 (Closed): Improved documentation grammar for open-uri#open option
-
07:19 AM Revision d74bb095 (git): * lib/open-uri.rb: Improved documentation grammar for
- open-uri#open option. [Misc #11329][ruby-core:69868][ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56454 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:45 AM Feature #12854: Proc#curry should return an instance of the class, not Proc
- Another (albeit, poor/strange) example:
https://gist.github.com/tenderlove/ca673b3ce18460890cfd18e09bb1657c
-
05:44 AM Feature #12854: Proc#curry should return an instance of the class, not Proc
- ~~~ ruby
class ChainedProc < Proc
# ... this stuff here is the use-case
end
~~~
-
02:02 AM Feature #12854 (Feedback): Proc#curry should return an instance of the class, not Proc
- What's the rationale or the use-case?
Curried proc is not a subset of the original proc, I think. -
02:42 AM Bug #12833: incorrect iso8601 parsing of YYYY-MM format
- I have a pull request at https://github.com/ruby/ruby/pull/1463. I can make a patch if that is preferable (though this is a very small change).
Since this ticket is marked duplicate, should my patch go on the ticket that this one dup...
10/19/2016
-
11:44 PM Feature #12854 (Feedback): Proc#curry should return an instance of the class, not Proc
- ~~~ ruby
class ChainedProc < Proc
end
ChainedProc.new { |x, y, z| 42 }.curry.class # => Proc
~~~
- 10:44 PM Revision 38689e4b (git): * 2016-10-20
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56453 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:44 PM Revision 87748529 (git): Fix typos [ci skip]
- * NEWS: fix typos "Refinments" as "Refinements".
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56452 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:49 PM Revision 81556803 (git): NEWS mention refinements with Kernel#send and BasicObject#__send__. [Feature #11476]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56451 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:02 AM Feature #11476 (Closed): Methods defined in Refinements cannot be called via send
- Applied in changeset r56450.
----------
vm_insnhelper.c: refinements with send
* vm_insnhelper.c (vm_call_opt_send): enable refinements with
`Kernel#send` and `BasicObject#__send__`. [Feature #11476] -
08:02 AM Revision c8fee08a (git): vm_insnhelper.c: refinements with send
- * vm_insnhelper.c (vm_call_opt_send): enable refinements with
Kernel#send and BasicObject#__send__. [Feature #11476]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56450 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:50 AM Bug #12853 (Third Party's Issue): Error using rails c on Mac OS X 10.12 Sierra
- Thank you reporting. The crash log you attached indicates your process dies inside of libsqlite3.dylib.
-
06:20 AM Bug #12853 (Third Party's Issue): Error using rails c on Mac OS X 10.12 Sierra
- Was able to initiate rails c; upon executing User.count (SQL statement), received error. Have attached the log file that was generated during my error (same or similar to the error reported in ticket 12844 by F. Schiller).
Includes: ... -
05:22 AM Revision 79d49d1a (git): basictest: --run-opt option
- * basictest/runner.rb: do not clobber the option by --run-opt with
RUBYOPT. reported by Allen Hewes <rallenh AT hotmail.com>.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56449 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
10/18/2016
-
11:27 PM Bug #12852: URI.parse can't handle non-ascii URIs
- Olivier Lacan wrote:
>
> ...
You keep using the word "URI" to refer to these data objects, and by specification a URI data object cannot contain non-ASCII characters (and even some ASCII characters are forbidden.) If we agree that `"h... -
09:57 PM Bug #12852: URI.parse can't handle non-ascii URIs
- Matthew Kerwin wrote:
> The rails snippet you linked is part of a HTML form. A web browser displaying and submitting that form would interpret the `✓` entity as U+2713 CHECK MARK, yes, but it would percent-encode it as `%E2%9C%93... -
09:18 PM Bug #12852: URI.parse can't handle non-ascii URIs
- As a point of order, there's no such thing as a "non-ASCII URI"*; that would be an [IRI](https://tools.ietf.org/html/rfc3987).
The rails snippet you linked is part of a HTML form. A web browser displaying and submitting that form woul... -
08:10 PM Bug #12852 (Closed): URI.parse can't handle non-ascii URIs
- Given a return URL path like: `/search?utf8=\u{2713}&q=foo`, `URI.parse` raises the following exception:
```ruby
URI.parse "/search?utf8=\u{2713}&q=foo"
URI::InvalidURIError: URI must be ascii only "/search?utf8=\u{2713}&q=foo"
``... -
05:43 PM Bug #12851 (Rejected): string.gsub!(/\W/, '').downcase! returns undefined method in some (listed) cases
- This isn't a bug. String#gsub! returns nil if no changes are made. From the documentation for String#gsub!: "Performs the substitutions of String#gsub in place, returning str, or nil if no substitutions were performed."
-
05:21 PM Bug #12851 (Rejected): string.gsub!(/\W/, '').downcase! returns undefined method in some (listed) cases
- Hi! Found this strange issue with gsub! and downcase! methods used together for a string. Example code:
~~~ ruby
def palindrome? (str)
str.gsub!(/\W/, '').downcase!
str == str.reverse
end
puts palindrome?("Madam, I'm Adam!"... -
03:40 PM Revision 72ad249e (git): Update comments in prelude.c [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56448 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:09 PM Bug #12850 (Closed): SEGV in C level backtrace information
- Applied in changeset r56446.
----------
addr2line.c: boundary checks
* addr2line.c (parse_debug_line_cu): boundary checks for
compressed debug sections. [ruby-dev:49840] [Bug #12850] -
02:38 PM Bug #12850: SEGV in C level backtrace information
- `--enable-shared`のときしか有効にしていないからでしょう。
シグナルハンドラでzlib呼び出すのはかなり怖いので、revertしますかね。 -
02:21 PM Bug #12850: SEGV in C level backtrace information
- http://rubyci.org/ の Ubuntu 16.04 x86_64 では通っているように見えるので、違いを調べてみたところ、`--enable-shared` を外すと手元でも大丈夫になりました。
-
01:41 PM Bug #12850 (Closed): SEGV in C level backtrace information
- Ubuntu 16.04.1 LTS の環境で、r56445 の変更の影響で SEGV のテストの `C level backtrace information` の表示で SEGV します。
```
% gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper
Target: x86_64-li... - 03:09 PM Revision 40517422 (git): * 2016-10-19
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56447 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:09 PM Revision 685a436a (git): addr2line.c: boundary checks
- * addr2line.c (parse_debug_line_cu): boundary checks for
compressed debug sections. [ruby-dev:49840] [Bug #12850]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56446 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:45 PM Bug #12849: Ruby 2.3.1 build fails with FreeBSD 11
- I'm going to prepare FreeBSD 11 environment for this issue at this weekend.
-
01:14 PM Bug #12849 (Feedback): Ruby 2.3.1 build fails with FreeBSD 11
- Added a comment at the GitHub issue. It sounds weird, because its existence of SSLv2_method should be checked by ext/openssl/extconf.rb in all stable branches including 2.3.
-
12:47 PM Bug #12849 (Rejected): Ruby 2.3.1 build fails with FreeBSD 11
- I got build failure report for openssl build on Ruby 2.3.1
see. https://github.com/rbenv/ruby-build/issues/1009
It caused that FreeBSD 11 removed `SSLv2_method`.
Can we pick patch from r55162 for Ruby 2.3.1 ? -
07:36 AM Revision a40d95c4 (git): configure.in: compress debug sections
- * configure.in (DLDFLAGS): append --compress-debug-sections=zlib
if available, which reduces the size of LIBRUBY_SO by half or
more.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56445 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:55 AM Revision 5f69a2e5 (git): separated_version.mk: option for linux [ci skip]
- * defs/separated_version.mk (RUBY_VERSION_DLDFLAGS): move linux
specific option.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56444 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 06:35 AM Revision fed06646 (git): * 2016-10-18
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56443 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:35 AM Revision 3ee370ae (git): separated_version.mk [ci skip]
- * defs/separated_version.mk: FOR DEVELEPERS ONLY.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56442 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:44 AM Bug #12847: Documentation of instance method Thread.abort_on_exception= is wrong
- Hah sorry about that, I completely misread the sentence. I would suggest changing the docs to be a bit more clear that this is different than `Thread.abort_on_exception=` (though it is logical). Maybe something like:
~~~
When set to ... -
12:12 AM Bug #12847 (Rejected): Documentation of instance method Thread.abort_on_exception= is wrong
- It is the instance-level setting but terminates the whole process.
-
03:55 AM Feature #9108: Hash sub-selections
- Indeed, I'm still hanging out for this. Seems like such a common thing I run into, and I'm always surprised this functionality isn't built in. `Hash#select { |k,v| {...}.include?(k) }` is very verbose.
-
12:17 AM Feature #12848 (Assigned): Crazy idea: Allow regex definition for methods (Do not take it seriously please)
10/17/2016
-
06:07 PM Bug #12743: throw(false) does not work as expected
- ruby_2_3 r56441 merged revision(s) 56252,56254.
-
06:07 PM Revision ded40392 (git): merge revision(s) 56252,56254: [Backport #12743]
- * 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
acciden... -
05:56 PM Bug #12776: Flaky test case: TestThread#test_thread_name
- ruby_2_3 r56440 merged revision(s) 53520.
-
05:56 PM Revision 69f86f79 (git): merge revision(s) 53520: [Backport #12776]
- test_thread.rb: wait for the thread to sleep
* test/ruby/test_thread.rb (test_thread_name): wait for the status
of the subject thread to fix, so that the status does not change
between two inspect methods.
git-svn-id: svn+s... -
05:55 PM Bug #12811: SyntaxError does not have a backtrace in 2.3+
- ruby_2_3 r56439 merged revision(s) 56363,56365.
-
05:55 PM Revision 10555f93 (git): merge revision(s) 56363,56365: [Backport #12811]
- * load.c (rb_require_safe): SyntaxError created by the parser just
has the mesage and needs to set up the backtrace.
[ruby-core:77491] [Bug #12811]
has the message and needs to set up the backtrace.
git-sv... -
05:54 PM Feature #12848 (Rejected): Crazy idea: Allow regex definition for methods (Do not take it seriously please)
- Me again, sorry - only crazy ideas coming about as of late here.
### Crazy idea: Allow regex definition for methods
I should wait until first april. :)
But anyway.
Consider this:
```ruby
def foo_bar
puts 'hi there!'
e... -
05:38 PM Bug #12822: Backport r56374 (fix monthly log rotate with DST)
- ruby_2_3 r56438 merged revision(s) 56374.
-
05:38 PM Revision 7c0c4c8e (git): merge revision(s) 56374: [Backport #12822]
- * lib/logger.rb (Logger::Period#next_rotate_time): fix monthly log
rotate when DST is applied during a month of 31 days.
[Fix GH-1458]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@56438 b2dd03c8-39d... -
05:23 PM Bug #12823: compile issues 2.2.5 with cygwin
- ruby_2_3 r56437 merged revision(s) 55232.
-
05:23 PM Revision 55f7a78c (git): merge revision(s) 55232: [Backport #12823]
- crypt.c: protoize
* missing/crypt.c: protoize function definitions and make
always-zero functions void.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@56437 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:09 PM Bug #12847 (Rejected): Documentation of instance method Thread.abort_on_exception= is wrong
- The documentation for the instance method says that the setting is global: https://ruby-doc.org/core-2.3.0/Thread.html#method-i-abort_on_exception-3D:
~~~
When set to true, all threads (including the main program) will abort if an ex... -
08:56 AM Feature #12843: Proposal to add a new method to class File in order to determine the name of the file without any suffix
- What is your use-case?
If it's to append another extension, `Pathname#sub_ext` might interest you.
Actually, it can even be used to remove the extension:
```ruby
Pathname("dir/file.ext").sub_ext("") # => #<Pathname:dir/file>
```... -
07:20 AM Revision 79ca0925 (git): install-static-library option [ci skip]
- * win32/configure.bat: add option to enable/disable to install
static ruby library. defaulted to "no". [Feature #12845]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56436 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:17 AM Feature #12845 (Closed): Do we need libruby-static.a?
- Applied in changeset r56434.
----------
install-static-library option [ci skip]
* configure.in (install-static-library): add option to enable/
disable to install static ruby library. defaulted to "no" if
enable-shared. [Feature #... -
06:08 AM Feature #12845 (Closed): Do we need libruby-static.a?
- On install directory, `lib/libruby-static.a` consumes 53MB on my Ubuntu 16 machine (4.4.0-42-generic, gcc 5.4.0). (Because I always use `--enable-shared` option) libruby.so consumes 15MB on same build.
Can we drop this libruby-static.... - 07:17 AM Revision aacbca88 (git): * 2016-10-17
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56435 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:17 AM Revision 9bd24907 (git): install-static-library option [ci skip]
- * configure.in (install-static-library): add option to enable/
disable to install static ruby library. defaulted to "no" if
enable-shared. [Feature #12845]
* tool/rbinstall.rb (local-arch-lib): respect the option.
git-svn-id: svn+... -
06:53 AM Bug #12846 (Rejected): delete
- Osanda Jayathissa wrote:
> We can crash a computer by making it's Disk and Memory to 100% and CPU too above 50%.
> ...
You can do this in many different ways, with most if not all programming languages, and with most operating system... -
06:13 AM Bug #12846 (Rejected): delete
- We can crash a computer by making it's Disk and Memory to 100% and CPU too above 50%.
The issue is when performing illogical ranges and converting them to an array.
Proof of Concept:
('malith'..'osanda').to_a
I have tested on a... -
02:49 AM Bug #12844 (Feedback): Unable to run $rails console
- We need the "many lines of code" you omit to say who is wrong.
10/16/2016
-
11:53 PM Feature #12843: Proposal to add a new method to class File in order to determine the name of the file without any suffix
- Robert A. Heiler wrote:
> I would thus like to suggest a way for a new method addition, on the
> ...
Maybe what is called as "stem" in GNU make document?
> ```ruby
> ...
It sounds like same as `basename`.
> What we actually appe... -
10:39 AM Feature #12843 (Open): Proposal to add a new method to class File in order to determine the name of the file without any suffix
- We currently have `File.basename()` and `File.dirname()`, both of which
work very well and are quite useful when working with files and
directories.
When you want to get the filename without extension, you can use
something like th... -
08:00 PM Bug #12844 (Closed): Unable to run $rails console
- If I run rails console it diplays many lines of code and then states:
```
[NOTE]
You may have encountered a bug in the Ruby interpreter or extension libraries.
Bug reports are welcome.
For details: http://www.ruby-lang.org/bugrep... -
06:09 AM Revision 64b62f40 (git): * enc/windows_1254.c, test/ruby/enc/test_case_comprehensive.rb:
- Implement non-ASCII case conversion for Windows-1254.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56433 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
10/15/2016
-
11:34 PM Revision 64efbf24 (git): test_io.rb: use assert_not_predicate
- * test/ruby/test_io.rb (test_DATA_binmode): assert_not_predicate
for more descriptive message.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56432 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:59 PM Revision 9ec940a4 (git): test_refinement.rb: test_symbol_proc
- * test/ruby/test_refinement.rb (test_symbol_proc): move from
test_symbol.rb [Feature #9451]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56431 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:59 PM Revision 9ffaf140 (git): test_refinement.rb: using without eval
- * test/ruby/test_refinement.rb (FooExtClient, FooExtClient2): no
needs to eval, using works in a class block now.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56430 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:29 PM Bug #12814: Pathname#each_child(false) produces unusable file paths
- I see… Still I can't decide whether it is for good or not. What is the purpose of such a path then? Shouldn't a String object instead of a Pathname be returned in such a case?
In my scenario I traverse directories and process some of ... - 03:45 PM Revision 65c9aaa9 (git): * 2016-10-16
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56429 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:45 PM Revision 371e3f4f (git): Add test of DATA.binmode?
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56428 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:29 AM Bug #12842 (Third Party's Issue): Bug in ruby intrepreter
-
09:05 AM Bug #12842 (Third Party's Issue): Bug in ruby intrepreter
- ```
Nischals-Device:jwt_api_auth nischalgautam$ rails c
Running via Spring preloader in process 23900
Loading development environment (Rails 5.0.0.1)
2.3.1 :001 > @post=Post.create(title: "hello")
/Users/nischalgautam/.rvm/gems/rub... -
10:37 AM Bug #12705: yielding args to a lambda uses block/proc rather than lambda/method semantics
- This bug seems specific to yield, calling the lambda behaves as expected.
I added specs in ruby/spec to verify this behavior:
https://github.com/ruby/spec/commit/c4cabcf37ac804ea127bd0216c0239e5f9045ec1
The ruby_bug guard can be adj... -
09:05 AM Revision 65daf7be (git): vm_args.c: cache procs
- * vm_args.c (vm_caller_setup_arg_block): cache proc with
refinements. [Feature #9451]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56427 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:17 AM Feature #9451 (Closed): Refinements and unary & (to_proc)
- Applied in changeset r56426.
----------
vm_args.c: allow refinements in Symbol proc
* vm_args.c (refine_sym_proc_call): search and call method with
refinements.
* vm_args.c (vm_caller_setup_arg_block): enable refinements when
enabl... -
05:17 AM Feature #12638 (Closed): Symbol#to_proc probable bug (seems not to support refinements)
- Applied in changeset r56426.
----------
vm_args.c: allow refinements in Symbol proc
* vm_args.c (refine_sym_proc_call): search and call method with
refinements.
* vm_args.c (vm_caller_setup_arg_block): enable refinements when
enabl... -
05:17 AM Revision 35a29390 (git): vm_args.c: allow refinements in Symbol proc
- * vm_args.c (refine_sym_proc_call): search and call method with
refinements.
* vm_args.c (vm_caller_setup_arg_block): enable refinements when
enabled in the caller. [Feature #9451]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@...
10/14/2016
-
03:54 PM Bug #12841 (Closed): Kernel#exec(cmdname, arg1, ...) passes arg1 that is encoded strangely on Japanese Windows
- Applied in changeset r56424.
----------
process.c: use uaspawn
* process.c (proc_exec_cmd): use UTF-8 version aspawn.
[ruby-dev:49838] [Bug #12841] -
01:06 PM Bug #12841 (Closed): Kernel#exec(cmdname, arg1, ...) passes arg1 that is encoded strangely on Japanese Windows
- Kernel#exec(cmdname, arg1, ...) 形式でプログラムを呼び出す際、argが日本語を含んでいると
化けた文字列が渡されます。
同じ内容を Kernel#excec(cmdline) 形式で呼び出すと問題は発生しません。
直接呼び出す場合は問題なし
~~~
> ruby test.rb あ
arg: あ, enc: Window... - 03:54 PM Revision 69692d48 (git): * 2016-10-15
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56425 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:54 PM Revision 5d4309d0 (git): process.c: use uaspawn
- * process.c (proc_exec_cmd): use UTF-8 version aspawn.
[ruby-dev:49838] [Bug #12841]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56424 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:20 PM Bug #12838: Duplication of UDP packets for DNS responses causing "no address" results for valid hostnames
- I looked through some of the DNS RFCs, at the suggestion of a colleague, to see if there was any mention of a standard way of dealing with duplicate responses. I didn't see anything specifically calling out duplicates, but I did find thi...
-
02:58 PM Bug #12838: Duplication of UDP packets for DNS responses causing "no address" results for valid hostnames
- I added a diff file (check-sender.diff) instead of using the issue description to show the change I made to fix the error on my machine. The change and diff were made against the v2_3_1 tag in the git repo mirrored on github. I'm not nec...
-
01:26 PM Revision 0687baaf (git): optparse/kwargs.rb
- * lib/optparse/kwargs.rb (OptionParser#define_by_keywords):
[EXPERIMENTAL] extract command line option definitions from the
information of keyword arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56423 b2dd03c8-39d4-4d8f... -
12:07 PM Bug #12840 (Closed): Add test for Forwardable#def_delegator on private methods
- This is for #12782.
-
09:40 AM Feature #4897: Define Math::TAU and BigMath.TAU. The "true" circle constant, Tau=2*Pi. See http://tauday.com/
- See also https://github.com/jneen/math-tau .
-
08:38 AM Feature #4897: Define Math::TAU and BigMath.TAU. The "true" circle constant, Tau=2*Pi. See http://tauday.com/
- Just to add my POV:
I'm a complete amateur in pure Mathematics. To me who is an outsider of academia, I can't say we should accept or reject this request right now. All I can say is it seems not widely used in papers for some reaso... -
06:42 AM Feature #4897: Define Math::TAU and BigMath.TAU. The "true" circle constant, Tau=2*Pi. See http://tauday.com/
- Nobuyoshi Nakada wrote:
> At the developers' meeting this week, mrkn suggested `TWO_PI` instead.
I don't think TWO_PI would be very useful since it misses the main point of tau, which is that tau is the correct circle constant, (and ... -
05:41 AM Feature #4897: Define Math::TAU and BigMath.TAU. The "true" circle constant, Tau=2*Pi. See http://tauday.com/
- On 2016/10/14 13:35, RRRoy BBBean wrote:
> Would such an interconnected system be packaged as a bunch of individual
> gems, or is there some higher-level packaging concept than the Ruby gem?
>
> I personally think gems are best wh... -
03:12 AM Feature #4897: Define Math::TAU and BigMath.TAU. The "true" circle constant, Tau=2*Pi. See http://tauday.com/
- At the developers' meeting this week, mrkn suggested `TWO_PI` instead.
-
09:28 AM Revision b40d13a9 (git): * Fix wrong class name.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56422 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:27 AM Bug #11736 (Closed): Float(arg) not consistent with documentation
- Applied in changeset r56421.
----------
* object.c: Improve documentation for Integer conversion.
[ruby-core:71661][Bug #11736][ci skip] -
09:27 AM Revision 3827c23a (git): * object.c: Improve documentation for Integer conversion.
- [ruby-core:71661][Bug #11736][ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56421 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:02 AM Misc #12730 (Rejected): Documentation String.slice!(regex)
-
09:01 AM Feature #12803 (Closed): Improve Logger.new option documentation
- Applied in changeset r56420.
----------
* lib/logger.rb: Improve Logger.new option documentation.
[Feature #12803][ruby-core:77467] -
09:01 AM Revision 990b23bb (git): * lib/logger.rb: Improve Logger.new option documentation.
- [Feature #12803][ruby-core:77467]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56420 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:20 AM Revision 99ad5124 (git): optparse.rb: hyphenize
- * lib/optparse.rb (make_switch, parse_in_order): unify underscores
to hyphens.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56419 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:45 AM Feature #12839 (Closed): CSV - Give not nil but empty strings for empty fields
- The CSV parser gives nil for empty fields.
```rb
require "csv"
CSV.parse(%|,""|) #=> [[nil, ""]]
```
The above behavior maybe be suitable for certain programmers, but I hope to get `[["", ""]]`.
So I had used to write the f... - 01:48 AM Revision def1fbde (git): * 2016-10-14
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56418 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 01:48 AM Revision 1fc0c086 (git): webrick: use monotonic clock for timeouts
- The monotonic clock is immune to system time changes and
a better option for implementing timing comparisons.
* lib/webrick/utils.rb (TimeoutHandler): use monotonic clock
(watch): ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tru... -
01:04 AM Bug #12833: incorrect iso8601 parsing of YYYY-MM format
- I searched for this issue, before filing this ticket. However, I just discovered https://bugs.ruby-lang.org/issues/12285 which reports this same issue.