-
Notifications
You must be signed in to change notification settings - Fork 41
Conversation
This looks good to me, +1! Do we normally update |
Historically I've just waited and updated changelog at release time. Open to discussing if that should change. |
drop okjson in favor of multi_json
No need to change, I just wanted to understand the process, thanks for |
Sure thing. That is more or less the process I use on everything that I manage releases for and it seems to work well-enough. |
👎. MultiJson should not be a dependency. There' s a number of easy alternatives, such as: (This particular code above does not deal with error handling, but it wouldn't be hard to add that.) If nothing else, the version constraint needs to be relaxed ( |
What is wrong with multijson? Also, I guess I'm concerned that the difficulty of getting other jsons installed inside the toolbelt environment might be bad. Anyway, would be helpful to have a deeper understanding of where you are coming from here. Thanks! |
For any gem, adding a dependency is a big deal - you're asking everyone everywhere to add that gem. The MultiJson (and Ruby+Json in general) is actually a huge problem, and is actually completely deprecated now -- it's use in the Ruby community is no longer recommended, and will be removed in Rails 4.1. I can't make an official recommendation on what to do at this time for the toolbelt, but I'd recommend talking to Terence. Read this, for a start: For me, I've gone to some length to make it so that MultiJson doesn't actually get loaded into a project. You'll note that I use the lowest possible version number here ( |
(Edits and such are above, should you be reading your email instead of github.com. I always edit a lot. Including this. Sorry.) |
I was reading the email. UG. @hone - advice? |
@geemus what's the motivation here? performance? why use many different adaptors? |
@hone - I believe there are multiple issues. There are some encoding issues related to non-ascii values that okjson chokes on, so we'd like to improve that situation (especially in toolbelt). On the heroku.rb side, in addition to that, we want to not get in the way/conflict with folks if they want to have other json stuff in their app that includes heroku.rb (and allow for better performance to be opted-in to). So partly performance, partly encoding and partly flexibility despite conflicting monkey patches. |
No description provided.