octopress-ink 1.0.0.rc.6 → 1.0.0.rc.7

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: 727c703ec69287f70483794f60e961fdfe54969b
4
- data.tar.gz: 66e14204dcc1b8784e14d4a776817d3602f5ea3d
3
+ metadata.gz: 65b8ffe436f7d3a98b496df4a39c4a5889072e87
4
+ data.tar.gz: d580ceb6faed7b3aced9533e5422c535ad92b38c
5
5
  SHA512:
6
- metadata.gz: fd1a5f496fc17d8f448ac105e99102401aaaff9b7b970a4af86aac1a17a6cd4089d3934fb79174cc8b4f7b184501803448499968a6efc9cbe53a2f54399b796d
7
- data.tar.gz: dd9aad5f81d50b136982d990e46874563fa1e97d94ed34466ae6a839352d120ce64e82675485fcc519f9a347c805bf1ed8a7f0571cb0e6b4af57c409845de360
6
+ metadata.gz: aa75320842ce5f449688d831e2e6902783c86b98d30917c37ca04e7680744efebea102e2d5ee37a5160db096a73c8038f81498a4f38def2ae72ebe4dc2225a7f
7
+ data.tar.gz: 59292e1a588bdad1bf9e9cbb77576e21d4a0c045e2fadcda7ce92d34025376b3de86297f9a39994cc6e3a9d50800f5867b269c40eb4158e12a319aff47757df7
data/CHANGELOG.md CHANGED
@@ -1,20 +1,24 @@
1
1
  # Changelog
2
2
 
3
+ ## Current released version
4
+
5
+ ### 1.0.0 RC7 - 2014-06-08
6
+
7
+ - New: Added `excerpted` post var, true if post.excerpt is shorted than post.content.
8
+
9
+ ## Past versions
10
+
3
11
  ### 1.0.0 RC6 - 2014-06-07
4
12
 
5
- - Fixed: New gems gemspec scaffold does not include Ink's pre-release version numbers.
13
+ - Fixed: Gemspec scaffold does not include Ink's pre-release version numbers.
6
14
  - Fixed: Better formatting for ordinal dates.
7
15
  - Other minor bug fixes
8
16
 
9
- ## Current released version
10
-
11
17
  ### 1.0.0 RC5 - 2014-06-06
12
18
 
13
19
  - New: site.linkposts loops through linkposts
14
20
  - New: site.articles loops through non-linkpost articles
15
21
 
16
- ## Past versions
17
-
18
22
  ### 1.0.0 RC4 - 2014-05-28
19
23
 
20
24
  - Improved: Plugin scaffold does a better job of handling gem names with dashes.
@@ -50,6 +50,10 @@ module Jekyll
50
50
  config = Octopress::Ink.config['post']
51
51
  end
52
52
 
53
+ if extract_excerpt.to_s.strip != content.strip
54
+ excerpted = true
55
+ end
56
+
53
57
  if Octopress::Ink.config['titlecase']
54
58
  Octopress::Utils.titlecase!(data['title'])
55
59
  end
@@ -58,7 +62,8 @@ module Jekyll
58
62
  'title_text' => title_text(config, data['title']),
59
63
  'title_html' => title_html(config, data['title']),
60
64
  'title_url' => linkpost || self.url,
61
- 'linkpost' => !linkpost.nil?
65
+ 'linkpost' => !linkpost.nil?,
66
+ 'excerpted' => excerpted
62
67
  }
63
68
  end
64
69
 
@@ -1,5 +1,5 @@
1
1
  module Octopress
2
2
  module Ink
3
- VERSION = "1.0.0.rc.6"
3
+ VERSION = "1.0.0.rc.7"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: octopress-ink
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.rc.6
4
+ version: 1.0.0.rc.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brandon Mathis