jekyll-octopod 0.9.3 → 0.9.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: 8a680607130a37cb0270a5a9e7fe0063f11aaeb1
4
- data.tar.gz: 587df481ea702fe603f0dfccf2cc79f02d5dde73
3
+ metadata.gz: 875fe6a910dde49bb7ddb6cb03f7e9e0d17127c5
4
+ data.tar.gz: 4a3cb647b3b1b1f6f8d37a2b0ff5b70dc16f343a
5
5
  SHA512:
6
- metadata.gz: 2330935d98803b9aff40b9a71edf9806ba1684c62e75aa2e0208dafe2e42f880682f6972fa357c801184d36d7b59614e4946b447b64ebcc2a0568c746bf5efcd
7
- data.tar.gz: 976aa0a84a1f99a18e9d2d0711130c6dd7fbccf1b9968de1513fe3dd3a69415c7109bd7a6102575619bcc993d42aac3fc5ff9ca93f607758042f7cba0ee963f3
6
+ metadata.gz: 5f9272ada71275f2b4ff3aad0195ff13ee245c9e2de6809efc84f4237333079e893657977c3d09c878c94f6769b754c9bb3cd6270100cecf1a1e38c9507e66a6
7
+ data.tar.gz: 91b3c2c9aac4eda5b161af87b33e6b2f4d3b32306b04569d56339e8f8778e9e5586468ff4cef5716b085991d6bb2ecc6b5c12d266506e6d14cbf2084f9db9485
@@ -0,0 +1,47 @@
1
+ # You have to configure this ###################################################
2
+ title: Octopod
3
+ # You should configure this ####################################################
4
+ url: http://localhost:4000
5
+ subtitle: Static Site Podcast Publishing for Geeks
6
+ description: My super duper cool podcast.
7
+ author: Uncle Octopod
8
+ email: octopod@example.com
9
+ keywords: [octopod, podcast, magic]
10
+ itunes_categories: [Technology]
11
+ # additional_feeds:
12
+ # itunes: http://itunes.apple.com/de/podcast/podcast_name/id42424242
13
+ # torrent_m4a: http://bitlove.org/example_user/example_podcast_m4a/feed
14
+ # torrent_mp3: http://bitlove.org/example_user/example_podcast_mp3/feed
15
+ episodes_per_feed_page: 100
16
+ ## Rsync Deploy config #########################################################
17
+ ### Be sure your public key is listed in your server's ~/.ssh/authorized_keys
18
+ ### file.
19
+ ssh_host: user@host.org
20
+ ssh_port: 22
21
+ document_root: /path/to/your/htdocs/
22
+ rsync_delete: true
23
+ # You can configure this #######################################################
24
+ twitter_nick: my_twitter_handle
25
+ language: en
26
+ explicit: 'no' # 'yes'/'no'/clean
27
+ license: CC BY 4.0
28
+ license_url: https://creativecommons.org/licenses/by/4.0/
29
+ license_image_url: https://i.creativecommons.org/l/by/4.0/88x31.png
30
+ ## Flattr ######################################################################
31
+ flattr_uid: # Flattr will not be used unless this is set
32
+ flattr_button: compact # compact | default
33
+ flattr_mode: auto # auto | manual(default)
34
+ flattr_popout: 1 # 1 | 0 (show popout when hovering mouse over button)
35
+ flattr_language: en_GB # available languages - https://api.flattr.com/rest/v2/languages.txt
36
+ flattr_category: audio # available categories - https://api.flattr.com/rest/v2/categories.txt
37
+ ## Disqus comments #############################################################
38
+ disqus_shortname: # Disqus will not be used unless this is set
39
+ disqus_developer: 0 # 1 / 0
40
+ ## Feed links ###########################################################
41
+ itunes_url: https://itunes.apple.com/at/podcast/myname/id#myid#
42
+ bitlove_url: https://bitlove.org/myaccount
43
+ fyyd_url: https://fyyd.de/podcast/myaccount/myid
44
+ gpodder_url: https://gpodder.net/podcast/mypodcast
45
+
46
+ gems: [jekyll-octopod]
47
+ theme: jekyll-bootflat
@@ -55,10 +55,12 @@ module Jekyll
55
55
  #
