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

Make MultiJson optional for Ruby 1.9+ #33

Merged
merged 1 commit into from
Jan 31, 2014
Merged

Make MultiJson optional for Ruby 1.9+ #33

merged 1 commit into from
Jan 31, 2014

Conversation

petergoldstein
Copy link
Contributor

MultiJson is being EOL'd and major libraries (Rails, uglifier, etc.) have started phasing out their dependency - rails/rails#10576 . This PR accommodates this trend, by making MultiJson an optional dependency for Ruby 1.9+.

Users of the jwt gem can still use MultiJson even when using Ruby 1.9+ by simply calling require 'multi_json' before they require the gem.

progrium added a commit that referenced this pull request Jan 31, 2014
…tional

Make MultiJson optional for Ruby 1.9+
@progrium progrium merged commit d84da02 into jwt:master Jan 31, 2014
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