diff --git a/CHANGELOG.md b/CHANGELOG.md index e144329..601a7b3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,6 @@ # main ([unreleased](https://github.com/fastruby/rails_stats/compare/v1.0.2...main)) +* [BUGFIX: Explicitly set format as text for `Bundler::Stats::CLI` on `ConsoleFormatter`](https://github.com/fastruby/rails_stats/pull/40) * [BUGFIX: Fix JSON output missing Code and Tests total count](https://github.com/fastruby/rails_stats/pull/40) * Update README examples * [FEATURE: Output number of tables created from schema.rb or structure.sql, add polymorphic models count](https://github.com/fastruby/rails_stats/pull/37) @@ -24,4 +25,4 @@ # v1.0.1 / 2018-10-8 * [FEATURE: add more aggregate stats](https://github.com/fastruby/rails_stats/pull/5) -* [FEATURE: More detailed introspection of app](https://github.com/fastruby/rails_stats/pull/1) \ No newline at end of file +* [FEATURE: More detailed introspection of app](https://github.com/fastruby/rails_stats/pull/1) diff --git a/lib/rails_stats/console_formatter.rb b/lib/rails_stats/console_formatter.rb index e12fae1..83b56d0 100644 --- a/lib/rails_stats/console_formatter.rb +++ b/lib/rails_stats/console_formatter.rb @@ -3,7 +3,7 @@ module RailsStats class ConsoleFormatter < StatsFormatter def to_s - Bundler::Stats::CLI.start + Bundler::Stats::CLI.start(['--format', 'text']) print_header sorted_keys = @statistics.keys.sort @@ -70,4 +70,4 @@ def print_schema_stats end end end -end \ No newline at end of file +end