56
56
  # {{ post.audio | audio:"m4a" }} => "my-episode.m4a"
57
57
  def audio(hsh, key = nil)
58
- if key.nil?
59
- hsh['mp3'] ? hsh['mp3'] : hsh['m4a'] ? hsh['m4a'] : hsh['ogg'] ? hsh['ogg'] : hsh['opus'] ? hsh['opus'] : hsh.values.first
60
- else
61
- hsh[key]
58
+ if !hsh.nil? && hsh.length
59
+ if key.nil?
60
+ hsh['mp3'] ? hsh['mp3'] : hsh['m4a'] ? hsh['m4a'] : hsh['ogg'] ? hsh['ogg'] : hsh['opus'] ? hsh['opus'] : hsh.values.first
61
+ else
62
+ hsh[key]
63
+ end
62
64
  end
63
65
  end
64
66
 
@@ -69,7 +71,9 @@ module Jekyll
69
71
  #
70
72
  # {{ post.audio | audiotype }} => "my-episode.m4a"
71
73
  def audio_type(hsh)
72
- hsh['mp3'] ? mime_type('mp3') : hsh['m4a'] ? mime_type('m4a') : hsh['ogg'] ? mime_type('ogg') : mime_type('opus')
74
+ if !hsh.nil? && hsh.length
75
+ hsh['mp3'] ? mime_type('mp3') : hsh['m4a'] ? mime_type('m4a') : hsh['ogg'] ? mime_type('ogg') : mime_type('opus')
76
+ end
73
77
  end
74
78
 
75
79
 
@@ -20,7 +20,7 @@ module Jekyll
20
20
  subtitle: page["subtitle"],
21
21
  url: config['url'] + page["url"],
22
22
  description: page["description"],
23
- chaptermarks: page["chapters"].map {|chapter| { start: chapter[0..12], title: chapter[13..255] }}
23
+ chaptermarks: page["chapters"] ? page["chapters"].map {|chapter| { start: chapter[0..12], title: chapter[13..255] }} : nil
24
24
  }
25
25
  }.to_json
26
26
  end
@@ -41,4 +41,4 @@ HTML
41
41
  end
42
42
  end
43
43
 
44
- Liquid::Template.register_tag('podigee_player', Jekyll::PodigeePlayerTag)
44
+ Liquid::Template.register_tag('podigee_player', Jekyll::PodigeePlayerTag)
@@ -3,7 +3,7 @@ module Jekyll
3
3
  module VERSION #:nodoc:
4
4
  MAJOR = 0
5
5
  MINOR = 9
6
- TINY = 3
6
+ TINY = 4
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.9.3
4
+ version: 0.9.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Arne Eilermann
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2017-12-06 00:00:00.000000000 Z
12
+ date: 2018-03-20 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: facets
@@ -87,20 +87,6 @@ dependencies:
87
87
  - - "~>"
88
88
  - !ruby/object:Gem::Version
89
89
  version: 0.4.0
90
- - !ruby/object:Gem::Dependency
91
- name: bundler
92
- requirement: !ruby/object:Gem::Requirement
93
- requirements:
94
- - - "~>"
95
- - !ruby/object:Gem::Version
96
- version: '1.15'
97
- type: :runtime
98
- prerelease: false
99
- version_requirements: !ruby/object:Gem::Requirement
100
- requirements:
101
- - - "~>"
102
- - !ruby/object:Gem::Version
103
- version: '1.15'
104
90
  description: Enables you to publish your podcast using the Jekyll static site generator,
105
91
  creating feeds and a reasonably looking website
106
92
  email:
@@ -112,6 +98,7 @@ extra_rdoc_files: []
112
98
  files:
113
99
  - README.md
114
100
  - Rakefile
101
+ - assets/_config.yml
115
102
  - assets/_config.yml.sample
116
103
  - assets/_includes/disqus_count.html
117
104
  - assets/_includes/disqus_thread.html