jekyllpress 0.1.1 → 0.1.2
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 +4 -4
- data/CHANGELOG +3 -1
- data/lib/jekyllpress/version.rb +1 -1
- data/lib/jekyllpress.rb +0 -2
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0ded8e8a789421cfda636ac8ef56b875c7d5e266
|
|
4
|
+
data.tar.gz: 68acb71a34083586f9c135394a99dce84922ed93
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1b1c0e0a167a4ae5b20fea2ea19aeead7c9b21096683d7d47c3f14a1f538152f56a830fdaccf178dd28775d5d9cd974d010856e32db6906161e80724db9f9b87
|
|
7
|
+
data.tar.gz: c821d77f1b80ff9e0649f4451115d0ae8d0c57d3e8500626dbf5033c88111032bce6bc8725a46cbb8c697be229a67452e237b97223422f32f53c660de8da7b7c
|
data/CHANGELOG
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
6eed295 (HEAD, master) fix: left binding.pry in the code :((
|
|
2
|
+
5cd3348 (tag: v0.1.1, origin/master) Update CHANGELOG, bump VERSION.
|
|
3
|
+
263acca fix: use thor actions to inject redirect_from into post.
|
|
2
4
|
61a16b8 new: Add options to redirect to specify the permalink template and force overwriting.
|
|
3
5
|
dbb8b67 (tag: v0.1.0) new: Add CHANGELOG.
|
|
4
6
|
78c8b1c new: Add :redirect command to insert a 'redirect_from:' array in the front matter of each post in the _posts directory, to allow for blog restructuring, in service of using the jekyll-redirect-from gem.
|
data/lib/jekyllpress/version.rb
CHANGED
data/lib/jekyllpress.rb
CHANGED
|
@@ -94,7 +94,6 @@ module Jekyllpress
|
|
|
94
94
|
force_redirect = options.fetch("force") { false }
|
|
95
95
|
processed_posts = []
|
|
96
96
|
with_posts({"permalink" => permalink_template}) do |post|
|
|
97
|
-
# binding.pry
|
|
98
97
|
if post.data.has_key?("redirect_from") && !force_redirect
|
|
99
98
|
say "skipping #{post.name} - redirect_from detected"
|
|
100
99
|
next
|
|
@@ -111,7 +110,6 @@ redirect_from:
|
|
|
111
110
|
processed_posts << {name: post.name, file: post_file_name(post)}
|
|
112
111
|
end
|
|
113
112
|
|
|
114
|
-
binding.pry
|
|
115
113
|
[__method__, @old_dir, processed_posts]
|
|
116
114
|
end
|
|
117
115
|
|