cb_jira_validator 0.1.0 → 0.1.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 +4 -4
- data/lib/cb_jira_validator.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b517114f8a137aa25cdaaffc8f003e5b87846548
|
4
|
+
data.tar.gz: 347442bb8ed50807e9c7729368088ab2f4f71965
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aa5c8897bec478ce1d1c68ea9c9ca6af7694e9e274dcc6fb8614a687e3608832918254696b5cb2794753e2cfe792580dfdf9e3d456fcc05152d0440af93753d7
|
7
|
+
data.tar.gz: 5df0e58a233f86c592686917d480be1fadc38b648bd46da186d12678f4738dd5fecc21916f1644aaa568aed85af07c902d735ca480168e8580fe8050b7d2d4a3
|
data/lib/cb_jira_validator.rb
CHANGED
@@ -2,7 +2,7 @@ module FitCommit
|
|
2
2
|
module Validators
|
3
3
|
class JiraTaskValidator < Base
|
4
4
|
def validate_line(lineno, text)
|
5
|
-
if lineno == 1 && text !~ /\[[a-z0-9
|
5
|
+
if lineno == 1 && text !~ /\[[a-z]{2}-[a-z0-9]+\]/i
|
6
6
|
add_error(lineno, "Jira task number not found/invalid on first line.")
|
7
7
|
end
|
8
8
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cb_jira_validator
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Joey Kaan
|
@@ -27,17 +27,17 @@ require_paths:
|
|
27
27
|
- lib
|
28
28
|
required_ruby_version: !ruby/object:Gem::Requirement
|
29
29
|
requirements:
|
30
|
-
- -
|
30
|
+
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: '0'
|
33
33
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
34
34
|
requirements:
|
35
|
-
- -
|
35
|
+
- - ">="
|
36
36
|
- !ruby/object:Gem::Version
|
37
37
|
version: '0'
|
38
38
|
requirements: []
|
39
39
|
rubyforge_project:
|
40
|
-
rubygems_version: 2.
|
40
|
+
rubygems_version: 2.6.8
|
41
41
|
signing_key:
|
42
42
|
specification_version: 4
|
43
43
|
summary: Jira Task validator
|