ideasbugs 1.3.0 → 1.3.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: 9102e94f1a6b6dc0e69308a962680dbe6d8cfe827406ea40bf1176d75bc7c27f
4
- data.tar.gz: 5de52c52583b442ea96453c59f7b2994b908465756e2a73a774681fbd948fe6f
3
+ metadata.gz: edf399697a638eaa2a13340445fdde4c862f924f4ab6f330c3d973aa2c5a7747
4
+ data.tar.gz: 6760c8e7f1ed291a38e77ffb7a4d836b85542da3627f130af198af79e9c38dc4
5
5
  SHA512:
6
- metadata.gz: 31abc9d426e616bf028ae4ae30ec5e8a6336204ca78d5f3daf4f7586b4cad8094aae4b13b87116b543310c47622716277cf6a1748d6fe2eb3fe59c9695dd44f8
7
- data.tar.gz: 2ea6471a64ba1aacf7fb43d4deb7a6c1462d3aef605037cb4f25db9697bbd3a5ef648ffae65dc5704c0c663c5739407dd940f913b4133b158c6df889b6b4eb11
6
+ metadata.gz: bfa830068047cb3f390a47a4d5841ffd4dee8911c9ca410c64e3553301b7fe261474db8ee079f53bad2990103274c0b4f6ba18ab94c412e02f87d42b29c9cff6
7
+ data.tar.gz: e8da203df04a8e43f0444e92203201d93ad7be19097759b04470318aec9ee688092ea8f4661da82b8167c9bd6bb85ed66eea661caa89a62be70feddff05f4aec
data/CHANGELOG.md CHANGED
@@ -2,6 +2,13 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ## [1.3.1] - 2026-11-10
6
+
7
+ - Fix the dashboard queue under Rails edge Ractor requests. 1.3.0's
8
+ `Feedback.originals` scope raised `Ractor::IsolationError` in a non-main
9
+ Ractor. Normal Rails boots were unaffected. No migration or initializer
10
+ change.
11
+
5
12
  ## [1.3.0] - 2026-11-10
6
13
 
7
14
  - **Duplicates.** Mark a feedback as a duplicate of another from the dashboard
@@ -47,7 +47,9 @@ module Ideasbugs
47
47
  before_destroy :release_duplicates
48
48
 
49
49
  # What the queue lists: everything that is not a duplicate of something else.
50
- scope :originals, -> { tracks_duplicates? ? where(duplicate_of_id: nil) : all }
50
+ # `klass.`, not a bare call: relation delegation caches the method name on
51
+ # the class, which a non-main Ractor may not write.
52
+ scope :originals, -> { klass.tracks_duplicates? ? where(duplicate_of_id: nil) : all }
51
53
 
52
54
  def self.tracks_duplicates?
53
55
  column_names.include?('duplicate_of_id')
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Ideasbugs
4
- VERSION = '1.3.0'
4
+ VERSION = '1.3.1'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ideasbugs
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yaroslav Shmarov