Граф коммитов

4 Коммитов

Автор SHA1 Сообщение Дата
Jean byroot Boussier f14cee39b8 [ruby/ostruct] Emit a performance warning when OpenStruct is used
(https://github.com/ruby/ostruct/pull/56)

The OpenStruct documentation clearly state that it shouldn't
be used when performance is expected.

Ruby 3.3 introduce a new category of warnings that is silenced
by default: performance.

The expected use case is to enable this warning when looking
for potential performance issues within an application.

As such I think it would make sense to emit a performance warning
when OpenStruct is used, as it may help pinpoint that a dependency
rely on it, etc.

https://github.com/ruby/ostruct/commit/5826e12db8

Co-authored-by: Jean Boussier <jean.boussier@gmail.com>
2023-09-29 06:48:55 +00:00
Hiroshi SHIBATA d1237bc3a4
Move gemspec files to top of lib directory.
They have version.rb files with same directory.
  But version.rb have been removed at https://github.com/ruby/ruby/pull/3375
  There is no reason to locate under the library name of directory.
2023-05-25 15:47:48 +09:00
Marc-Andre Lafortune 49d94248eb [ruby/ostruct] Move gemspec 2019-12-22 21:48:54 -05:00
hsbt 5a10e577df Promote OpenStruct to default gems.
Upstream repository is https://github.com/ruby/ostruct.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63599 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-06-07 10:13:00 +00:00