summaryrefslogtreecommitdiff
path: root/spec/initializers
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2018-05-19 06:03:29 -0700
committerStan Hu <stanhu@gmail.com>2018-05-29 15:19:33 -0700
commitb5c706326ada2c0d213dd512842c5f677d9d94f9 (patch)
treeb0b23d8c5ab778d62523cc23d718bb32490543e8 /spec/initializers
parentd3b39a835f1ef42d71ba7b478d9e7320c4167b4e (diff)
downloadgitlab-ce-b5c706326ada2c0d213dd512842c5f677d9d94f9.tar.gz
Upgrade to Ruby 2.4.4sh-bump-ruby-2.4
Fixes that make this work: * A change in Ruby (https://github.com/ruby/ruby/commit/ce635262f53b760284d56bb1027baebaaec175d1) requires passing in the exact required length for OpenSSL keys and IVs. * Ensure the secrets.yml is generated before any prepended modules are loaded. This is done by renaming the `secret_token.rb` initializer to `01_secret_token.rb`, which is a bit ugly but involves the least impact on other files.
Diffstat (limited to 'spec/initializers')
-rw-r--r--spec/initializers/secret_token_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/initializers/secret_token_spec.rb b/spec/initializers/secret_token_spec.rb
index d56e14e0e0b..c3dfd7bedbe 100644
--- a/spec/initializers/secret_token_spec.rb
+++ b/spec/initializers/secret_token_spec.rb
@@ -1,5 +1,5 @@
require 'spec_helper'
-require_relative '../../config/initializers/secret_token'
+require_relative '../../config/initializers/01_secret_token'
describe 'create_tokens' do
include StubENV