Use webmock for testing.
Add shoulda test dependency.

This was originally added in d8a950668878de619aebb30e7897a03d5c12716b and then
removed when the gemspec was regenerated in
227e88098e9eb3bb4164d737585825a256039db8.

shoulda is required when running `rake test`; it simply needs to wind up in
`Gemfile` either directly or indirectly via the gemspec.
Move require to base class.

The missing require for rubyzip was preventing the tests from being run from the
command line.

This is because rubyzip has a slightly weird api.

  [1] pry(main)> require 'zip/zip'
  true
  [2] pry(main)> Zip::ZipFile.instance_methods.include? :file
  false
  [4] pry(main)> require 'zip/zipfilesystem'
  true
  [5] pry(main)> Zip::ZipFile.instance_methods.include? :file
  true

The files defining the subclasses of GenericSpreadsheet were requiring
`zip/zipfilesystem`, but `excel.rb` omitted this.
Able to open URIs with query strings.
Refactor with_each_spreadsheet to give us information on under which tested format exceptions were raised.
Disable the OPENOFFICE tests, as they're duplicated under LIBREOFFICE.
Preserve the original backtrace on with_each_spreadsheet re-raise.
Merge pull request #6 from hjdivad/uri-with-querystring

Open URIs with query strings.
added ability to manually specify file type on .open
Openoffice reading fixes for Nokogiri 1.5.6 changes

[] operator on XML nodes now requires the namespace to be specified
reading of ODS files was broken in roo 1.10.2 + Nokogiri 1.5.6

Signed-off-by: Karsten Richter <kasi@kasi-net.org>
generalized change for nokogiri 1.5.6 to also work in 1.5.5
new helper method "safe_attr" to safely retrieve attributes[].value
or nil if the attr doesn't exist

Signed-off-by: Karsten Richter <kasi@kasi-net.org>
Merge pull request #18 from dc7kr/master

Fixes for ODS reading with nokogiri 1.5.6
Rename OpenOffice#safe_attr -> #attr and tidy up.
Back-fill some history from 1.10.2
Release 1.10.3, with the dependency on nokogiri relaxed to 1.4.0.
Iconv was replaced by String#encode
Be more liberal about how formats are detected.
Use duck-typing to decide whether to extend string.
Use our old Excelx::FORMATS hash to spec out the new implementation. Support some (mildly dubious) exceptions for backwards compatibility.
Delete empty useless roo binary.