lib/time_crisis/support/conversions.rb in time_crisis-0.1.4 vs lib/time_crisis/support/conversions.rb in time_crisis-0.1.5

- old
+ new

@@ -78,12 +78,12 @@ end end end end -TimeCrisis::Date.send(:include, TimeCrisis::Support::Conversions::Internal::Date) -TimeCrisis::DateTime.send(:include, TimeCrisis::Support::Conversions::Internal::DateTime) +::TimeCrisis::Date.send(:include, TimeCrisis::Support::Conversions::Internal::Date) +::TimeCrisis::DateTime.send(:include, TimeCrisis::Support::Conversions::Internal::DateTime) -::Date.send(:include, TimeCrisis::Support::Conversions::Ruby::Date) +::Date.send(:include, TimeCrisis::Support::Conversions::Ruby::Date) if defined?(::Date) ::Time.send(:include, TimeCrisis::Support::Conversions::Ruby::Time) -::DateTime.send(:include, TimeCrisis::Support::Conversions::Ruby::DateTime) +::DateTime.send(:include, TimeCrisis::Support::Conversions::Ruby::DateTime) if defined?(::DateTime) ::String.send(:include, TimeCrisis::Support::Conversions::Ruby::String)