jekyll-paru 0.1.0 → 0.2.0

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
  SHA256:
3
- metadata.gz: e2989980552977b25615a0e763d25807b77d8de04217002569ad459c47884091
4
- data.tar.gz: 2830a556b0cabcb79fce7f0e13989f1c0e111be5d3ff843afd0f85ca643f0c64
3
+ metadata.gz: 8d555ac9200b244e0135f62363f8b18605b4b72eebfc3c0667231c7be2147b80
4
+ data.tar.gz: ff9294ea546836f7dc81837511fc14c1c1d705856362cfbf811d1535768090bf
5
5
  SHA512:
6
- metadata.gz: 8b90b8d198b29d7bd27b403c454a73050ad32523ff4ba89e0d03d2148575f374f4a868a4b8bc3057b39069a39fb6caf462850ee337d54c14a97a7a04ece67375
7
- data.tar.gz: 4157d7d5aa1cf818138d8171d0f666fb4ccb9e000e5e9e45dd235e38979d5639a4587675931885329a16224c88a0d896005bb09bf9dd025c0e7b563a35555490
6
+ metadata.gz: 35473cff9307c293ee7ca214bd487e799f5584111c1583445f6e8be1f165daad6317c405eed4b9b4d925393a55fb83c15cf65ad20155df1b5c84d4bdf8355f81
7
+ data.tar.gz: 22ebc2b509ebe7ac6506ee8a62c3681daa3fcef2572cee9968576f81d3c44a44866dd975c7309138eb1845623d39022fd5a4d3d765e35734664df2c6e3c199c1
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Jekyll
4
4
  module Paru
5
- VERSION = '0.1.0'
5
+ VERSION = '0.2.0'
6
6
  end
7
7
  end
data/lib/jekyll-paru.rb CHANGED
@@ -12,8 +12,8 @@ module Jekyll
12
12
  @paru = ::Paru::Pandoc.new do
13
13
  self.class.class_variable_set :@@pandoc_exec, config['paru']&.[]('exec') || self.class.class_variable_get(:@@pandoc_exec)
14
14
  @options = config['paru']&.[]('options')&.dup || {}
15
- from 'markdown'
16
- to 'html5'
15
+ @options['from'] ||= 'markdown'
16
+ @options['to'] ||= 'html5'
17
17
  @options.each do |key, value|
18
18
  default = ::Paru::Pandoc::OPTIONS[key]
19
19
  if default.nil?
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-paru
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ulysses Zhan
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-11-05 00:00:00.000000000 Z
11
+ date: 2023-11-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll