caboose-cms 0.5.42 → 0.5.43
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/app/models/caboose/page_cacher.rb +1 -1
- data/lib/caboose/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ZTc1NWMyNjFjMGI0MTc3NmQ1ZGI5NDZjNTY1MWRjZDllOGM3NzAyYg==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
Mzc5OGM4ZmI2YTMyY2M3NmU5NjZlYjA0NTEwOTI3YzY0NmUxNDA1Yw==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
Yjk5Y2FiZTI0MzVlYzc4MTExMmQyMmM3ZDNiNDFmMjUyYWI3YjdmZDg4NDll
|
10
|
+
NmFiODcyMTFiMDgwNDRjZWMwYzI3NThmN2E3MDM1N2E3Yzk3MDZiYWU5MjNl
|
11
|
+
NmNlZjRhYjNmYzdjZDI3ZThiYjRmMzkyNjY4MDMyYjZiOGU4ZjU=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MDk0NDcyMzVkNDllNTk0YmViMTMwYTc4MmE0MzZlM2RhZDgwZDk4MTI1YTE0
|
14
|
+
MmFhYzg2OGU1NGRhMzEyYTBlOTlmMjRjZTU3MmFmOTk3ODBlNWVkMzc2YTEw
|
15
|
+
ODNkZmQ5NTFiYzliOWMzZGQwNjhjOGU4ZjljMDU0OWIyODYyNzI=
|
@@ -11,7 +11,7 @@ module Caboose
|
|
11
11
|
query = ["select id from pages where id not in (select distinct(page_id) from page_cache)"]
|
12
12
|
rows = ActiveRecord::Base.connection.execute(ActiveRecord::Base.send(:sanitize_sql_array, query))
|
13
13
|
if rows
|
14
|
-
rows.each{ |row| self.delay.cache(row['id']) }
|
14
|
+
rows.each{ |row| self.delay.cache(row['id'].to_i) }
|
15
15
|
end
|
16
16
|
end
|
17
17
|
|
data/lib/caboose/version.rb
CHANGED