Skip to content

Commit e3beaaa

Browse files
committed
💚 Constrain diffend to non-EOL Rubies
Signed-off-by: Peter Boling <[email protected]>
1 parent 6781a76 commit e3beaaa

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

Gemfile

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,6 @@ gemspec
44

55
gem "actionpack"
66

7-
# Those lines need to be added
8-
plugin 'diffend'
9-
# Monitor is required for production realtime notifications
10-
gem 'diffend-monitor', require: %w[diffend/monitor]
11-
127
ruby_version = Gem::Version.new(RUBY_VERSION)
138
minimum_version = ->(version) { ruby_version >= Gem::Version.new(version) && RUBY_ENGINE == "ruby" }
149
linting = minimum_version.call("2.0")
@@ -21,6 +16,10 @@ if overcommit
2116
end
2217
if danger
2318
gem "danger", "~> 8.4"
19+
# Those lines need to be added
20+
plugin 'diffend'
21+
# Monitor is required for production realtime notifications
22+
gem 'diffend-monitor', require: %w[diffend/monitor]
2423
end
2524
if linting
2625
gem "rubocop-md"

0 commit comments

Comments
 (0)