rollbar 0.9.8 → 0.9.9

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,9 @@
1
1
  # Change Log
2
2
 
3
+ **0.9.9**
4
+ - Fix capistrano recipe on 1.9.2 ([#36](https://github.com/rollbar/rollbar-gem/pull/36))
5
+ - Add example of disable "test" env to initializer template
6
+
3
7
  **0.9.8**
4
8
  - Fix bug introduced in 0.9.0 where setting `config.enabled = false` in `config/initializers/rollbar.rb` would be overwritten by subsequent calls to `Rollbar.configure` (as happens normally when using inside Rails).
5
9
 
@@ -2,6 +2,12 @@ require 'rollbar/rails'
2
2
  Rollbar.configure do |config|
3
3
  config.access_token = <%= access_token_expr %>
4
4
 
5
+ # Rollbar is enabled by default in all environments. To disable in specific
6
+ # environments (e.g. 'test'):
7
+ # if Rails.env.test?
8
+ # config.enabled = false
9
+ # end
10
+
5
11
  # By default, Rollbar will try to call the `current_user` controller method
6
12
  # to fetch the logged-in user object, and then call that object's `id`,
7
13
  # `username`, and `email` methods to fetch those properties. To customize:
@@ -32,7 +32,7 @@ module Rollbar
32
32
  request = Net::HTTP::Post.new(uri.request_uri)
33
33
  request.body = JSON.dump(params)
34
34
 
35
- Net::HTTP.start(uri.hostname, uri.port, :use_ssl => true) do |http|
35
+ Net::HTTP.start(uri.host, uri.port, :use_ssl => true) do |http|
36
36
  http.request(request)
37
37
  end
38
38
  end
@@ -1,3 +1,3 @@
1
1
  module Rollbar
2
- VERSION = "0.9.8"
2
+ VERSION = "0.9.9"
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: 0.9.8
4
+ version: 0.9.9
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: