plan_my_stuff 1.0.3 → 1.1.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: 8d22beb4e744332fb2af5dc20c00480c1818d78a68d594322dfbe58585f003ff
4
- data.tar.gz: 0b8cc3be8d88f4b4ed26bfa31daa5fe4863c7239cab0c6c59ed6e873d6b7341f
3
+ metadata.gz: c0f31d5e29ef0651a4df50d4072a36aad245cd679a5180d1216fc44e271b6a4e
4
+ data.tar.gz: 6296f1f8a9aad8f09da7bb2f2b5c579b716f6a82c3f8f93f2369487c759e254b
5
5
  SHA512:
6
- metadata.gz: 3c7b565d97c5664b92163d282cd0809ca98e176633e4f015e17d03c2178b27909c029b4f5819efd842928ba26478eba86cade55e1c5f6dcc3a97c388185d46e1
7
- data.tar.gz: d74dcf1c7a4756d3b88a339c8ff325fe114a96152f27e03f03f431008bb4affdc6d78c5ce6a5a3dbb7d9e31553b24bd06cc5593c9d85e6abc7f080143ed44c2b
6
+ metadata.gz: 4a297c9e689b711e111d90f810f0e21aa484f089c309ea13e7ae8223798416aacd3ba11d81c18f4a3cd9d57574d00c782d4e24aaf295d686f0a76a23b3ed852f
7
+ data.tar.gz: ca412ab09db968c32247c1d41072f66663b316bd2285e5455c149c6f88c9158a31de8a46533b41a42f94258ac0212f5e854667d1cc4c9c00de7311d490a426c5
data/CHANGELOG.md CHANGED
@@ -1,5 +1,20 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.1.1
4
+
5
+ ### Fixed
6
+
7
+ - `Issue#mark_responded!` now reloads `self` after stamping `metadata.responded_at` via the class-level
8
+ `Issue.update!`. Previously the in-memory instance kept its pre-update `updated_at`, so any `pipeline_started`
9
+ subscriber that called `payload[:project_item].issue.update!` tripped `raise_if_stale!` and raised
10
+ `PlanMyStuff::StaleObjectError` mid-take
11
+
12
+ ## 1.1.0
13
+
14
+ ### Added
15
+
16
+ - When `PlanMyStuff::Reminders::Closer` closes an issue, it will also update the `Issue Status` issue field with `User Inactive`
17
+
3
18
  ## 1.0.3
4
19
 
5
20
  ### Fixed
@@ -961,6 +961,7 @@ module PlanMyStuff
961
961
  repo: repo,
962
962
  metadata: { responded_at: PlanMyStuff.format_time(Time.now.utc) },
963
963
  )
964
+ reload
964
965
  end
965
966
 
966
967
  # Re-fetches this issue from GitHub and updates all local attributes.
@@ -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 = 1
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.1
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-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails