From 0d1841c1e119045ddf04ff3cc1f8d3f6ba1c29cf Mon Sep 17 00:00:00 2001 From: Todd Bluhm Date: Wed, 17 Aug 2016 16:34:16 -0500 Subject: [PATCH] Added version number shield and fixed changelog formatting --- CHANGELOG.md | 9 +++++---- README.md | 1 + 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 54eee2f..9c87662 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,10 +1,11 @@ # Changelog ## 2.0.0 -- BREAKING: Removed the `-e` and `--env` flags! Now it just expects the first arg to `env-cmd` to be the relative path to the env file: `env-cmd env_file command carg1 carg2` -- Changed ParseEnvFile over to more generic name: ParseEnvString -- ParseEnvString: Ignore comment lines (lines starting with '#') -- ParseEnvString: Ignore empty lines in env file +- ***BREAKING***: Removed the `-e` and `--env` flags. Now it just expects the first arg to `env-cmd` to be the relative path to the env file: `env-cmd env_file command carg1 carg2` +- **Change:** `ParseEnvFile` is now more properly named `ParseEnvString` +- **Feature:** `ParseEnvString` will ignore comment lines (lines starting with `#`) +- **Feature:** `ParseEnvString` will ignore empty lines in env file +- **Bug:** `ParseEnvString` will extract the last line even if no newline (`\n`) exists on it ## 1.0.1 - Fixed badges diff --git a/README.md b/README.md index 3ae1e0f..1763efc 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,6 @@ [![Travis](https://img.shields.io/travis/toddbluhm/env-cmd.svg?maxAge=2592000)](https://travis-ci.org/toddbluhm/env-cmd) [![Coveralls](https://img.shields.io/coveralls/toddbluhm/env-cmd.svg?maxAge=2592000)](https://coveralls.io/github/toddbluhm/env-cmd) +[![npm](https://img.shields.io/npm/v/env-cmd.svg?maxAge=2592000)](https://www.npmjs.com/package/env-cmd) [![npm](https://img.shields.io/npm/dm/env-cmd.svg?maxAge=2592000)](https://www.npmjs.com/package/env-cmd) [![npm](https://img.shields.io/npm/l/env-cmd.svg?maxAge=2592000)](https://www.npmjs.com/package/env-cmd)