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

Tiny improvements in the Zlib documentation #682

Closed
wants to merge 1 commit into from
Closed

Tiny improvements in the Zlib documentation #682

wants to merge 1 commit into from

Conversation

robin850
Copy link

Hello,

This pull request removes the constant values as they may change in the future and add a link to the actual values that is more up-to-date than our documentation anyway.

Also remove the mention about the default value as it may change again in the future.

Have a nice day.

@drbrain
Copy link
Member

drbrain commented Jul 24, 2014

I think the first paragraph and last chunk should be left alone, the minimum compression is still 0, but there's a special value now for "let zlib decide" (-1).

@drbrain
Copy link
Member

drbrain commented Jul 24, 2014

… we should probably remove the values from the constant list too, there's no need to explain what they are as zlib may change their values at will (as with the value of default compression).

Remove the constant values as they may change in the future and add a
link to the actual values that is more up-to-date than our documentation
anyway.

Also remove the mention about the default value as it may change again
in the future.
@robin850 robin850 changed the title Fix the Zlib::DEFAULT_COMPRESSION value Tiny improvements in the Zlib documentation Jul 25, 2014
@robin850
Copy link
Author

Thanks for the quick feedback @drbrain! The values are removed from the list but I've took the liberty to add a link to the actual values. I've removed the default value from the last chunk as this is wrong anyway. Let me know if I should update anything else. :-)

@zzak zzak closed this in e027097 Jul 27, 2014
@robin850 robin850 deleted the zlib-default-compression branch July 28, 2014 08:21
mmasaki pushed a commit to mmasaki/ruby that referenced this pull request Aug 10, 2014
  they may change in the implementation without notice. Patched by
  @robin850 [Fixes rubyGH-682] ruby#682


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46976 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt pushed a commit to ruby/zlib that referenced this pull request Apr 14, 2017
  they may change in the implementation without notice. Patched by
  @robin850 [Fixes GH-682] ruby/ruby#682


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46976 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants