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 +4 -4
- data/CHANGELOG.md +6 -0
- data/README.md +1 -1
- data/lib/rollbar/plugins/rails.rb +8 -7
- data/lib/rollbar/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e147a4e8a6272217cb9fb521347694760ac7a6aa
|
4
|
+
data.tar.gz: 064a3206b30a01b9d17563c6834eeee65ed372e0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 27776554bb7d394c478d7ecde72d35a3c92767359c9565bd8009727b8e93765db881a1abcbb3e27f21d0724e8761491bebd24b6981cadcb22e6a0cd12051212c
|
7
|
+
data.tar.gz: 39ff599aa3f4c6017dbf36a61b0481eea4f4a8cd8cadcf6bf3e78595ca2d6f3327bf3d5e6c74222e2b1c5d29f34e8a8a08535abef01139536b5d8e6c1c618bd4
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Rollbar [](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
|
-
|
49
|
-
|
48
|
+
if Rollbar.configuration.js_enabled
|
49
|
+
require 'rollbar/middleware/js'
|
50
50
|
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
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
|
data/lib/rollbar/version.rb
CHANGED