lib/dev_tasks.rb in dev_tasks-0.0.33 vs lib/dev_tasks.rb in dev_tasks-0.0.34
- old
+ new
@@ -16,10 +16,10 @@
def initialize
#hash = JSON.parse File.read("#{File.dirname(__FILE__)}/spec.json")
#self[:dev_tasks_gem]=JSON.parse File.read("#{File.dirname(__FILE__)}/spec.json")
- self[:name]=Rake.application.original_dir.split('/').last
+ self[:name]=pwd.split('/').last#Rake.application.original_dir.split('/').last
self[:scm]=Environment.scm
self[:branch]=Environment.branch
self[:relative_directory]=Environment.relative_directory
self[:working_directory]=Environment.working_directory
self[:context]=Environment.context