rspreadsheet.gemspec in rspreadsheet-0.4.2 vs rspreadsheet.gemspec in rspreadsheet-0.4.3

- old
+ new

@@ -20,16 +20,16 @@ def self.package_natively_installed?(pkgname) # if the shell fails, the system command returns nil. In that case we assume that the package is NOT installed. It might be overkill, because I am supresing the stderr as well (system("dpkg-query -l #{pkgname} 2>/dev/null | grep -q '^i'")==true) or # debian based (system("rpm -qa 2>/dev/null | grep -q '#{pkgname}' ")==true) or # rpm based - (system("pkg_info -q -e #{pkgname} >/dev/null 2>&1")==true) # openbsd and alike + (system("pkg_info -q -e '#{pkgname}-*' >/dev/null 2>&1")==true) # OpenBSD and alike (although OpenBSD registers the gem as a gem, so this is perhaps unnecessary end - + # runtime dependencies unless package_natively_installed?('ruby-libxml') - spec.add_runtime_dependency 'libxml-ruby', '~>2.7' # parsing XML files + spec.add_runtime_dependency 'libxml-ruby', '2.8' # parsing XML files end spec.add_runtime_dependency 'rubyzip', '~>1.1' # opening zip files spec.add_runtime_dependency 'andand', '~>1.3' # development dependencies @@ -43,10 +43,10 @@ # optional and testing if Gem::Version.new(RUBY_VERSION) >= Gem::Version.new('2.2.5') spec.add_development_dependency "guard", '~>2.13' spec.add_development_dependency "guard-rspec", '~>4.6' end - + # spec.add_development_dependency 'equivalent-xml' # implementing xml diff end