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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 385b023364f773a6a8fddd8177128321d71ce6e20406b3374caff401a4cb3694
4
- data.tar.gz: 657ab85864c6d9a193733ef22443dfb5beb8e416a94a9cc33a7bb72abc4d57cd
3
+ metadata.gz: b8725d64da7ff1760672eb24da2aee460a56581f43836268f73930f751527bc4
4
+ data.tar.gz: 23b88934abf556ff7b4ceaf598ebcdd072a24d2d18052bc5c861100c2845864d
5
5
  SHA512:
6
- metadata.gz: 331e3e693987d8c36bc714d9efc6d61fdf81518a9f1a97f6ee5a5d76e8b104c0b6a111f4093345c708a98ebdfe0a144382b856e006e21386090e3c7bef1816f6
7
- data.tar.gz: ab3320756194d054198e7d2c4d02464da020360e3a64c6b42974f221bc49e5943fdb84fd9651a0225e0b019cf6cd7ed014b430f922bd70a80beb618f57697345
6
+ metadata.gz: cceff26ff5ecbfb61cd6fd1da75e3a81c7110d782589876b265390ea21080af7a83892d91b49ea74e84cc3cf99ee58d6b606b09fda8864165441c06f1f5b88ab
7
+ data.tar.gz: fa3d4f2b18ca86d220b722d78301c14760e644341e8863bb9ddddbfce9c0ff759d29a9f4a63dd164cd8347bc3184e1e138b4f6ed489cd2fdeff2012f418339b5
@@ -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
@@ -1,3 +1,3 @@
1
1
  module Coconductor
2
- VERSION = '0.5.4'.freeze
2
+ VERSION = '0.5.5'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: coconductor
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.4
4
+ version: 0.5.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Balter