rails_request 0.1.3 → 0.1.4

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: '073875342c4a28085e147ca0eda44135ba2b7a61e2847314a72c0c646301dda0'
4
- data.tar.gz: 6c553c4bda051b30a9d93528d786697adfffb2d055b5104ca7f2ee56370c7055
3
+ metadata.gz: 8239121cbb8581c9b642d4388c66a490245f9c65c42fdd8c27466bcace15b882
4
+ data.tar.gz: 11baf7c130b07a9c82618b73d424058facea59966c1f0ddd08d35f7aa2b5a678
5
5
  SHA512:
6
- metadata.gz: d35eb4b6fec5a515ec4aaae1d5c5408d7c0303dc65ade1e98deb5533e21ddce0084a45486d9d5394a1d8413a2b48f0e40119cadaa3533f5181be91f10609f775
7
- data.tar.gz: d16e881c2fcd2706d289f272c9bc841c86217e6cfde46afe4171b96618bc493a766d47056259cbfd419925969350aa4fc763ff4762453599f51ccf233d8c07d0
6
+ metadata.gz: 818c7c2d98e8f2de9e3577ac351fb5c51cff9dcba148c8240a0352fb928c5448732e30f6cdab971be205345f9abcf26be605e59fc211fb30ad672a66e795d87e
7
+ data.tar.gz: b9efe6c4188fd3a8bc0ff6b66cf89633dd2a4409a3408893e73dc4dfb56c656026cc2e72e3de242d37e65e747e88af9f5b478b186e798079afd9fce55b39e8b0
data/README.md CHANGED
@@ -7,7 +7,7 @@ _Rails_ toolkit for debugging and inspecting requests.
7
7
  Add the gem to your `Gemfile`
8
8
 
9
9
  ```ruby
10
- gem 'rails_request', '~> 0.1.3'
10
+ gem 'rails_request', '~> 0.1.4'
11
11
  ```
12
12
 
13
13
  And rebuild your bundle:
@@ -5,7 +5,8 @@ module RailsRequest
5
5
  extend ActiveSupport::Concern
6
6
 
7
7
  included do
8
- before_action :__rails_request_capture_host_and_port
8
+ before_action :__rails_request_capture_host_and_port if repsond_to?(:before_action)
9
+ before_filter :__rails_request_capture_host_and_port if repsond_to?(:before_filter)
9
10
  end
10
11
 
11
12
  def __rails_request_capture_host_and_port
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RailsRequest
4
- VERSION = '0.1.3'
4
+ VERSION = '0.1.4'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_request
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bob Farrell
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-07-22 00:00:00.000000000 Z
11
+ date: 2020-08-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler