Favor if-unless modifier when single-line body

This commit is contained in:
Ashwin Maroli 2019-01-02 22:56:19 +05:30
parent 84c46eb680
commit 9fa6863794
1 changed files with 3 additions and 9 deletions

12
Gemfile
View File

@ -13,9 +13,7 @@ group :development do
gem "launchy", "~> 2.3" gem "launchy", "~> 2.3"
gem "pry" gem "pry"
unless RUBY_ENGINE == "jruby" gem "pry-byebug" unless RUBY_ENGINE == "jruby"
gem "pry-byebug"
end
end end
# #
@ -39,9 +37,7 @@ end
# #
group :test_legacy do group :test_legacy do
if RUBY_PLATFORM =~ %r!cygwin! gem "test-unit" if RUBY_PLATFORM =~ %r!cygwin!
gem "test-unit"
end
gem "minitest" gem "minitest"
gem "minitest-profile" gem "minitest-profile"
@ -89,9 +85,7 @@ end
# #
group :site do group :site do
if ENV["PROOF"] gem "html-proofer", "~> 3.4" if ENV["PROOF"]
gem "html-proofer", "~> 3.4"
end
gem "jekyll-avatar" gem "jekyll-avatar"
gem "jekyll-mentions" gem "jekyll-mentions"