ruby-dev (Japanese) list archive (unofficial mirror)
 help / color / mirror / Atom feed
* [ruby-dev:50594] [Ruby trunk Feature#14930] sample/trick2018
       [not found] <redmine.issue-14930.20180721125404@ruby-lang.org>
@ 2018-07-21 12:54 ` zn
  2018-07-22  4:39 ` [ruby-dev:50595] " zn
  1 sibling, 0 replies; 2+ messages in thread
From: zn @ 2018-07-21 12:54 UTC (permalink / raw)
  To: ruby-dev

Issue #14930 has been reported by znz (Kazuhiro NISHIYAMA).

----------------------------------------
Feature #14930: sample/trick2018
https://bugs.ruby-lang.org/issues/14930

* Author: znz (Kazuhiro NISHIYAMA)
* Status: Assigned
* Priority: Normal
* Assignee: mame (Yusuke Endoh)
* Target version: 2.6
----------------------------------------
まだ TRICK FINAL の上位作品が sample に追加されていないようです。
https://github.com/tric/trick2018

過去の回も含めて情報を探してみると以下のように、何作品を追加するのかは、以下の情報しかみつけられなかったので、以前の回の上位作品を追加した @mame さんに assign しておきます。

https://magazine.rubyist.net/articles/0043/0043-TRICK2013.html
> 上位 3 (or 4) 作品: Ruby 公式リポジトリにサンプルコードとしてコミットされる (次期 Ruby リリースパッケージにも含まれる予定)

https://magazine.rubyist.net/articles/0053/0053-TRICK2015.html
> 上位 5 作品: Ruby 公式リポジトリにサンプルコードとしてコミットされる (Ruby 2.3 としてリリース済み)



-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [ruby-dev:50595] [Ruby trunk Feature#14930] sample/trick2018
       [not found] <redmine.issue-14930.20180721125404@ruby-lang.org>
  2018-07-21 12:54 ` [ruby-dev:50594] [Ruby trunk Feature#14930] sample/trick2018 zn
@ 2018-07-22  4:39 ` zn
  1 sibling, 0 replies; 2+ messages in thread
From: zn @ 2018-07-22  4:39 UTC (permalink / raw)
  To: ruby-dev

Issue #14930 has been updated by znz (Kazuhiro NISHIYAMA).


sample/trick2018/03-tompng ですが、trunk では動かないようです。

* `Gemfile` で `ruby '2.5.0'` に固定されているので、そのままだと trunk で bundle install できない
* `source 'https://rubygems.org'` がないので `bundle install` できないことがある (bundler の挙動がよくわかっていなくてできる場合とできない場合の違いがよくわかっていません)
* `Integer()` の第2引数に対して `#to_hash` が呼ばれて `entry.rb` で定義されている `method_missing` が String を返すので、 `can't convert Integer to Hash (Integer#to_hash gives String) (TypeError)` になって動かない。
  * ruby 2.5.0, 2.5.1 だと動くので 2.6 で入った変更のようです。
  * 2.6.0-preview2 では同じ TypeError でした。
  * 2.6.0-preview1 では ``in `method_missing': stack level too deep (SystemStackError)`` でした。

----------------------------------------
Feature #14930: sample/trick2018
https://bugs.ruby-lang.org/issues/14930#change-73061

* Author: znz (Kazuhiro NISHIYAMA)
* Status: Closed
* Priority: Normal
* Assignee: mame (Yusuke Endoh)
* Target version: 2.6
----------------------------------------
まだ TRICK FINAL の上位作品が sample に追加されていないようです。
https://github.com/tric/trick2018

過去の回も含めて情報を探してみると以下のように、何作品を追加するのかは、以下の情報しかみつけられなかったので、以前の回の上位作品を追加した @mame さんに assign しておきます。

https://magazine.rubyist.net/articles/0043/0043-TRICK2013.html
> 上位 3 (or 4) 作品: Ruby 公式リポジトリにサンプルコードとしてコミットされる (次期 Ruby リリースパッケージにも含まれる予定)

https://magazine.rubyist.net/articles/0053/0053-TRICK2015.html
> 上位 5 作品: Ruby 公式リポジトリにサンプルコードとしてコミットされる (Ruby 2.3 としてリリース済み)



-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-07-22  4:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <redmine.issue-14930.20180721125404@ruby-lang.org>
2018-07-21 12:54 ` [ruby-dev:50594] [Ruby trunk Feature#14930] sample/trick2018 zn
2018-07-22  4:39 ` [ruby-dev:50595] " zn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).