lato 3.13.20 → 3.13.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 43c75d3ab5790c836f1d6ad007aa55f276fd90ecba1d41083c42b850f6dec8e8
4
- data.tar.gz: 34ad125ac70596240da15dd2f96fd2c9fc7bd00ddfbbfd64a9c26dcc9c3565e8
3
+ metadata.gz: f16c35af0be4d43d484046b852f69b6525462ccf2418706831b2ee57f1deef52
4
+ data.tar.gz: 319880bcee1c7d0f62211e92f0e6d295ebbd4d6ff963d92bfecb6b497e2afcc8
5
5
  SHA512:
6
- metadata.gz: fb6af077ec0c77e570ac3052cc42400cad24f1158304546b27a3320a82b1c6c05fd5354d66e1a8ee54fc62e44142000eb2b032212aaa4a95037e8aa9ef73b7d8
7
- data.tar.gz: 89c41527c711d833ff01ca92a5b50992aab144ad83e3542a3eacd4553baddf717ba8f8d5beb70ff67a035aa3e082da9a520160df9bb8dbb5a90d0d2634a74616
6
+ metadata.gz: eee9cceeaf4be79aeaa98f4dee005c0103c10700dfaca990a89f6dd8df3e68cf29804302d3dc57aa99535c69788027ad493173989a0e09b06c346873b65bab44
7
+ data.tar.gz: 6a0f326170115f10d1d306e11eed3ec6624ad4ecbeb5209bd5f0227a605de5b24cd8d49094c537f9475552890845a29e33e1b51c1014715e34bb376d369e371b
@@ -50,7 +50,7 @@ main {
50
50
  &.layout_sidebar {
51
51
  width: calc(100% - 280px);
52
52
 
53
- @media screen and (max-width: 768px) {
53
+ @media screen and (max-width: 1024px) {
54
54
  width: 100%;
55
55
  }
56
56
  }
@@ -86,7 +86,7 @@ main, aside {
86
86
  border-radius: 50%;
87
87
  }
88
88
 
89
- @media screen and (max-width: 768px) {
89
+ @media screen and (max-width: 1024px) {
90
90
  aside {
91
91
  position: fixed;
92
92
  bottom: 0;
@@ -4,7 +4,9 @@ module Lato
4
4
  update_operation_percentage(0)
5
5
 
6
6
  # delete all active storage blobs that are not attached to any record with more than 12 hours of life
7
- query = ActiveStorage::Blob.where('active_storage_blobs.created_at < ?', 12.hours.ago)
7
+ query = ActiveStorage::Blob.joins("LEFT JOIN active_storage_attachments ON active_storage_attachments.blob_id = active_storage_blobs.id")
8
+ .where("active_storage_attachments.blob_id IS NULL")
9
+ .where("active_storage_blobs.created_at < ?", 12.hours.ago)
8
10
  totals = query.count
9
11
  runned = 0
10
12
  query.find_in_batches do |blobs|
data/lib/lato/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Lato
2
- VERSION = "3.13.20"
2
+ VERSION = "3.13.22"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lato
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.13.20
4
+ version: 3.13.22
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gregorio Galante
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-07-25 00:00:00.000000000 Z
11
+ date: 2025-07-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails