Simple Gem to read Subsurface dive logs file
Add this line to your application's Gemfile:
gem 'subsurface'
And then execute:
$ bundle
Or install it yourself as:
$ gem install subsurface
dives = Subsurface::Reader.read(file)
where file is an instance of Nokogiri::XML
Bug reports and pull requests are welcome on GitHub at https://github.com/shrikantpatnaik/subsurface-gem. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.
The gem is available as open source under the terms of the MIT License.
Everyone interacting in the Subsurface project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.