Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Fix deprecation warning about Config; use RbConfig when available #66

Closed
wants to merge 2 commits into from

2 participants

@ttencate

No description provided.

@jeffWelling
Owner

Hey again! I'll add this in with the other one in the next version of the gem.
Cheers.

@jeffWelling
Owner

These changes have been cherry-picked as well and will be included in the next hotfix.
Thanks for the contributions!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/ticgit-ng.rb
View
2  lib/ticgit-ng.rb
@@ -16,7 +16,7 @@
require 'git'
#Only redefine if we are not using 1.9
-unless Config::CONFIG["ruby_version"][/^\d\.9/]
+unless (defined?(RbConfig) ? RbConfig : Config)::CONFIG["ruby_version"][/^\d\.9/]
# FIXME: Monkeypatch git until fixed upstream
module Git
class Lib
Something went wrong with that request. Please try again.