Don't record fluentd-ui gem update

This commit is contained in:
uu59 2014-07-04 18:28:41 +09:00
parent babb3df89c
commit 5c432c3d0f

View File

@ -22,6 +22,8 @@ class Plugin
self.version ||= latest_version
if valid? && gem_install
# NOTE: also updating fluentd-ui gem is used this method, that shouldn't be recorded
return true unless gem_name.start_with?("fluent-plugin-")
File.open(gemfile_path, "a") do |f|
f.puts format_gemfile
end