Sha256: 1a80444b701206478e8ef33bfc390b8d32972a2b0a78f3e636c0b5d0bb14ed12
Contents?: true
Size: 438 Bytes
Versions: 6
Compression:
Stored size: 438 Bytes
Contents
require 'bundler' module Gurney module Source class RubyVersion < Base def initialize(ruby_version:) @ruby_version = ruby_version&.strip end def present? @ruby_version && @ruby_version.size > 0 end def dependencies if present? [Dependency.new(ecosystem: 'ruby', name: 'ruby', version: @ruby_version)] end end private attr_reader :gemfile_lock end end end
Version data entries
6 entries across 6 versions & 1 rubygems