aboutsummaryrefslogtreecommitdiffstats
path: root/Gemfile.lock
diff options
context:
space:
mode:
authorJeremy Evans <code@jeremyevans.net>2017-01-20 15:02:34 -0800
committerJeremy Daer <jeremydaer@gmail.com>2017-01-25 01:41:27 -0700
commit7da8d76206271bdf200ea201f7e5a49afb9bc9e7 (patch)
treebb8763b3790f6d841327e4435d5b3a6e4e296be0 /Gemfile.lock
parent72a869e626e2772733946483e21d65247864d856 (diff)
downloadrails-7da8d76206271bdf200ea201f7e5a49afb9bc9e7.tar.gz
rails-7da8d76206271bdf200ea201f7e5a49afb9bc9e7.tar.bz2
rails-7da8d76206271bdf200ea201f7e5a49afb9bc9e7.zip
Change ActionView ERB Handler from Erubis to Erubi
Erubi offers the following advantages for Rails: * Works with ruby's --enable-frozen-string-literal option * Has 88% smaller memory footprint * Does no freedom patching (Erubis adds a method to Kernel) * Has simpler internals (1 file, <150 lines of code) * Has an open development model (Erubis doesn't have a public source control repository or bug tracker) * Is not dead (Erubis hasn't been updated since 2011) Erubi is a simplified fork of Erubis that contains just the parts that are generally needed (which includes the parts that Rails uses). The only intentional difference in behavior is that it does not include support for <%=== tags for debug output. That could be added to the ActionView ERB handler if it is desired. The Erubis template handler remains in a deprecated state so that code that accesses it directly does not break. It can be removed after Rails 5.1.
Diffstat (limited to 'Gemfile.lock')
-rw-r--r--Gemfile.lock6
1 files changed, 4 insertions, 2 deletions
diff --git a/Gemfile.lock b/Gemfile.lock
index 67b5f8c240..0ad894a269 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -78,7 +78,7 @@ PATH
actionview (5.1.0.alpha)
activesupport (= 5.1.0.alpha)
builder (~> 3.1)
- erubis (~> 2.7.0)
+ erubi (~> 1.4)
rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.0, >= 1.0.2)
activejob (5.1.0.alpha)
@@ -178,6 +178,7 @@ GEM
http_parser.rb (>= 0.6.0)
em-socksify (0.3.1)
eventmachine (>= 1.0.0.beta.4)
+ erubi (1.4.0)
erubis (2.7.0)
event_emitter (0.2.5)
eventmachine (1.2.1)
@@ -390,6 +391,7 @@ DEPENDENCIES
delayed_job!
delayed_job_active_record!
em-hiredis
+ erubis (~> 2.7.0)
hiredis
jquery-rails
json (>= 2.0.0)
@@ -432,4 +434,4 @@ DEPENDENCIES
websocket-client-simple!
BUNDLED WITH
- 1.13.7
+ 1.14.3