5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-23 23:46:23 +00:00

Merge branch 'issue-12755' into panel.sutty.nl
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
f 2023-03-31 10:56:27 -03:00
commit e033ce5581

View file

@ -576,11 +576,11 @@ class Site < ApplicationRecord
# Detecta si el Gemfile fue modificado # Detecta si el Gemfile fue modificado
def gemfile_updated? def gemfile_updated?
updated_at > File.mtime(File.join(path, 'Gemfile')) updated_at < File.mtime(File.join(path, 'Gemfile'))
end end
# Detecta si el Gemfile.lock fue modificado # Detecta si el Gemfile.lock fue modificado
def gemfile_lock_updated? def gemfile_lock_updated?
updated_at > File.mtime(File.join(path, 'Gemfile.lock')) updated_at < File.mtime(File.join(path, 'Gemfile.lock'))
end end
end end