kramdown-asciidoc 1.0.0.alpha.7 → 1.0.0.alpha.8

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
  SHA256:
3
- metadata.gz: 0f7bd16c11f904bc9f55ca9ef70d3a925882bd4bdba7f118521a5020676ec4b7
4
- data.tar.gz: e8e880f21395275db7756e626d77f9f6425d2856b32049174b8074e69717ed30
3
+ metadata.gz: ec24e69c7ff58e4b915b286679f62ff3b02bdc993efe5951b2289ef117e05305
4
+ data.tar.gz: c6d2872af018a5ed5efb201fd29d87d89c164502897223f61c0eebabe18faebe
5
5
  SHA512:
6
- metadata.gz: f2fe378e4963ce01c8119e0512021aef55b3cbb6fe1efc1772d4dc2880d9c1b16cd83edfd20363089e83750447d627a8bec4bed88d3af041ed3a6115124af199
7
- data.tar.gz: a8d1cbea734f4db2d71930c1e5e0f3cc6bc198c24e66117de316c1d4e35e946ed43c7181b0147acd24d73d6f7501ae7d0b6b5d20e175b5f849948a9c7fdebe18
6
+ metadata.gz: d0d0e0bd0fd69bb4f9134784e5bea5d1192a918273d41469bc650bf02d82dc68867f0fae6ddce3fcae434af92bc098b9f0a7d1529c40866c949e5122963de652
7
+ data.tar.gz: 8d1415772fbe71e934d254e43c067c8573220c1ebaeb0b4f2cca69e4c68e88643b50c6464fbff441c0d955d0f713e80312948a0be19d863ec3a40bf2a19302f4
@@ -5,6 +5,17 @@
5
5
  This document provides a high-level view of the changes to {project-name} by release.
6
6
  For a detailed view of what has changed, refer to the {uri-repo}/commits/master[commit history] on GitHub.
7
7
 
8
+ == 1.0.0.alpha.8 (2018-07-03) - @mojavelinux
9
+
10
+ === Added
11
+
12
+ * add support for Ruby 2.3; add to CI matrix
13
+
14
+ === Changed
15
+
16
+ * don't escape double hyphen in codespan unless surrounded by spaces or word chars
17
+ * treat leading specialchar (<, >, or &) as a word character (since it gets converted to a char reference)
18
+
8
19
  == 1.0.0.alpha.7 (2018-07-02) - @mojavelinux
9
20
 
10
21
  === Added
@@ -1,6 +1,6 @@
1
1
  = {project-name} (Markdown to AsciiDoc)
2
2
  Dan Allen <https://github.com/mojavelinux>
3
- v1.0.0.alpha.7, 2018-07-02
3
+ v1.0.0.alpha.8, 2018-07-03
4
4
  // Aliases:
5
5
  :project-name: Kramdown AsciiDoc
6
6
  :project-handle: kramdown-asciidoc
@@ -1,4 +1,5 @@
1
1
  require 'kramdown'
2
+ require_relative 'kramdown-asciidoc/core_ext/regexp/is_match'
2
3
  require_relative 'kramdown-asciidoc/converter'
3
4
  require_relative 'kramdown-asciidoc/writer'
4
5
  autoload :YAML, 'yaml'
@@ -86,11 +86,11 @@ module Kramdown; module AsciiDoc
86
86
  CssPropDelimRx = /\s*;\s*/
87
87
  FullStopRx = /(?<=\.)\p{Blank}+(?!\Z)/
88
88
  MenuRefRx = /^([\p{Word}&].*?)\s>\s([\p{Word}&].*(?:\s>\s|$))+/
89
- ReplaceableTextRx = /[-=]>|<[-=]|--|\*\*|\.\.\.|&\S+;|\{\p{Word}[\p{Word}-]*\}|\((?:C|R|TM)\)/
89
+ ReplaceableTextRx = /[-=]>|<[-=]| -- |\p{Word}--\p{Word}|\*\*|\.\.\.|&\S+;|\{\p{Word}[\p{Word}-]*\}|\((?:C|R|TM)\)/
90
90
  SmartApostropheRx = /\b’\b/
91
91
  TrailingSpaceRx = / +$/
92
92
  TypographicSymbolRx = /[“”‘’—–…]/
93
- WordishRx = /[\p{Word};:]/
93
+ WordishRx = /[\p{Word};:<>&]/
94
94
  WordRx = /\p{Word}/
95
95
  XmlCommentRx = /\A<!--(.*)-->\Z/m
96
96
 
@@ -0,0 +1,3 @@
1
+ class Regexp
2
+ alias match? === unless method_defined? :match? # nocov
3
+ end
@@ -1,3 +1,3 @@
1
1
  module Kramdown; module AsciiDoc
2
- VERSION = '1.0.0.alpha.7'
2
+ VERSION = '1.0.0.alpha.8'
3
3
  end; end
@@ -1 +1 @@
1
- A boolean value can be `true` or `false`.
1
+ A boolean value can be `true` or `false` (and sometimes `nil`).
@@ -1 +1 @@
1
- A boolean value can be `true` or `false`.
1
+ A boolean value can be `true` or `false` (and sometimes `nil`).
@@ -2,6 +2,8 @@ Use the `+<=+` operator to define a version that is less than or equal to a spec
2
2
 
3
3
  Use `+(start...end)+` to create a sequence that ranges from `+start--end+`, but excludes the last element.
4
4
 
5
+ Use the `--verbose` option to see more output.
6
+
5
7
  Use an `+<!-- XML comment -->+` to disable or hide markup.
6
8
 
7
9
  In AsciiDoc, `+{name}+` is the syntax for an attribute reference.
@@ -2,6 +2,8 @@ Use the `<=` operator to define a version that is less than or equal to a specif
2
2
 
3
3
  Use `(start...end)` to create a sequence that ranges from `start--end`, but excludes the last element.
4
4
 
5
+ Use the `--verbose` option to see more output.
6
+
5
7
  Use an `<!-- XML comment -->` to disable or hide markup.
6
8
 
7
9
  In AsciiDoc, `{name}` is the syntax for an attribute reference.
@@ -3,3 +3,4 @@ Then just run `lerna`--the base command.
3
3
  You can re``link`` all related packages using ``lerna``'s `link` command.
4
4
  &quot;``foo`` `bar`&quot;
5
5
  so `mono` man
6
+ `x`>``y``<``z``
@@ -3,3 +3,4 @@ Then just run `lerna`--the base command.
3
3
  You can re`link` all related packages using `lerna`'s `link` command.
4
4
  &quot;`foo` `bar`&quot;
5
5
  so ``` mono ``` man
6
+ `x`>`y`<`z`
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kramdown-asciidoc
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.alpha.7
4
+ version: 1.0.0.alpha.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dan Allen
@@ -84,6 +84,7 @@ files:
84
84
  - lib/kramdown-asciidoc.rb
85
85
  - lib/kramdown-asciidoc/cli.rb
86
86
  - lib/kramdown-asciidoc/converter.rb
87
+ - lib/kramdown-asciidoc/core_ext/regexp/is_match.rb
87
88
  - lib/kramdown-asciidoc/version.rb
88
89
  - lib/kramdown-asciidoc/writer.rb
89
90
  - spec/cli_spec.rb