Skip to content

Commit

Permalink
Merge branch 'main' into ruby_3
Browse files Browse the repository at this point in the history
  • Loading branch information
nunosilva800 authored Apr 15, 2024
2 parents fdb4818 + 26adfb2 commit 40905b9
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 16 deletions.
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# main [(unreleased)](https://github.com/whitesmith/rubycritic/compare/v4.9.0...main)
# main [(unreleased)](https://github.com/whitesmith/rubycritic/compare/v4.9.1...main)

# v4.9.1 / 2024-04-14 [(commits)](https://github.com/whitesmith/rubycritic/compare/v4.9.0...v4.9.1)

* [CHANGE] Drop support for Ruby 2.7.x (by [@faisal][])
* [CHANGE] Bump cucumber, minitest, parser, rake, reek, rubocop, and ruby_parser dependencies (by [@faisal][])
Expand Down
26 changes: 14 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,19 @@ RubyCritic is a gem that wraps around static analysis gems such as [Reek][1], [F

## Table of Contents

- [Overview](#overview)
- [Getting Started](#getting-started)
- [Usage](#usage)
+ [Analyzer Configuration](#analyzer-configuration)
+ [Alternative Usage Methods](#alternative-usage-methods)
+ [Rake Task](#rake-task)
- [Formatters](#formatters)
- [Compatibility](#compatibility)
- [Improving RubyCritic](#improving-rubyCritic)
- [Contributors](#contributors)
- [Credits](#credits)
- [RubyCritic](#rubycritic)
- [Table of Contents](#table-of-contents)
- [Overview](#overview)
- [Getting Started](#getting-started)
- [Usage](#usage)
- [Analyzer Configuration](#analyzer-configuration)
- [Alternative Usage Methods](#alternative-usage-methods)
- [Rake Task](#rake-task)
- [Formatters](#formatters)
- [Compatibility](#compatibility)
- [Improving RubyCritic](#improving-rubycritic)
- [Contributors](#contributors)
- [Credits](#credits)

## Overview

Expand Down Expand Up @@ -241,7 +243,7 @@ RubyCritic is supporting Ruby versions:
| 2.4 | [v4.7.0](https://github.com/whitesmith/rubycritic/tree/v4.7.0) |
| 2.5 | [v4.7.0](https://github.com/whitesmith/rubycritic/tree/v4.7.0) |
| 2.6 | [v4.7.0](https://github.com/whitesmith/rubycritic/tree/v4.7.0) |
| 2.7 | [v4.9.0](https://github.com/whitesmith/rubycritic/tree/v4.9.0) |
| 2.7 | [v4.9.x](https://github.com/whitesmith/rubycritic/tree/v4.9.1) |
| 3.0 | latest |
| 3.1 | latest |
| 3.2 | latest |
Expand Down
4 changes: 2 additions & 2 deletions docs/formatters.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,12 @@ See the [Rakefile](https://github.com/MarcGrimme/repo-small-badge/blob/master/Ra

When *rubycritic* is called outside of the structure that has to be **criticized** with just calling the command.
The path to load as well, as the fully qualified classname of the formatter, have to be passed.
This happens with the `--formatter` option followed by the path to require (*requirepath*) a `:` as a separator and the fully qualified *classname*.
This happens with the `--custom-format` option followed by the path to require (*requirepath*) a `:` as a separator and the fully qualified *classname*.
An example could look as follows:

``` shell
gem install my_formatter_gem
rubycritic --formatter my_formatter:MyFormatter
rubycritic --custom-format my_formatter:MyFormatter
```

This will do the same as above.
2 changes: 1 addition & 1 deletion lib/rubycritic/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module RubyCritic
VERSION = '4.9.0'.freeze
VERSION = '4.9.1'.freeze
end

0 comments on commit 40905b9

Please sign in to comment.