README.md in npmdc-0.3.1 vs README.md in npmdc-0.3.2
- old
+ new
@@ -18,11 +18,11 @@
## Installation
Add this line to your application's Gemfile:
```ruby
-gem 'npmdc'
+gem 'npmdc', group: :development
```
And then execute:
$ bundle
@@ -35,13 +35,14 @@
### Rails
```ruby
YourApp::Application.configure do
- config.npmdc.path = "/path/to/your/frontend/code/dir" # `Rails.root` by default
- config.npmdc.format = "doc" # `short`, `doc`, `progress`. `short` by default
- config.npmdc.color = false # `true` by default
- config.npmdc.types = ["dependencies"] # `["dependencies", "devDependencies"]` by default
+ config.npmdc.path = "/path/to/your/frontend/code/dir" # `Rails.root` by default
+ config.npmdc.format = "doc" # `short`, `doc`, `progress`. `short` by default
+ config.npmdc.color = false # `true` by default
+ config.npmdc.types = ["dependencies"] # `["dependencies", "devDependencies"]` by default
+ config.npmdc.environments = ["development"] # `development` only by default
end
```
### CLI tool: