lib/redistat.rb in redistat-0.0.8 vs lib/redistat.rb in redistat-0.0.9
- old
+ new
@@ -1,8 +1,8 @@
require 'rubygems'
require 'active_support'
-require 'active_support/hash_with_indifferent_access' if !Hash.respond_to?(:with_indifferent_access) # Active Support 2.x and 3.x
+require 'active_support/hash_with_indifferent_access' if !{}.respond_to?(:with_indifferent_access) # Active Support 2.x and 3.x
require 'redis'
require 'date'
require 'time'
require 'time_ext'
require 'json'