lib/docman/docroot_config.rb in docman-0.0.100 vs lib/docman/docroot_config.rb in docman-0.0.101
- old
+ new
@@ -166,26 +166,26 @@
end
else
puts "Variable #{docman_config_var} not found."
end
- docman_repo_var = "DOCMAN_PROJECTS_#{info['name'].upcase}_REPO"
+ docman_repo_var = "COMPONENT_#{info['name'].upcase}_REPO"
if ENV.has_key? docman_repo_var and ENV[docman_repo_var].length > 0
puts "Variable #{docman_repo_var} => #{ENV[docman_repo_var]}"
info['repo'] = ENV[docman_repo_var]
else
puts "Variable #{docman_repo_var} not found."
end
- docman_order_var = "DOCMAN_PROJECTS_#{info['name'].upcase}_ORDER"
+ docman_order_var = "COMPONENT_#{info['name'].upcase}_ORDER"
if ENV.has_key? docman_order_var and ENV[docman_tag_var].length > 0
puts "Variable #{docman_order_var} => #{ENV[docman_order_var]}"
info['order'] = ENV[docman_order_var]
else
puts "Variable #{docman_order_var} not found."
end
- docman_version_var = "DOCMAN_PROJECTS_#{info['name'].upcase}_VERSION"
+ docman_version_var = "COMPONENT_#{info['name'].upcase}_VERSION"
if ENV.has_key? docman_version_var and ENV[docman_version_var].length > 0
puts "Variable #{docman_version_var} => #{ENV[docman_version_var]}"
if @state.nil?
info['states'].each do |k,v|
info['states'][k]['type'] = "branch"