debug-extras 0.4.2 → 0.4.3
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/injector.rb +1 -1
- data/lib/debug_extras/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 05c72556ed594c347eab4c2e72ef3f98abb8956e7c7043f82d67806991f93c91
|
4
|
+
data.tar.gz: 1cfd16776869ad8582555da23a6565ea89f41f19c63e32b893f001fab5c9ded6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: addc97786e64e89a6a14cfa3fae5ab890d16b27f9b4850abd65ed46e01c50e4c776c19a8beb99a2ea769e0ac7a836eb616348d356d6e45615692912c8760fd02
|
7
|
+
data.tar.gz: b7696ba9119d84dd4d24fb6593b6fc401cc5d7fedfddf690d43146d616bee209ef655d6f6c8acfe3859a5abc454d2f6e916b21cc81f6caeb21819d90bae7bb78
|
data/lib/debug-extras.rb
CHANGED
@@ -16,7 +16,7 @@ module DebugExtras
|
|
16
16
|
private
|
17
17
|
|
18
18
|
def response_is_html?
|
19
|
-
return false unless @response.headers['Content-Type'].include?
|
19
|
+
return false unless @response.headers['Content-Type'].try('include?', 'html')
|
20
20
|
tags = %w[<html <head </head> <body </body> </html>]
|
21
21
|
tags.each do |tag|
|
22
22
|
return false unless @response.body.include? tag
|
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.3
|
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-03-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: awesome_print
|
@@ -155,7 +155,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
155
155
|
version: '0'
|
156
156
|
requirements: []
|
157
157
|
rubyforge_project:
|
158
|
-
rubygems_version: 2.7.
|
158
|
+
rubygems_version: 2.7.5
|
159
159
|
signing_key:
|
160
160
|
specification_version: 4
|
161
161
|
summary: Extras for Ruby on Rails applications debugging.
|