jekyll-fuji_markdown 0.2.2 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bf70203a3c77197a9d48fc3ce4fc833419786171f406335b0dbbf588c917a45d
4
- data.tar.gz: 806df2ffdad11f836ae52802183a923bc5c07775037e3db5122c9e9256bc18b4
3
+ metadata.gz: c68240618e3b1bbfd08889d96bd15b80aff88c12fabbd6d2324d8fcd2c3876dc
4
+ data.tar.gz: e34ae1d294f14f31e423c515a66923cf07a1b2f6a879594991ef6ff62769d381
5
5
  SHA512:
6
- metadata.gz: 7c98af2e91bb7ffc46ae91b5a8e17561908962966bed405d8c4d5f8480f20c9ec9249436d0fea8ab6d21e79ab6fcbca79c1f269e4dc5e63d168533daddc1bf03
7
- data.tar.gz: dea0cb63f3b472346df35f0d42c3bbbdfc2a3a304170aba0d479cc4e16b02b60166a1e4c14d92d60be353ef2aa53dcf6d7e4277a4f175e65ef75fe4abc337d8a
6
+ metadata.gz: 92a8173db6c75c2b9d7c40d76fd733f5bafc41b626e7c8ffe0b8561d2759f907017bd498087a7ebb2b80067f791394254f08f105883d334873d13e32108f66dd
7
+ data.tar.gz: daa95f81c89545bd01637d4e31ef4d1956a8bf24916596171c982f35ef8514fff62322c13226ffc9e5a40169b05bfb19666d6df85df7c7b4f3e5b618c7a15c7d
data/.gitignore CHANGED
@@ -1,11 +1,57 @@
1
- /.bundle/
2
- /.yardoc
3
- /_yardoc/
1
+ # rspec failure tracking
2
+ .rspec_status
3
+
4
+ ### https://raw.github.com/github/gitignore/9da1b5d8ce4e009ff627c4fe49a4488b2a3f60d4/Ruby.gitignore
5
+
6
+ *.gem
7
+ *.rbc
8
+ /.config
4
9
  /coverage/
5
- /doc/
10
+ /InstalledFiles
6
11
  /pkg/
7
12
  /spec/reports/
13
+ /spec/examples.txt
14
+ /test/tmp/
15
+ /test/version_tmp/
8
16
  /tmp/
9
17
 
10
- # rspec failure tracking
11
- .rspec_status
18
+ # Used by dotenv library to load environment variables.
19
+ # .env
20
+
21
+ ## Specific to RubyMotion:
22
+ .dat*
23
+ .repl_history
24
+ build/
25
+ *.bridgesupport
26
+ build-iPhoneOS/
27
+ build-iPhoneSimulator/
28
+
29
+ ## Specific to RubyMotion (use of CocoaPods):
30
+ #
31
+ # We recommend against adding the Pods directory to your .gitignore. However
32
+ # you should judge for yourself, the pros and cons are mentioned at:
33
+ # https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
34
+ #
35
+ # vendor/Pods/
36
+
37
+ ## Documentation cache and generated files:
38
+ /.yardoc/
39
+ /_yardoc/
40
+ /doc/
41
+ /rdoc/
42
+
43
+ ## Environment normalization:
44
+ /.bundle/
45
+ /vendor/bundle
46
+ /lib/bundler/man/
47
+
48
+ # for a library or gem, you might want to ignore these files since the code is
49
+ # intended to run in multiple environments; otherwise, check them in:
50
+ Gemfile.lock
51
+ .ruby-version
52
+ .ruby-gemset
53
+
54
+ # unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
55
+ .rvmrc
56
+
57
+
@@ -19,7 +19,7 @@ Gem::Specification.new do |spec|
19
19
  end
20
20
  spec.require_paths = ['lib']
21
21
 
22
- spec.add_runtime_dependency 'fuji_markdown', '~> 0.2.1'
22
+ spec.add_runtime_dependency 'fuji_markdown', '~> 0.3.0'
23
23
 
