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/remote_specification.rb | |
parent | fc549b2b3a65a95a734ee8679293a30284f84622 (diff) |
Merge RubyGems-3.5.2 and Bundler-2.5.2
Diffstat (limited to 'lib/bundler/remote_specification.rb')
-rw-r--r-- | lib/bundler/remote_specification.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/bundler/remote_specification.rb b/lib/bundler/remote_specification.rb index f626a3218e..9d237f3fa0 100644 --- a/lib/bundler/remote_specification.rb +++ b/lib/bundler/remote_specification.rb @@ -88,6 +88,10 @@ module Bundler end end + def runtime_dependencies + dependencies.select(&:runtime?) + end + def git_version return unless loaded_from && source.is_a?(Bundler::Source::Git) " #{source.revision[0..6]}" |