Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #149 from semaperepelitsa/master

Place "core_ext" under "whois" namespace
  • Loading branch information...
commit 1f8f9720be2159b641467c64bcf5f1565218f5be 2 parents c33b0e8 + ad3a5b1
@weppos authored
View
2  lib/whois.rb
@@ -7,7 +7,7 @@
#++
-require 'core_ext'
+require 'whois/core_ext'
require 'whois/version'
require 'whois/errors'
require 'whois/client'
View
8 lib/core_ext.rb → lib/whois/core_ext.rb
@@ -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
View
0  lib/core_ext/array/extract_options.rb → lib/whois/core_ext/array/extract_options.rb
File renamed without changes
View
0  lib/core_ext/array/wrap.rb → lib/whois/core_ext/array/wrap.rb
File renamed without changes
View
6 lib/core_ext/class/attribute.rb → lib/whois/core_ext/class/attribute.rb
@@ -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.
View
0  lib/core_ext/date_time/conversions.rb → lib/whois/core_ext/date_time/conversions.rb
File renamed without changes
View
0  lib/core_ext/kernel/singleton_class.rb → lib/whois/core_ext/kernel/singleton_class.rb
File renamed without changes
View
0  lib/core_ext/module/remove_method.rb → lib/whois/core_ext/module/remove_method.rb
File renamed without changes
Please sign in to comment.
Something went wrong with that request. Please try again.