jira_ref_parser 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/jira_ref_parser.rb +1 -1
- data/lib/jira_ref_parser/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c4415b6a954b6ad0d909c6b1cbdd23041ca26722
|
4
|
+
data.tar.gz: 730a24b03f017785f53f2bbcb8cee19245ed5331
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5cf9a7679554c79c228818b02324ff1b23fca19f83f200a6db880dc09bd14fe7912ead61d75b41a97234495d1057030dc9449b8b00cb131881cbc6e08e1c8c6c
|
7
|
+
data.tar.gz: d85f354ce17bfcf793908ec02b7b8a5c76cc225b332099d0db3d7c282bd0c81b7a51e1f10618356715c37f1cdb96fa6326746a55350cb78947e71f9f90073828
|
data/lib/jira_ref_parser.rb
CHANGED
@@ -6,7 +6,7 @@ module JiraRefParser
|
|
6
6
|
# keywords used to fix issues
|
7
7
|
FixKeywords = %w(fixes closes)
|
8
8
|
KeywordRegex = (RefKeywords + FixKeywords).join("|")
|
9
|
-
IssueIdRegex = '[A-Z]
|
9
|
+
IssueIdRegex = '[A-Z]+-\d+'
|
10
10
|
IssueDelimeterRegex = '[\s,;&]+'
|
11
11
|
IssueReferencesRegex = /(?:[\s\(\[,-]|^)(#{KeywordRegex})[\s:]+(#?#{IssueIdRegex}(?:#{IssueDelimeterRegex}#?#{IssueIdRegex})*)(?=[[:punct:]]|\s|<|$)/i
|
12
12
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jira_ref_parser
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brian Palmer
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-11-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -73,7 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
73
73
|
version: '0'
|
74
74
|
requirements: []
|
75
75
|
rubyforge_project:
|
76
|
-
rubygems_version: 2.
|
76
|
+
rubygems_version: 2.6.7
|
77
77
|
signing_key:
|
78
78
|
specification_version: 4
|
79
79
|
summary: Parse Jira ticket refs from git commit messages
|