diff --git a/Gemfile b/Gemfile index 6f690dc..bba314b 100644 --- a/Gemfile +++ b/Gemfile @@ -3,10 +3,4 @@ source 'https://rubygems.org' # Specify your gem's dependencies in saxlsx.gemspec gemspec -gem 'caxlsx' -gem 'rubyXL' -gem 'simple_xlsx_reader' -gem 'creek' -gem 'oxcelix' -gem 'roo' -gem 'dullard' +gem "rubyzip", "~> 2.0" diff --git a/saxlsx.gemspec b/saxlsx.gemspec index 0b628cd..a769754 100644 --- a/saxlsx.gemspec +++ b/saxlsx.gemspec @@ -20,7 +20,7 @@ Gem::Specification.new do |spec| spec.required_ruby_version = '>= 2.5.0' - spec.add_dependency 'rubyzip', '~> 1.0' + spec.add_dependency 'rubyzip', '>= 1.0' spec.add_dependency 'ox', '~> 2.1' spec.add_development_dependency 'bundler', ">= 1.5" diff --git a/spec/benchmarks.rb b/spec/benchmarks.rb index abe07f7..649e419 100644 --- a/spec/benchmarks.rb +++ b/spec/benchmarks.rb @@ -1,13 +1,18 @@ # frozen_string_literal: true require 'benchmark' -require 'axlsx' -require 'saxlsx' -require 'rubyXL' -require 'simple_xlsx_reader' -require 'creek' -require 'oxcelix' -require 'roo' -require 'dullard' +require 'bundler/inline' + +gemfile do + source 'https://rubygems.org' + gem 'caxlsx' + gem 'rubyXL' + gem 'simple_xlsx_reader' + gem 'creek' + gem 'oxcelix' + gem 'roo' + gem 'dullard' + gem "saxlsx", path: File.expand_path("../..", __FILE__ ) +end module Saxlsx class Benchmarks