lib/docman/info.rb in docman-0.0.11 vs lib/docman/info.rb in docman-0.0.12
- old
+ new
@@ -96,11 +96,11 @@
return self['actions'][type][hook]
end
[]
end
- def environment
- self['docroot_config'].deploy_target['environments'][self['state']]
+ def environment_name
+ self['docroot_config'].deploy_target['states'][self['state']]
end
end
end
\ No newline at end of file