rollbar 2.13.2 → 2.13.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8800f7b1709a4ea49c5bb9e3e34f700969f565ec
4
- data.tar.gz: 5d30db66f500e836d98758c3583647c0be60c5d8
3
+ metadata.gz: 5dba5f69b86794e277f902a2d82a96dc034005ea
4
+ data.tar.gz: 83381bbcdb0587d0050b419d91b2d08353b77c3c
5
5
  SHA512:
6
- metadata.gz: f63851372ea962c2d438321bbeb19b9caab293ef9c0146a6a672eef6ba9a12c74d67a08679743edc5703a4edffb0bd97b0439e29bc0e9ca7a684f4ed1a08a25d
7
- data.tar.gz: 0a8ec4b9c0b849ab53b040668d74cd7f527b5e4594076031e0ccbdbdca0c257307a8bab62d39bbeadadf0f8385d3a07c77cf3250e73d3734b44f4b377a6e096f
6
+ metadata.gz: b739b19b4f1d717f2910791497b671a83810a0462d5d902300709ca9074c382c7fd406414c3cd49b731dcced02a8b250bf7f422167222f05a64fbf3d6edd5ed6
7
+ data.tar.gz: 3cf9bd70e889e85d77825d4ac457a282e60603aabbf4328b680df14ddcdc95566bef64155ebe112364879ea6f1373d16e6dffe70a6819c902557195cab20315c
data/CHANGELOG.md CHANGED
@@ -1,6 +1,10 @@
1
1
  # Change Log
2
2
 
3
- ## 2.13.1
3
+ ## 2.13.3
4
+
5
+ - Fix undefined variable name in rollbar.js middleware. See [#537](https://github.com/rollbar/rollbar-gem/pull/537).
6
+
7
+ ## 2.13.2
4
8
 
5
9
  Fixes:
6
10
 
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # Rollbar [![Build Status](https://api.travis-ci.org/rollbar/rollbar-gem.svg?branch=v2.13.2)](https://travis-ci.org/rollbar/rollbar-gem/branches)
1
+ # Rollbar [![Build Status](https://api.travis-ci.org/rollbar/rollbar-gem.svg?branch=v2.13.3)](https://travis-ci.org/rollbar/rollbar-gem/branches)
2
2
 
3
3
  <!-- RemoveNext -->
4
4
  [Rollbar](https://rollbar.com) is an error tracking service for Ruby and other languages. The Rollbar service will alert you of problems with your code and help you understand them in a ways never possible before. We love it and we hope you will too.
@@ -17,16 +17,17 @@ module Rollbar
17
17
  end
18
18
 
19
19
  def call(env)
20
- result = app.call(env)
20
+ app_result = app.call(env)
21
21
 
22
22
  begin
23
- return result unless add_js?(env, result[0], result[1])
23
+ return app_result unless add_js?(env, app_result[0], app_result[1])
24
24
 
25
- response_string = add_js(env, result[2])
26
- build_response(env, result, response_string)
25
+ response_string = add_js(env, app_result[2])
26
+ build_response(env, app_result, response_string)
27
27
  rescue => e
28
28
  Rollbar.log_error("[Rollbar] Rollbar.js could not be added because #{e} exception")
29
- result
29
+
30
+ app_result
30
31
  end
31
32
  end
32
33
 
@@ -69,7 +70,7 @@ module Rollbar
69
70
  end
70
71
 
71
72
  def build_response(env, app_result, response_string)
72
- return result unless response_string
73
+ return app_result unless response_string
73
74
 
74
75
  env[JS_IS_INJECTED_KEY] = true
75
76
  response = ::Rack::Response.new(response_string, app_result[0],
@@ -1,3 +1,3 @@
1
1
  module Rollbar
2
- VERSION = '2.13.2'
2
+ VERSION = '2.13.3'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rollbar
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.13.2
4
+ version: 2.13.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rollbar, Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-09-27 00:00:00.000000000 Z
11
+ date: 2016-10-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: multi_json