Skip to content

Commit

Permalink
Merge pull request #6 from rayl/master
Browse files Browse the repository at this point in the history
Support repeated application options by passing an array of values
  • Loading branch information
jarshwah committed Aug 20, 2014
2 parents 20ba5cd + 3aa2455 commit 3bfde49
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions templates/uwsgi_app.ini.erb
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,17 @@ gid = <%= @gid %>
<%
if @application_options
@application_options.sort.each do |key, value|
if value.is_a? Array
value.each do |v|
-%>
<%= key %> = <%= v%>
<%
end
else
-%>
<%= key %> = <%= value%>
<%
end
end
end

Expand Down

0 comments on commit 3bfde49

Please sign in to comment.