terraorg 0.2.0 → 0.2.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7bd7aab93499335ed6575acc6c9e1df72dbac83e57b1086703ac950b2d440107
4
- data.tar.gz: 4feba8047e97d182a3187d94cacb9fd229811499fe7195afc62550482dc7a3de
3
+ metadata.gz: 47445e122d82b740189fbba1cc8179c45c14708e9d9287fa4d8c61b4b722df27
4
+ data.tar.gz: b05234e33dcae32e79e1f6031a59134820e9d2689336f3dccab5ee057dde2dd1
5
5
  SHA512:
6
- metadata.gz: 168ba8345625402fe6de06dbba2ab30b7223127a2dfed994cf8fbba94beb977bf9d82efc35c88e71bc62d1b5c0f1580d1f843408c9bedd91be8e4f3fd318bb5f
7
- data.tar.gz: 9f600fa6d33aa1de8db082826122f3bafc788d382ccd564ccd19904a5bc1a077f6520944db3c3fdc3621a633e240a1a59ceefd9ecd98582c092c9855193ba9d7
6
+ metadata.gz: 5312e3f28bfb1b40fb62e6df66dc03034bef9431a7b64f3c944308a3bd203b8ef3ce66baa97214c5a4935d35ed2788672bf6176f1a577e98607d6514de58bc8a
7
+ data.tar.gz: f2d97474041d4aafc6aba7a4255cfd52129526a042c3dff0dc0d6e2f5eeeec0449e432e7e918ad8d2a7b5930c7976476bef435acd3986ef2ea396992e08b818c
@@ -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|Eng Product Owner|Members|',
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) }
@@ -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
- rv = {
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
@@ -13,5 +13,5 @@
13
13
  # limitations under the License.
14
14
 
15
15
  module Terraorg
16
- VERSION = '0.2.0'
16
+ VERSION = '0.2.1'
17
17
  end
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.0
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-03 00:00:00.000000000 Z
11
+ date: 2020-04-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: countries