Skip to content

Conversation

@chrisbutler
Copy link

Hey @jamesdbloom, this is cherry-picking the useful commits from mock-server/mockserver#288 to fix the version resolution for the activesuppport gem when using mockserver-client with Rails 5

It's older code, but we've tested and it's working for us with Ruby 2.5 and Rails 5.1. Would it be possible to get a new version release with these changes, if you approve? Thanks!

radixhound and others added 4 commits April 27, 2018 09:38
- Locking the json to an old version seems uneccessary
- Forcing multi_json and json_pure monkeypatching broke our test suite
- removed the json_pure and so far so good
- in the specs it uses some json gem to render json which calls to_json
  on the object
- in my app it uses an implementation that calls as_json on the object
- to get the specs passing, to_json had to include quotes
- to get my app to work as_json should not include quotes
@chrisbutler
Copy link
Author

@jamesdbloom i was able to get the tests passing!

@chrisbutler chrisbutler closed this May 1, 2018
@chrisbutler chrisbutler mentioned this pull request May 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants