Skip to content
This repository
Browse code

Merge pull request #149 from semaperepelitsa/master

Place "core_ext" under "whois" namespace
  • Loading branch information...
commit 1f8f9720be2159b641467c64bcf5f1565218f5be 2 parents c33b0e8 + ad3a5b1
Simone Carletti authored
2  lib/whois.rb
@@ -7,7 +7,7 @@
7 7 #++
8 8
9 9
10   -require 'core_ext'
  10 +require 'whois/core_ext'
11 11 require 'whois/version'
12 12 require 'whois/errors'
13 13 require 'whois/client'
8 lib/core_ext.rb → lib/whois/core_ext.rb
... ... @@ -1,9 +1,9 @@
1 1 if defined?(ActiveSupport::VERSION) && ActiveSupport::VERSION::MAJOR == 3
2 2 require 'active_support/core_ext/array/wrap'
3 3 require 'active_support/core_ext/date_time/conversions'
4   - require 'core_ext/class/attribute'
  4 + require 'whois/core_ext/class/attribute'
5 5 else
6   - require 'core_ext/array/wrap'
7   - require 'core_ext/date_time/conversions'
8   - require 'core_ext/class/attribute'
  6 + require 'whois/core_ext/array/wrap'
  7 + require 'whois/core_ext/date_time/conversions'
  8 + require 'whois/core_ext/class/attribute'
9 9 end
0  lib/core_ext/array/extract_options.rb → lib/whois/core_ext/array/extract_options.rb
File renamed without changes
0  lib/core_ext/array/wrap.rb → lib/whois/core_ext/array/wrap.rb
File renamed without changes
6 lib/core_ext/class/attribute.rb → lib/whois/core_ext/class/attribute.rb
... ... @@ -1,6 +1,6 @@
1   -require 'core_ext/kernel/singleton_class'
2   -require 'core_ext/module/remove_method'
3   -require 'core_ext/array/extract_options'
  1 +require 'whois/core_ext/kernel/singleton_class'
  2 +require 'whois/core_ext/module/remove_method'
  3 +require 'whois/core_ext/array/extract_options'
4 4
5 5 class Class
6 6 # Declare a class-level attribute whose value is inheritable by subclasses.
0  lib/core_ext/date_time/conversions.rb → lib/whois/core_ext/date_time/conversions.rb
File renamed without changes
0  lib/core_ext/kernel/singleton_class.rb → lib/whois/core_ext/kernel/singleton_class.rb
File renamed without changes
0  lib/core_ext/module/remove_method.rb → lib/whois/core_ext/module/remove_method.rb
File renamed without changes

0 comments on commit 1f8f972

Please sign in to comment.
Something went wrong with that request. Please try again.