immunio 1.0.15 → 1.0.17
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/immunio/plugins/action_view.rb +3 -1
- data/lib/immunio/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fc7a5efbb9c263035f34f492e8fe583c0cf52934
|
4
|
+
data.tar.gz: 20b47f8f7bfeb94639ac4a3a038375e4f57240f6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7a30dc9806867c4bddec346cd8d9273ff13ea6303a100516b373a4ca0e40cc0e6717853404d3c9dd3977ac1d9ea034d9da09689936f1e3ea9abf75573ba5b141
|
7
|
+
data.tar.gz: 4fefd4745286845e1c406c55228a9384c78dbe31d9f39a94d893ef922bb6d80d16fcd53a7f43d8b6732bd4f3eb9dcbc6cc5b623bed9c463f5418ede77c450030
|
@@ -259,7 +259,9 @@ module Immunio
|
|
259
259
|
ENCODED_IMMUNIO_TOKENS_RE = Regexp.compile(/(?:{|%7b)immunio-(var|fragment)(?::|%3a)(\d+)(?::|%3a)([0-9a-f]{1,4})(?:}|%7d)(.*?)(?:{|%7b)(?:\/|%2f)immunio-\1(?::|%3a)\2(?::|%3a)\3(?:}|%7d)/i)
|
260
260
|
def self.decode_immunio_tokens(rendered)
|
261
261
|
# Look for URI or JS encoded immunio tokens in the rendering and decode them
|
262
|
-
|
262
|
+
# WebConsole incompatibility: `rendered` can be of type `Mime::Type` Which
|
263
|
+
# doesn't respond to `gsub!`.
|
264
|
+
if rendered.respond_to?(:gsub!)
|
263
265
|
was_html_safe = rendered.html_safe?
|
264
266
|
was_frozen = rendered.frozen?
|
265
267
|
|
data/lib/immunio/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: immunio
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.17
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Immunio
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-05-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -450,3 +450,4 @@ signing_key:
|
|
450
450
|
specification_version: 4
|
451
451
|
summary: Immunio Ruby agent
|
452
452
|
test_files: []
|
453
|
+
has_rdoc:
|