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: 59b9224b682fc303439eb8ee366e809fc4f99e1e
4
- data.tar.gz: 395cb5bdf0aeba36baab1720be6e23669791482a
3
+ metadata.gz: daf427f642dc3ee69f799b9601c263c261711a20
4
+ data.tar.gz: 2ae7123b57f888cdb992f721a5060717cb284041
5
5
  SHA512:
6
- metadata.gz: 56ebcd47b429ac45294d7d62006c00e1310781c471f3d40c896e8c03b8d87b6eaf8ea316872209139e474b2a75e40ff45099f3422cf349b8d7c22d11a3911908
7
- data.tar.gz: 655c8e1fe2c2cab341d7fe279b3974929fc2a2afd227c740a230fb9069ff027119f55976f30f0d88837ba8c61bdc6642ad70bd0511fd40972a822501a87997f6
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 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.2"
2
+ VERSION = "2.1.3"
3
3
  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.2
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-10 00:00:00.000000000 Z
11
+ date: 2016-05-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails