hoe-markdown 1.0.0 → 1.1.0

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: 6cb9e4c8f53ee98f050766c035755003dbe76403b1625b0e90dfb00eccc7930a
4
- data.tar.gz: 97069f8181dff7b9b32bf710a55f959788b7169830e5bf6918a721c2326b1c7e
3
+ metadata.gz: ce520b63c1184218d2a6b46c26a9586db8cd5b1fae30f21fa705d09fb315328f
4
+ data.tar.gz: 63e11707456a92be22603e0ca5b3f663180971e8dad65d0015c46048fe308bf1
5
5
  SHA512:
6
- metadata.gz: 33ef8ee4cb89cdafc82cfea1f9dbb0ea94380ca6fe6350abca751b9a55ec7a0d257943b1dd6340d86d3d87089361a66f420cf1f612ac77e0e123fc67c5f32086
7
- data.tar.gz: 5dcfe24d87131804e1b49f0cd1c91cdf3e804682feb31f8ddfa2a4c538542afe304dffb2ec9dabbec9d423a4abcf5782e3f6f617a76c9a1599ec421435266b3c
6
+ metadata.gz: 421b5f029b0a244d2261afa90ee244224c7a085eb3e771ce2e0199a66cfc6f1b2a5a34c89678c9af4f195c68e56ece0b55d0733c42c0a422610212ff883ddf57
7
+ data.tar.gz: 06c28bbd90c17d2e2f62574c8ddb924790c54cfdd82a9d073b5532849a6469ded20f2199a31131b10182df0784d1b11c3474d6e5fa2860640180c4157ea429ac
@@ -1,5 +1,11 @@
1
1
  # Hoe::Markdown CHANGELOG
2
2
 
3
+ ## v1.1.0 / 2020-06-07
4
+
5
+ Fix:
6
+ * do not match github usernames if present inside an email address
7
+
8
+
3
9
  ## v1.0.0 / 2020-06-07
4
10
 
5
11
  Released!
@@ -14,6 +14,9 @@ class Hoe
14
14
 
15
15
  # see https://github.com/shinnn/github-username-regex
16
16
  GITHUB_USER_REGEX = %r{
17
+ # not obviously part of an email address
18
+ (?<![[:alnum:]])
19
+
17
20
  # username, like "@flavorjones"
18
21
  @([[:alnum:]](?:[[:alnum:]]|-(?=[[:alnum:]])){0,38})
19
22
 
@@ -1,5 +1,5 @@
1
1
  class Hoe
2
2
  module Markdown
3
- VERSION = "1.0.0"
3
+ VERSION = "1.1.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hoe-markdown
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mike Dalessio