rollbar 0.8.1 → 0.8.2

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Change Log
2
2
 
3
+ **0.8.2**
4
+ - Adding back rake task exception reporting after fixing load order issue
5
+
6
+ **0.8.1**
7
+ - Reverting rake task exception reporting until we can track down a load order issue reported by a few users
8
+
3
9
  **0.8.0**
4
10
  - Rename to rollbar
5
11
 
data/lib/rollbar.rb CHANGED
@@ -15,6 +15,7 @@ require 'rollbar/delayed_job' if defined?(Delayed) && defined?(Delayed::Plugins)
15
15
  require 'rollbar/sidekiq' if defined?(Sidekiq)
16
16
  require 'rollbar/goalie' if defined?(Goalie)
17
17
  require 'rollbar/rack' if defined?(Rack)
18
+ require 'rollbar/rake' if defined?(Rake)
18
19
  require 'rollbar/railtie' if defined?(Rails)
19
20
 
20
21
  module Rollbar
@@ -0,0 +1,11 @@
1
+ require 'rake'
2
+
3
+ module Rake
4
+ class Application
5
+ alias_method :orig_display_error_message, :display_error_message
6
+ def display_error_message(ex)
7
+ Rollbar.report_exception(ex)
8
+ orig_display_error_message(ex)
9
+ end
10
+ end
11
+ end
@@ -1,3 +1,3 @@
1
1
  module Rollbar
2
- VERSION = "0.8.1"
2
+ VERSION = "0.8.2"
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.8.1
4
+ version: 0.8.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -137,6 +137,7 @@ files:
137
137
  - lib/rollbar/rails.rb
138
138
  - lib/rollbar/rails/controller_methods.rb
139
139
  - lib/rollbar/railtie.rb
140
+ - lib/rollbar/rake.rb
140
141
  - lib/rollbar/rake_tasks.rb
141
142
  - lib/rollbar/request_data_extractor.rb
142
143
  - lib/rollbar/sidekiq.rb