Skip to content

Conversation

@javierg
Copy link
Member

@javierg javierg commented Aug 17, 2018

This is the first PR to make Dolly compatible with 2.0
And actually this is the minimal to make it work.
This is fixing the crash due to fix on httparty response handle of couchdb 2.0 requests which now inckude proper headers to accept them as json.

attr_reader :class_name, :default

CANT_CLONE = [NilClass, TrueClass, FalseClass, Fixnum].freeze
CANT_CLONE = [NilClass, TrueClass, FalseClass, Integer].freeze

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this, in order to be useful in a lot of places, should be determined based on the version of ruby (as I think that is the change in this no?)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

mmh, right, this is not related to the ruby version
will remove the change as it is not related to the errors associated to httparty parsed response

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 ya i think a PR for that on its own makes sense. I could see a singleton of a DelegateClass Array here as a feasible way to handle that

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