unpoly-rails 3.8.0.rc1 → 3.8.0.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.
@@ -42,8 +42,10 @@ module Unpoly
42
42
  end
43
43
  end
44
44
 
45
- ::ActionController::Base.prepend(self)
46
-
47
45
  end
48
46
  end
49
47
  end
48
+
49
+ ActiveSupport.on_load(:action_controller_base) do
50
+ prepend Unpoly::Rails::Controller
51
+ end
@@ -28,8 +28,10 @@ module Unpoly
28
28
  response.headers['X-Up-Method'] = request.method
29
29
  end
30
30
 
31
- ::ActionController::Base.send(:include, self)
32
-
33
31
  end
34
32
  end
35
33
  end
34
+
35
+ ActiveSupport.on_load(:action_controller_base) do
36
+ include Unpoly::Rails::RequestEchoHeaders
37
+ end
@@ -33,8 +33,10 @@ module Unpoly
33
33
  end
34
34
  end
35
35
 
36
- ActionController::Base.send(:include, self)
37
-
38
36
  end
39
37
  end
40
38
  end
39
+
40
+ ActiveSupport.on_load(:action_controller_base) do
41
+ include Unpoly::Rails::RequestMethod
42
+ end
@@ -3,6 +3,6 @@ module Unpoly
3
3
  ##
4
4
  # The current version of the unpoly-rails gem.
5
5
  # The first 3 digits should match the version of the Unpoly frontend code.
6
- VERSION = '3.8.0.rc1'
6
+ VERSION = '3.8.0.1'
7
7
  end
8
8
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: unpoly-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.8.0.rc1
4
+ version: 3.8.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Henning Koch
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-06-06 00:00:00.000000000 Z
11
+ date: 2024-07-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties
@@ -153,9 +153,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
153
153
  version: 2.3.0
154
154
  required_rubygems_version: !ruby/object:Gem::Requirement
155
155
  requirements:
156
- - - ">"
156
+ - - ">="
157
157
  - !ruby/object:Gem::Version
158
- version: 1.3.1
158
+ version: '0'
159
159
  requirements: []
160
160
  rubygems_version: 3.0.3
161
161
  signing_key: