debug-extras 0.4.1 → 0.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/debug-extras.rb +1 -0
- data/lib/debug_extras/ext/action_controller.rb +9 -2
- data/lib/debug_extras/ext/action_view.rb +0 -2
- data/lib/debug_extras/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a57f4d72a18282f0fd9b294419ed0b038cf74958c0ed837cc7d024c7ecadc7b5
|
4
|
+
data.tar.gz: 8f669668bc0a2a6fe27841305ccc374a94b32ae964c759b69e3cb92b5cfd8200
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b6db906ef3f95697a96d1f7e7f51f921153436ad95a00d223e60b3f24d43f7cca50e9d88119bd7d26aa6d15c8215f72584f6323484b92c365b9a5e5b7ea675df
|
7
|
+
data.tar.gz: 3c788655584e1f70967a597c6176ea7db1c44d2216ad2b51dafdf52b29e9d73911dac208476847a140a680f2545b4cb218d8fe20bf77bc50a225b8c02667c961
|
data/lib/debug-extras.rb
CHANGED
@@ -1,7 +1,14 @@
|
|
1
1
|
module DebugExtras
|
2
2
|
module ActionController
|
3
|
-
|
4
|
-
|
3
|
+
extend ActiveSupport::Concern
|
4
|
+
|
5
|
+
included do
|
6
|
+
after_action :debug_extras_inject
|
7
|
+
end
|
8
|
+
|
9
|
+
private
|
10
|
+
|
11
|
+
def debug_extras_inject
|
5
12
|
injector = Injector.new(response)
|
6
13
|
response.body = injector.process_response
|
7
14
|
end
|
data/lib/debug_extras/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: debug-extras
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Vladimir Avgustov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-01-
|
11
|
+
date: 2018-01-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: awesome_print
|