From bdc903776d583a38a101bcf8c459f127fdc3de36 Mon Sep 17 00:00:00 2001 From: Steve Bazyl Date: Fri, 31 Mar 2017 11:09:40 -0700 Subject: [PATCH] Fix inflection for teamdrives, better logging for conflicting names --- lib/google/apis/generator/annotator.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/google/apis/generator/annotator.rb b/lib/google/apis/generator/annotator.rb index 7a15d69ab..e534d820e 100644 --- a/lib/google/apis/generator/annotator.rb +++ b/lib/google/apis/generator/annotator.rb @@ -34,7 +34,8 @@ module Google # where algorithmic approaches produce poor APIs. class Names ActiveSupport::Inflector.inflections do |inflections| - u = inflections.uncountable('send_as', 'as') + inflections.uncountable('send_as', 'as') + inflections.irregular('teamdrive', 'teamdrives') end include Google::Apis::Core::Logging