Permalink
Browse files

Place "core_ext" under "whois" namespace.

"core_ext" is a common name and may collide with other files in load path.
  • Loading branch information...
1 parent c33b0e8 commit ad3a5b196126a38ca064a9ab3fdb608760a29554 @semaperepelitsa committed Feb 19, 2012
View
@@ -7,7 +7,7 @@
#++
-require 'core_ext'
+require 'whois/core_ext'
require 'whois/version'
require 'whois/errors'
require 'whois/client'
@@ -1,9 +1,9 @@
if defined?(ActiveSupport::VERSION) && ActiveSupport::VERSION::MAJOR == 3
require 'active_support/core_ext/array/wrap'
require 'active_support/core_ext/date_time/conversions'
- require 'core_ext/class/attribute'
+ require 'whois/core_ext/class/attribute'
else
- require 'core_ext/array/wrap'
- require 'core_ext/date_time/conversions'
- require 'core_ext/class/attribute'
+ require 'whois/core_ext/array/wrap'
+ require 'whois/core_ext/date_time/conversions'
+ require 'whois/core_ext/class/attribute'
end
File renamed without changes.
@@ -1,6 +1,6 @@
-require 'core_ext/kernel/singleton_class'
-require 'core_ext/module/remove_method'
-require 'core_ext/array/extract_options'
+require 'whois/core_ext/kernel/singleton_class'
+require 'whois/core_ext/module/remove_method'
+require 'whois/core_ext/array/extract_options'
class Class
# Declare a class-level attribute whose value is inheritable by subclasses.

0 comments on commit ad3a5b1

Please sign in to comment.