Sha256: e7bd8b6497aed57aa0841f62ff3eb10b1dd03160f1e5fe2a4e6e58c14e6d0e24
Contents?: true
Size: 383 Bytes
Versions: 14
Compression:
Stored size: 383 Bytes
Contents
def dev(nm_gem, workarea="git") gem nm_gem, ( File.exists?(File.expand_path("../../#{workarea}/#{nm_gem}", __FILE__)) ? (ENV["EDIT_#{nm_gem.gsub(/[-]/, "_")}"] = "true"; { :path => "#{workarea}/#{nm_gem}" }) : Dir["vendor/cache/#{nm_gem}-*.gem"].collect {|x| [x.gsub(/\d+/) {|num| sprintf("%011d", num) }, x] }.sort[0][1].split(/-/)[-1].gsub(/\.gem$/,"") ) end
Version data entries
14 entries across 7 versions & 1 rubygems