rails_ops 1.1.1 → 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: 9ef0321750ce2c2582b3bd5b5feacc8eaa5a3c42322ad718d96dce15defd8e1b
4
- data.tar.gz: 10cc733e625f965207a8ff97bf041aaf45458c7c7f3f2f4acbbe836d93547333
3
+ metadata.gz: b1517fb091ea84357eb6f6dee52f4a3c6f3fa73a5c5f915d1221fe98381db6c2
4
+ data.tar.gz: 532769246744fb3b60c9c2f19bc14e7c89e585464d7451182a2a8ca0fb2461d9
5
5
  SHA512:
6
- metadata.gz: 89ebc6fa82c95708be8999311225506cc45daef4d8743594524323b33a1ab62f6d36f843aefced2affef63cc8c37608b0bfcdee8bab0622329d364163387df8e
7
- data.tar.gz: 5897f17faa43e1b075e9d8156c24fc37b586c92e36e6a4a39b4972faff932af7a6eebb7b1148f1dd6a142c378430916f91494c581fefae05b3978b52cf69284a
6
+ metadata.gz: 4cd97ec4839120f63b61756c42530607591d7838a7c586844653bdbdddf4419d57c9785ffa808ca18d471db16a4987eca0d2c2b92cc8532c9ccfdd0711393960
7
+ data.tar.gz: a0d914301700cd2a15eafd41016c1cf7bedc50d23a79456d79dd86d0a6762709b38ded3a682d3f8ae79f1949d75060216ddc8c2e1bb06c56ea7ffde3d0d8a902
data/CHANGELOG.md CHANGED
@@ -1,4 +1,11 @@
1
- # Change log
1
+ # Changelog
2
+
3
+ ## 1.1.2 (2020-03-02)
4
+
5
+ * Include the ControllerMixin after `ActionController::Base` has been loaded, as
6
+ directly calling `ActionController::Base.send :include, RailsOps::ControllerMixin`
7
+ in the railtie causes the `ActionController::Base` to be loaded during Initialization,
8
+ which is undesirable and will be an error in future Rails versions.
2
9
 
3
10
  ## 1.1.1 (2020-03-02)
4
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.1
1
+ 1.1.2
@@ -18,7 +18,9 @@ module RailsOps
18
18
  # ---------------------------------------------------------------
19
19
  # Include controller mixin
20
20
  # ---------------------------------------------------------------
21
- ActionController::Base.send :include, RailsOps::ControllerMixin
21
+ ActiveSupport.on_load :action_controller_base do
22
+ include RailsOps::ControllerMixin
23
+ end
22
24
  end
23
25
  end
24
26
  end
data/rails_ops.gemspec CHANGED
@@ -1,9 +1,9 @@
1
1
  # -*- encoding: utf-8 -*-
2
- # stub: rails_ops 1.1.1 ruby lib
2
+ # stub: rails_ops 1.1.2 ruby lib
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "rails_ops".freeze
6
- s.version = "1.1.1"
6
+ s.version = "1.1.2"
7
7
 
8
8
  s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
9
9
  s.require_paths = ["lib".freeze]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_ops
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sitrox