msgpack / msgpack-ruby

MessagePack implementation for Ruby / msgpack.org[Ruby]
http://msgpack.org/
Apache License 2.0
764 stars 117 forks source link

Hide all the symbols by defaults to avoid conflict #317

Closed casperisfine closed 1 year ago

casperisfine commented 1 year ago

We recently experienced segfaults because buffer_data_type was name clashing with another gem (https://github.com/msgpack/msgpack-ruby/pull/314#issuecomment-1450366135).

Generally speaking, there is very few use cases for gems to expose any of their symbols, so we should just hide them all by default and avoid this problem entirely.

@peterzhu2118

CC @flavorjones, as this may be of interest to you.