lib/axlsx.rb in axlsx-2.0.0 vs lib/axlsx.rb in axlsx-2.0.1
- old
+ new
@@ -21,11 +21,11 @@
require 'axlsx/drawing/drawing.rb'
require 'axlsx/workbook/workbook.rb'
require 'axlsx/package.rb'
#required gems
require 'nokogiri'
-require 'zip/zip'
+require 'zip'
#core dependencies
require 'bigdecimal'
require 'time'
@@ -134,10 +134,10 @@
def self.sanitize(str)
str.gsub(CONTROL_CHAR_REGEX, '')
end
- # Instructs the serializer to not try to escape cell value input.
+ # Instructs the serializer to not try to escape cell value input.
# This will give you a huge speed bonus, but if you content has <, > or other xml character data
# the workbook will be invalid and excel will complain.
def self.trust_input
@trust_input ||= false
end