rails_stats
rails_stats copied to clipboard
external/replacement version of rake stats
There are a few unreleased changes that could be released.
Using rails_stats v1.0.2 Given I have added `gem "rails_stats"` to my `Gemfile` and I have the following app's file structure (typical when using [packs-rails](https://github.com/rubyatscale/packs-rails)): ``` my_rails_app/ ├── app │ ├──...
**Description:** This PR simply bumps the gem version and updates the CHANGELOG. I will abide by the [code of conduct](CODE_OF_CONDUCT.md).
Closes #30 - [x] Add an entry to `CHANGELOG.md` that links to this PR under the "main (unreleased)" heading. **Description:** `Bundler::Stats::CLI` was failing to display console output, and now it's...
Closes: https://github.com/fastruby/rails_stats/issues/26 - [x] Add an entry to `CHANGELOG.md` that links to this PR under the "main (unreleased)" heading. **Description:** This PR adds support to include `.ts`, `.tsx` and `.jsx`...
# Environment Ruby: ``` ➜ fastruby.io git:(main) ✗ ruby -v ruby 3.1.6p260 (2024-05-29 revision a777087be6) [arm64-darwin23] ``` Rails Stats: ``` ➜ fastruby.io git:(main) ✗ gem update rails_stats Updating installed gems...
We could add .ts as an extension to the project: https://github.com/fastruby/rails_stats/blob/3aa647aa9c87b0dd08a67dc20c65b93f4f4973f0/lib/rails_stats/code_statistics_calculator.rb#L7-L32 Some projects use Typescript instead of vanilla JS. Requested by @arielj
- [x] Add an entry to `CHANGELOG.md` that links to this PR under the "main (unreleased)" heading. This change allows `rails_stats` to be run from anywhere, without needing a `Rakefile`.
- [ ] Add an entry to `CHANGELOG.md` that links to this PR under the "main (unreleased)" heading. **Description:** I noticed the test suite is failing for Ruby 2.6 and...
Test suite is not passing in CI because of two issues: - Codecov integration - Ruby 2.7 and below can't install the right versions of bundler and rubygems