simple_calendar 2.0.5 → 2.0.6

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: 69891494cb62017e3108ade832d816c2fef2b021
4
- data.tar.gz: f19a0f244c702b7aa4a0598793fa65a224905d71
3
+ metadata.gz: 85669f41ecd3dd528d09f115f81cfefd06cd4b30
4
+ data.tar.gz: f87d40f4648b321822b95a9a7dab9be787db0024
5
5
  SHA512:
6
- metadata.gz: 11c97daf53d52237fa6495af26fc1a6b630bd8879cc14d4dbd7cb0e72f8f9f388244a033e5c9348277cd2da095f160ae51516ba78b0c9856595d37304774b76a
7
- data.tar.gz: f39d52be3eae79ea61b22cb814f53768a59a83c43ca1b6acfb3041ed16783a23d262b6ddcac1b4db90aaedd6aba7ca9cbc913f6e0690e390a6fa42f5aa5394db
6
+ metadata.gz: 6e124dcfe0427ffbfc7cf4f6fef1e1bff46c615f3efd6817242473b3fcc4058b1b656ca56ee246b96c8bd6f9acb21271fbd0be8404afedd91412e30138b3af05
7
+ data.tar.gz: 54c24e93b348ac200ebcd7d266a7f33ae590e7c44bbb6368ac2a4383f5fe37eda004daa66f2d2af37de6a2089d3c86f795290ac25b31d85545b9be654476390c
@@ -17,7 +17,7 @@
17
17
  <tr>
18
18
  <% week.each do |day| %>
19
19
  <%= content_tag :td, class: calendar.td_classes_for(day) do %>
20
- <% if defined?(Haml) && block_is_haml?(block) %>
20
+ <% if defined?(Haml) && respond_to?(:block_is_haml?) && block_is_haml?(block) %>
21
21
  <% capture_haml do %>
22
22
  <% block.call day, sorted_events.fetch(day, []) %>
23
23
  <% end %>
@@ -17,7 +17,7 @@
17
17
  <tr>
18
18
  <% week.each do |day| %>
19
19
  <%= content_tag :td, class: calendar.td_classes_for(day) do %>
20
- <% if defined?(Haml) && block_is_haml?(block) %>
20
+ <% if defined?(Haml) && respond_to?(:block_is_haml?) && block_is_haml?(block) %>
21
21
  <% capture_haml do %>
22
22
  <% block.call day, sorted_events.fetch(day, []) %>
23
23
  <% end %>
@@ -17,7 +17,7 @@
17
17
  <tr>
18
18
  <% week.each do |day| %>
19
19
  <%= content_tag :td, class: calendar.td_classes_for(day) do %>
20
- <% if defined?(Haml) && block_is_haml?(block) %>
20
+ <% if defined?(Haml) && respond_to?(:block_is_haml?) && block_is_haml?(block) %>
21
21
  <% capture_haml do %>
22
22
  <% block.call day, sorted_events.fetch(day, []) %>
23
23
  <% end %>
@@ -1,3 +1,3 @@
1
1
  module SimpleCalendar
2
- VERSION = "2.0.5"
2
+ VERSION = "2.0.6"
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.0.5
4
+ version: 2.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Oliver