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
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
commit
e033ce5581
1 changed files with 2 additions and 2 deletions
|
@ -576,11 +576,11 @@ class Site < ApplicationRecord
|
|||
|
||||
# Detecta si el Gemfile fue modificado
|
||||
def gemfile_updated?
|
||||
updated_at > File.mtime(File.join(path, 'Gemfile'))
|
||||
updated_at < File.mtime(File.join(path, 'Gemfile'))
|
||||
end
|
||||
|
||||
# Detecta si el Gemfile.lock fue modificado
|
||||
def gemfile_lock_updated?
|
||||
updated_at > File.mtime(File.join(path, 'Gemfile.lock'))
|
||||
updated_at < File.mtime(File.join(path, 'Gemfile.lock'))
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue