jekyll-sort 0.3.0 → 0.3.1

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: f2bb66cc9a6349ce8fe24505ad8fde88e049253eda52e6dc1da63f4dc8612650
4
- data.tar.gz: 39ecbd1f81efda52368b4e0507929885fabc2f58eb457c3942566ec8ec591a7e
3
+ metadata.gz: 4677d274d0a851e91eb55526780155d227bd2815868ef1929a02f2ab40cc9acb
4
+ data.tar.gz: 33e46acc91c03e2d8ae6a5c458d112a369d89590fd7355912012518cd74baf21
5
5
  SHA512:
6
- metadata.gz: 409beb085820e24f718d891a30b9de1911b1ae860b61fb0ee6aef6f4bdb081619440ff29af9cfcf21de394230710dc07f76dc065bc86c8cc3dee108524b6ea56
7
- data.tar.gz: 4d110034a04e3b934adf7702cf8072b0b4c3630605614947ca6e68f6fdd29327a1daef32d5246664be614eca5973759ac67a40f0d2831224a52ca7e3fe04369e
6
+ metadata.gz: 42053906b7bcfb521db8328c6f079e9167795776adcecb9b6f038c3056950fd4d7dc9f65b9303b7291bdf9744144a64820a171be9ea7c0e5ffb7b246ab70e049
7
+ data.tar.gz: 0d39aea05b67642a83c6964ff7c14a6b90e2a01b6687ae43ad25ed061d60bf672edc4323727863d9d163934f5fd04dd2b2a946a7e1e79d19cabf590cb5bbce4d
@@ -3,6 +3,9 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  This project *tries* to adhere to [Semantic Versioning](http://semver.org/), even before v1.0.
5
5
 
6
+ ## [0.3.1]
7
+ - fix add newline to next page link
8
+
6
9
  ## [0.3.0]
7
10
  - add newline to next page link
8
11
 
@@ -74,7 +74,7 @@ module JekyllSort
74
74
  [front_matter, parsed]
75
75
  end
76
76
 
77
- PREV_NEXT_MARKDOWN = "\n{% include prev_next.md %}\n"
77
+ PREV_NEXT_MARKDOWN = "\n{% include prev_next.md %}"
78
78
 
79
79
  def remove_prev_next_link(content)
80
80
  content.sub(PREV_NEXT_MARKDOWN, '')
@@ -84,7 +84,7 @@ module JekyllSort
84
84
  if content.include?(PREV_NEXT_MARKDOWN)
85
85
  content
86
86
  else
87
- content + "\n" + PREV_NEXT_MARKDOWN
87
+ content + "\n" + PREV_NEXT_MARKDOWN + "\n"
88
88
  end
89
89
  end
90
90
 
@@ -1,3 +1,3 @@
1
1
  module JekyllSort
2
- VERSION = "0.3.0"
2
+ VERSION = "0.3.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-sort
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tung Nguyen