Skip to content

Commit

Permalink
Ruby 1.9 defines DateTime#to_time
Browse files Browse the repository at this point in the history
  • Loading branch information
weppos committed Nov 4, 2012
1 parent 292bc8f commit 0ceb4d7
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 33 deletions.
2 changes: 0 additions & 2 deletions lib/whois/core_ext.rb
@@ -1,9 +1,7 @@
if defined?(ActiveSupport::VERSION) && ActiveSupport::VERSION::MAJOR == 3 if defined?(ActiveSupport::VERSION) && ActiveSupport::VERSION::MAJOR == 3
require 'active_support/core_ext/array/wrap' require 'active_support/core_ext/array/wrap'
require 'active_support/core_ext/date_time/conversions'
require 'whois/core_ext/class/attribute' require 'whois/core_ext/class/attribute'
else else
require 'whois/core_ext/array/wrap' require 'whois/core_ext/array/wrap'
require 'whois/core_ext/date_time/conversions'
require 'whois/core_ext/class/attribute' require 'whois/core_ext/class/attribute'
end end
14 changes: 0 additions & 14 deletions lib/whois/core_ext/date_time/conversions.rb

This file was deleted.

17 changes: 0 additions & 17 deletions spec/whois/core_ext_spec.rb

This file was deleted.

0 comments on commit 0ceb4d7

Please sign in to comment.