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

Stop using Rack::Utils.bytesize #33

Merged
merged 1 commit into from
Jun 16, 2016

Conversation

willnet
Copy link
Contributor

@willnet willnet commented Jun 13, 2016

Rack::DevMark::Middleware#call raise error because rack 2.0 removes Rack::Utils.bytesize.

rack/rack@7b5820f

Ruby 1.9+ supports String#bytesize, so just use it to fix.

Rack::DevMark::Middleware#call raise error because rack 2.0 removes Rack::Utils.bytesize.

rack/rack@7b5820f

Ruby 1.9+ supports String#bytesize, so just use it to fix.
@coveralls
Copy link

coveralls commented Jun 13, 2016

Coverage Status

Coverage remained the same at 90.909% when pulling 1204dd3 on willnet:fix-bytesize-error into 4c9e364 on dtaniwaki:master.

@dtaniwaki
Copy link
Owner

Good catch. Thanks a lot!

@dtaniwaki
Copy link
Owner

It seems the CI build failed. I will fix it separately after merging this.

@dtaniwaki dtaniwaki merged commit ebd2048 into dtaniwaki:master Jun 16, 2016
@willnet
Copy link
Contributor Author

willnet commented Jun 16, 2016

寿司ゆき:thanks

@willnet willnet deleted the fix-bytesize-error branch June 16, 2016 07:04
@dtaniwaki dtaniwaki mentioned this pull request Jan 6, 2017
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.

None yet

3 participants