Sha256: b4f6e67640d3ec5b8edcc6cb0e2d426c0dcc9c85273842fe5c8fd12f9cd5f8b8
Contents?: true
Size: 1.6 KB
Versions: 11
Compression:
Stored size: 1.6 KB
Contents
= unitsml-ruby Gem-wrapper for unitsdb == Installation Add this line to your application's Gemfile: [source,ruby] ---- gem 'unitsml' ---- And then execute: [source,sh] ---- $ bundle install ---- Or install it yourself as: [source,sh] ---- $ gem install unitsml ---- == Usage === Unit lookup [source,ruby] ---- Unitsml.find_unit(ascii: 'mL') # Unitsml::Unit (with unit attributes) ---- == Development After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment. To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to https://rubygems.org[rubygems.org]. == Contributing Bug reports and pull requests are welcome on GitHub at `https://github.com/unitsml/unitsml-ruby`. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the https://github.com/unitsml/unitsml-ruby/blob/master/docs/CODE_OF_CONDUCT.adoc[code of conduct]. == License The gem is available as open source under the terms of the https://opensource.org/licenses/MIT[MIT license]. == Code of Conduct Everyone interacting in the Unitsml project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the https://github.com/unitsml/unitsml-ruby/blob/master/docs/CODE_OF_CONDUCT.adoc[code of conduct].
Version data entries
11 entries across 11 versions & 1 rubygems