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

Version Path
tvd-tvdinner-0.0.27 lib/development.rb
tvd-tvdinner-0.0.27 cookbooks/tvdinner/files/default/development.rb
tvd-tvdinner-0.0.26 lib/development.rb
tvd-tvdinner-0.0.26 cookbooks/tvdinner/files/default/development.rb
tvd-tvdinner-0.0.25 cookbooks/tvdinner/files/default/development.rb
tvd-tvdinner-0.0.25 lib/development.rb
tvd-tvdinner-0.0.24 lib/development.rb
tvd-tvdinner-0.0.24 cookbooks/tvdinner/files/default/development.rb
tvd-tvdinner-0.0.23 lib/development.rb
tvd-tvdinner-0.0.23 cookbooks/tvdinner/files/default/development.rb
tvd-tvdinner-0.0.22 lib/development.rb
tvd-tvdinner-0.0.22 cookbooks/tvdinner/files/default/development.rb
tvd-tvdinner-0.0.21 cookbooks/tvdinner/files/default/development.rb
tvd-tvdinner-0.0.21 lib/development.rb