<commit_before># Hms

TODO: Write a gem description

## Installation

Add this line to your application's Gemfile:

    gem 'hms'

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install hms

## Usage

TODO: Write usage instructions here

## Contributing

1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Added some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request<commit_msg>Provide overview and build status<commit_after># HMS

Models construction, parsing and formatting durations in hh::mm::ss format.

This is an extraction from the [cre-stats](http://github.com/nerab/cre-stats) project.

[![Build Status](https://secure.travis-ci.org/nerab/hms.png?branch=master)](http://travis-ci.org/nerab/hms)


## Installation

Add this line to your application's Gemfile:

    gem 'hms'

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install hms

## Usage

    d = HMS::Duration.new(42)
    puts "Podcast episode length is #{d}." # 42

    d = HMS::Duration.new('32:16:08')
    puts "#{d} equals to #{d.to_i} seconds" # 116168

See [tests](/nerab/hms/blob/master/test/unit) for advanced usage.

## Contributing

1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Added some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request
{'fraction_non_alphanumeric': 0.11938296445338699, 'fraction_numerical': 0.017437961099932932, 'mean_word_length': 3.691823899371069, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4951497', 'n_tokens_mistral': 515, 'n_tokens_neox': 481, 'n_words': 179}