simple_calendar 2.1.2 → 2.1.3
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: daf427f642dc3ee69f799b9601c263c261711a20
|
4
|
+
data.tar.gz: 2ae7123b57f888cdb992f721a5060717cb284041
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ef6d0aa56c805be9d9dfa6b6ed4ce5feb1235f7fe192c317ca1b82ec8029e611d661977ece8d3a66be583d5b4546b474213ed44df7e46021ebd9eeccc5ea5e87
|
7
|
+
data.tar.gz: d183376ad1e7af120694a8e9d1f4ff04bac9e79788c5fc42778910ef86be27d9518e2719e8da3de61d4687f0f0129c99be407acbd83279c5373adaaa08b9b467
|
@@ -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 %>
|
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.1.
|
4
|
+
version: 2.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Oliver
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-05-
|
11
|
+
date: 2016-05-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|