5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-15 05:51:41 +00:00

aplicar parche a mobility

This commit is contained in:
f 2019-09-07 16:45:57 -03:00
parent e5112cdd53
commit 80c9ebbac0
No known key found for this signature in database
GPG key ID: 2AE5A13E321F953D
2 changed files with 4 additions and 4 deletions

View file

@ -52,8 +52,8 @@ RUN find public/assets -type f -name "*.gz" | sed -re "s/\.gz$//" | xargs -r bro
# assets ya están pre-compilados.
RUN sed -re "/(uglifier|bootstrap|coffee-rails)/d" -i Gemfile
RUN bundle clean
COPY ./mobility.patch .
RUN patch -N -i mobility.patch
RUN sed -re "s/def visit\(object\)/def visit(object, collection = nil)/" \
-i `bundle show mobility`/lib/mobility/arel/visitor.rb
# Contenedor final
FROM sutty/monit:latest

View file

@ -1,5 +1,5 @@
--- /srv/http/vendor/ruby/gems/2.5.0/gems/mobility-0.8.7/lib/mobility/arel/visitor.rb.orig 2019-08-29 14:20:24.180122614 -0300
+++ /srv/http/vendor/ruby/gems/2.5.0/gems/mobility-0.8.7/lib/mobility/arel/visitor.rb 2019-08-29 14:18:38.146723362 -0300
--- lib/mobility/arel/visitor.rb.orig 2019-08-29 14:20:24.180122614 -0300
+++ lib/mobility/arel/visitor.rb 2019-08-29 14:18:38.146723362 -0300
@@ -14,7 +14,7 @@
private