recourse 4.1.0 → 4.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: 4258e3870b7a65f742563e24f02f45e2c2716bcc22666fbbb63867f70b656e71
4
- data.tar.gz: 5d2ae92ccde9995457f78060fd9f22d74fd3971bae0c5de68ec7aa022e290603
3
+ metadata.gz: af93482d287e4e17a767eda579b65e6e1be6a1b137ba0b60f4bcb81d079afbc7
4
+ data.tar.gz: e345935ababe4e104054f2072cdb2a0f270cd0fa651946a40b96178fef318a38
5
5
  SHA512:
6
- metadata.gz: 343ca9a2eba9663618236339649c017f00934d3d01cf8741e6b152a8cc6c6bf17036eff91ea63f46acf5cf804e65ae7f59b68ffdf541ae1bd06e9c5dd1332793
7
- data.tar.gz: 5f5946a02e7d397bec49ac1089912933f730758215ea4e18559f003a5a13522e5de587db0abb9c75d00a9fab5ba7978a73858a634bfda05956d0267c70617df0
6
+ metadata.gz: e9270aa3d092c1c760ca0a9b2a7fcdb754afb8fcbdeb48def3a8afb6ad7218ec96d48e10ed20bd13c1893c49e025bacc0016c5fe895fe5cabd56cb3f8cd7cbef
7
+ data.tar.gz: 9218b731e6d782dc16b1fa26480367dbe5867cc8945fd7102d3d03b5dd64d399c3496e0edb4b24e13a67f6176650c11b005c633cbe7511405f1ca49454b13f73
data/CHANGELOG.md CHANGED
@@ -5,6 +5,20 @@ All notable changes to this project will be documented in this file.
5
5
  For more information about changelogs, check [Keep a Changelog](http://keepachangelog.com) and
6
6
  [Vandamme](http://tech-angels.github.io/vandamme).
7
7
 
8
+ ## 4.1.2 - 2026-09-08
9
+
10
+ * [Fix] The engine requires turbo-rails after Rails, not before
11
+
12
+ 4.1.1 required it as the gem loaded, which broke an app loading the gem ahead of
13
+ Rails: Turbo's engine wants Action Dispatch as it is defined.
14
+
15
+ ## 4.1.1 - 2026-09-08
16
+
17
+ * [Fix] The engine requires turbo-rails itself
18
+
19
+ Bundler requires the gems a host's Gemfile names and not their dependencies, so a
20
+ host listing only `recourse` booted into `uninitialized constant Turbo`.
21
+
8
22
  ## 4.1.0 - 2026-09-08
9
23
 
10
24
  * [Feature] Rows with nothing in the sorted column come last
@@ -1,5 +1,9 @@
1
1
  # rails/engine alone raises NoMethodError: railtie.rb calls delegate_missing_to too early.
2
2
  require 'rails'
3
+ # Turbo's engine isolates its namespace as it loads, which wants Action Dispatch first;
4
+ # required here since Bundler loads what a host's Gemfile names, not its dependencies.
5
+ require 'action_dispatch'
6
+ require 'turbo-rails'
3
7
 
4
8
  require_relative 'routes'
5
9
 
@@ -1,4 +1,4 @@
1
1
  module Recourse
2
2
  # Version of the gem, read by the gemspec and by hosts checking compatibility.
3
- VERSION = '4.1.0'
3
+ VERSION = '4.1.2'
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: recourse
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.1.0
4
+ version: 4.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - claudiob