Switch from unmaintained gem erubis to erubi
Rails switched to erubi as well, as erubis has not seen any new releases since 2011.
This commit is contained in:
parent
8c2cdc12f4
commit
ce8230ccfb
@ -1,7 +1,7 @@
|
||||
require 'ostruct'
|
||||
require "pathname"
|
||||
|
||||
require 'erubis'
|
||||
require 'erubi'
|
||||
|
||||
module Vagrant
|
||||
module Util
|
||||
@ -73,7 +73,7 @@ module Vagrant
|
||||
#
|
||||
# @return [String]
|
||||
def render_string
|
||||
Erubis::Eruby.new(template, trim: true).result(binding)
|
||||
binding.eval(Erubi::Engine.new(template, trim: true).src)
|
||||
end
|
||||
|
||||
# Returns the full path to the template, taking into account the gem directory
|
||||
|
||||
@ -18,7 +18,7 @@ Gem::Specification.new do |s|
|
||||
s.add_dependency "bcrypt_pbkdf", "~> 1.0.0"
|
||||
s.add_dependency "childprocess", "~> 4.0.0"
|
||||
s.add_dependency "ed25519", "~> 1.2.4"
|
||||
s.add_dependency "erubis", "~> 2.7.0"
|
||||
s.add_dependency "erubi"
|
||||
s.add_dependency "hashicorp-checkpoint", "~> 0.1.5"
|
||||
s.add_dependency "i18n", "~> 1.8"
|
||||
s.add_dependency "listen", "~> 3.1"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user