[Pkg-puppet-devel] [facter] 343/352: (FACT-447) Remove 1.8.5 specific monkey patches

Stig Sandbeck Mathisen ssm at debian.org
Sun Apr 6 22:21:59 UTC 2014


This is an automated email from the git hooks/post-receive script.

ssm pushed a commit to branch master
in repository facter.

commit 6a5e90293e9c96f8fd4f7f7baed05c14cbec3c5d
Author: Adrien Thebo <git at somethingsinistral.net>
Date:   Wed Mar 26 12:22:39 2014 -0700

    (FACT-447) Remove 1.8.5 specific monkey patches
---
 lib/facter.rb                     | 1 -
 lib/facter/util/monkey_patches.rb | 8 --------
 2 files changed, 9 deletions(-)

diff --git a/lib/facter.rb b/lib/facter.rb
index 4e102a8..8566f3f 100644
--- a/lib/facter.rb
+++ b/lib/facter.rb
@@ -34,7 +34,6 @@ module Facter
 
   require 'facter/util/fact'
   require 'facter/util/collection'
-  require 'facter/util/monkey_patches'
 
   include Comparable
   include Enumerable
diff --git a/lib/facter/util/monkey_patches.rb b/lib/facter/util/monkey_patches.rb
deleted file mode 100644
index 54bbff8..0000000
--- a/lib/facter/util/monkey_patches.rb
+++ /dev/null
@@ -1,8 +0,0 @@
-# This provides an alias for RbConfig to Config for versions of Ruby older then
-# version 1.8.5. This allows us to use RbConfig in place of the older Config in
-# our code and still be compatible with at least Ruby 1.8.1.
-require 'rbconfig'
-
-unless defined? ::RbConfig
-  ::RbConfig = ::Config
-end

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-puppet/facter.git



More information about the Pkg-puppet-devel mailing list