lib/cacheflow.rb in cacheflow-0.3.2 vs lib/cacheflow.rb in cacheflow-0.3.3

- old
+ new

@@ -25,9 +25,14 @@ end def self.silence_sidekiq! require_relative "cacheflow/sidekiq" end + + # private + def self.args(args) + args.map { |v| v.to_s.dup.force_encoding(Encoding::UTF_8).valid_encoding? ? v : "<binary-data>" }.join(" ") + end end if defined?(Rails) require_relative "cacheflow/railtie" else