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: daf427f642dc3ee69f799b9601c263c261711a20
4
- data.tar.gz: 2ae7123b57f888cdb992f721a5060717cb284041
3
+ metadata.gz: 8a3293209cb111cf3fddc7e913e2e497f323d900
4
+ data.tar.gz: 54fa1eb6598d20528822a824b7552780a36a8f7b
5
5
  SHA512:
6
- metadata.gz: ef6d0aa56c805be9d9dfa6b6ed4ce5feb1235f7fe192c317ca1b82ec8029e611d661977ece8d3a66be583d5b4546b474213ed44df7e46021ebd9eeccc5ea5e87
7
- data.tar.gz: d183376ad1e7af120694a8e9d1f4ff04bac9e79788c5fc42778910ef86be27d9518e2719e8da3de61d4687f0f0129c99be407acbd83279c5373adaaa08b9b467
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 do %>
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 do %>
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 %>
@@ -1,3 +1,3 @@
1
1
  module SimpleCalendar
2
- VERSION = "2.1.3"
2
+ VERSION = "2.1.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simple_calendar
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.3
4
+ version: 2.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Oliver