Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove rabl dependency #5894

Merged
merged 2 commits into from Dec 6, 2017
Merged

Remove rabl dependency #5894

merged 2 commits into from Dec 6, 2017

Conversation

Gargron
Copy link
Member

@Gargron Gargron commented Dec 6, 2017

One dependency less

@Gargron
Copy link
Member Author

Gargron commented Dec 6, 2017

For some reason the tests start failing after rabl is removed from Gemfile. That is the only line that breaks all the tests. It's currently unclear to me why that happens, because nothing should be using rabl...

@Gargron
Copy link
Member Author

Gargron commented Dec 6, 2017

I have tracked the problem down to this:

With rabl present, Oj.dump(a: 1) returns {"a":1}, with rabl removed it returns {":a":1} (the colon of the ruby symbol present in the string).

It is currently unclear WTF is going on

@Gargron
Copy link
Member Author

Gargron commented Dec 6, 2017

@ykzts ykzts added the api REST API, Streaming API, Web Push API label Dec 6, 2017
@ykzts ykzts merged commit 42bcbd3 into master Dec 6, 2017
@ykzts ykzts deleted the fix-remove-rabl branch December 6, 2017 06:04
cobodo pushed a commit to cobodo/mastodon that referenced this pull request Dec 6, 2017
* Remove rabl dependency

* Replicate old Oj configuration
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api REST API, Streaming API, Web Push API
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants