Module: Bundler::MatchMetadata
- Included in:
- LazySpecification, MatchRemoteMetadata, Gem::Specification
- Defined in:
- lib/bundler/match_metadata.rb
Instance Method Summary collapse
- #matches_current_metadata? ⇒ Boolean
- #matches_current_ruby? ⇒ Boolean
- #matches_current_rubygems? ⇒ Boolean
Instance Method Details
#matches_current_metadata? ⇒ Boolean
5 6 7 |
# File 'lib/bundler/match_metadata.rb', line 5 def matches_current_ruby? && matches_current_rubygems? end |
#matches_current_ruby? ⇒ Boolean
9 10 11 |
# File 'lib/bundler/match_metadata.rb', line 9 def matches_current_ruby? @required_ruby_version.satisfied_by?(Gem.ruby_version) end |
#matches_current_rubygems? ⇒ Boolean
13 14 15 |
# File 'lib/bundler/match_metadata.rb', line 13 def matches_current_rubygems? @required_rubygems_version.satisfied_by?(Gem.rubygems_version) end |