caddie 0.0.9 → 0.1.0
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 +4 -4
- data/app/models/caddie/update_table.sql +10 -10
- data/lib/caddie/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1396d115e54642bf6f73ee59355b6e6e4e5129e9
|
4
|
+
data.tar.gz: 29281a054f60e749562323fe38c3074ac0cb2386
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c0145fefa908bda2dfb247b99233e493b201dcff52f78d96373179f184ed1bc9d2186a194d113d950b18cfc6c8f50b4193ef547a2ccbca4c77048df4844bc98c
|
7
|
+
data.tar.gz: 68a89f32ac8044dacc77db3756e5e57bab67322bd7ec5fff36d429d61341775e9d5de6d90dac3a5e34f3bafca5afce6ea535240d7311060affbfa35483204b19
|
@@ -28,13 +28,13 @@ UPDATE caddie_crest_price_history_updates cphu SET nb_days = ( CURRENT_DATE - ma
|
|
28
28
|
|
29
29
|
UPDATE caddie_crest_price_history_updates cphu
|
30
30
|
SET process_queue = 'DAILY', next_process_date = current_date, process_queue_priority = 1
|
31
|
-
WHERE nb_days <=
|
32
|
-
|
33
|
-
UPDATE caddie_crest_price_history_updates cphu
|
34
|
-
SET process_queue = 'WEEKLY', next_process_date = date_trunc( 'week', ( current_date + ( interval '1 week' ) ) ), process_queue_priority = 2
|
35
|
-
WHERE nb_days <= 30 AND nb_days > 7;
|
36
|
-
|
37
|
-
UPDATE caddie_crest_price_history_updates cphu
|
38
|
-
SET process_queue = 'MONTHLY', next_process_date = date_trunc( 'month', ( current_date + ( interval '1 month' ) ) ), process_queue_priority = 3
|
39
|
-
WHERE nb_days > 30 OR nb_days IS NULL;
|
40
|
-
|
31
|
+
WHERE nb_days <=40;
|
32
|
+
|
33
|
+
-- UPDATE caddie_crest_price_history_updates cphu
|
34
|
+
-- SET process_queue = 'WEEKLY', next_process_date = date_trunc( 'week', ( current_date + ( interval '1 week' ) ) ), process_queue_priority = 2
|
35
|
+
-- WHERE nb_days <= 30 AND nb_days > 7;
|
36
|
+
--
|
37
|
+
-- UPDATE caddie_crest_price_history_updates cphu
|
38
|
+
-- SET process_queue = 'MONTHLY', next_process_date = date_trunc( 'month', ( current_date + ( interval '1 month' ) ) ), process_queue_priority = 3
|
39
|
+
-- WHERE nb_days > 30 OR nb_days IS NULL;
|
40
|
+
--
|
data/lib/caddie/version.rb
CHANGED