From 106d1749c965b8af857c976197814707b66cbef0 Mon Sep 17 00:00:00 2001 From: Austin Ziegler Date: Thu, 23 Dec 2021 10:43:29 -0500 Subject: Fix issues reported by fasterer --- Gemfile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'Gemfile') diff --git a/Gemfile b/Gemfile index 7b9f817..b482de6 100644 --- a/Gemfile +++ b/Gemfile @@ -11,10 +11,14 @@ if RUBY_VERSION < '1.9' gem 'rdoc', '< 4' gem 'ruby-debug' -elsif RUBY_VERSION >= '2.0' +end + +if RUBY_VERSION >= '2.0' + gem 'standardrb' + gem 'fasterer' + if RUBY_ENGINE == 'ruby' gem 'simplecov', '~> 0.18' - gem 'byebug' end end -- cgit v1.2.1 From f85ec381137c6838600b16c353ff9dba3a05452c Mon Sep 17 00:00:00 2001 From: Austin Ziegler Date: Thu, 23 Dec 2021 10:44:44 -0500 Subject: standardrb --only Style/StringLiterals --fix --- Gemfile | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'Gemfile') diff --git a/Gemfile b/Gemfile index b482de6..2840096 100644 --- a/Gemfile +++ b/Gemfile @@ -3,23 +3,23 @@ # NOTE: This file is present to keep Travis CI happy. Edits to it will not # be accepted. -source 'https://rubygems.org/' +source "https://rubygems.org/" -if RUBY_VERSION < '1.9' - gem 'hoe', '~> 3.20' - gem 'rake', '< 11' - gem 'rdoc', '< 4' +if RUBY_VERSION < "1.9" + gem "hoe", "~> 3.20" + gem "rake", "< 11" + gem "rdoc", "< 4" - gem 'ruby-debug' + gem "ruby-debug" end -if RUBY_VERSION >= '2.0' - gem 'standardrb' - gem 'fasterer' +if RUBY_VERSION >= "2.0" + gem "standardrb" + gem "fasterer" - if RUBY_ENGINE == 'ruby' - gem 'simplecov', '~> 0.18' - gem 'byebug' + if RUBY_ENGINE == "ruby" + gem "simplecov", "~> 0.18" + gem "byebug" end end -- cgit v1.2.1