Class: Blakey::Repository::Ruby
- Inherits:
-
Base
- Object
- Base
- Blakey::Repository::Ruby
show all
- Defined in:
- lib/blakey/repository/ruby.rb
Defined Under Namespace
Classes: GemfileLockParser, RubyVersionFetcher
Instance Attribute Summary
Attributes inherited from Base
#options
Instance Method Summary
collapse
Methods inherited from Base
#initialize, #source_overview
Instance Method Details
#gem_dependencies ⇒ Object
8
9
10
|
# File 'lib/blakey/repository/ruby.rb', line 8
def gem_dependencies
gemfile_lock_parser.dependencies
end
|
#gem_dependency_version(gem_name) ⇒ Object
4
5
6
|
# File 'lib/blakey/repository/ruby.rb', line 4
def gem_dependency_version(gem_name)
gem_dependencies.fetch(gem_name, nil)
end
|
#ruby_version ⇒ Object
12
13
14
|
# File 'lib/blakey/repository/ruby.rb', line 12
def ruby_version
ruby_version_fetcher.version
end
|