summaryrefslogtreecommitdiff
path: root/Gemfile
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2016-02-23 10:45:15 -0800
committerLamont Granquist <lamont@scriptkiddie.org>2016-02-23 10:45:15 -0800
commit271d3e4f91e3d158c9112512ac75d0ca51fc928d (patch)
tree5beb5e5588db43ecac46f38725cabf5e573fd1d6 /Gemfile
parentaa7e0e05395823c66b30f1a810d1720aea3b6d72 (diff)
downloadchef-271d3e4f91e3d158c9112512ac75d0ca51fc928d.tar.gz
Autofixing new Perf cops in 0.37.2
6 Performance/Casecmp 18 Performance/Detect 1 Performance/RangeInclude 27 Performance/RedundantBlockCall 6 Performance/RedundantMatch 5 Performance/RedundantMerge 18 Performance/StringReplacement
Diffstat (limited to 'Gemfile')
-rw-r--r--Gemfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Gemfile b/Gemfile
index 2c37e6c7d4..2d0a7338ea 100644
--- a/Gemfile
+++ b/Gemfile
@@ -30,7 +30,7 @@ group(:development, :test) do
# gem 'chefstyle', github: 'chef/chefstyle'
gem "chefstyle", git: "https://github.com/chef/chefstyle.git", branch: "master"
- gem "ruby-shadow", platforms: :ruby unless RUBY_PLATFORM.downcase.match(/(aix|cygwin)/)
+ gem "ruby-shadow", platforms: :ruby unless RUBY_PLATFORM.downcase =~ /(aix|cygwin)/
# For external tests
# gem 'chef-zero', github: 'chef/chef-zero'