lib/picky/backends/google_hash.rb in picky-4.27.1 vs lib/picky/backends/google_hash.rb in picky-4.28.1
- old
+ new
@@ -1,6 +1,7 @@
-if require 'google_hash'
+begin
+ require 'google_hash'
class ::GoogleHashSparseRubyToRuby
alias each_pair each
@@ -45,6 +46,8 @@
result
end
end
+rescue LoadError
+ # Welp. Don't do anything.
end
\ No newline at end of file