Skip to content

Sequel 4.0+ compatible, gem upgrades, bug fixes#147

Open
joelvh wants to merge 67 commits into
ricardochimal:masterfrom
joelvh:master
Open

Sequel 4.0+ compatible, gem upgrades, bug fixes#147
joelvh wants to merge 67 commits into
ricardochimal:masterfrom
joelvh:master

Conversation

@joelvh
Copy link
Copy Markdown

@joelvh joelvh commented Mar 20, 2018

  • Sequel 4.0+ compatible
  • gem upgrades
  • bug fixes

wijet and others added 30 commits March 28, 2017 21:30
rcov doesn't support Ruby 1.9+
Taps uses a customized version of OkJson to exchange data between the client
and server. This customized version silently converts symbols to strings
as a convience (the original OkJson considers encoding symbols an error since
symbols are not a type supported by JSON).

Rack started using OkJson also to encode data but kept the original symantics.
Since the Taps::Server inherits from Sinatra::Base, and Sinatra::Base includes
Rack::Utils, and Rack::Utils is the namespace where Rack's version of OkJson
is installed this means the Rack version is now being used by taps instead of
the taps version. This means when symbols are encoded an error is generated.

To restore the original behavior this patch explicility references the taps
version of OkJson.

This fixes issue ricardochimal#128.
Solves issue reported by many users on stackoverflow and
- ricardochimal#116
- ricardochimal#132
@joelvh joelvh changed the title Sequel 4.0+ compatible, bug fixes Sequel 4.0+ compatible, gem upgrades, bug fixes Mar 20, 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.

4 participants