Skip to content

Commit

Permalink
Bump 0.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
skryukov committed Oct 26, 2022
1 parent ef31c85 commit 90d2f28
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 2 deletions.
21 changes: 20 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,14 @@ and this project adheres to [Semantic Versioning].

## [Unreleased]

## [0.3.0] - 2022-10-26

### Added

- Partial linting (experimental). ([@skryukov])

Partial linting is useful when you want to run RuboCop Gradual on a subset of files, for example, on changed files in a pull request:

```shell
rubocop-gradual path/to/file # run `rubocop-gradual` on a subset of files
rubocop-gradual --staged # run `rubocop-gradual` on staged files
Expand All @@ -23,14 +27,28 @@ rubocop-gradual --staged --autocorrect # run `rubocop-gradual` with autocorrect

- Require mode (experimental). ([@skryukov])

RuboCop Gradual can be used in "Require mode", which is a way to replace `rubocop` with `rubocop-gradual`:

```yaml
# .rubocop.yml

require:
- rubocop-gradual
```

- Built-in Rake tasks. ([@skryukov])

```ruby
# Rakefile
require "rubocop/gradual/rake_task"

RuboCop::Gradual::RakeTask.new
```

### Fixed

- Issues with the same location ordered by the message. ([@skryukov])

## [0.2.0] - 2022-07-26

### Added
Expand Down Expand Up @@ -62,7 +80,8 @@ RuboCop::Gradual::RakeTask.new

[@skryukov]: https://github.com/skryukov

[Unreleased]: https://github.com/skryukov/rubocop-gradual/compare/v0.2.0...HEAD
[Unreleased]: https://github.com/skryukov/rubocop-gradual/compare/v0.3.0...HEAD
[0.3.0]: https://github.com/skryukov/rubocop-gradual/compare/v0.2.0...v0.3.0
[0.2.0]: https://github.com/skryukov/rubocop-gradual/compare/v0.1.1...v0.2.0
[0.1.1]: https://github.com/skryukov/rubocop-gradual/compare/v0.1.0...v0.1.1
[0.1.0]: https://github.com/skryukov/rubocop-gradual/commits/v0.1.0
Expand Down
2 changes: 1 addition & 1 deletion lib/rubocop/gradual/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

module RuboCop
module Gradual
VERSION = "0.2.0"
VERSION = "0.3.0"
end
end

0 comments on commit 90d2f28

Please sign in to comment.