pythonicrubyist / creek

Ruby library for parsing large Excel files.
http://rubygems.org/gems/creek
MIT License
388 stars 109 forks source link

Replace removed example xlsx file in README #84

Closed lacostenycoder closed 4 years ago

lacostenycoder commented 5 years ago

Following the example in the README

This doesn't seem to work Tested on MacOS, ruby version: ruby 2.6.2p47 creek version: creek (2.4.4). It seems the example xlsx file doesn't exist. This should probably be updated to pull from a more reliable source. Why not just included an example xlsx file in this repo and use that?

require 'creek'
remote_url = 'http://dev-builds.libreoffice.org/tmp/test.xlsx'
Creek::Book.new remote_url, remote: true

Raises

...gems/ruby-2.4.1/gems/rubyzip-1.2.3/lib/zip/central_directory.rb:143:in `get_e_o_c_d': Zip end of central directory signature not found (Zip::Error)
pythonicrubyist commented 4 years ago

The remote URL parsing will be deprecated very soon.