plan_my_stuff 1.0.3 → 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8d22beb4e744332fb2af5dc20c00480c1818d78a68d594322dfbe58585f003ff
4
- data.tar.gz: 0b8cc3be8d88f4b4ed26bfa31daa5fe4863c7239cab0c6c59ed6e873d6b7341f
3
+ metadata.gz: 9ebad7566954c25e32a08db69c0371b4328fa7fb242c59a6f3ef70f2682e2671
4
+ data.tar.gz: 0435a322e73075d11006907068556be895a14dc956d0a41efa7a4ebc0f6b5540
5
5
  SHA512:
6
- metadata.gz: 3c7b565d97c5664b92163d282cd0809ca98e176633e4f015e17d03c2178b27909c029b4f5819efd842928ba26478eba86cade55e1c5f6dcc3a97c388185d46e1
7
- data.tar.gz: d74dcf1c7a4756d3b88a339c8ff325fe114a96152f27e03f03f431008bb4affdc6d78c5ce6a5a3dbb7d9e31553b24bd06cc5593c9d85e6abc7f080143ed44c2b
6
+ metadata.gz: c72c64408c325f038304f85a368bcb9419063bf16ff48fb5c18707b4246f11d6f373ea4ab79a6528e225718b0db02bd88bb92b91b2069104126593801a8c9f1f
7
+ data.tar.gz: 56303a07b5a767acbe2e0ac0c5d50cf2de4aa534bf568b360bc34d1342ff9acc19e29164d4edd05e7e63912eb9fbe4076d3a2081252967d78f4782d27f1bf954
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
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
+
3
9
  ## 1.0.3
4
10
 
5
11
  ### 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(
@@ -3,8 +3,8 @@
3
3
  module PlanMyStuff
4
4
  module VERSION
5
5
  MAJOR = 1
6
- MINOR = 0
7
- TINY = 3
6
+ MINOR = 1
7
+ TINY = 0
8
8
 
9
9
  # Set PRE to nil unless it's a pre-release (beta, rc, etc.)
10
10
  PRE = nil
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.3
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-02 00:00:00.000000000 Z
11
+ date: 2026-06-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails