lib/eskort/bundler/outdated.rb in eskort-0.0.3 vs lib/eskort/bundler/outdated.rb in eskort-0.0.4
- old
+ new
@@ -24,10 +24,10 @@
target_specs = gemfile_specs + dependency_specs
target_specs.sort_by(&:name).each do |current_spec|
dependency = current_dependencies[current_spec.name]
# trueで実行するとGemfileで許可されているUpdate可能なものだけをリストする
- active_spec = retrieve_active_spec(false, definition, current_spec)
+ active_spec = retrieve_active_spec(true, definition, current_spec)
next if active_spec.nil?
next if !outdated?(active_spec, current_spec) && (current_spec.git_version == active_spec.git_version)
outdated_gems_list << Gem.new(active_spec, current_spec, dependency)