summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimo Goebel <timo.goebel@dm.de>2015-04-02 15:04:54 +0200
committerTimo Goebel <timo.goebel@dm.de>2015-04-08 08:30:08 +0200
commitbf49729c0e4b9c399afdf7a89051e549ab5c95bd (patch)
tree536db2d180e15c2a11cac8d6e608f37e4c6a0501
parent3fd6a9a73afb99da97a123afd3041adc05debc55 (diff)
sort encryption options
-rw-r--r--templates/troclarc.yaml.erb4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/troclarc.yaml.erb b/templates/troclarc.yaml.erb
index d574cd9..9f269bf 100644
--- a/templates/troclarc.yaml.erb
+++ b/templates/troclarc.yaml.erb
@@ -5,7 +5,7 @@ options:
adapter: :<%= @adapter %>
<% unless @adapter_options.empty? %>
adapter_options:
-<% @adapter_options.each do |key,value| -%>
- :<%= key %>: '<%= value %>'
+<% @adapter_options.keys.sort.each do |key| -%>
+ :<%= key %>: '<%= @adapter_options[key] %>'
<% end -%>
<% end -%>