lita-github 0.0.15 → 0.0.16

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
  SHA1:
3
- metadata.gz: 9154fe1a1d6ffa5e15adce64bfc9982462dfe247
4
- data.tar.gz: 92898ec6613ab7cda02a328240a30c00c3d30f19
3
+ metadata.gz: 79341fcbd4811440622b59fc41dfdbdae83fef9e
4
+ data.tar.gz: fa8c96cd9beae1e9d7eb1abd185e62326842308b
5
5
  SHA512:
6
- metadata.gz: f68b112d86ae13b6f89dae0db48d890e79e63c711b8d83192b700fc82636112ece0b79a0c0435a137c4e716926dd6711c4bd358202489599066e395aab6503a5
7
- data.tar.gz: fe21fd80b3edee453e8f3f2aab174497da789cc7f3294dbd11e674a9df5459f3cf6ee62688367dc6e650e8fe556c77fce964b192c39fdebf0aa891b5fca2ac52
6
+ metadata.gz: d7323e5f79d9a6bf40e98798f8320842a49a0ed0bd8f5eba9451931b2e523e8d0acc75ea9e589f52a91e9dff9ef40055816a7b06a3eb3a64713fce278d880019
7
+ data.tar.gz: 50127e2b5c22d23163e0d68afad2df49c49fbab2144e0f8d10153bfbf22cbcda5bf6c20f2118c23ca9ad88c17b81e936cbc82d021d65d10f07e4c8339d463cc8
@@ -21,7 +21,7 @@
21
21
  # @author Tim Heckman <tim@pagerduty.com>
22
22
  module LitaGithub
23
23
  # lita-github version
24
- VERSION = '0.0.15'
24
+ VERSION = '0.0.16'
25
25
 
26
26
  # lita-github version split amongst different revisions
27
27
  MAJOR_VERSION, MINOR_VERSION, REVISION = VERSION.split('.').map(&:to_i)
@@ -71,9 +71,7 @@ module Lita
71
71
  # rubocop:disable Metrics/LineLength
72
72
  route(
73
73
  /#{LitaGithub::R::A_REG}org\s+?user\s+?add(?<org>\s+?[a-zA-Z0-9_\-]+)?(?<team>\s?[a-zA-Z0-9_\-]+)\s+?(?<username>[a-zA-Z0-9_\-]+)/,
74
- :org_user_add,
75
- command: true,
76
- # confirmation: { allow_self: false },
74
+ :org_user_add, command: true, confirmation: { allow_self: false },
77
75
  help: {
78
76
  'gh org user add PagerDuty everyone theckman' => 'add the user theckman to the PagerDuty/everyone team -- this requires confirmation from another user. NOTE: This will add the member to the organization if they are not already!!',
79
77
  'gh org user add PagerDuty 42 theckman' => "same as above, except with the team's ID instead of the slug"
@@ -82,9 +80,7 @@ module Lita
82
80
 
83
81
  route(
84
82
  /#{LitaGithub::R::A_REG}org\s+?user\s+?rm(?<org>\s+?[a-zA-Z0-9_\-]+)?(?<team>\s?[a-zA-Z0-9_\-]+)\s+?(?<username>[a-zA-Z0-9_\-]+)/,
85
- :org_user_rm,
86
- comamnd: true,
87
- # confirmation: { allow_self: false },
83
+ :org_user_rm, comamnd: true, confirmation: { allow_self: false },
88
84
  help: {
89
85
  'gh org team rm PagerDuty everyone theckman' => 'remove the user theckman from the PagerDuty/everyone team, if this is their last team will remove them from the org. Requires confirmation from another user.',
90
86
  'gh org team rm PagerDuty 42 theckman' => "same as above, except with the team's ID instead of the slug"
@@ -94,9 +90,7 @@ module Lita
94
90
 
95
91
  route(
96
92
  /#{LitaGithub::R::A_REG}org\s+?eject(?<org>\s+?[a-zA-Z0-9_\-]+)?(?<username>\s+?[a-zA-Z0-9_\-]+)/,
97
- :org_eject_user,
98
- command: true,
99
- # confirmation: { allow_self: false },
93
+ :org_eject_user, command: true, confirmation: { allow_self: false },
100
94
  help: {
101
95
  'gh org eject PagerDuty theckman' => 'forcibly removes the user from all groups in the organization -- ' \
102
96
  'this is meant for someone leaving the organization. Requires ' \
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lita-github
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.15
4
+ version: 0.0.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tim Heckman