coconductor 0.5.4 → 0.5.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/coconductor/field.rb +1 -1
- data/lib/coconductor/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b8725d64da7ff1760672eb24da2aee460a56581f43836268f73930f751527bc4
|
4
|
+
data.tar.gz: 23b88934abf556ff7b4ceaf598ebcdd072a24d2d18052bc5c861100c2845864d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cceff26ff5ecbfb61cd6fd1da75e3a81c7110d782589876b265390ea21080af7a83892d91b49ea74e84cc3cf99ee58d6b606b09fda8864165441c06f1f5b88ab
|
7
|
+
data.tar.gz: fa3d4f2b18ca86d220b722d78301c14760e644341e8863bb9ddddbfce9c0ff759d29a9f4a63dd164cd8347bc3184e1e138b4f6ed489cd2fdeff2012f418339b5
|
data/lib/coconductor/field.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
module Coconductor
|
2
2
|
# Represents a fillable field in a code of conduct
|
3
3
|
class Field
|
4
|
-
REGEX = /\[(?<name>[A-Z_ ]{2,})[\s:-]*(?<description
|
4
|
+
REGEX = /\[(?<name>[A-Z_ ]{2,})[\s:-]*(?<description>.*?)\]/
|
5
5
|
|
6
6
|
# the matchable raw text within the code of conduct including brackets
|
7
7
|
attr_reader :raw_text
|
data/lib/coconductor/version.rb
CHANGED