Skip to content

Commit

Permalink
build: bump to v1.0.0 (#33)
Browse files Browse the repository at this point in the history
# Overview

This PR bumps the gem to v1.0.0 and cleans up the README ever so
slightly.
  • Loading branch information
nshki authored Jul 28, 2023
1 parent b7dc324 commit 3d924db
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 16 deletions.
15 changes: 0 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,21 +61,6 @@ Usage: chusaku [options]
```


## Pre-commit Hook

Here's an example setup that you could use for automating Chusaku as a Git hook
with the [Lefthook](https://github.com/Arkweid/lefthook) gem.

```yaml
pre-commit:
commands:
chusaku:
run: eval "! git diff --staged --name-only | grep -q 'routes.rb' && exit 0 || bundle exec chusaku --exit-with-error-on-annotation"
```
This example config only runs Chusaku if `routes.rb` was modified.


## Development

Read the blog post explaining how the gem works at a high level:
Expand Down
2 changes: 1 addition & 1 deletion lib/chusaku/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module Chusaku
VERSION = "0.6.1"
VERSION = "1.0.0"
end

0 comments on commit 3d924db

Please sign in to comment.