simple_calendar 2.1.3 → 2.1.4
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8a3293209cb111cf3fddc7e913e2e497f323d900
|
4
|
+
data.tar.gz: 54fa1eb6598d20528822a824b7552780a36a8f7b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c49ade1df0f5f836cfdffb86629fbe563e291c836a5b75b4018f4081c33e9f95d8bf30ce595b67f2e70cf705f62ed1c2a877de4a47f00f4839ab85ce89dcf988
|
7
|
+
data.tar.gz: 9db41f6d77625101675df30b48d0bd0217b44027fb1b3f6a468a7331190e53492c89698185610a9f01db06dc99a5048ac2ef948b69059d23609e8657bf2556b9
|
@@ -18,9 +18,7 @@
|
|
18
18
|
<% week.each do |day| %>
|
19
19
|
<%= content_tag :td, class: calendar.td_classes_for(day) do %>
|
20
20
|
<% if defined?(Haml) && respond_to?(:block_is_haml?) && block_is_haml?(block) %>
|
21
|
-
<% capture_haml
|
22
|
-
<% block.call day, sorted_events.fetch(day, []) %>
|
23
|
-
<% end %>
|
21
|
+
<% capture_haml(day, sorted_events.fetch(day, []), &block) %>
|
24
22
|
<% else %>
|
25
23
|
<% block.call day, sorted_events.fetch(day, []) %>
|
26
24
|
<% end %>
|
@@ -18,9 +18,7 @@
|
|
18
18
|
<% week.each do |day| %>
|
19
19
|
<%= content_tag :td, class: calendar.td_classes_for(day) do %>
|
20
20
|
<% if defined?(Haml) && respond_to?(:block_is_haml?) && block_is_haml?(block) %>
|
21
|
-
<% capture_haml
|
22
|
-
<% block.call day, sorted_events.fetch(day, []) %>
|
23
|
-
<% end %>
|
21
|
+
<% capture_haml(day, sorted_events.fetch(day, []), &block) %>
|
24
22
|
<% else %>
|
25
23
|
<% block.call day, sorted_events.fetch(day, []) %>
|
26
24
|
<% end %>
|