jekyll-octopod 0.6.2 → 0.6.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: 341eabce681d1a3723e439de7cc0c9d8d48c2f31
4
- data.tar.gz: 6d14b9a125bb844a33e9c602107626b1069b11a1
3
+ metadata.gz: e735d8a48e524e09ffad382a1f2d062fea3974bb
4
+ data.tar.gz: 7018a8253310ef345522adafcdd7c959f5725f8e
5
5
  SHA512:
6
- metadata.gz: ebc8a5a7c0b6525f6b48ba65d1f8be3762046f16eec9b12b942e81212dfd508002f770c51bbc52ce3ed6f2e5e0de0f4481473d1593a0e3ad2dc7dbee3f29da31
7
- data.tar.gz: d47e1ec98890fbbeed83b0f2db147cd8a43253256fb96aa6779c9dd02cd573fa94522d0f7039efa70f7c2cb39c76f05532f61b69035dd0b18b33c76c1b13129b
6
+ metadata.gz: 47c68d35a3dcbcaa4a323258161ff3279b220e38eff08fbec042e6603f7d9d1b610f012ad9899c3a5b4428eb70bf9e8cfee5d883f85d5b901e1cbc1d80e545c9
7
+ data.tar.gz: 7c86f39bf29eb6796157410712e7f8e2bf8ea616ad0fda0c7e4bf2942742865507cea45ef34e85d220be5fcbd3486b2a37d1727ad398a7ac02d911e94ad6d105
@@ -24,7 +24,7 @@ module Jekyll
24
24
  safe true
25
25
 
26
26
  def generate(site)
27
- pages_total = site.posts.docs.count / site.config["episodes_per_feed_page"].ceil
27
+ pages_total = (site.posts.docs.count.to_f / site.config["episodes_per_feed_page"]).ceil
28
28
 
29
29
  site.config["episode_feed_formats"].each do |page_format|
30
30
  name = "episodes." + page_format + ".rss"
@@ -143,8 +143,8 @@ module Jekyll
143
143
  def web_player_moderator(page, site)
144
144
  return if page['audio'].nil?
145
145
  out = %Q{<div class="podlove-player-wrapper">}
146
- out = out + %Q{ <audio data-podlove-web-player-source="/players/#{page['slug']}/index.html">\n}
147
- out = out + " <source src='episodes/#{page['audio']['mp3']}' type='audio/mp3'>\n"
146
+ out = out + %Q{ <audio data-podlove-web-player-source="#{site['url']}/players/#{page['slug']}/index.html">\n}
147
+ out = out + " <source src='#{site['url']}/episodes/#{page['audio']['mp3']}' type='audio/mp3'>\n"
148
148
  out = out + " </audio>\n"
149
149
  out = out + "</div>\n"
150
150
  out = out + "<script>$('audio').podlovewebplayer();</script>\n"
@@ -3,7 +3,7 @@ module Jekyll
3
3
  module VERSION #:nodoc:
4
4
  MAJOR = 0
5
5
  MINOR = 6
6
- TINY = 2
6
+ TINY = 3
7
7
 
8
8
  STRING = [MAJOR, MINOR, TINY].join('.')
9
9
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-octopod
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.2
4
+ version: 0.6.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Arne Eilermann