rollbar 0.12.0 → 0.12.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: d821880871796e7a3f286f28efed45d344e58f7a
4
- data.tar.gz: 3e955416377adb50366976787a1b96f8fe0f7267
3
+ metadata.gz: b46806b7022f35a815df17af7459254f1858f341
4
+ data.tar.gz: ab6543e2fc0938ca7e437c37f5203bdd8c30cca3
5
5
  SHA512:
6
- metadata.gz: f524945b9cddd9a18ef5a346d0416475c12d257dde63598a49514d3601e24e773e7b8705d434a9d5cc77a97b2c5b2df676f80aa0fe26264f40771d33e2d25c77
7
- data.tar.gz: 093270b5b4852101b26196e287c92be720cdb02e1c198b29397b977c1db249115484024670b59b31501b1ed34871be756b968655a15cdfbac606aedebdae2ff4
6
+ metadata.gz: 115120b1e67173ed40e84185c68279379e919c486c1a7371470860ba58e37cb07a59d6eaca254307543c23a6e1bd610997d6899219dda7e99d4b1b5cb853a8b4
7
+ data.tar.gz: ee1ca016ab7b476d8c17d543280c75d2e2acc6b2721dd5df5eef6bab4983479f274d5a59b3ce55de769f1a9c863a2b9eafcc8d2a5fd7707182fc59d9500afebd
@@ -1,5 +1,8 @@
1
1
  # Change Log
2
2
 
3
+ **0.12.1**
4
+ - Fix syntax error in `config.use_sidekiq` usage example
5
+
3
6
  **0.12.0**
4
7
  - Added [#73](https://github.com/rollbar/rollbar-gem/pull/73), enhanced Sidekiq and SuckerPunch configuration. NOTE: The old `Rollbar::Configuration#use_sidekiq=` and `Rollbar::Configuration#use_sucker_punch=` methods are now depricated, see the docs for updated usage information.
5
8
 
data/README.md CHANGED
@@ -220,7 +220,7 @@ config.use_sidekiq
220
220
  You can also supply custom Sidekiq options:
221
221
 
222
222
  ```ruby
223
- config.use_sidekiq { 'queue' => 'my_queue' }
223
+ config.use_sidekiq 'queue' => 'my_queue'
224
224
  ```
225
225
 
226
226
  Start the redis server:
@@ -46,5 +46,5 @@ Rollbar.configure do |config|
46
46
  # Enable delayed reporting (using Sidekiq)
47
47
  # config.use_sidekiq
48
48
  # You can supply custom Sidekiq options:
49
- # config.use_sidekiq { 'queue' => 'my_queue' }
49
+ # config.use_sidekiq 'queue' => 'my_queue'
50
50
  end
@@ -454,7 +454,7 @@ module Rollbar
454
454
  begin
455
455
  schedule_payload(payload)
456
456
  rescue => e
457
- send_failsafe("erorr in schedule_payload", e)
457
+ send_failsafe("error in schedule_payload", e)
458
458
  return
459
459
  end
460
460
 
@@ -467,8 +467,11 @@ module Rollbar
467
467
  end
468
468
 
469
469
  def send_failsafe(message, exception)
470
- log_error "[Rollbar] Sending failsafe response."
471
- log_error "[Rollbar] #{message} #{exception}"
470
+ log_error "[Rollbar] Sending failsafe response due to #{message}."
471
+ begin
472
+ log_error "[Rollbar] #{exception.class.name}: #{exception}"
473
+ rescue => e
474
+ end
472
475
 
473
476
  config = configuration
474
477
  environment = config.environment
@@ -1,3 +1,3 @@
1
1
  module Rollbar
2
- VERSION = "0.12.0"
2
+ VERSION = "0.12.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rollbar
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.0
4
+ version: 0.12.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Rue
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-11-19 00:00:00.000000000 Z
11
+ date: 2013-12-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: multi_json