md2conf 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: a0f39ff071ace36b7bf5019c84e20247c1eb563e
4
- data.tar.gz: 39c3ce8db54264dff21f95c0c7c997ae0fd5751d
3
+ metadata.gz: 0f4ef4875e0ebf0de39c272cddeefbcb941934dc
4
+ data.tar.gz: 9874b36255db0b75bbde30df9f0575dca177d91a
5
5
  SHA512:
6
- metadata.gz: c48b4f6bd990331be451810c312a027a4648000f54121480ca21806924c8f22535b1a0b3ca3b014bb29d9f987e256dc26ae7a9fa596d8ee420ecbee8f36b98f8
7
- data.tar.gz: fdcdaa8f0abe0d9069a080bb1731a5fb67200387af1e2f72c571942923f696bd392768fbe4cf0ebd682e5fdbf368cbdf2703a91a0c92e42cf30fd8f50f083237
6
+ metadata.gz: afea23bd30ff26b3810191a8838f96753140bd71fbda52aa212288589c0529e32453b96c9f89c7470226cb24952c0d083cfb7c31251322deaf446a0b510cd0b1
7
+ data.tar.gz: ba5fe303ece6ce18b0d6f6013c1ed974d277134297f6da7f486f8542c72705c9485a7439e8fc226728b08c30b6e89730aa81a6f9d29257cc99c5e19ac80a5005
@@ -4,12 +4,15 @@ All notable changes to this project will be documented in this file.
4
4
  The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
5
5
  and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
6
6
 
7
+ ## [0.2.1] - 2017-08-30
8
+ ### Fixed
9
+ - Fixed an off-by-one bug in `process_macros()` method.
10
+
7
11
  ## [0.2.0] - 2017-08-29
8
12
  ### Added
9
13
  - Macro support. Any macro can be specified in the form of `{MACRO:ARGUMENT}` inside your Markdown files.
10
14
  Check out the updated README for more info.
11
15
 
12
-
13
16
  ## [0.1.2] - 2017-08-21
14
17
  ### Changed
15
18
  - Updated documentation.
@@ -52,7 +52,7 @@ module Md2conf
52
52
 
53
53
  since_last_match = @html[last_position..Regexp.last_match.begin(0) - 1]
54
54
  html_new << "#{since_last_match}#{confluence_code}"
55
- last_position = Regexp.last_match.end(1)
55
+ last_position = Regexp.last_match.end(1) + 1
56
56
  end
57
57
 
58
58
  # Did we have at least one match?
@@ -1,3 +1,3 @@
1
1
  module Md2conf
2
- VERSION = '0.2.0'.freeze
2
+ VERSION = '0.2.1'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: md2conf
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
  - Eugene Piven
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2017-08-29 00:00:00.000000000 Z
12
+ date: 2017-08-30 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler