wmakley / tiny_serializer

Simple Ruby JSON Serialization DSL. Replaces active_model_serializers.
MIT License
53 stars 2 forks source link

Release to rubygems.org #1

Closed wmakley closed 5 years ago

wmakley commented 6 years ago

Need to do a release to rubygems.org, but there is already a gem named simple_serializer

trevorrjohn commented 6 years ago

Do you have a plan for this? Could just call it simpleserializer?

wmakley commented 6 years ago

Well my concerns are:

  1. It doesn't really serialize anything in the traditional sense, it just converts Objects to Hashes, and I don't plan on changing that.
  2. I don't really want to introduce the subtle confusion of a single underscore. It seems petty, since the gem of the same name is actually simpler and motivated by the same needs.

In short, I want it to be discoverable as an AMS replacement, and to have the name represent what it actually does. Here are some options I considered:

Let me know if anything jumps out at you, I'm open to suggestions. I'd like to push it to rubygems.

trevorrjohn commented 6 years ago

Fair enough regarding simpleserializer.

To be honest I don't love any of those names.

I am poking around AMS and kind of like this name: https://github.com/rails-api/active_model_serializers/blob/0-10-stable/lib/active_model/serializable_resource.rb

SimpleSerializableResource

lucasluitjes commented 5 years ago

How about tiny_serializer? Would really love to have this up on rubygems.

wmakley commented 5 years ago

Love it, works for me. Stay tuned.

wmakley commented 5 years ago

Unfamiliar with what happens in Github when I rename a repo... will everyone's installation break?

trevorrjohn commented 5 years ago

Great question, I think it is fine, https://help.github.com/articles/renaming-a-repository/

On Fri, Nov 16, 2018, 8:32 AM William Makley <notifications@github.com wrote:

Unfamiliar with what happens in Github when I rename a repo... will everyone's installation break?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/wmakley/simple_serializer/issues/1#issuecomment-439393763, or mute the thread https://github.com/notifications/unsubscribe-auth/AApILgLlEVatQt4Y-yuTODnyeZBpMdJTks5uvr50gaJpZM4VIMuS .

wmakley commented 5 years ago

Yup, found that! Renamed, tested, and published.

gem 'tiny_serializer', '~> 2.0.0' should do the trick!