solid_queue_guard 1.2.0 → 1.2.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: 4ab3926371f9714622f421164d1436dcc74b17eb0d311627fff319c74a9369be
4
- data.tar.gz: 13bd4acab34e3a6757bd5a4c445e471ab3021fc88d0748ca95a89a92cc597804
3
+ metadata.gz: 57855215f3760d60bd73f5aed77bde63cdb9ee4bb16c76b730be2f3c583d0301
4
+ data.tar.gz: 178d22eddb1cb8cc233bd4e4744bea3d05387d2d5b91509353ade4f7e54bc233
5
5
  SHA512:
6
- metadata.gz: 02d75b6056ddd2f698441b892c16d29f4155a0d213d598c5b0f813d0094529b32a761461071ca302cf170c2d1acfbd0e39339e2818b260261c006ba11ad73581
7
- data.tar.gz: 9e57de7cf88e4ab6ef5d5ded2b98cd15c09374f0a46ecc311fadbe02d2952f4097fef99025848454b0734af35ed734b61f7f54093df255ad27c9c8ff5cf15f1a
6
+ metadata.gz: 0a460f61294e9d102bb0a278bbb50fef9d1e5c745fb4b471d400fe0e49f3cf0e02ccc0ce4dcfc986fa2da92f53492caa09f9d14645822a51b94745142851f9e4
7
+ data.tar.gz: 9f7c518fff8276530676cec7ba9111a1b20959e3cb9990dbf8746f01b571801f58485cdfcec2ef5ae07f0a331ffb0e8975bfc0fb180eeef0816a0732c67a54c0
data/CHANGELOG.md CHANGED
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [1.2.1] - 2026-07-10
9
+
10
+ ### Fixed
11
+
12
+ - Replace `Data.define` in `Check::Result` with a plain class so Ruby 3.1 CI matrix passes (`Data` requires Ruby 3.2+)
13
+
8
14
  ## [1.2.0] - 2026-07-10
9
15
 
10
16
  ### Added
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- solid_queue_guard (1.2.0)
4
+ solid_queue_guard (1.2.1)
5
5
  actionpack (>= 7.1, < 9.0)
6
6
  activejob (>= 7.1, < 9.0)
7
7
  activerecord (>= 7.1, < 9.0)
@@ -2,9 +2,15 @@
2
2
 
3
3
  module SolidQueueGuard
4
4
  module Check
5
- Result = Data.define(:id, :status, :message, :suggestion, :metadata) do
5
+ class Result
6
+ attr_reader :id, :status, :message, :suggestion, :metadata
7
+
6
8
  def initialize(id:, status:, message:, suggestion: nil, metadata: {})
7
- super
9
+ @id = id
10
+ @status = status
11
+ @message = message
12
+ @suggestion = suggestion
13
+ @metadata = metadata
8
14
  end
9
15
 
10
16
  def pass?
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SolidQueueGuard
4
- VERSION = '1.2.0'
4
+ VERSION = '1.2.1'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: solid_queue_guard
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rafael Pissardo