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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: df076162b48fc75f6e04a46db9118579b1107e53
4
- data.tar.gz: 64d31948b83cae4e3c3c847224a24c9520a51b27
3
+ metadata.gz: fc7a5efbb9c263035f34f492e8fe583c0cf52934
4
+ data.tar.gz: 20b47f8f7bfeb94639ac4a3a038375e4f57240f6
5
5
  SHA512:
6
- metadata.gz: 4264cc06b7cce23856abda0680db53a5cfe7a2fcb39e175e0e58884a869ed0e0253f16aff6be6cdf3330c45671c25af03649f2a6fcb2bc189a328347b7b7701f
7
- data.tar.gz: 343a25d95f60caa65993f3397d08f06a7e43a67b0994367b9355f9b62a0b7025e46a57c3c33921f3aefafa5a587ff91939bb3eafb0f9d743454e0b950299a101
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
- if rendered.respond_to? :to_str
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
 
@@ -1,5 +1,5 @@
1
1
  module Immunio
2
2
  AGENT_TYPE = "agent-ruby"
3
- VERSION = "1.0.15"
3
+ VERSION = "1.0.17"
4
4
  VM_VERSION = "2.2.0"
5
5
  end
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.15
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-04-26 00:00:00.000000000 Z
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: