jekyllpress 0.1.1 → 0.1.2

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: dd6682117892650ad63c153d63979873c1e42515
4
- data.tar.gz: a8e78117bcdc10b196a28c96c6c0081f745d24cf
3
+ metadata.gz: 0ded8e8a789421cfda636ac8ef56b875c7d5e266
4
+ data.tar.gz: 68acb71a34083586f9c135394a99dce84922ed93
5
5
  SHA512:
6
- metadata.gz: dcf10491338155651e916d09a0a331f64f5c920eef9c841204c6a8919ac1b7fa2130b0ab636baee54a65927ffc511f43375fe964c089586f844f8ee31b796f2e
7
- data.tar.gz: 67d70468fd06525e2181de755b3cd1488099bec2513a606fe2e2767a6bf4bee47da94539ca96d760883c6842a040b0998c527b0e048a174f2a34eeb0eeb7e374
6
+ metadata.gz: 1b1c0e0a167a4ae5b20fea2ea19aeead7c9b21096683d7d47c3f14a1f538152f56a830fdaccf178dd28775d5d9cd974d010856e32db6906161e80724db9f9b87
7
+ data.tar.gz: c821d77f1b80ff9e0649f4451115d0ae8d0c57d3e8500626dbf5033c88111032bce6bc8725a46cbb8c697be229a67452e237b97223422f32f53c660de8da7b7c
data/CHANGELOG CHANGED
@@ -1,4 +1,6 @@
1
- 263acca (HEAD, origin/master, master) fix: use thor actions to inject redirect_from into post.
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.
@@ -1,3 +1,3 @@
1
1
  module Jekyllpress
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
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
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyllpress
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tamara Temple