Method: Bundler::RemoteSpecification#dependencies
- Defined in:
- lib/bundler/remote_specification.rb
#dependencies ⇒ Object
78 79 80 81 82 83 84 85 86 87 88 89 |
# File 'lib/bundler/remote_specification.rb', line 78 def dependencies @dependencies ||= begin deps = method_missing(:dependencies) # allow us to handle when the specs dependencies are an array of array of string # in order to delay the crash to `#__swap__` where it results in a friendlier error # see https://github.com/rubygems/bundler/issues/5797 deps = deps.map {|d| d.is_a?(Gem::Dependency) ? d : Gem::Dependency.new(*d) } deps end end |