terraorg 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/terraorg/model/org.rb +1 -1
- data/lib/terraorg/model/squad.rb +2 -7
- data/lib/terraorg/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: 47445e122d82b740189fbba1cc8179c45c14708e9d9287fa4d8c61b4b722df27
|
4
|
+
data.tar.gz: b05234e33dcae32e79e1f6031a59134820e9d2689336f3dccab5ee057dde2dd1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5312e3f28bfb1b40fb62e6df66dc03034bef9431a7b64f3c944308a3bd203b8ef3ce66baa97214c5a4935d35ed2788672bf6176f1a577e98607d6514de58bc8a
|
7
|
+
data.tar.gz: f2d97474041d4aafc6aba7a4255cfd52129526a042c3dff0dc0d6e2f5eeeec0449e432e7e918ad8d2a7b5930c7976476bef435acd3986ef2ea396992e08b818c
|
data/lib/terraorg/model/org.rb
CHANGED
@@ -168,7 +168,7 @@ class Org
|
|
168
168
|
md_lines = [
|
169
169
|
'# Engineering Squads List',
|
170
170
|
'',
|
171
|
-
'|Platoon|Squad|PM|Mailing list|TS SME|Slack|# Engineers|Squad Manager|
|
171
|
+
'|Platoon|Squad|PM|Mailing list|TS SME|Slack|# Engineers|Squad Manager|Members|',
|
172
172
|
'|---|---|---|---|---|---|---|---|---|---|',
|
173
173
|
]
|
174
174
|
md_lines += @member_platoons.map { |s| s.get_squads_psv_rows(@id) }
|
data/lib/terraorg/model/squad.rb
CHANGED
@@ -51,16 +51,11 @@ class Squad
|
|
51
51
|
# - Sort the members in each team
|
52
52
|
# - Only add an associates field if it's present
|
53
53
|
def to_h
|
54
|
-
|
54
|
+
{
|
55
|
+
'associates' => @associates.map(&:id).sort,
|
55
56
|
'location' => @location,
|
56
57
|
'members' => @members.map(&:id).sort,
|
57
58
|
}
|
58
|
-
|
59
|
-
if @associates.size > 0
|
60
|
-
rv['associates'] = @associates.map(&:id).sort
|
61
|
-
end
|
62
|
-
|
63
|
-
rv
|
64
59
|
end
|
65
60
|
|
66
61
|
def everyone
|
data/lib/terraorg/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: terraorg
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Joshua Kwan
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-04-
|
11
|
+
date: 2020-04-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: countries
|