plan_my_stuff 1.0.2 → 1.1.0
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 +4 -4
- data/CHANGELOG.md +14 -0
- data/lib/plan_my_stuff/reminders/closer.rb +5 -0
- data/lib/plan_my_stuff/version.rb +2 -2
- data/lib/tasks/plan_my_stuff.rake +2 -2
- 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: 9ebad7566954c25e32a08db69c0371b4328fa7fb242c59a6f3ef70f2682e2671
|
|
4
|
+
data.tar.gz: 0435a322e73075d11006907068556be895a14dc956d0a41efa7a4ebc0f6b5540
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c72c64408c325f038304f85a368bcb9419063bf16ff48fb5c18707b4246f11d6f373ea4ab79a6528e225718b0db02bd88bb92b91b2069104126593801a8c9f1f
|
|
7
|
+
data.tar.gz: 56303a07b5a767acbe2e0ac0c5d50cf2de4aa534bf568b360bc34d1342ff9acc19e29164d4edd05e7e63912eb9fbe4076d3a2081252967d78f4782d27f1bf954
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.1.0
|
|
4
|
+
|
|
5
|
+
### Added
|
|
6
|
+
|
|
7
|
+
- When `PlanMyStuff::Reminders::Closer` closes an issue, it will also update the `Issue Status` issue field with `User Inactive`
|
|
8
|
+
|
|
9
|
+
## 1.0.3
|
|
10
|
+
|
|
11
|
+
### Fixed
|
|
12
|
+
|
|
13
|
+
- `plan_my_stuff:webhooks:create_org` and `plan_my_stuff:webhooks:create_repo` now use `import_client` (the
|
|
14
|
+
`import_access_token`) instead of the regular `access_token`, since creating org and repo webhooks requires an admin
|
|
15
|
+
token
|
|
16
|
+
|
|
3
17
|
## 1.0.2
|
|
4
18
|
|
|
5
19
|
### Fixed
|
|
@@ -42,10 +42,15 @@ module PlanMyStuff
|
|
|
42
42
|
# @return [void]
|
|
43
43
|
#
|
|
44
44
|
def call
|
|
45
|
+
to_update = {}
|
|
46
|
+
if PlanMyStuff.configuration.issue_fields_enabled
|
|
47
|
+
to_update[:issue_fields] = { 'Issue Status' => 'User Inactive' }
|
|
48
|
+
end
|
|
45
49
|
@issue.update!(
|
|
46
50
|
state: :closed,
|
|
47
51
|
metadata: { closed_by_inactivity: true },
|
|
48
52
|
skip_notification: true,
|
|
53
|
+
**to_update,
|
|
49
54
|
)
|
|
50
55
|
add_user_inactive_label
|
|
51
56
|
PlanMyStuff::Notifications.instrument(
|
|
@@ -29,7 +29,7 @@ namespace :plan_my_stuff do
|
|
|
29
29
|
raise(PlanMyStuff::ConfigurationError, 'PlanMyStuff.configuration.webhook_secret is blank')
|
|
30
30
|
end
|
|
31
31
|
|
|
32
|
-
hook = PlanMyStuff.
|
|
32
|
+
hook = PlanMyStuff.import_client.rest(
|
|
33
33
|
:create_org_hook,
|
|
34
34
|
config.organization,
|
|
35
35
|
{ url: url, content_type: 'json', secret: config.webhook_secret, insecure_ssl: '0' },
|
|
@@ -56,7 +56,7 @@ namespace :plan_my_stuff do
|
|
|
56
56
|
raise(PlanMyStuff::ConfigurationError, 'PlanMyStuff.configuration.webhook_secret is blank')
|
|
57
57
|
end
|
|
58
58
|
|
|
59
|
-
hook = PlanMyStuff.
|
|
59
|
+
hook = PlanMyStuff.import_client.rest(
|
|
60
60
|
:create_hook,
|
|
61
61
|
repo,
|
|
62
62
|
'web',
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: plan_my_stuff
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0
|
|
4
|
+
version: 1.1.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Brands Insurance
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-06-
|
|
11
|
+
date: 2026-06-04 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|