rollbar 0.12.8 → 0.12.9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e51b5cb888086a9cd992d4c36cfc2fabd83b3635
4
- data.tar.gz: 47c5991fb45cd69fe233e0dafc2d6c7c676c4196
3
+ metadata.gz: 8af9c1cd4fe9adc621acb5a44240c0b61a2a2177
4
+ data.tar.gz: 57a3478b9a9299769e04de690e43ece7c81ab836
5
5
  SHA512:
6
- metadata.gz: 894839031c7728ccd229396aa54d2125f33a0a067b1ce7fd09eb02f603db56a1a4f7f933679e3464bc8140d98c3ec9ee23236f25d8d803a621688b640f09494a
7
- data.tar.gz: e64f0af2245fd337b668f1870c440e4c51211d31f301d05ab39bb14ec9eea51ff6bae5a1f0600cd984aef9a85386140b1684c2f909c5e6a7faa57e241e64ec07
6
+ metadata.gz: 3f77c6c4fae2a8d82ee381762d14fcceedb9ad8c764100a37dcec330858e304a21938b27869c53f07d070dbdc30bb9d766034756ba5477f2b6fb6b9295b36e14
7
+ data.tar.gz: 82112483b0e51c31c6646de253ad349e7246b4d3420ad58e5d1cb928a87e6f3395a601afccd9cf531f0b29c3097c1974c8f3107a1a042961de2f89d04d197323
data/.travis.yml CHANGED
@@ -8,20 +8,19 @@ rvm:
8
8
  - 1.9.2
9
9
  - 1.9.3
10
10
  - 2.0.0
11
+ - 2.1.0
11
12
  - ruby-head
12
13
  - jruby-18mode
13
14
  - jruby-19mode
14
15
  - jruby-head
15
- - rbx-18mode
16
- - rbx-19mode
16
+ - rbx
17
17
  matrix:
18
18
  allow_failures:
19
19
  - rvm: ruby-head
20
20
  - rvm: jruby-18mode
21
21
  - rvm: jruby-19mode
22
22
  - rvm: jruby-head
23
- - rvm: rbx-18mode
24
- - rvm: rbx-19mode
23
+ - rvm: rbx
25
24
  exclude:
26
25
  - rvm: 1.8.7
27
26
  gemfile: gemfiles/rails40.gemfile
@@ -51,17 +50,11 @@ matrix:
51
50
  gemfile: gemfiles/rails31.gemfile
52
51
  - rvm: jruby-head
53
52
  gemfile: gemfiles/rails40.gemfile
54
- - rvm: rbx-18mode
53
+ - rvm: rbx
55
54
  gemfile: gemfiles/rails30.gemfile
56
- - rvm: rbx-18mode
55
+ - rvm: rbx
57
56
  gemfile: gemfiles/rails31.gemfile
58
- - rvm: rbx-18mode
59
- gemfile: gemfiles/rails40.gemfile
60
- - rvm: rbx-19mode
61
- gemfile: gemfiles/rails30.gemfile
62
- - rvm: rbx-19mode
63
- gemfile: gemfiles/rails31.gemfile
64
- - rvm: rbx-19mode
57
+ - rvm: rbx
65
58
  gemfile: gemfiles/rails40.gemfile
66
59
  gemfile:
67
60
  - gemfiles/rails30.gemfile
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Change Log
2
2
 
3
+ **0.12.9**
4
+ - Fixed delayed job regression introduced in 0.12.5 by re-raising caught exceptions
5
+ - Removed Active Support call introduced in 0.12.6 to remove rails dependency in `report_exception`
6
+
3
7
  **0.12.8**
4
8
  - Added funcitonality to walk the payload and truncate strings to attempt to reduce size if the payload is too large (more than 32kb total)
5
9
 
data/Gemfile CHANGED
@@ -6,3 +6,9 @@ gem 'sqlite3', :platform => [:ruby, :mswin, :mingw]
6
6
  gem 'jruby-openssl', :platform => :jruby
7
7
  gem 'activerecord-jdbcsqlite3-adapter', :platform => :jruby
8
8
  gem 'appraisal'
