Sha256: 77e10d82f8e712a7465e848924007c2f352000f82c63d563c57511f95342b5b6
Contents?: true
Size: 672 Bytes
Versions: 5
Compression:
Stored size: 672 Bytes
Contents
module Cream module GeneratorHelper module Gemfile def add_gem_version name, version if !has_gem? name logger.debug "Adding gem: #{name}, #{version}" gem name, :version => version else logger.debug "gem: #{name}, #{version} already in Gemfile" end end def add_gem name, version = nil if version add_gem_version name, version return end if !has_gem? name logger.debug "Adding gem: #{name}" gem name else logger.debug "gem: #{name} already in Gemfile" end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems