rollbar 0.9.3 → 0.9.4
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.
- data/.travis.yml +5 -2
- data/CHANGELOG.md +4 -0
- data/README.md +20 -1
- data/lib/rollbar.rb +3 -2
- data/lib/rollbar/version.rb +1 -1
- metadata +2 -2
data/.travis.yml
CHANGED
@@ -1,8 +1,9 @@
|
|
1
1
|
language: ruby
|
2
2
|
rvm:
|
3
3
|
- 1.8.7
|
4
|
-
- 1.9.3
|
5
4
|
- 1.9.2
|
5
|
+
- 1.9.3
|
6
|
+
- 2.0.0
|
6
7
|
- ruby-head
|
7
8
|
- jruby-18mode
|
8
9
|
- jruby-19mode
|
@@ -12,6 +13,8 @@ rvm:
|
|
12
13
|
matrix:
|
13
14
|
allow_failures:
|
14
15
|
- rvm: ruby-head
|
15
|
-
- rvm: rbx-18mode
|
16
16
|
- rvm: jruby-18mode
|
17
17
|
- rvm: jruby-19mode
|
18
|
+
- rvm: jruby-head
|
19
|
+
- rvm: rbx-18mode
|
20
|
+
- rvm: rbx-19mode
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,9 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
+
**0.9.4**
|
4
|
+
- Fixed issue using rollbar-gem outside of Rails
|
5
|
+
- Clarified the "details: " link log message
|
6
|
+
|
3
7
|
**0.9.3**
|
4
8
|
- Added configuration setting to specify gems that should be considered part of the Rollbar project, making frames from these gems show up automatically uncollapsed in tracebacks appearing on the website.
|
5
9
|
|
data/README.md
CHANGED
@@ -160,6 +160,20 @@ set(:rollbar_env) { stage }
|
|
160
160
|
```
|
161
161
|
|
162
162
|
|
163
|
+
## Counting specific gems as in-project code
|
164
|
+
|
165
|
+
In the Rollbar interface, stacktraces are shown with in-project code expanded and other code collapsed. Stack frames are counted as in-project if they occur in a file that is inside of the `configuration.root` (automatically set to `Rails.root` if you're using Rails). The collapsed sections can be expanded by clicking on them.
|
166
|
+
|
167
|
+
If you want code from some specific gems to start expanded as well, you can configure this in `config/initializers/rollbar.rb`:
|
168
|
+
|
169
|
+
```ruby
|
170
|
+
Rollbar.configure do |config |
|
171
|
+
config.access_token = '...'
|
172
|
+
config.project_gems = ['my_custom_gem', 'my_other_gem']
|
173
|
+
end
|
174
|
+
```
|
175
|
+
|
176
|
+
|
163
177
|
## Using with Goalie
|
164
178
|
|
165
179
|
If you're using [Goalie](https://github.com/obvio171/goalie) for custom error pages, you may need to explicitly add `require 'goalie'` to `config/application.rb` (in addition to `require 'goalie/rails'`) so that the monkeypatch will work. (This will be obvious if it is needed because your app won't start up: you'll see a cryptic error message about `Goalie::CustomErrorPages.render_exception` not being defined.)
|
@@ -167,7 +181,12 @@ If you're using [Goalie](https://github.com/obvio171/goalie) for custom error pa
|
|
167
181
|
|
168
182
|
## Using with Resque
|
169
183
|
|
170
|
-
Check out [resque-
|
184
|
+
Check out [resque-rollbar](https://github.com/CrowdFlower/resque-rollbar) for using Rollbar as a failure backend for Resque.
|
185
|
+
|
186
|
+
|
187
|
+
## Using with Zeus
|
188
|
+
|
189
|
+
Some users have reported problems with Zeus when `rake` was not explicitly included in their Gemfile. If the zeus server fails to start after installing the rollbar gem, try explicitly adding `gem 'rake'` to your `Gemfile`. See [this thread](https://github.com/rollbar/rollbar-gem/issues/30) for more information.
|
171
190
|
|
172
191
|
|
173
192
|
## Help / Support
|
data/lib/rollbar.rb
CHANGED
@@ -4,7 +4,8 @@ require 'socket'
|
|
4
4
|
require 'thread'
|
5
5
|
require 'uri'
|
6
6
|
|
7
|
-
require
|
7
|
+
require 'girl_friday' if defined?(GirlFriday)
|
8
|
+
require 'multi_json'
|
8
9
|
|
9
10
|
require 'rollbar/version'
|
10
11
|
require 'rollbar/configuration'
|
@@ -143,7 +144,7 @@ module Rollbar
|
|
143
144
|
private
|
144
145
|
|
145
146
|
def log_instance_link(data)
|
146
|
-
logger.info "[Rollbar] Details: #{configuration.web_base}/instance/uuid?uuid=#{data[:uuid]}"
|
147
|
+
logger.info "[Rollbar] Details: #{configuration.web_base}/instance/uuid?uuid=#{data[:uuid]} (only available if report was successful)"
|
147
148
|
end
|
148
149
|
|
149
150
|
def ignored?(exception)
|
data/lib/rollbar/version.rb
CHANGED
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: 0.9.
|
4
|
+
version: 0.9.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-03-
|
12
|
+
date: 2013-03-20 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: multi_json
|