candl 0.1.3 → 0.1.4
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/views/candle/calendar/_frame.slim +7 -1
- data/lib/candle/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 23b22b8e041b3528a994dd2471a21583ea7b9c7c6e2bac72b62c8a22bfccdfff
|
4
|
+
data.tar.gz: 7fc03d75fcc96ee0fdcdfb14b6d2adc47d8f205ce8ffbf85dad1a74afd989cad
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 111ce4bb0f4c532e09963134bcbe5585d80f9e7e0ee299833f7e98417a601104bef9c294731187225f3e20bcd3401f564237fc155164a1288964796cd5180615
|
7
|
+
data.tar.gz: 5483a9e5505ce0792060b084c462d1b22262620e3217004622f62ee13d17c80ae18a56dbad4ea5888dfa0001bf7042861fd7d51f3750a25bba8e1970748964fe
|
@@ -11,12 +11,18 @@
|
|
11
11
|
- Candle::MonthModel.new(config, current_shift_factor, date_today)
|
12
12
|
- rescue => exception
|
13
13
|
- events_error_free = false
|
14
|
+
- puts "ERROR - GOT EXCEPTION:"
|
15
|
+
- puts exception
|
16
|
+
/ Maybe there is a beter way to signal the exception?
|
14
17
|
- else
|
15
18
|
- begin
|
16
19
|
- agenda = Rails.cache.fetch("#agenda/#{current_shift_factor}/#{date_today}", expires_in: update_interval) do
|
17
20
|
- Candle::AgendaModel.new(config, current_shift_factor, date_today)
|
18
21
|
- rescue => exception
|
19
22
|
- events_error_free = false
|
23
|
+
- puts "ERROR - GOT EXCEPTION:"
|
24
|
+
- puts exception
|
25
|
+
/ Maybe there is a beter way to signal the exception?
|
20
26
|
|
21
27
|
- if events_error_free
|
22
28
|
- model = (is_month ? month : agenda)
|
@@ -50,5 +56,5 @@
|
|
50
56
|
= render partial: "candle/calendar/agenda", locals: { calendar_agenda: model }
|
51
57
|
|
52
58
|
- else
|
53
|
-
.error_message Der Kalender kann wegen einer kurzzeitigen technischen Störung gerade nicht angezeigt werden. Bitte versuchen
|
59
|
+
.error_message Der Kalender kann wegen einer kurzzeitigen technischen Störung gerade nicht angezeigt werden. Bitte versuchen Sie es in einer Weile noch einmal.
|
54
60
|
|
data/lib/candle/version.rb
CHANGED