24
24
  spec.add_development_dependency 'bundler', '~> 1.16'
25
25
  spec.add_development_dependency 'meowcop'
@@ -1,5 +1,5 @@
1
1
  module Jekyll
2
2
  module FujiMarkdown
3
- VERSION = '0.2.2'
3
+ VERSION = '0.3.0'
4
4
  end
5
5
  end
@@ -9,8 +9,13 @@ module Jekyll
9
9
  end
10
10
 
11
11
  def convert(content, parser: ::FujiMarkdown)
12
- option = @config['output']&.upcase&.to_sym || :HTML
13
- parser.render(content, option)
12
+ option = @config['output']&.upcase&.to_sym
13
+
14
+ if option
15
+ parser.render(content, option)
16
+ else
17
+ parser.render(content)
18
+ end
14
19
  end
15
20
  end
16
21
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-fuji_markdown
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fuji Nakahara
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-11-04 00:00:00.000000000 Z
11
+ date: 2018-11-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fuji_markdown
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 0.2.1
19
+ version: 0.3.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 0.2.1
26
+ version: 0.3.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -93,7 +93,6 @@ files:
93
93
  - ".travis.yml"
94
94
  - CODE_OF_CONDUCT.md
95
95
  - Gemfile
96
- - Gemfile.lock
97
96
  - LICENSE.txt
98
97
  - README.md
99
98
  - Rakefile
@@ -1,65 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- jekyll-fuji_markdown (0.2.2)
5
- fuji_markdown (~> 0.2.1)
6
-
7
- GEM
8
- remote: https://rubygems.org/
9
- specs:
10
- ast (2.4.0)
11
- commonmarker (0.18.1)
12
- ruby-enum (~> 0.5)
13
- concurrent-ruby (1.0.5)
14
- diff-lcs (1.3)
15
- fuji_markdown (0.2.1)
16
- commonmarker (~> 0.17)
17
- i18n (1.1.1)
18
- concurrent-ruby (~> 1.0)
19
- jaro_winkler (1.5.1)
20
- meowcop (1.17.1)
21
- rubocop (>= 0.57.0)
22
- parallel (1.12.1)
23
- parser (2.5.3.0)
24
- ast (~> 2.4.0)
25
- powerpack (0.1.2)
26
- rainbow (3.0.0)
27
- rake (10.5.0)
28
- rspec (3.8.0)
29
- rspec-core (~> 3.8.0)
30
- rspec-expectations (~> 3.8.0)
31
- rspec-mocks (~> 3.8.0)
32
- rspec-core (3.8.0)
33
- rspec-support (~> 3.8.0)
34
- rspec-expectations (3.8.2)
35
- diff-lcs (>= 1.2.0, < 2.0)
36
- rspec-support (~> 3.8.0)
37
- rspec-mocks (3.8.0)
38
- diff-lcs (>= 1.2.0, < 2.0)
39
- rspec-support (~> 3.8.0)
40
- rspec-support (3.8.0)
41
- rubocop (0.60.0)
42
- jaro_winkler (~> 1.5.1)
43
- parallel (~> 1.10)
44
- parser (>= 2.5, != 2.5.1.1)
45
- powerpack (~> 0.1)
46
- rainbow (>= 2.2.2, < 4.0)
47
- ruby-progressbar (~> 1.7)
48
- unicode-display_width (~> 1.4.0)
49
- ruby-enum (0.7.2)
50
- i18n
51
- ruby-progressbar (1.10.0)
52
- unicode-display_width (1.4.0)
53
-
54
- PLATFORMS
55
- ruby
56
-
57
- DEPENDENCIES
58
- bundler (~> 1.16)
59
- jekyll-fuji_markdown!
60
- meowcop
61
- rake (~> 10.0)
62
- rspec (~> 3.0)
63
-
64
- BUNDLED WITH
65
- 1.17.1