summaryrefslogtreecommitdiff
path: root/tasks/maintainers.rb
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2018-01-17 13:34:18 -0800
committerLamont Granquist <lamont@scriptkiddie.org>2018-01-17 13:34:18 -0800
commit746562d6358c27b838c95ea27b2a2bd82c03cefe (patch)
treebaa587f091d06c1385543bbde818970e5fee7b75 /tasks/maintainers.rb
parentfcd8d778baeeb990a64fe9042164bbd3e1dd5269 (diff)
downloadchef-746562d6358c27b838c95ea27b2a2bd82c03cefe.tar.gz
prepping for rubocop 0.52.1lcg/rubocop-0.52.1
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'tasks/maintainers.rb')
-rw-r--r--tasks/maintainers.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/tasks/maintainers.rb b/tasks/maintainers.rb
index f6385860c4..d2fc482a28 100644
--- a/tasks/maintainers.rb
+++ b/tasks/maintainers.rb
@@ -1,5 +1,5 @@
#
-# Copyright:: Copyright 2015-2016, Chef Software, Inc.
+# Copyright:: Copyright 2015-2018, Chef Software Inc.
# License:: Apache License, Version 2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -131,7 +131,7 @@ begin
else
%w{maintainers lieutenant title}.each { |k| cmp.delete(k) }
end
- cmp.each { |_k, v| prepare_teams(v) }
+ cmp.each_value { |v| prepare_teams(v) }
end
def update_team(team, additions, deletions)
@@ -189,7 +189,7 @@ begin
end
out << format_maintainers(cmp.delete("maintainers")) + "\n" if cmp.has_key?("maintainers")
cmp.delete("paths")
- cmp.each { |k, v| out << format_components(v) }
+ cmp.each_value { |v| out << format_components(v) }
out
end