Skip to content

Commit 583bf0d

Browse files
committed
Update change log with BundleOutdated hook
1 parent 83b6033 commit 583bf0d

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

CHANGELOG.md

+2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
* Fix `Jscs` pre-commit hook to work with `jscs` 3.0.0+
88
* Fix `CapitalizedSubject` pre-commit hook to ignore commit message subjects
99
starting with `fixup!` or `squash!` special prefixes
10+
* Add `BundleOutdated` pre-commit hook to report gems in the `Gemfile.lock`
11+
that have newer versions available
1012

1113
## 0.33.0
1214

lib/overcommit/hook/pre_commit/bundle_outdated.rb

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
module Overcommit::Hook::PreCommit
2-
# Check if local Gemfile.lock matches Gemfile when either changes, unless
3-
# Gemfile.lock is ignored by git.
4-
# Check outdated rubyGems
2+
# Check if any gems in Gemfile.lock have newer versions, unless the
3+
# Gemfile.lock is ignored by Git.
54
#
65
# @see http://bundler.io/bundle_outdated.html
76
class BundleOutdated < Base

0 commit comments

Comments
 (0)