lib/vault-tools.rb in vault-tools-0.6.0 vs lib/vault-tools.rb in vault-tools-0.6.1
- old
+ new
@@ -64,17 +64,26 @@
$stderr.puts "Loading shared config from app: #{Config[:config_app]}..."
Config.load_shared!(Config[:config_app])
end
end
+ def self.init_scrolls
+ # Scrolls 0.9.0+ requires an init
+ Scrolls.init(
+ global_context: {app: Vault::Config.app_name},
+ time_unit: 'milliseconds'
+ )
+ end
+
# all in one go
def self.setup
self.require
self.load_path
self.set_timezones
self.hack_time_class
self.override_global_config
self.load_shared_config
+ self.init_scrolls
Tracing.configure
end
end
require 'vault-tools/app'