lib/docman/commands/command.rb in docman-0.0.11 vs lib/docman/commands/command.rb in docman-0.0.12
- old
+ new
@@ -130,10 +130,10 @@
def replace_placeholder(value)
value.gsub! '$ROOT$', @context['docroot_config'].root['full_build_path']
value.gsub! '$DOCROOT$', @context['docroot_config'].docroot_dir
value.gsub! '$PROJECT$', @context['full_build_path']
value.gsub! '$INFO$', @context['full_path']
- value.gsub! '$ENVIRONMENT$', @context.environment
+ value.gsub! '$ENVIRONMENT$', @context.environment_name
end
end
end
\ No newline at end of file