lib/gem_bench/team.rb in gem_bench-0.0.3 vs lib/gem_bench/team.rb in gem_bench-0.0.4

- old
+ new

@@ -1,9 +1,11 @@ module GemBench class Team - EXCLUDE = ['bundler','gem_bench'] + EXCLUDE = [ 'bundler','gem_bench','i18n-airbrake','devise-async','km','vestal_versions','omniauth-facebook', + 'flag_shih_tzu','pry-remote','koala','simple_form','thumbs_up','memoist','cancan','friendly_id', + 'faker'] # A comment preceding the require: false anywhere on the line should not be considered an active require: false attr_accessor :paths, :all, :excluded, :starters, :benchers, :verbose, :gemfile_lines, :trash_lines, :check_gemfile, :current_gemfile_suggestions, :bad_ideas, :gemfile_path @@ -24,10 +26,10 @@ self.paths.uniq! # Gem.loaded_specs are the gems that have been loaded / required. # Among these there may be some that did not need to be. totes = Gem.loaded_specs.values.map {|x| [x.name, x.version.to_s] } @excluded, @all = totes.partition {|x| EXCLUDE.include?(x[0]) } - exclusions = "\t(excluding the #{self.excluded.length} GemBench is configured to skip)\n" if @excluded.length > 0 + exclusions = "\t(excluding the #{self.excluded.length} loaded gems which GemBench is configured to ignore)\n" if @excluded.length > 0 @starters = [] @benchers = [] @current_gemfile_suggestions = [] @verbose = options[:verbose] self.check_all