Skip to content

Commit 7a6ab7d

Browse files
committed
💚 Constrain overcommit to Ruby 2.4+
Signed-off-by: Peter Boling <[email protected]>
1 parent 0cab2b3 commit 7a6ab7d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Gemfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,14 @@ linting = minimum_version.call("2.0")
1515
danger = minimum_version.call("2.7")
1616
coverage = minimum_version.call("2.7")
1717
debug = minimum_version.call("2.4")
18+
overcommit = minimum_version.call("2.4")
19+
if overcommit
20+
gem "overcommit", "~> 0.58"
21+
end
1822
if danger
1923
gem "danger", "~> 8.4"
2024
end
2125
if linting
22-
gem "overcommit", "~> 0.58"
2326
gem "rubocop-md"
2427
gem "rubocop-minitest"
2528
gem "rubocop-ruby2_0", "~> 1.0"

0 commit comments

Comments
 (0)