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

Adds support for JSON 2 #169

Merged
merged 2 commits into from
Sep 7, 2017
Merged

Adds support for JSON 2 #169

merged 2 commits into from
Sep 7, 2017

Conversation

iMacTia
Copy link
Member

@iMacTia iMacTia commented Aug 18, 2017

Fixes incompatibility with jruby by isolating brotli
Fixes #168

Copy link
Member

@olleolleolle olleolleolle left a comment

Choose a reason for hiding this comment

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

The isolation seems to work fine!

Good to be able to follow upgrades in library dependencies.

spec/helper.rb Outdated
@@ -59,4 +59,8 @@ def process(body, content_type = nil, options = {})
config.expect_with :rspec do |c|
c.syntax = :expect
end

def jruby?
defined?(RUBY_ENGINE) and 'jruby' == RUBY_ENGINE
Copy link
Member

Choose a reason for hiding this comment

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

Style note: prefer && over and unless you're using the special precedence of and.

@iMacTia
Copy link
Member Author

iMacTia commented Sep 7, 2017

Thanks for the review @olleolleolle

Fixes incompatibility with jruby by isolating brotli
Fixes #168
@iMacTia iMacTia merged commit 135dbe5 into master Sep 7, 2017
@iMacTia iMacTia deleted the support-json-2 branch September 7, 2017 10:16
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