diff options
author | mh <mh@immerda.ch> | 2015-05-24 18:06:56 +0200 |
---|---|---|
committer | mh <mh@immerda.ch> | 2015-05-24 18:06:56 +0200 |
commit | 8f0e2d2376ae04fec915f727d85e8d5a2d4dd14d (patch) | |
tree | 4f6c84cad5310d6d528a443cecbb190b1ce1e3bd | |
parent | 79f6a09a47e2f4d42c6723a2b0600d97aa0f774a (diff) | |
parent | 7ad6708c4d1bb757b9d93ab5473d37ee7d679fc1 (diff) |
Merge remote-tracking branch 'github/master'
-rw-r--r-- | templates/troclarc.yaml.erb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/troclarc.yaml.erb b/templates/troclarc.yaml.erb index 7d4fa27..cd4da3d 100644 --- a/templates/troclarc.yaml.erb +++ b/templates/troclarc.yaml.erb @@ -5,8 +5,8 @@ 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 -%> <% if @encryption %> @@ -14,7 +14,7 @@ encryption: :<%= @encryption %> <% end -%> <% unless @ssl_options.empty? %> ssl_options: -<% @ssl_options.each do |key,value| -%> - :<%= key %>: '<%= value %>' +<% @ssl_options.keys.sort.each do |key| -%> + :<%= key %>: '<%= @ssl_options[key] %>' <% end -%> <% end -%> |