plan_my_stuff 1.1.0 → 1.1.2
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5d29d30fa4248679db945b006ffe0016f7ff57c743996430d2782ec027a5485f
|
|
4
|
+
data.tar.gz: 674d4fc641d4176c2b487bc0926871566d72ddb6504d8f292a13d7710f6adeb5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b15d23a2e08403ebe5408f77c4b44df79d913a91847efcd75e56fe0046cc446b90d1c991a6de3630f7dfe6a1832379d70d6beb8d23af62e74786dd34549f6def
|
|
7
|
+
data.tar.gz: 45ddb801f688e6944ae80afea8f42261c38c51a28b2d845450d9034b3b7be1b3328e1013ee5ed7f9fdfc74dc16347477e56c0cdd4499a1be1cc1f68f179931b6
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.1.2
|
|
4
|
+
|
|
5
|
+
### Fixed
|
|
6
|
+
|
|
7
|
+
- Incorrect default for `config.eager_load_controllers_on_boot` (should be `false` not `true`)
|
|
8
|
+
- `Configuration#repo_nickname_for` no longer produces a space for underscored `config.repos` keys (e.g. `:some_name`
|
|
9
|
+
now resolves to `"SomeName"` instead of `"Some Name"`), which previously broke URL routing
|
|
10
|
+
|
|
11
|
+
## 1.1.1
|
|
12
|
+
|
|
13
|
+
### Fixed
|
|
14
|
+
|
|
15
|
+
- `Issue#mark_responded!` now reloads `self` after stamping `metadata.responded_at` via the class-level
|
|
16
|
+
`Issue.update!`. Previously the in-memory instance kept its pre-update `updated_at`, so any `pipeline_started`
|
|
17
|
+
subscriber that called `payload[:project_item].issue.update!` tripped `raise_if_stale!` and raised
|
|
18
|
+
`PlanMyStuff::StaleObjectError` mid-take
|
|
19
|
+
|
|
3
20
|
## 1.1.0
|
|
4
21
|
|
|
5
22
|
### Added
|
|
@@ -26,8 +26,8 @@ PlanMyStuff.configure do |config|
|
|
|
26
26
|
|
|
27
27
|
# Human-readable prefix used as the `Issue#to_param` so URLs read
|
|
28
28
|
# `/issues/Element-1234` instead of `/issues/1234`. Missing keys fall back
|
|
29
|
-
# to `key.to_s.titleize`; only repos whose key doesn't titleize
|
|
30
|
-
# need an entry.
|
|
29
|
+
# to `key.to_s.titleize.delete(' ')`; only repos whose key doesn't titleize
|
|
30
|
+
# cleanly need an entry.
|
|
31
31
|
# config.repo_nicknames = { safety: 'Compliance' }
|
|
32
32
|
|
|
33
33
|
# --------------------------------------------------------------------------
|
|
@@ -222,7 +222,7 @@ PlanMyStuff.configure do |config|
|
|
|
222
222
|
# the constant. Opt in if the host app probes engine controllers via
|
|
223
223
|
# `defined?` in dev mode.
|
|
224
224
|
#
|
|
225
|
-
# config.eager_load_controllers_on_boot =
|
|
225
|
+
# config.eager_load_controllers_on_boot = false
|
|
226
226
|
|
|
227
227
|
# --------------------------------------------------------------------------
|
|
228
228
|
# Release pipeline
|
|
@@ -367,8 +367,8 @@ module PlanMyStuff
|
|
|
367
367
|
attr_accessor :repos
|
|
368
368
|
|
|
369
369
|
# Human-readable repo names used as the +to_param+ prefix on +PlanMyStuff::Issue+ instances. Symbol-keyed
|
|
370
|
-
# against +repos+ -- missing keys fall back to +key.to_s.titleize+, so only entries that diverge
|
|
371
|
-
# +titleize+ of the key (e.g. +:safety+ -> +"Compliance"+) need to be listed.
|
|
370
|
+
# against +repos+ -- missing keys fall back to +key.to_s.titleize.delete(' ')+, so only entries that diverge
|
|
371
|
+
# from a simple +titleize+ of the key (e.g. +:safety+ -> +"Compliance"+) need to be listed.
|
|
372
372
|
#
|
|
373
373
|
# @return [Hash{Symbol => String}]
|
|
374
374
|
#
|
|
@@ -520,14 +520,14 @@ module PlanMyStuff
|
|
|
520
520
|
end
|
|
521
521
|
|
|
522
522
|
# Human-readable nickname for a repo key, used as the +to_param+ prefix on +PlanMyStuff::Issue+ instances. Falls
|
|
523
|
-
# back to +key.to_s.titleize+ when no explicit entry exists in +repo_nicknames+.
|
|
523
|
+
# back to +key.to_s.titleize.delete(' ')+ when no explicit entry exists in +repo_nicknames+.
|
|
524
524
|
#
|
|
525
525
|
# @param key [Symbol, String]
|
|
526
526
|
#
|
|
527
527
|
# @return [String]
|
|
528
528
|
#
|
|
529
529
|
def repo_nickname_for(key)
|
|
530
|
-
repo_nicknames[key&.to_sym] || key.to_s.titleize
|
|
530
|
+
repo_nicknames[key&.to_sym] || key.to_s.titleize.delete(' ')
|
|
531
531
|
end
|
|
532
532
|
|
|
533
533
|
private
|
data/lib/plan_my_stuff/issue.rb
CHANGED
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.1.
|
|
4
|
+
version: 1.1.2
|
|
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-
|
|
11
|
+
date: 2026-07-14 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|