[ARVADOS] created: 1.1.4-743-g7c7514411

Git user git at public.curoverse.com
Thu Aug 2 15:00:45 EDT 2018


        at  7c7514411d3ed3b4d4695f55eb1a02f452a894a4 (commit)


commit 7c7514411d3ed3b4d4695f55eb1a02f452a894a4
Author: Lucas Di Pentima <ldipentima at veritasgenetics.com>
Date:   Thu Aug 2 15:59:36 2018 -0300

    12762: Suppress SafeYAML warnings by setting its default mode.
    
    Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <ldipentima at veritasgenetics.com>

diff --git a/services/api/config/application.rb b/services/api/config/application.rb
index c09a8e5e4..24fd61871 100644
--- a/services/api/config/application.rb
+++ b/services/api/config/application.rb
@@ -30,6 +30,9 @@ end
 
 module Server
   class Application < Rails::Application
+    # The following is to avoid SafeYAML's warning message
+    SafeYAML::OPTIONS[:default_mode] = :safe
+
     # Settings in config/environments/* take precedence over those specified here.
     # Application configuration should go into files in config/initializers
     # -- all .rb files in that directory are automatically loaded.

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list