simple_calendar 2.0.1 → 2.0.2
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: 1c19ecd82b330e094dbf597c6eb582bbd34fa251
|
4
|
+
data.tar.gz: c5e64e9ca17b180c50a1559c51f93dd14c1a15c4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: adf85de715c435c06070a5ac1214c5cacebc55b588efde40a0c1a746514565db1dc9ddee1cec5f7e674616a011486e1d803f7f1b5920aac44bcb8c0154560965
|
7
|
+
data.tar.gz: 0b3c317bc8f602b09a1dcd9fed960d8302afe2014d527aa0b8fe4e5ca52031ca1f289ff583eb81e22a2beaf45807abb2632f2c5b937bbda8ac7a759737b8551a
|
@@ -17,7 +17,13 @@
|
|
17
17
|
<tr>
|
18
18
|
<% week.each do |day| %>
|
19
19
|
<%= content_tag :td, class: calendar.td_classes_for(day) do %>
|
20
|
-
<%
|
20
|
+
<% if defined?(Haml) && block_is_haml?(block) %>
|
21
|
+
<% capture_haml do %>
|
22
|
+
<% block.call day, sorted_events.fetch(day, []) %>
|
23
|
+
<% end %>
|
24
|
+
<% else %>
|
25
|
+
<% block.call day, sorted_events.fetch(day, []) %>
|
26
|
+
<% end %>
|
21
27
|
<% end %>
|
22
28
|
<% end %>
|
23
29
|
</tr>
|
@@ -17,7 +17,13 @@
|
|
17
17
|
<tr>
|
18
18
|
<% week.each do |day| %>
|
19
19
|
<%= content_tag :td, class: calendar.td_classes_for(day) do %>
|
20
|
-
<%
|
20
|
+
<% if defined?(Haml) && block_is_haml?(block) %>
|
21
|
+
<% capture_haml do %>
|
22
|
+
<% block.call day, sorted_events.fetch(day, []) %>
|
23
|
+
<% end %>
|
24
|
+
<% else %>
|
25
|
+
<% block.call day, sorted_events.fetch(day, []) %>
|
26
|
+
<% end %>
|
21
27
|
<% end %>
|
22
28
|
<% end %>
|
23
29
|
</tr>
|
@@ -17,7 +17,13 @@
|
|
17
17
|
<tr>
|
18
18
|
<% week.each do |day| %>
|
19
19
|
<%= content_tag :td, class: calendar.td_classes_for(day) do %>
|
20
|
-
<%
|
20
|
+
<% if defined?(Haml) && block_is_haml?(block) %>
|
21
|
+
<% capture_haml do %>
|
22
|
+
<% block.call day, sorted_events.fetch(day, []) %>
|
23
|
+
<% end %>
|
24
|
+
<% else %>
|
25
|
+
<% block.call day, sorted_events.fetch(day, []) %>
|
26
|
+
<% end %>
|
21
27
|
<% end %>
|
22
28
|
<% end %>
|
23
29
|
</tr>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: simple_calendar
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Oliver
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-09-
|
11
|
+
date: 2015-09-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|