README.markdown in simplecov-lcov-0.6.0 vs README.markdown in simplecov-lcov-0.7.0
- old
+ new
@@ -25,12 +25,22 @@
#### Output report as single file.
```Ruby
require 'simplecov'
require 'simplecov-lcov'
- SimpleCov::Formatter::LcovFormatter.report_with_single_file = true
+ SimpleCov::Formatter::LcovFormatter.config.report_with_single_file = true
SimpleCov.formatter = SimpleCov::Formatter::LcovFormatter
SimpleCov.start
+```
+
+Other available configuration options for single file report:
+
+```Ruby
+ SimpleCov::Formatter::LcovFormatter.config do |c|
+ c.output_directory = 'your/path' # default: "coverage/lcov"
+ c.lcov_file_name = 'lcov.info' # default: "YOUR_PROJECT_NAME.lcov"
+ c.single_report_path = 'your/path/lcov.info'
+ end
```
## Contributing to simplecov-lcov
* Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet.