browser 2.6.0 → 2.6.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6256505798952cc5d227f5740875e7d517518f0446a04da637b82be4e3e475fb
4
- data.tar.gz: f145f9ce9a4058c0b2830b2e298bd4ff252c293893aa79b8d3758d345b8489f7
3
+ metadata.gz: efec89842173ca944eb69503ca1bc3c90740b94d659b15b84ec7bf807d55bbb6
4
+ data.tar.gz: b8f3f6cf6ba1f2d75fd4ab9a0a018211af1416099372e90334b649c474e19360
5
5
  SHA512:
6
- metadata.gz: 490cf0cdb255bc7c5a1db87454823b22fe5d3bd8874bf6c4d49061f44b481c2ee8dcea1c4135b6f21030ce255ca93ae347240c61decbedd69b5506a8c8a3911a
7
- data.tar.gz: 2c34b6d70503c65e616cfa0b2f7912e345aa9563618c3f6384bdecc32e0395f00fb0f2931fb1829d783dde369c9fed24c3469cd6f6307589e6cc9b5dbc740bcf
6
+ metadata.gz: ca0d06b06a1a737e3fd1da1476a9250ec40d7a870f7b239c429550daf8f035fac11bdd1b084f2300e148f08e8e2ad698e7459224cd07f81aa6008bc5eb6d3664
7
+ data.tar.gz: b693d37d72f89a54a9e516a4197dbfece42d6775dfdaf0dc71628c177e12bb7877df24f068f52a6454f5c4bd589603ac39f455c05d5250e43ae670aae82fb116
data/CHANGELOG.md CHANGED
@@ -1,6 +1,10 @@
1
1
  # Changelog
2
2
 
3
- ## UNRELEASED
3
+ ## 2.6.1
4
+
5
+ - Also include controller extensions to `ActionController::Base`.
6
+
7
+ ## 2.6.0
4
8
 
5
9
  - Add GarlikCrawler, ImplisenseBot and WikiDo bots.
6
10
  - Add Mastodon URL expander bot.
data/lib/browser/rails.rb CHANGED
@@ -10,7 +10,12 @@ module Browser
10
10
 
11
11
  initializer "browser" do
12
12
  ActiveSupport.on_load(:action_controller) do
13
- ::ActionController::Metal.send :include, Browser::ActionController
13
+ ::ActionController::Base.send :include, Browser::ActionController
14
+
15
+ if defined?(::ActionController::Metal)
16
+ ::ActionController::Metal.send :include, Browser::ActionController
17
+ end
18
+
14
19
  Browser::Middleware::Context.send(
15
20
  :include,
16
21
  Browser::Middleware::Context::Additions
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Browser
4
- VERSION = "2.6.0"
4
+ VERSION = "2.6.1"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: browser
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.6.0
4
+ version: 2.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nando Vieira
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-07-15 00:00:00.000000000 Z
11
+ date: 2019-07-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler