summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJosh Goodall <[email protected]>2019-09-11 09:06:20 +1000
committerJosh Goodall <[email protected]>2019-09-29 19:28:45 +1000
commitacf116e7d00850fb91380ce01fa43d6a67dbd494 (patch)
tree93afa1ec5fd7bc13352c16398c9c113fbc5f3e45
parent7e13f96274f885708f9abe564f1e4a362b93bca0 (diff)
downloadcaxlsx-acf116e7d00850fb91380ce01fa43d6a67dbd494.tar.gz
caxlsx-acf116e7d00850fb91380ce01fa43d6a67dbd494.zip
Bump dependencies for nokogiri, rubyzip, and Ruby.
nokogiri <1.10.4 and rubyzip < 1.3.0 had CVEs and/or regressions, and whilst we're here, signal that it's okay to use Ruby 2.3 syntax and methods and later.
-rw-r--r--axlsx.gemspec6
1 files changed, 3 insertions, 3 deletions
diff --git a/axlsx.gemspec b/axlsx.gemspec
index 1de84ca7..bfdf0f9b 100644
--- a/axlsx.gemspec
+++ b/axlsx.gemspec
@@ -16,14 +16,14 @@ Gem::Specification.new do |s|
s.files = Dir.glob("{lib/**/*,examples/**/*.rb,examples/**/*.jpeg}") + %w{ LICENSE README.md Rakefile CHANGELOG.md .yardopts .yardopts_guide }
s.test_files = Dir.glob("{test/**/*}")
- s.add_runtime_dependency 'nokogiri', '~> 1.8', '>= 1.8.2'
- s.add_runtime_dependency 'rubyzip','~> 1.2', '>= 1.2.1'
+ s.add_runtime_dependency 'nokogiri', '~> 1.10', '>= 1.10.4'
+ s.add_runtime_dependency 'rubyzip', '>= 1.3.0', '< 3'
s.add_runtime_dependency "htmlentities", "~> 4.3", '>= 4.3.4'
s.add_runtime_dependency "mimemagic", '~> 0.3'
s.add_development_dependency 'yard', "~> 0.9.8"
s.add_development_dependency 'kramdown', '~> 1.16', '>= 1.16.2'
s.add_development_dependency 'timecop', "~> 0.8.1"
- s.required_ruby_version = '>= 1.9.2'
+ s.required_ruby_version = '~> 2.3'
s.require_path = 'lib'
end