Activity
From 10/25/2016 to 10/31/2016
10/31/2016
-
11:48 PM Feature #12515: Create "Boolean" superclass of TrueClass / FalseClass
- Samuel Williams wrote:
>
> ...
You keep saying things like "polymorphic," but you still haven't answered the question which is fundamental to this whole debate: what method would you define on `class Boolean` that applies identically ... -
11:08 PM Feature #12515: Create "Boolean" superclass of TrueClass / FalseClass
- > It's a choice by that library author. They are not classes but methods, there can be `Boolean` method in the library.
Nobu, you are not looking deep enough.
https://github.com/jeremyevans/sequel/blob/c39594dd35b3f8a8975b05be156ba... -
02:53 PM Feature #12515: Create "Boolean" superclass of TrueClass / FalseClass
- Maybe something like:
~~~ruby
input.zip([String, String, String, Boolean, String, Boolean]).all?{|(i, c)| c === i }
~~~ -
02:51 PM Feature #12515: Create "Boolean" superclass of TrueClass / FalseClass
- Actually, this isn't a good example as it would return `TrueClass` or `FalseClass` rather than `Boolean`...
-
02:50 PM Feature #12515: Create "Boolean" superclass of TrueClass / FalseClass
- I'd just like to add a real situation where I missed a `Boolean` class recently.
A web request takes an array of values in a JSON encoded string and before processing the data the server-side handler will try to validate the input by ... -
06:24 AM Feature #12515: Create "Boolean" superclass of TrueClass / FalseClass
- Samuel Williams wrote:
> Having a class named `Boolean` would make things more readable, for example here: http://sequel.jeremyevans.net/rdoc/files/doc/schema_modification_rdoc.html#label-Column+types - you can see that because there is... -
04:32 AM Feature #12515: Create "Boolean" superclass of TrueClass / FalseClass
- Samuel Williams wrote:
> > But that's how things already are, and the market deals with it just fine.
> ...
It's not a metaphor, it's the real world. Ruby gems exist in open competition, and developers have the opportunity to choose b... -
03:51 AM Feature #12515: Create "Boolean" superclass of TrueClass / FalseClass
- The terms "truthy" and "falsey" were used by Douglas Crockford in his
series of JavaScript lectures at Yahoo about 5 years ago. A value is
"truthy" if treated as true by a conditional. A value is "falsey" if
treated as false by... -
03:35 AM Feature #12515: Create "Boolean" superclass of TrueClass / FalseClass
- It's also interesting to note, so many people are working around this:
Searching on github for:
"is_a? TrueClass FalseClass" gives 90,000 results.
https://github.com/search?p=2&q=is_a%3F+TrueClass&ref=searchresults&type=Code&utf... -
01:14 AM Feature #12515: Create "Boolean" superclass of TrueClass / FalseClass
- > But that's how things already are, and the market deals with it just fine.
Well, I know you are being metaphorical ("market deals with it"). But this is not really a case of a market, and I prefer DRY for many reasons. There should... -
04:31 PM Bug #12878 (Closed): 0.49999999999999994.round is 1 and not 0 on Windows 64
- Applied in changeset r56534.
----------
configure.in: no round in x64-mingw
* configure.in (ac_cv_func_round): round(3) in x86_64-w64-mingw32
is not accurate in an edge case. [ruby-core:77794] [Bug #12878] -
06:22 AM Bug #12878: 0.49999999999999994.round is 1 and not 0 on Windows 64
- JFYI if we stick to 64bit representation, 0.49999999999999994 is `0011111111011111111111111111111111111111111111111111111111111111`.
-
04:31 PM Revision 1e63aafe (git): configure.in: no round in x64-mingw
- * configure.in (ac_cv_func_round): round(3) in x86_64-w64-mingw32
is not accurate in an edge case. [ruby-core:77794] [Bug #12878]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56534 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:01 PM Revision c72fc9f3 (git): dir.c: suppress a warning
- * dir.c (to_be_ignored): remove duplicate inline modifier, and
suppress a warning by VC.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56533 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 03:17 PM Revision 64116ea9 (git): * 2016-11-01
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56532 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:17 PM Revision 478606bf (git): fix typos [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56531 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:04 PM Bug #12821: Object converted to Hash unexpectedly under certain method call
- I get the same odd behavior with:
ruby --version ruby 2.3.1p112 (2016-04-26 revision 54768) [x86_64-linux]
./ruby --version ruby 2.4.0preview2 (2016-09-09 trunk 56129) [x86_64-linux]
It looks like the combination ( foo = nil, b... -
08:44 AM Bug #12840 (Closed): Add test for Forwardable#def_delegator on private methods
- Applied in changeset r56530.
----------
* test/test_forwardable.rb (TestForwardable#test_on_private_method): add test for [Bug #12782] [Bug #12840] -
08:43 AM Revision 58c5011b (git): * test/test_forwardable.rb (TestForwardable#test_on_private_method): add test for [Bug #12782] [Bug #12840]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56530 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:39 AM Feature #7360: Adding Pathname#glob
- The patch still applies to latest trunk.
-
06:41 AM Feature #7360: Adding Pathname#glob
- ping?
-
06:09 AM Bug #12873 (Closed): Eventmachine recompile with openssl-win64 error
- Seems like a garbage issue.
-
04:04 AM Feature #12810 (Assigned): Improve `Set#find_index` performance
- Seems a design issue. Let me assign this to the library's maintainer.
-
03:48 AM Feature #5531 (Closed): deep_value for dealing with nested hashes
- Dan Erikson wrote:
> I believe this has recently been implemented as `Hash#dig`.
Indeed. Closing peacefully. -
03:41 AM Feature #5903 (Closed): Optimize st_table (take 2)
- Closing. Follow-up issue is #12142.
-
02:57 AM Bug #12884: Using a HashWithIndifferentAccess with a default value in a function with a keyword parameter converts it to a Hash.
- (Just to be clear) It has nothing to do with HWIA. I can reproduce the situation without it.
```ruby
class X < Hash; end
def test(params = X.new, disrupter: nil)
return params
end
x = X.new
x['foo'] = 'bar'
p test(x).cla... - 02:08 AM Revision b37af621 (git): * 2016-10-31
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56529 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:08 AM Revision 587a2460 (git): uri/generic.rb: Tidy up merge
- * lib/uri/generic.rb (URI::Generic#merge): merge merge0.
[GH-1469]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56528 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:51 AM Bug #12885 (Third Party's Issue): Large Record Set: [BUG] Segmentation fault at 0x00000000000000
- Lee H wrote:
> -- C level backtrace information -------------------------------------------
> ...
It dies inside of libsybdb. Are you using Sybase? Please ask tiny_tds's authors first. If they say it's ruby-core, reopen this ticket ...
10/30/2016
-
11:45 PM Feature #12886: URI#merge doesn't handle paths correctly
- This ticket should be re-cast as a feature request, to allow merging of two relative references.
Incidentally:
Samuel Williams wrote:
>
> ...
As discussed elsewhere, it's a "relative reference", not a "URI." It parses to a `URI:... -
11:08 PM Feature #12886 (Rejected): URI#merge doesn't handle paths correctly
- I feel like this should work.
~~~
> URI.parse("/base/uri") + URI.parse("relative")
URI::BadURIError: both URI are relative
~~~
The result should be URI with path = "/base/relative".
But it doesn't. It fails with an exception.... -
11:35 PM Feature #12515: Create "Boolean" superclass of TrueClass / FalseClass
- Samuel Williams wrote:
> The fact that so many gems are introducing "`class Boolean`" is an argument FOR it not AGAINST it, IMHO. Because when this code is loaded together, it might behave strangely if there is no shared meaning for "`c... -
11:00 PM Feature #12515: Create "Boolean" superclass of TrueClass / FalseClass
- The fact that so many gems are introducing "`class Boolean`" is an argument FOR it not AGAINST it, IMHO. Because when this code is loaded together, it might behave strangely if there is no shared meaning for "`class Boolean`".
Having ... -
07:59 PM Bug #12885 (Third Party's Issue): Large Record Set: [BUG] Segmentation fault at 0x00000000000000
- [BUG] Segmentation fault at 0x00000000000000
ruby 2.2.4p230 (2015-12-16 revision 53155) [x86_64-darwin15]
-- Crash Report log information --------------------------------------------
See Crash Report log file under the one of fol... -
12:08 PM Revision 6ce158ba (git): fix typo [ci skip]
- * lib/rubygems/specification.rb: reapply 56225.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56527 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:57 AM Revision 577a37dd (git): Add config for *.yml [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56526 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:32 AM Revision 9a21c284 (git): * lib/rubygems.rb, lib/rubygems/*, test/rubygems/*: Update
- rubygems to 2.6.8.
Release note of 2.6.8: https://github.com/rubygems/rubygems/commit/9fb8880976f5ab998912898b091d88aa10eb1d4a
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56525 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:31 AM Bug #12881: Double-bang (!!) raises warning on string literal
- This is a follow-up. I tested for the same issue with Ruby 2.4.0 preview
2. I got slightly different behavior, but essentially the same issue.
Here are the details. I wasn't sure if I could add them to the issue
tracker without ma...
10/29/2016
- 09:39 PM Revision f4b623f7 (git): * 2016-10-30
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56524 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:39 PM Revision 2959b5aa (git): * enc/windows_1254.c: Fix typo. Reported by k-takata at
- https://github.com/k-takata/Onigmo/commit/ceb59cc. Thanks!
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56523 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:29 PM Bug #12884 (Closed): Using a HashWithIndifferentAccess with a default value in a function with a keyword parameter converts it to a Hash.
- A strange bug that broke our production when migrating from 2.1.9 to 2.2.5 (still present in 2.3.1)
It involves HashWithIndifferentAccess from active support. The version used is 3.2.22.4 (against all ruby versions)
Here's a bit of c... -
06:58 PM Feature #12802: Add BLAKE2 support to Digest
- Nice @ SHA-3 branch. I think it makes sense to add both.
The reason to add BLAKE2 in addition to SHA-3 is that BLAKE2 is, in some cases, over 3X faster than SHA-3 at an equivalent security level:
https://blake2.net/sandy.png
BLA... -
01:37 PM Feature #12046: Allow attr_reader :foo? to define instance method foo? for accessing @foo
- > If you have any concrete use-case for the new (more complex) behavior, please tell me.
This feature request has been rejected more than once, so I'm most likely doing this in vain. But the obvious use-case would be better readabilit... -
11:51 AM Bug #12883 (Feedback): Bus Error at 0x0000010b8075eb
- Michalis Despotopoulos wrote:
> From the diagnostic reports:
What's the rest? -
11:37 AM Bug #12883: Bus Error at 0x0000010b8075eb
- From the diagnostic reports:
```
Process: ruby [23318]
Path: /Users/USER/*/ruby
Identifier: ruby
Version: 0
Code Type: X86-64 (Native)
Parent Process: bash [23134]
Responsible: Termina... -
11:35 AM Bug #12883 (Closed): Bus Error at 0x0000010b8075eb
- After trying to start the rails server, my page wasn't loading. Then I killed the process and here is what I got:
```
^CExiting
/Users/Michael/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/i... -
10:59 AM Bug #12881 (Closed): Double-bang (!!) raises warning on string literal
- Applied in changeset r56522.
----------
parse.y: !-operator warning
* parse.y (cond0): !-operator is a method call, no warning for
literal in condition. [ruby-core:77801] [Bug #12881] -
10:59 AM Revision e981862f (git): parse.y: !-operator warning
- * parse.y (cond0): !-operator is a method call, no warning for
literal in condition. [ruby-core:77801] [Bug #12881]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56522 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:15 AM Feature #12877: windows-1255とUnicode間の変換テーブルがWindowsの実装と一致しない
- その後VMにファイルを送り込むことに成功しました。IE4がインストールされていないWindows NT 4.0でも、windows-1255のマッピングテーブルはWindows 10と同じでした。というわけで題名を戻します。
東アジア言語版のWin9xはRTL言語をサポートしていないため[1]、Win9xについては結局確認できませんでした。
[1] https://msdn.microsoft.com/ja-jp/library/cc389892.aspx -
02:23 AM Feature #12877: windows-1255とUnicode間の変換テーブルがWindowsの実装と一致しない
- 0xCA→U+05BAのマッピングは少なくともWindows 2000から存在するので、変更されたわけではないです(それ以前のOSはいつの間にかVMwareでゲストにファイルを送り込むことができなくなっていて、確認できませんでした)。
U+05BAが追加されたのはUnicode 5.0 (2006年)なのに、なぜそれよりはるか前からマッピングが存在するのかは謎ですが。 -
01:09 AM Revision af1b9db4 (git): compile.c: not flip-flop
- * compile.c (iseq_compile_each): turn flip-flop in a not-operator
into a boolean value. fix up r56315
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56521 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:44 AM Bug #12880 (Feedback): rails generate but
- Any messages when you cancelled it?
-
12:39 AM Bug #12879 (Third Party's Issue): You may have encountered a bug in the Ruby interpreter or extension libraries.
- Install sqlite3 by HomeBrew.
-
12:39 AM Bug #12876 (Closed): Calling new hangs Ruby when class prepends an empty module and makes initialize method public
- Applied in changeset r56520.
----------
vm_eval.c: follow the original class
* vm_eval.c (vm_call0_body): follow the original class, not to
loop the prepended module. [ruby-core:77784] [Bug #12876] -
12:39 AM Revision 693eabb2 (git): vm_eval.c: follow the original class
- * vm_eval.c (vm_call0_body): follow the original class, not to
loop the prepended module. [ruby-core:77784] [Bug #12876]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56520 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
10/28/2016
-
09:01 PM Feature #12882 (Closed): Add caller/file/line information to internal Kernel#warn calls
- Most internal uses of Kernel#warn do not begin with caller/file/line information, making debugging such warnings more difficult, and hindering filtering/processing of warnings on a per-file/directory/gem basis when overriding Warning.war...
-
05:39 PM Bug #12881 (Closed): Double-bang (!!) raises warning on string literal
- I use !!x or !!(x) to force x to true or false.
I just noticed this trick raises a warning with string literals.
It would be nice if this warning were not raised, since it is sometimes convenient to force some object to true or false.
... -
05:11 PM Feature #12012: Add Boolean method
- I'm doing a bug report now.
I use Thunderbird, and I didn't know whether to use Reply or Reply to
Group. Sorry.
On 10/28/2016 02:56 AM, Nobuyoshi Nakada wrote:
> On 2016/10/28 11:57, RRRoy BBBean wrote:
>> irb(main):002:0> !... -
08:01 AM Feature #12012: Add Boolean method
- On 2016/10/28 11:57, RRRoy BBBean wrote:
> irb(main):002:0> !!('hi')
> (irb):2: warning: string literal in condition
> => true
>
> Why do I get this warning? Shouldn't I be able to use bang-bang to convert anything to it's corresp... -
03:52 PM Bug #12859: Bug on Rails Console?
- Jorge Dominguez wrote:
> Nobuyoshi Nakada wrote:
> ...
better yet i look for any update on Appstore and I install the update and issues were fixed.
-
02:06 PM Bug #12859: Bug on Rails Console?
- You can install another version of sqlite3 from macports or homebrew.
-
01:48 PM Bug #12859: Bug on Rails Console?
- Nobuyoshi Nakada wrote:
> Not the gem's bug, OS-bundled sqlite3 library's bug.
How do i fix it? -
07:42 AM Bug #12859: Bug on Rails Console?
- Not the gem's bug, OS-bundled sqlite3 library's bug.
-
03:50 PM Revision 420b4ae2 (git): fix typos [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56519 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 03:28 PM Revision 102fae4e (git): * 2016-10-29
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56518 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:28 PM Revision 703cc674 (git): test/unit.rb: no file name if idle [ci skip]
- * test/lib/test/unit.rb (Test::Unit::Parallel::Worker#to_s): show
file name if not idling.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56517 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:14 PM Feature #12877 (Closed): windows-1255とUnicode間の変換テーブルがWindowsの実装と一致しない
- Applied in changeset r56516.
----------
Update windows-1255 table
* enc/trans/windows-1255-tbl.rb: update mapping from 0xCA to
U+05BA. [Feature #12877] -
12:00 PM Feature #12877 (Closed): windows-1255とUnicode間の変換テーブルがWindowsの実装と一致しない
- ○再現手順
ruby -e 'printf("%#x\n", 0xCA.chr("windows-1255").encode("UTF-8").ord)'
○実際の結果
-e:1:in `encode': "\xCA" to UTF-8 in conversion from Windows-1255 to UTF-8 (Encoding::UndefinedConversionError)
from -e:1:in `<main>'
○... -
03:14 PM Revision b24e0932 (git): Update windows-1255 table
- * enc/trans/windows-1255-tbl.rb: update mapping from 0xCA to
U+05BA. [Feature #12877]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56516 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:34 PM Bug #12880 (Closed): rails generate but
- Hi there,
When i do
~~~
rails generate controller Foo bar baz
Running via Spring preloader in process 95248
create app/controllers/foo_controller.rb
route get 'foo/baz'
route get 'foo/bar'
invoke ... -
02:25 PM Revision 4f7a051e (git): enc/depend: downcase
- * enc/depend: downcase table file names.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56515 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:22 PM Revision 8027dfaf (git): enc/depend: extract transcode_tblgen
- * enc/depend: extract transcode_tblgen method calls for libraries
loaded by dynamically generated names, in single_byte.trans.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56514 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:18 PM Revision 06711fd1 (git): single_byte.trans: dead code
- * enc/trans/single_byte.trans (transcode_tblgen_singlebyte):
remove useless code. returned value is not used.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56513 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:18 PM Revision 1da2b2e7 (git): transcode-tblgen.rb: dup literal string
- * tool/transcode-tblgen.rb: get rid of modifying frozen literal
string.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56512 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:18 PM Bug #12879 (Third Party's Issue): You may have encountered a bug in the Ruby interpreter or extension libraries.
- Running an exercise on building a web app from the book Agile web development for Rails 5
command bin/rails test test/controllers/line_items/controller_test.rb
and I get the attached crash
Mac OSX 10.12
ruby version - ruby 2.3.... -
12:28 PM Bug #12878 (Closed): 0.49999999999999994.round is 1 and not 0 on Windows 64
- 0.49999999999999994.round produces 1 on this platform, while all other platforms seem to produce the expected 0 (round-to-nearest).
Maybe this is due to some slightly different floating-point representation?
See https://ci.appveyor.c... -
07:05 AM Revision f28caf31 (git): insns.def: opt_case_dispatch trivial optimization
- * insns.def (opt_case_dispatch): extract float value only if the
Float method is not redefnined.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56511 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:58 AM Revision 9e75488a (git): internal.h: RB_OBJ_BUILTIN_TYPE
- * internal.h (RB_OBJ_BUILTIN_TYPE): special-const safe
BUILTIN_TYPE.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56510 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:20 AM Revision b03a92c4 (git): complex.c: static IDs
- * complex.c (id_finite_p, id_infinite_p, id_rationalize, id_PI):
initialize static IDs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56509 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 06:19 AM Revision 0ca1d842 (git): * 2016-10-28
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56508 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:19 AM Revision 22263722 (git): complex.c: FINITE_TYPE_P
- * complex.c (FINITE_TYPE_P): extract predicate.
* complex.c (rb_complex_finite_p, rb_complex_infinite_p): use
dedicated predicates instead of switch by TYPE.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56507 b2dd03c8-39d4-4d8f-9... -
05:33 AM Bug #12876 (Assigned): Calling new hangs Ruby when class prepends an empty module and makes initialize method public
- ```
zsh % lldb -- ./miniruby -v ~/tmp.rb
(lldb) target create "./miniruby"
Current executable set to './miniruby' (x86_64).
(lldb) settings set -- target.run-args "-v" "/Users/urabe.shyouhei/tmp.rb"
(lldb) run
Process 98447 launch...
10/27/2016
-
11:17 PM Feature #12012: Add Boolean method
- You can use **`wannabe_bool`** gem: https://github.com/prodis/wannabe_bool
-
11:14 PM Feature #11848: New #to_b method for String, Symbol, Numeric, NilClass, TrueClass and FalseClass.
- Andrew Vit wrote:
> I've had to do this in a few places over the years myself:
> ...
Andrew Vit, you can use **`wannabe_bool`** gem: https://github.com/prodis/wannabe_bool -
10:01 PM Bug #12859 (Third Party's Issue): Bug on Rails Console?
- It's sqlite3 gem issue.
-
09:47 PM Bug #12859: Bug on Rails Console?
- Shyouhei Urabe wrote:
> The message you pasted is not full. There should be something before the part you copied. Can you disclose the log from the beginning of the "enter to rails console" you say?
```
irb(main):001:0> user = Use... -
02:28 PM Revision 8998c064 (git): ruby/ruby.h: optimize rb_integer_type_p
- * include/ruby/ruby.h (rb_integer_type_p): turn into macro to help
clang based on old gcc to eliminate CSE.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56506 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:18 PM Bug #12876 (Closed): Calling new hangs Ruby when class prepends an empty module and makes initialize method public
- ```ruby
module Foo
end
class Bar
prepend Foo
public :initialize
end
p Bar.new # => hangs
```
## Runs OK
* ruby 2.1.0p0 (2013-12-25 revision 44422) [x86_64-darwin14.0]
* ruby 2.1.1p76 (2014-02-24 revision 45161) [... -
02:09 PM Bug #12875 (Closed): Fixnum bit operator and coerce
- The following code raises "Test can't be coerced into Fixnum (TypeError)"
~~~ ruby
class Test
attr_accessor :value
def initialize(value)
@value = value
end
def |(other)
case(other)
when Test
@value |... -
07:48 AM Bug #12743: throw(false) does not work as expected
- ruby_2_2 r56505 merged revision(s) 56252,56254.
- 07:48 AM Revision 04b03165 (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... -
07:47 AM Bug #12822: Backport r56374 (fix monthly log rotate with DST)
- ruby_2_2 r56504 merged revision(s) 56374.
- 07:47 AM Revision ad559b5c (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_2@56504 b2dd03c8-39d... -
07:44 AM Feature #12802: Add BLAKE2 support to Digest
- https://github.com/nobu/ruby/tree/feature/digest/sha3
-
07:10 AM Feature #12802: Add BLAKE2 support to Digest
- Is there still a supported environment without 64-bit integer support? ext/digest/sha2/sha2.c is already using 64-bit integers. It is compiled only when OpenSSL (or CommonCrypto) is not available, but the current versions of OpenSSL also...
-
01:32 AM Feature #12802: Add BLAKE2 support to Digest
- I meant that BLAKE2b seems to need `uint64_t`.
If a compiler does not support such large integer type, isn't BLAKE2b usable on that platform?
-
07:39 AM Bug #12872 (Rejected): COMMAND LINE ERROR when tried gem --help
- You load an extension library for 2.3 from 2.0.0.
-
06:20 AM Bug #12872 (Rejected): COMMAND LINE ERROR when tried gem --help
- ```
Ignoring executable-hooks-1.3.2 because its extensions are not built. Try: gem pristine executable-hooks --version 1.3.2
Ignoring ffi-1.9.14 because its extensions are not built. Try: gem pristine ffi --version 1.9.14
Ignoring g... -
07:38 AM Bug #12823: compile issues 2.2.5 with cygwin
- ruby_2_2 r56503 merged revision(s) 55232.
- 07:38 AM Revision 9e4e7771 (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_2@56503 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 07:34 AM Revision 34ef129b (git): * tool/redmine-backporter.rb (rel): check the exception and show right
- message.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56502 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:31 AM Bug #12874 (Third Party's Issue): Eventmachine recompile with openssl-win64 error
- eventmachine recompile with ruby225-32 and Win32 OpenSSL v1.0.2j run ok (almost only way) but can't run when recompile with ruby225-64 and (Win64 OpenSSL v1.0.2j or Win64 OpenSSL v1.1.0b)
detail:
```
PS C:\Code\Gems\eventmachine... -
07:27 AM Bug #11736: Float(arg) not consistent with documentation
- ruby_2_2 r56501 merged revision(s) 56421,56422.
- 07:27 AM Revision 331fea27 (git): merge revision(s) 56421,56422: [Backport #11736]
- * object.c: Improve documentation for Integer conversion.
[ruby-core:71661][Bug #11736][ci skip]
* object.c: Improve documentation for Float conversion.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@5... -
07:22 AM Bug #12873 (Closed): Eventmachine recompile with openssl-win64 error
-
06:26 AM Revision 07acd05f (git): test/digest/test_digest.rb: fold long lines
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56500 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:58 AM Revision 4530a8ef (git): socket: fix rdoc of UDPSocket#recvfrom_nonblock
- * ext/socket/lib/socket.rb (UDPSocket#recvfrom_nonblock): [DOC] Remove
a false statement "If _maxlen_ is omitted, its default value is
65536." maxlen, the first parameter, cannot be omitted as the method
signature indicates. This h... -
04:46 AM Feature #12871 (Closed): Using the algorithm like math.fsum of Python for Array#sum
- Array#sum uses the Kahan's algorithm for Float values now. But it returns inaccurate value in some case like below.
~~~ ruby
# ruby 2.4.0-preview2
[10000000000.0, 0.0000000001, -10000000000.0].sum #=> 0.0 (expected 0.0000000001)
~~... -
12:45 AM Revision 38fa442d (git): fix typos [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56498 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:42 AM Revision c9485585 (git): object.c: fixable float to fixnum
- * object.c (rb_convert_to_integer): convert a fixable float to a
fixnum directly without the convesion method, as well as bignum
case.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56497 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 12:12 AM Revision cc08515c (git): * 2016-10-27
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56496 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:12 AM Revision 9396660a (git): object.c: use converted string
- * object.c (rb_convert_to_integer): should not drop the converted
string.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56495 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
10/26/2016
-
04:47 PM Feature #12802: Add BLAKE2 support to Digest
- BLAKE2b will work on 32-bit CPUs but is optimized for 64-bit CPUs
-
03:52 PM Feature #12802: Add BLAKE2 support to Digest
- Is BLAKE2b unavailable if 64-bit integer is unavailable?
-
12:26 PM Revision 54354c06 (git): fix a typo [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56494 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:10 AM Revision de2773a3 (git): ruby.h: use prefixed macro
- * include/ruby/ruby.h (rb_intern): use prefixed version macro
RUBY_CONST_ID_CACHE.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56493 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:11 AM Revision 4e44f6ef (git): [DOC] replace Fixnum with Integer [ci skip]
- * numeric.c: [DOC] update document for Integer class.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56492 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 02:34 AM Revision 6c4903ce (git): * 2016-10-26
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56491 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:34 AM Revision 722ac44a (git): * NEWS: added several entries [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56490 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
10/25/2016
-
07:05 PM Feature #11925: Struct construction with kwargs
- To be prepared for "the great unification of constructors" of course.
It looked like a pretty logical step to support while I was coding this. It's also pretty easy to remove again -
06:54 PM Feature #11925: Struct construction with kwargs
- Herwin W wrote:
> ~~~ ruby
> ...
Why does `new_from_kwargs` accept other than keyword arguments? -
06:37 PM Feature #11925: Struct construction with kwargs
- https://github.com/ruby/ruby/pull/1468
A proposal for an implementation.
~~~ ruby
irb(main):001:0> MyClass = Struct.new(:a, :b, :c)
=> MyClass
irb(main):002:0> MyClass.new_from_kwargs(a:1, c: 3)
=> #<struct MyClass a=1, b=nil, ... -
06:58 AM Feature #11925: Struct construction with kwargs
- What about `new_from_kwargs(**kwargs)` ? It's a bit long, but it describes the functionality exactly.
-
06:38 PM Feature #11210: IPAddr has no public method to get the current subnet mask
- Any progress? I believe all the comments have been addressed.
-
01:05 PM Bug #12870 (Closed): Crash when querying with activerecord
- I have a control named entry1 in Visual Ruby project.
In entry2__changed method I populate a list view
I get this error message:
/usr/local/lib/ruby/gems/2.3.0/gems/activerecord-5.0.0/lib/active_record/connection_adapters/mysql/da... -
07:01 AM Feature #9209: Struct instances creatable with named args
- This looks like a duplicate of #11925 (or maybe the other way around, but the other ticket includes more information)
-
05:06 AM Feature #12869: open-uri's open rejects `BOM' in encoding
- https://github.com/ruby/ruby/compare/trunk...nobu:feature/12869-open-uri-bom
-
03:54 AM Bug #12832 (Closed): Calling Object#method hangs for private method defined on module then made public once it's been used to extend class
- Applied in changeset r56489.
----------
proc.c: follow the original class
* proc.c (mnew_internal): follow the original class, not to loop
the prepended module. [ruby-core:77591] [Bug #12832] -
03:54 AM Revision d977cd4e (git): proc.c: follow the original class
- * proc.c (mnew_internal): follow the original class, not to loop
the prepended module. [ruby-core:77591] [Bug #12832]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56489 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:48 AM Revision 58206933 (git): [DOC] table format refined.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56488 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 03:32 AM Revision f785ac9f (git): * 2016-10-25
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56487 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:32 AM Revision e694894d (git): [DOC] add description of j and J for unpack.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56486 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:42 AM Feature #10208: Passing block to Enumerable#to_h
- Not a direct translation of the proposed method, but Hash#transform_values is now available. https://bugs.ruby-lang.org/issues/12512