lib/bootsnap/compile_cache/json.rb in bootsnap-1.17.0 vs lib/bootsnap/compile_cache/json.rb in bootsnap-1.17.1
- old
+ new
@@ -1,8 +1,8 @@
# frozen_string_literal: true
-require("bootsnap/bootsnap")
+require "bootsnap/bootsnap"
module Bootsnap
module CompileCache
module JSON
class << self
@@ -44,11 +44,11 @@
::JSON.singleton_class.prepend(Patch)
end
end
def init!
- require("json")
- require("msgpack")
+ require "json"
+ require "msgpack"
self.msgpack_factory = MessagePack::Factory.new
self.supported_options = [:symbolize_names]
if supports_freeze?
self.supported_options = [:freeze]