coconductor 0.5.2 → 0.5.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/coconductor/code_of_conduct.rb +2 -1
- data/lib/coconductor/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 109784fec96a46c4142cc97c511d5326f5f0cf0bfe00103e376a5ce18497be11
|
4
|
+
data.tar.gz: 88668fdf710a9dae51283c2a86f691af2599482959e129d771e251ad5c0280ce
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ff085367dcd8409f4191fa9ac1fc2ba22edd6b77357a90753d70d6063f4216495ba11ac3db0106ae2bfe42c72e923e771a4be250bebf5e2e369fe48064636649
|
7
|
+
data.tar.gz: 0daade940209bb84c5738854161ab2826814735b62bf869cfb6edf79820bee3d00e41a13058bea9165b025cb783d509918e8419bd7b5d4644c7316b9a3a4fc6d
|
@@ -101,7 +101,8 @@ module Coconductor
|
|
101
101
|
def content
|
102
102
|
# See https://github.com/stumpsyn/policies/pull/21
|
103
103
|
@content ||= if citizen_code_of_conduct?
|
104
|
-
|
104
|
+
fields = %w[COMMUNITY_NAME GOVERNING_BODY]
|
105
|
+
parts.last.gsub(/ #{Regexp.union(fields)} /, ' [$1] ')
|
105
106
|
else
|
106
107
|
parts.last
|
107
108
|
end
|
data/lib/coconductor/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: coconductor
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ben Balter
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-09-
|
11
|
+
date: 2018-09-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: licensee
|