diff options
author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2023-12-22 07:01:12 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2023-12-22 07:24:04 +0900 |
commit | 82496f2b389278a569fa7680ee6faa55a97410d7 (patch) | |
tree | acce0c98431a9f617be3d5c971b4c684155c5b94 /lib/bundler/lazy_specification.rb | |
parent | fc549b2b3a65a95a734ee8679293a30284f84622 (diff) |
Merge RubyGems-3.5.2 and Bundler-2.5.2
Diffstat (limited to 'lib/bundler/lazy_specification.rb')
-rw-r--r-- | lib/bundler/lazy_specification.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/bundler/lazy_specification.rb b/lib/bundler/lazy_specification.rb index f2d1016732..38aea2a4aa 100644 --- a/lib/bundler/lazy_specification.rb +++ b/lib/bundler/lazy_specification.rb @@ -10,6 +10,8 @@ module Bundler attr_reader :name, :version, :platform attr_accessor :source, :remote, :force_ruby_platform, :dependencies, :required_ruby_version, :required_rubygems_version + alias_method :runtime_dependencies, :dependencies + def self.from_spec(s) lazy_spec = new(s.name, s.version, s.platform, s.source) lazy_spec.dependencies = s.dependencies |