lib/jets/builders/md5_zip.rb in jets-3.0.11 vs lib/jets/builders/md5_zip.rb in jets-3.0.12
- old
+ new
@@ -1,6 +1,6 @@
-require 'action_view'
+require "active_support/number_helper"
# Examples:
#
# zip = Jets::Builders::Md5Zip.new("/tmp/jets/demo/stage/code")
# zip.create
@@ -8,10 +8,10 @@
# zip = Jets::Builders::Md5Zip.new("/tmp/jets/demo/stage/bundled")
# zip.create
#
module Jets::Builders
class Md5Zip
- include ActionView::Helpers::NumberHelper # number_to_human_size
+ include ActiveSupport::NumberHelper # number_to_human_size
include Util
def initialize(folder)
@path = "#{Jets.build_root}/#{folder}"
@checksum = Md5.checksums[folder]
\ No newline at end of file