Sha256: 594e9c8143e6065da9fdff53d7ed0458b430859d78b30eaeaf7823bb15870466

Contents?: true

Size: 1.4 KB

Versions: 1

Compression:

Stored size: 1.4 KB

Contents

# Middleman Dotenv

Integrates [Dotenv](https://github.com/bkeepers/dotenv) into [Middleman](http://middlemanapp.com)

## Installation

```ruby
gem 'middleman-dotenv', '~> 2.0'
```

Open your `config.rb` and add the following right at the top of the file

```ruby
# Uses .env in the root of the project
activate :dotenv
```

## Features / Usage Examples

```ruby
# Specify environment specific .env files
configure :development do
  activate :dotenv, env: '.env.development'
end

configure :build do
  activate :dotenv, env: '.env.build'
end
```

## Badges

[![Gem Version](http://img.shields.io/gem/v/middleman-dotenv.svg)][gem]
[![Build Status](http://img.shields.io/travis/middleman-contrib/middleman-dotenv.svg)][travis]
[![Code Quality](http://img.shields.io/codeclimate/github/middleman-contrib/middleman-dotenv.svg)][codeclimate]
[![Code Coverage](http://img.shields.io/codeclimate/coverage/github/middleman-contrib/middleman-dotenv.svg)][codeclimate]

## Supported Ruby Versions

This library aims to support and is [tested against][travis] the following Ruby
implementations:

- Ruby 2.2.0
- Ruby 2.1.0
- Ruby 2.0.0
- Ruby 1.9.3
- [JRuby][jruby]
- [Rubinius][rubinius]

[gem]: https://rubygems.org/gems/middleman-dotenv
[travis]: http://travis-ci.org/middleman-contrib/middleman-dotenv
[codeclimate]: https://codeclimate.com/github/middleman-contrib/middleman-dotenv
[jruby]: http://www.jruby.org
[rubinius]: http://rubini.us

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
middleman-dotenv-2.0.0 README.md