9
+
10
+ gem 'rubysl', '~> 2.0', :platform => :rbx
11
+ gem 'racc', :platform => :rbx
12
+ gem 'minitest', :platform => :rbx
13
+ gem 'rubysl-test-unit', :platform => :rbx
14
+ gem 'rubinius-developer_tools', :platform => :rbx
@@ -6,6 +6,13 @@ gem "sqlite3", :platform=>[:ruby, :mswin, :mingw]
6
6
  gem "jruby-openssl", :platform=>:jruby
7
7
  gem "activerecord-jdbcsqlite3-adapter", :platform=>:jruby
8
8
  gem "appraisal"
9
+
10
+ gem 'rubysl', '~> 2.0', :platform => :rbx
11
+ gem 'racc', :platform => :rbx
12
+ gem 'minitest', :platform => :rbx
13
+ gem 'rubysl-test-unit', :platform => :rbx
14
+ gem 'rubinius-developer_tools', :platform => :rbx
15
+
9
16
  gem "rails", "3.0.20"
10
17
 
11
18
  gemspec :path=>"../"
@@ -6,6 +6,13 @@ gem "sqlite3", :platform=>[:ruby, :mswin, :mingw]
6
6
  gem "jruby-openssl", :platform=>:jruby
7
7
  gem "activerecord-jdbcsqlite3-adapter", :platform=>:jruby
8
8
  gem "appraisal"
9
+
10
+ gem 'rubysl', '~> 2.0', :platform => :rbx
11
+ gem 'racc', :platform => :rbx
12
+ gem 'minitest', :platform => :rbx
13
+ gem 'rubysl-test-unit', :platform => :rbx
14
+ gem 'rubinius-developer_tools', :platform => :rbx
15
+
9
16
  gem "rails", "3.1.12"
10
17
 
11
18
  gemspec :path=>"../"
@@ -6,6 +6,13 @@ gem "sqlite3", :platform=>[:ruby, :mswin, :mingw]
6
6
  gem "jruby-openssl", :platform=>:jruby
7
7
  gem "activerecord-jdbcsqlite3-adapter", :platform=>:jruby
8
8
  gem "appraisal"
9
+
10
+ gem 'rubysl', '~> 2.0', :platform => :rbx
11
+ gem 'racc', :platform => :rbx
12
+ gem 'minitest', :platform => :rbx
13
+ gem 'rubysl-test-unit', :platform => :rbx
14
+ gem 'rubinius-developer_tools', :platform => :rbx
15
+
9
16
  gem "rails", "3.2.12"
10
17
 
11
18
  gemspec :path=>"../"
@@ -7,6 +7,13 @@ gem "jruby-openssl", :platform=>:jruby
7
7
  gem "activerecord-jdbcsqlite3-adapter", :platform=>:jruby
8
8
  gem "appraisal"
9
9
  gem "rails", "4.0.0"
10
+
11
+ gem 'rubysl', '~> 2.0', :platform => :rbx
12
+ gem 'racc', :platform => :rbx
13
+ gem 'minitest', :platform => :rbx
14
+ gem 'rubysl-test-unit', :platform => :rbx
15
+ gem 'rubinius-developer_tools', :platform => :rbx
16
+
10
17
  gem "protected_attributes"
11
18
 
12
19
  gemspec :path=>"../"
data/lib/rollbar.rb CHANGED
@@ -77,7 +77,7 @@ module Rollbar
77
77
  # @param person_data [Hash] Data describing the affected person. Should be the result of calling
78
78
  # `rollbar_person_data`
79
79
  def report_exception(exception, request_data = nil, person_data = nil, level = nil)
80
- if person_data.present?
80
+ if person_data
81
81
  person_id = person_data[Rollbar.configuration.person_id_method.to_sym]
82
82
  return 'ignored' if configuration.ignored_person_ids.include?(person_id)
83
83
  end
@@ -9,6 +9,7 @@ module Delayed
9
9
  block.call(job, *args)
10
10
  rescue Exception => e
11
11
  ::Rollbar.report_exception(e, job)
12
+ raise e
12
13
  end
13
14
  end
14
15
  end
@@ -1,3 +1,3 @@
1
1
  module Rollbar
2
- VERSION = "0.12.8"
2
+ VERSION = "0.12.9"
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.8
4
+ version: 0.12.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Rue
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-01-14 00:00:00.000000000 Z
11
+ date: 2014-01-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: multi_json