immunio 0.15.2 → 0.15.3

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: 1c331edca1ddff7a5fcb72c6b6c28242157ff552
4
- data.tar.gz: 23ceaa2748c24eae7a80d952278887361aab6d9f
3
+ metadata.gz: d880d5388c94ed09e79a43988fed3d48e466d827
4
+ data.tar.gz: fe7b3fd9a7dcd19547e3f50f97935d98da72cb5a
5
5
  SHA512:
6
- metadata.gz: 2de2e6af290768ab138e0ad91a5ffa1dca0e3b80011c0eb45c4ff5b34241d2ef15911cb7e91a24579dee7c02babb8b688ff491516d81ccbffeec2be888d56336
7
- data.tar.gz: c45c6cb2bcd16d4d317a444100d90713229c1599e7920c9d7cd203e0697dda0eca3d366cfed0d18f4cb0742ccba4a96ce86b01d51b1eeb485c9256dfc3811f8b
6
+ metadata.gz: 54d760cdd8b7a6aba0688d5150c88c2b2a282f04a1f2e8e811fa6ae00dded74f0620613fe4cf5777ec885662e3d2c902a44c2531286d837c96771c5e46d7f626
7
+ data.tar.gz: 5f213d23612d15c9a577bab502f1f283365f459a61ec809df24777426a4b3db907a1404bde340fc9884e8ed59b5742a5d707ce39291d733100129b5d20bb82b7
@@ -113,13 +113,13 @@ module Immunio
113
113
  # Determine the route name in controller#action format:
114
114
  route_name = nil
115
115
 
116
- if defined?(Rails.application)
116
+ if defined?(Rails.application) && Rails.application.present?
117
117
  begin
118
118
  path = request.env['PATH_INFO']
119
119
  method = request.env['REQUEST_METHOD'].downcase.to_sym
120
120
  url = Rails.application.routes.recognize_path(path, method: method)
121
121
  route_name = "#{url[:controller]}##{url[:action]}"
122
- rescue ActionController::RoutingError
122
+ rescue StandardError
123
123
  route_name = nil
124
124
  end
125
125
  end
@@ -1,5 +1,5 @@
1
1
  module Immunio
2
2
  AGENT_TYPE = "agent-ruby"
3
- VERSION = "0.15.2"
3
+ VERSION = "0.15.3"
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: 0.15.2
4
+ version: 0.15.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Immunio
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-08-27 00:00:00.000000000 Z
11
+ date: 2015-08-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -300,7 +300,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
300
300
  version: '0'
301
301
  requirements: []
302
302
  rubyforge_project:
303
- rubygems_version: 2.4.5
303
+ rubygems_version: 2.4.5.1
304
304
  signing_key:
305
305
  specification_version: 4
306
306
  summary: Immunio Ruby agent