rollbar 2.11.0 → 2.11.1

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: 548fb68e7c723f07871b11f17bd587b828d52d28
4
- data.tar.gz: 8709dde8c12f7d291bc9511dc0749a9cba5376bd
3
+ metadata.gz: e147a4e8a6272217cb9fb521347694760ac7a6aa
4
+ data.tar.gz: 064a3206b30a01b9d17563c6834eeee65ed372e0
5
5
  SHA512:
6
- metadata.gz: ce5a7b20e794752c03d21b479867b0a445eeb905dc23980bad4840beffd010de2c3f884e60eec0a5e4fef019288a6cc498a574aaf5a5161c9c54c8824982ab5d
7
- data.tar.gz: c71dab677825a633bed1dd7aefba302fb1f87ed0e78fa309ca5a0af31e574982c9cc4310967935b8acfe25bf7c361184ffb0afe10ba5f2998de9d337a43f5221
6
+ metadata.gz: 27776554bb7d394c478d7ecde72d35a3c92767359c9565bd8009727b8e93765db881a1abcbb3e27f21d0724e8761491bebd24b6981cadcb22e6a0cd12051212c
7
+ data.tar.gz: 39ff599aa3f4c6017dbf36a61b0481eea4f4a8cd8cadcf6bf3e78595ca2d6f3327bf3d5e6c74222e2b1c5d29f34e8a8a08535abef01139536b5d8e6c1c618bd4
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Change Log
2
2
 
3
+ ## 2.11.1
4
+
5
+ Bug fixes:
6
+
7
+ - Don't return inside a Proc object in rollbar.js plugin. See [#458](https://github.com/rollbar/rollbar-gem/pull/458).
8
+
3
9
  ## 2.11.0
4
10
 
5
11
  New features:
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # Rollbar [![Build Status](https://api.travis-ci.org/rollbar/rollbar-gem.svg?branch=v2.11.0)](https://travis-ci.org/rollbar/rollbar-gem/branches)
1
+ # Rollbar [![Build Status](https://api.travis-ci.org/rollbar/rollbar-gem.svg?branch=v2.11.1)](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.
@@ -45,14 +45,15 @@ Rollbar.plugins.define('rails-rollbar.js') do
45
45
  def plugin_execute_proc(plugin)
46
46
  proc do
47
47
  plugin.execute do
48
- return unless Rollbar.configuration.js_enabled
49
- require 'rollbar/middleware/js'
48
+ if Rollbar.configuration.js_enabled
49
+ require 'rollbar/middleware/js'
50
50
 
51
- config = {
52
- :options => Rollbar.configuration.js_options,
53
- :enabled => Rollbar.configuration.js_enabled
54
- }
55
- ::Rails.configuration.middleware.use(::Rollbar::Middleware::Js, config)
51
+ config = {
52
+ :options => Rollbar.configuration.js_options,
53
+ :enabled => Rollbar.configuration.js_enabled
54
+ }
55
+ ::Rails.configuration.middleware.use(::Rollbar::Middleware::Js, config)
56
+ end
56
57
  end
57
58
  end
58
59
  end
@@ -1,3 +1,3 @@
1
1
  module Rollbar
2
- VERSION = '2.11.0'
2
+ VERSION = '2.11.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rollbar
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.11.0
4
+ version: 2.11.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rollbar, Inc.