lib/bundler/dependencies/cli/find.rb in bundler-dependencies-0.6.0 vs lib/bundler/dependencies/cli/find.rb in bundler-dependencies-1.0.0
- old
+ new
@@ -1,12 +1,14 @@
+# frozen_string_literal: true
+
module Bundler
module Dependencies
class CLI < ::Thor
class Find < Command
include WithGem
- private
+ private
def to_s
if dependents.empty?
error("No gems in the bundle depend on #{gem}.")
exit(1)
@@ -24,10 +26,10 @@
end
def paths
dependents.each do |gem, paths|
puts
- say(gem, %i(bold))
+ say(gem, %i[bold])
paths.each { |p| say " * #{p}" }
end
end
def banner