Sha256: 1802b4816159cb15218faee138f29510e8ad768e9864170788fdccc65bf30524

Contents?: true

Size: 1.01 KB

Versions: 13

Compression:

Stored size: 1.01 KB

Contents

# Vault::Tools

Tools is the English word for ツール.  Tooling for the Heroku Vault
team to enable faster bootstrapping for Ruby projects.

## Setting up a development environment

Install the dependencies:

    bundle install --binstubs vendor/bin
    rbenv rehash

Run the tests:

    vendor/bin/t

Generate the API documentation:

    vendor/bin/d


## Installation

Add this line to your application's Gemfile:

    gem 'vault-tools'


## Usage

### Logging

```ruby
  Log.time(name, t)
  #  => "measure=true at=web-40"

  Log.count('foo')
  #  => "measure=true at=foo"
```

### Sinatra base class

Includes request logging and health endpoints

```ruby
  class Web < Vault::Web
    helpers Vault::SinatraHelpers::HtmlSerializer
  end
```

## Contributing

1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request

## Releasing

    > bundle exec rake release

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
vault-tools-0.4.7 README.md
vault-tools-0.4.6 README.md
vault-tools-0.4.5 README.md
vault-tools-0.4.4 README.md
vault-tools-0.4.3 README.md
vault-tools-0.4.2 README.md
vault-tools-0.4.1 README.md
vault-tools-0.4.0 README.md
vault-tools-0.3.11 README.md
vault-tools-0.3.10 README.md
vault-tools-0.3.9 README.md
vault-tools-0.3.8 README.md
vault-tools-0.3.7 README.md