jekyll-rp_logs 0.2.0 → 0.2.1

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
  SHA1:
3
- metadata.gz: b50e2e5ddc01c17271bd3f5fdc368bf2138c0063
4
- data.tar.gz: ed204ce52ae1b9b0c117a5de0cd09495d28b1bef
3
+ metadata.gz: d0ead8952d9f22967672f557f24b4ec9d58bd617
4
+ data.tar.gz: 77b08ff2e7021cc8925a2b3ef471b33dcd35dc43
5
5
  SHA512:
6
- metadata.gz: 9b74f2fbe01956091be2536021c7022031dece3260fac9acfa1dee28d22b6c7a8f7a2758671115650d72c9e99debadb66cc37716dd8680cf63373ef8af91d3ec
7
- data.tar.gz: 1b82113c2a20f972992af4d6bcc2966e98379eb44ae4551b3500265d8d623902d5943fda3095b3b0191c6e9cd34e453c00822b2e8e13da13787938f28ca4d9f1
6
+ metadata.gz: b240676829e68d51b9e80582282df3dc6c1857dcac4ecd00543c7dbeaa24fa42c6d504720ebb6a49bf9cf239d9e6410b1a907a94e4a2ce2517742a505799340a
7
+ data.tar.gz: 152cae97b5fcbde92e1e00759abc9c7856914dc6f6a1924af3f2b41387bb60b6531635711922593ab249d7bc1619766956b3f1c1eff5aafb744ccfdacab13896
data/CHANGELOG.md CHANGED
@@ -2,6 +2,10 @@
2
2
  All notable changes to this project will be documented in this file.
3
3
  This project adheres to [Semantic Versioning](http://semver.org/).
4
4
 
5
+ ## [0.2.1] - 2015-10-26
6
+ ### Fixed
7
+ - Lines whose contents are completely whitespace are parsed correctly ([#40])
8
+
5
9
  ## [0.2.0] - 2015-10-26
6
10
  ### Added
7
11
  - The RP log directory can now be renamed ([#15])
@@ -40,6 +44,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
40
44
  - Set required Ruby version to `~> 2.1` ([#32])
41
45
 
42
46
 
47
+ [0.2.1]: https://github.com/xiagu/jekyll-rp_logs/compare/v0.2.0...v0.2.1
43
48
  [0.2.0]: https://github.com/xiagu/jekyll-rp_logs/compare/v0.1.6...v0.2.0
44
49
 
45
50
  [#11]: https://github.com/xiagu/jekyll-rp_logs/issues/11
@@ -53,3 +58,4 @@ This project adheres to [Semantic Versioning](http://semver.org/).
53
58
  [#8]: https://github.com/xiagu/jekyll-rp_logs/issues/8
54
59
  [#7]: https://github.com/xiagu/jekyll-rp_logs/issues/7
55
60
  [#4]: https://github.com/xiagu/jekyll-rp_logs/issues/4
61
+ [#40]: https://github.com/xiagu/jekyll-rp_logs/issues/40
@@ -58,7 +58,8 @@ module Jekyll
58
58
  @output_type = :rp if @options[:strict_ooc]
59
59
 
60
60
  # Check the contents for leading ( or [
61
- @output_type = :ooc if ooc_start_delimiters.include? @contents.strip[0]
61
+ first_char = @contents.strip[0]
62
+ @output_type = :ooc if first_char && ooc_start_delimiters.include?(first_char)
62
63
 
63
64
  # Flags override our assumptions, always
64
65
  if @flags.include? RP_FLAG
@@ -1,5 +1,5 @@
1
1
  module Jekyll
2
2
  module RpLogs
3
- VERSION = "0.2.0"
3
+ VERSION = "0.2.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-rp_logs
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - anrodger