lib/smarter_dates.rb in smarter_dates-0.2.7.14 vs lib/smarter_dates.rb in smarter_dates-0.2.8
- old
+ new
@@ -1,3 +1,6 @@
-require File.join('smarter_dates','version')
-require File.join('smarter_dates','parser')
+require File.join('smarter_dates', 'version')
+require File.join('smarter_dates', 'parser')
+if defined? ActiveModel
+ require File.join('smarter_dates', 'chronic_parsable_validator')
+end