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

Use RbConfig instead of Config #124

Merged
merged 1 commit into from
Feb 1, 2015
Merged

Use RbConfig instead of Config #124

merged 1 commit into from
Feb 1, 2015

Conversation

orangejulius
Copy link
Contributor

The Config module is depricated in favor of RbConfig, and as of Ruby 2.2 no longer exists (it used to print a warning). It appears that RbConfig exists since at least Ruby 1.9.2, so all versions of Ruby supported by Rdiscount should be fine with this change.

The Config module is depricated in favor of RbConfig, and as of Ruby 2.2 no longer exists (it used to print a warning). It [appears](http://ruby-doc.org/stdlib-1.9.2/libdoc/rubygems/rdoc/RbConfig.html) that RbConfig exists since at least Ruby 1.9.2, so all versions of Ruby supported by Rdiscount should be fine with this change.
davidfstr added a commit that referenced this pull request Feb 1, 2015
Use RbConfig module instead of deprecated Config module.

Needed for Ruby 2.2 support.
@davidfstr davidfstr merged commit 4df32d7 into davidfstr:master Feb 1, 2015
@davidfstr
Copy link
Owner

Looks great. Thanks!

@davidfstr davidfstr added this to the 2.1.8 milestone Feb 1, 2015
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