Method: Bundler::Index#dependencies_eql?
- Defined in:
- lib/bundler/index.rb
#dependencies_eql?(spec, other_spec) ⇒ Boolean
155 156 157 158 159 |
# File 'lib/bundler/index.rb', line 155 def dependencies_eql?(spec, other_spec) deps = spec.dependencies.select {|d| d.type != :development } other_deps = other_spec.dependencies.select {|d| d.type != :development } deps.sort == other_deps.sort end |