Skip to content

Commit

Permalink
πŸ’š Constrain diffend to non-EOL Rubies
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Boling <peter.boling@gmail.com>
  • Loading branch information
pboling committed May 3, 2022
1 parent 6781a76 commit e3beaaa
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,6 @@ gemspec

gem "actionpack"

# Those lines need to be added
plugin 'diffend'
# Monitor is required for production realtime notifications
gem 'diffend-monitor', require: %w[diffend/monitor]

ruby_version = Gem::Version.new(RUBY_VERSION)
minimum_version = ->(version) { ruby_version >= Gem::Version.new(version) && RUBY_ENGINE == "ruby" }
linting = minimum_version.call("2.0")
Expand All @@ -21,6 +16,10 @@ if overcommit
end
if danger
gem "danger", "~> 8.4"
# Those lines need to be added
plugin 'diffend'
# Monitor is required for production realtime notifications
gem 'diffend-monitor', require: %w[diffend/monitor]
end
if linting
gem "rubocop-md"
Expand Down

0 comments on commit e3beaaa

Please sign in to comment.