rollbar 1.4.4 → 1.4.5
Sign up to get free protection for your applications and to get access to all the features.
- data/.travis.yml +8 -0
- data/Appraisals +3 -3
- data/CHANGELOG.md +8 -0
- data/README.md +35 -2
- data/bin/rollbar-rails-runner +5 -0
- data/gemfiles/rails30.gemfile +1 -1
- data/gemfiles/rails31.gemfile +1 -2
- data/gemfiles/rails32.gemfile +1 -2
- data/gemfiles/rails40.gemfile +1 -1
- data/gemfiles/rails41.gemfile +1 -1
- data/lib/rollbar.rb +2 -22
- data/lib/rollbar/rails_runner.rb +72 -0
- data/lib/rollbar/railtie.rb +1 -1
- data/lib/rollbar/request_data_extractor.rb +2 -0
- data/lib/rollbar/version.rb +1 -1
- data/rollbar.gemspec +1 -0
- data/spec/controllers/home_controller_spec.rb +10 -0
- data/spec/support/get_ip_raising.rb +7 -0
- metadata +61 -90
- checksums.yaml +0 -7
data/.travis.yml
CHANGED
@@ -30,10 +30,18 @@ matrix:
|
|
30
30
|
gemfile: gemfiles/rails40.gemfile
|
31
31
|
- rvm: 1.8.7
|
32
32
|
gemfile: gemfiles/rails41.gemfile
|
33
|
+
- rvm: 1.8.7
|
34
|
+
gemfile: gemfiles/rails32.gemfile
|
35
|
+
- rvm: 1.8.7
|
36
|
+
gemfile: gemfiles/rails31.gemfile
|
33
37
|
- rvm: 1.9.2
|
34
38
|
gemfile: gemfiles/rails40.gemfile
|
35
39
|
- rvm: 1.9.2
|
36
40
|
gemfile: gemfiles/rails41.gemfile
|
41
|
+
- rvm: 1.9.2
|
42
|
+
gemfile: gemfiles/rails32.gemfile
|
43
|
+
- rvm: 1.9.2
|
44
|
+
gemfile: gemfiles/rails31.gemfile
|
37
45
|
- rvm: 1.9.3
|
38
46
|
gemfile: gemfiles/rails41.gemfile
|
39
47
|
- rvm: ruby-head
|
data/Appraisals
CHANGED
@@ -7,13 +7,13 @@ appraise "rails31" do
|
|
7
7
|
end
|
8
8
|
|
9
9
|
appraise "rails32" do
|
10
|
-
gem "rails", "3.2.
|
10
|
+
gem "rails", "3.2.21"
|
11
11
|
end
|
12
12
|
|
13
13
|
appraise "rails40" do
|
14
|
-
gem "rails", "4.0.
|
14
|
+
gem "rails", "4.0.13"
|
15
15
|
end
|
16
16
|
|
17
17
|
appraise "rails41" do
|
18
|
-
gem "rails", "4.1.
|
18
|
+
gem "rails", "4.1.9"
|
19
19
|
end
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
+
## 1.4.5
|
4
|
+
|
5
|
+
Bug fixes:
|
6
|
+
|
7
|
+
- Fixed internal error reporting IpSpoofAttackErrors. See [#233](https://github.com/rollbar/rollbar-gem/pull/233)
|
8
|
+
- Removed duplicated `schedule_payload` definition. See [#231](https://github.com/rollbar/rollbar-gem/pull/231)
|
9
|
+
|
10
|
+
|
3
11
|
## 1.4.4
|
4
12
|
|
5
13
|
New features:
|
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Rollbar notifier for Ruby [![Build Status](https://api.travis-ci.org/rollbar/rollbar-gem.svg?branch=v1.4.
|
1
|
+
# Rollbar notifier for Ruby [![Build Status](https://api.travis-ci.org/rollbar/rollbar-gem.svg?branch=v1.4.5)](https://travis-ci.org/rollbar/rollbar-gem/branches)
|
2
2
|
|
3
3
|
<!-- RemoveNext -->
|
4
4
|
Ruby gem for reporting exceptions, errors, and log messages to [Rollbar](https://rollbar.com).
|
@@ -9,7 +9,7 @@ Ruby gem for reporting exceptions, errors, and log messages to [Rollbar](https:/
|
|
9
9
|
|
10
10
|
Add this line to your application's Gemfile:
|
11
11
|
|
12
|
-
gem 'rollbar', '~> 1.4.
|
12
|
+
gem 'rollbar', '~> 1.4.5'
|
13
13
|
|
14
14
|
And then execute:
|
15
15
|
|
@@ -535,6 +535,39 @@ config.filepath = '/path/to/file.rollbar' #should end in '.rollbar' for use with
|
|
535
535
|
|
536
536
|
For this to work, you'll also need to set up rollbar-agent--see its docs for details.
|
537
537
|
|
538
|
+
## Rails booting process
|
539
|
+
|
540
|
+
Rails doesn't provide a way to hook into its booting process, so we can't catch errors during boot out of the box. To report these errors to Rollbar, make the following changes to your project files.
|
541
|
+
|
542
|
+
First, move your `config/initializers/rollbar.rb` file to `config/rollbar.rb`. Then be sure your `config/environment.rb` looks similar to this:
|
543
|
+
|
544
|
+
```ruby
|
545
|
+
# config/environment.rb
|
546
|
+
|
547
|
+
require File.expand_path('../application', __FILE__)
|
548
|
+
require File.expand_path('../rollbar', __FILE__)
|
549
|
+
|
550
|
+
begin
|
551
|
+
Rails.application.initialize!
|
552
|
+
rescue Exception => e
|
553
|
+
Rollbar.error(e)
|
554
|
+
raise
|
555
|
+
end
|
556
|
+
```
|
557
|
+
|
558
|
+
How this works: first, Rollbar config (which is now at `config/rollbar.rb` is required). Later, `Rails.application/initialize` statement is wrapped with a `begin/rescue` and any exceptions within will be reported to Rollbar.
|
559
|
+
|
560
|
+
## Rails runner command
|
561
|
+
|
562
|
+
We aren't able to instrument `rails runner` directly, but we do provide a wrapper, `rollbar-rails-runner`, which you can use to capture errors when running commands in a `rails runner`-like way. For example:
|
563
|
+
|
564
|
+
```shell
|
565
|
+
$ bundle exec rollbar-rails-runner 'puts User.count'
|
566
|
+
45
|
567
|
+
```
|
568
|
+
|
569
|
+
If an error occurs during that command, the exception will be reported to Rollbar.
|
570
|
+
|
538
571
|
## Deploy Tracking with Capistrano
|
539
572
|
|
540
573
|
### Capistrano 3
|
data/gemfiles/rails30.gemfile
CHANGED
@@ -5,7 +5,7 @@ source "https://rubygems.org"
|
|
5
5
|
gem "sqlite3", :platform => [:ruby, :mswin, :mingw]
|
6
6
|
gem "jruby-openssl", :platform => :jruby
|
7
7
|
gem "activerecord-jdbcsqlite3-adapter", :platform => :jruby
|
8
|
-
gem "appraisal"
|
8
|
+
gem "appraisal", '= 1.0.2'
|
9
9
|
gem "rubysl", "~> 2.0", :platform => :rbx
|
10
10
|
gem "racc", :platform => :rbx
|
11
11
|
gem "minitest", :platform => :rbx
|
data/gemfiles/rails31.gemfile
CHANGED
@@ -5,13 +5,12 @@ source "https://rubygems.org"
|
|
5
5
|
gem "sqlite3", :platform => [:ruby, :mswin, :mingw]
|
6
6
|
gem "jruby-openssl", :platform => :jruby
|
7
7
|
gem "activerecord-jdbcsqlite3-adapter", :platform => :jruby
|
8
|
-
gem "appraisal"
|
8
|
+
gem "appraisal", '= 1.0.2'
|
9
9
|
gem "rubysl", "~> 2.0", :platform => :rbx
|
10
10
|
gem "racc", :platform => :rbx
|
11
11
|
gem "minitest", :platform => :rbx
|
12
12
|
gem "rubysl-test-unit", :platform => :rbx
|
13
13
|
gem "rubinius-developer_tools", :platform => :rbx
|
14
14
|
gem "rails", "3.1.12"
|
15
|
-
gem 'i18n', '~> 0.6.0'
|
16
15
|
|
17
16
|
gemspec :path => "../"
|
data/gemfiles/rails32.gemfile
CHANGED
@@ -11,7 +11,6 @@ gem "racc", :platform => :rbx
|
|
11
11
|
gem "minitest", :platform => :rbx
|
12
12
|
gem "rubysl-test-unit", :platform => :rbx
|
13
13
|
gem "rubinius-developer_tools", :platform => :rbx
|
14
|
-
gem "rails", "3.2.
|
15
|
-
gem 'i18n', '~> 0.6.0'
|
14
|
+
gem "rails", "3.2.21"
|
16
15
|
|
17
16
|
gemspec :path => "../"
|
data/gemfiles/rails40.gemfile
CHANGED
data/gemfiles/rails41.gemfile
CHANGED
data/lib/rollbar.rb
CHANGED
@@ -14,9 +14,8 @@ require 'rollbar/version'
|
|
14
14
|
require 'rollbar/configuration'
|
15
15
|
require 'rollbar/logger_proxy'
|
16
16
|
require 'rollbar/exception_reporter'
|
17
|
-
require 'rollbar/active_record_extension' if defined?(ActiveRecord)
|
18
17
|
require 'rollbar/util'
|
19
|
-
require 'rollbar/railtie' if defined?(Rails)
|
18
|
+
require 'rollbar/railtie' if defined?(Rails::VERSION)
|
20
19
|
require 'rollbar/delay/girl_friday'
|
21
20
|
require 'rollbar/delay/thread'
|
22
21
|
require 'rollbar/truncation'
|
@@ -451,26 +450,6 @@ module Rollbar
|
|
451
450
|
|
452
451
|
## Delivery functions
|
453
452
|
|
454
|
-
def schedule_payload(payload)
|
455
|
-
log_info '[Rollbar] Scheduling payload'
|
456
|
-
|
457
|
-
if configuration.use_async
|
458
|
-
unless configuration.async_handler
|
459
|
-
configuration.async_handler = method(:default_async_handler)
|
460
|
-
end
|
461
|
-
|
462
|
-
if configuration.write_to_file
|
463
|
-
unless @file_semaphore
|
464
|
-
@file_semaphore = Mutex.new
|
465
|
-
end
|
466
|
-
end
|
467
|
-
|
468
|
-
configuration.async_handler.call(payload)
|
469
|
-
else
|
470
|
-
process_payload(payload)
|
471
|
-
end
|
472
|
-
end
|
473
|
-
|
474
453
|
def send_payload_using_eventmachine(payload)
|
475
454
|
body = dump_payload(payload)
|
476
455
|
headers = { 'X-Rollbar-Access-Token' => payload['access_token'] }
|
@@ -718,6 +697,7 @@ module Rollbar
|
|
718
697
|
return if configuration.disable_monkey_patch
|
719
698
|
wrap_delayed_worker
|
720
699
|
|
700
|
+
require 'rollbar/active_record_extension' if defined?(ActiveRecord)
|
721
701
|
require 'rollbar/sidekiq' if defined?(Sidekiq)
|
722
702
|
require 'rollbar/goalie' if defined?(Goalie)
|
723
703
|
require 'rollbar/rack' if defined?(Rack)
|
@@ -0,0 +1,72 @@
|
|
1
|
+
require 'rails'
|
2
|
+
require 'rollbar'
|
3
|
+
|
4
|
+
APP_PATH = File.expand_path('config/application', Dir.pwd)
|
5
|
+
|
6
|
+
module Rollbar
|
7
|
+
class RailsRunner
|
8
|
+
class GemResolver
|
9
|
+
def railties_gem
|
10
|
+
Gem::Specification.find_by_name('railties')
|
11
|
+
end
|
12
|
+
end
|
13
|
+
|
14
|
+
class LegacyGemResolver
|
15
|
+
def railties_gem
|
16
|
+
searcher = Gem::GemPathSearcher.new
|
17
|
+
searcher.find('rails')
|
18
|
+
end
|
19
|
+
end
|
20
|
+
|
21
|
+
attr_reader :command
|
22
|
+
|
23
|
+
def initialize
|
24
|
+
@command = ARGV[0]
|
25
|
+
end
|
26
|
+
|
27
|
+
def run
|
28
|
+
prepare_environment
|
29
|
+
|
30
|
+
rollbar_managed { eval_runner }
|
31
|
+
end
|
32
|
+
|
33
|
+
def prepare_environment
|
34
|
+
require File.expand_path('../environment', APP_PATH)
|
35
|
+
::Rails.application.require_environment!
|
36
|
+
end
|
37
|
+
|
38
|
+
def eval_runner
|
39
|
+
string_to_eval = File.read(runner_path)
|
40
|
+
|
41
|
+
Module.module_eval(<<-EOL,__FILE__,__LINE__ + 2)
|
42
|
+
#{string_to_eval}
|
43
|
+
EOL
|
44
|
+
end
|
45
|
+
|
46
|
+
def rollbar_managed
|
47
|
+
yield
|
48
|
+
rescue => e
|
49
|
+
Rollbar.scope(:custom => { :command => command }).error(e)
|
50
|
+
raise
|
51
|
+
end
|
52
|
+
|
53
|
+
def runner_path
|
54
|
+
railties_gem_dir + '/lib/rails/commands/runner.rb'
|
55
|
+
end
|
56
|
+
|
57
|
+
def railties_gem
|
58
|
+
resolver_class = Gem::Specification.respond_to?(:find_by_name) ? GemResolver : LegacyGemResolver
|
59
|
+
gem = resolver_class.new.railties_gem
|
60
|
+
|
61
|
+
abort 'railties gem not found' unless gem
|
62
|
+
|
63
|
+
gem
|
64
|
+
end
|
65
|
+
|
66
|
+
def railties_gem_dir
|
67
|
+
railties_gem.gem_dir
|
68
|
+
end
|
69
|
+
end
|
70
|
+
end
|
71
|
+
|
72
|
+
|
data/lib/rollbar/railtie.rb
CHANGED
@@ -29,7 +29,7 @@ module Rollbar
|
|
29
29
|
|
30
30
|
config.after_initialize do
|
31
31
|
Rollbar.preconfigure do |config|
|
32
|
-
config.
|
32
|
+
config.default_logger = proc { ::Rails.logger }
|
33
33
|
config.environment ||= ::Rails.env
|
34
34
|
config.root ||= ::Rails.root
|
35
35
|
config.framework = "Rails: #{::Rails::VERSION::STRING}"
|
data/lib/rollbar/version.rb
CHANGED
data/rollbar.gemspec
CHANGED
@@ -5,6 +5,7 @@ Gem::Specification.new do |gem|
|
|
5
5
|
gem.authors = ["Rollbar, Inc."]
|
6
6
|
gem.email = ["support@rollbar.com"]
|
7
7
|
gem.description = %q{Rails plugin to catch and send exceptions to Rollbar}
|
8
|
+
gem.executables = ['rollbar-rails-runner']
|
8
9
|
gem.summary = %q{Reports exceptions to Rollbar}
|
9
10
|
gem.homepage = "https://github.com/rollbar/rollbar-gem"
|
10
11
|
gem.license = 'MIT'
|
@@ -339,6 +339,16 @@ describe HomeController do
|
|
339
339
|
end
|
340
340
|
end
|
341
341
|
|
342
|
+
context 'with ip parsing raising error' do
|
343
|
+
it 'raise a IpSpoofAttackError exception' do
|
344
|
+
controller.request.env['action_dispatch.remote_ip'] = GetIpRaising.new
|
345
|
+
|
346
|
+
expect do
|
347
|
+
expect(controller.send(:rollbar_request_data)[:user_ip]).to be_nil
|
348
|
+
end.not_to raise_exception(GetIpRaising::IpSpoofAttackError)
|
349
|
+
end
|
350
|
+
end
|
351
|
+
|
342
352
|
after(:each) do
|
343
353
|
Rollbar.configure do |config|
|
344
354
|
config.logger = ::Rails.logger
|
metadata
CHANGED
@@ -1,187 +1,153 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rollbar
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.5
|
5
|
+
prerelease:
|
5
6
|
platform: ruby
|
6
7
|
authors:
|
7
8
|
- Rollbar, Inc.
|
8
9
|
autorequire:
|
9
10
|
bindir: bin
|
10
11
|
cert_chain: []
|
11
|
-
date: 2015-02
|
12
|
+
date: 2015-04-02 00:00:00.000000000 Z
|
12
13
|
dependencies:
|
13
14
|
- !ruby/object:Gem::Dependency
|
14
15
|
name: multi_json
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirement: &7871420 !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
16
18
|
requirements:
|
17
19
|
- - ~>
|
18
20
|
- !ruby/object:Gem::Version
|
19
21
|
version: '1.3'
|
20
22
|
type: :runtime
|
21
23
|
prerelease: false
|
22
|
-
version_requirements:
|
23
|
-
requirements:
|
24
|
-
- - ~>
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
version: '1.3'
|
24
|
+
version_requirements: *7871420
|
27
25
|
- !ruby/object:Gem::Dependency
|
28
26
|
name: rails
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
27
|
+
requirement: &7869800 !ruby/object:Gem::Requirement
|
28
|
+
none: false
|
30
29
|
requirements:
|
31
|
-
- - '>='
|
30
|
+
- - ! '>='
|
32
31
|
- !ruby/object:Gem::Version
|
33
32
|
version: 3.0.0
|
34
33
|
type: :development
|
35
34
|
prerelease: false
|
36
|
-
version_requirements:
|
37
|
-
requirements:
|
38
|
-
- - '>='
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: 3.0.0
|
35
|
+
version_requirements: *7869800
|
41
36
|
- !ruby/object:Gem::Dependency
|
42
37
|
name: rspec-rails
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
38
|
+
requirement: &7818380 !ruby/object:Gem::Requirement
|
39
|
+
none: false
|
44
40
|
requirements:
|
45
|
-
- - '>='
|
41
|
+
- - ! '>='
|
46
42
|
- !ruby/object:Gem::Version
|
47
43
|
version: 2.14.0
|
48
44
|
type: :development
|
49
45
|
prerelease: false
|
50
|
-
version_requirements:
|
51
|
-
requirements:
|
52
|
-
- - '>='
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: 2.14.0
|
46
|
+
version_requirements: *7818380
|
55
47
|
- !ruby/object:Gem::Dependency
|
56
48
|
name: database_cleaner
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
49
|
+
requirement: &7817420 !ruby/object:Gem::Requirement
|
50
|
+
none: false
|
58
51
|
requirements:
|
59
52
|
- - ~>
|
60
53
|
- !ruby/object:Gem::Version
|
61
54
|
version: 1.0.0
|
62
55
|
type: :development
|
63
56
|
prerelease: false
|
64
|
-
version_requirements:
|
65
|
-
requirements:
|
66
|
-
- - ~>
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
version: 1.0.0
|
57
|
+
version_requirements: *7817420
|
69
58
|
- !ruby/object:Gem::Dependency
|
70
59
|
name: girl_friday
|
71
|
-
requirement: !ruby/object:Gem::Requirement
|
60
|
+
requirement: &7816620 !ruby/object:Gem::Requirement
|
61
|
+
none: false
|
72
62
|
requirements:
|
73
|
-
- - '>='
|
63
|
+
- - ! '>='
|
74
64
|
- !ruby/object:Gem::Version
|
75
65
|
version: 0.11.1
|
76
66
|
type: :development
|
77
67
|
prerelease: false
|
78
|
-
version_requirements:
|
79
|
-
requirements:
|
80
|
-
- - '>='
|
81
|
-
- !ruby/object:Gem::Version
|
82
|
-
version: 0.11.1
|
68
|
+
version_requirements: *7816620
|
83
69
|
- !ruby/object:Gem::Dependency
|
84
70
|
name: sucker_punch
|
85
|
-
requirement: !ruby/object:Gem::Requirement
|
71
|
+
requirement: &7815720 !ruby/object:Gem::Requirement
|
72
|
+
none: false
|
86
73
|
requirements:
|
87
|
-
- - '>='
|
74
|
+
- - ! '>='
|
88
75
|
- !ruby/object:Gem::Version
|
89
76
|
version: 1.0.0
|
90
77
|
type: :development
|
91
78
|
prerelease: false
|
92
|
-
version_requirements:
|
93
|
-
requirements:
|
94
|
-
- - '>='
|
95
|
-
- !ruby/object:Gem::Version
|
96
|
-
version: 1.0.0
|
79
|
+
version_requirements: *7815720
|
97
80
|
- !ruby/object:Gem::Dependency
|
98
81
|
name: sidekiq
|
99
|
-
requirement: !ruby/object:Gem::Requirement
|
82
|
+
requirement: &7814720 !ruby/object:Gem::Requirement
|
83
|
+
none: false
|
100
84
|
requirements:
|
101
|
-
- - '>='
|
85
|
+
- - ! '>='
|
102
86
|
- !ruby/object:Gem::Version
|
103
87
|
version: 2.13.0
|
104
88
|
type: :development
|
105
89
|
prerelease: false
|
106
|
-
version_requirements:
|
107
|
-
requirements:
|
108
|
-
- - '>='
|
109
|
-
- !ruby/object:Gem::Version
|
110
|
-
version: 2.13.0
|
90
|
+
version_requirements: *7814720
|
111
91
|
- !ruby/object:Gem::Dependency
|
112
92
|
name: genspec
|
113
|
-
requirement: !ruby/object:Gem::Requirement
|
93
|
+
requirement: &7813460 !ruby/object:Gem::Requirement
|
94
|
+
none: false
|
114
95
|
requirements:
|
115
|
-
- - '>='
|
96
|
+
- - ! '>='
|
116
97
|
- !ruby/object:Gem::Version
|
117
98
|
version: 0.2.8
|
118
99
|
type: :development
|
119
100
|
prerelease: false
|
120
|
-
version_requirements:
|
121
|
-
requirements:
|
122
|
-
- - '>='
|
123
|
-
- !ruby/object:Gem::Version
|
124
|
-
version: 0.2.8
|
101
|
+
version_requirements: *7813460
|
125
102
|
- !ruby/object:Gem::Dependency
|
126
103
|
name: sinatra
|
127
|
-
requirement: !ruby/object:Gem::Requirement
|
104
|
+
requirement: &7811380 !ruby/object:Gem::Requirement
|
105
|
+
none: false
|
128
106
|
requirements:
|
129
|
-
- - '>='
|
107
|
+
- - ! '>='
|
130
108
|
- !ruby/object:Gem::Version
|
131
109
|
version: '0'
|
132
110
|
type: :development
|
133
111
|
prerelease: false
|
134
|
-
version_requirements:
|
135
|
-
requirements:
|
136
|
-
- - '>='
|
137
|
-
- !ruby/object:Gem::Version
|
138
|
-
version: '0'
|
112
|
+
version_requirements: *7811380
|
139
113
|
- !ruby/object:Gem::Dependency
|
140
114
|
name: resque
|
141
|
-
requirement: !ruby/object:Gem::Requirement
|
115
|
+
requirement: &7756540 !ruby/object:Gem::Requirement
|
116
|
+
none: false
|
142
117
|
requirements:
|
143
|
-
- - '>='
|
118
|
+
- - ! '>='
|
144
119
|
- !ruby/object:Gem::Version
|
145
120
|
version: '0'
|
146
121
|
type: :development
|
147
122
|
prerelease: false
|
148
|
-
version_requirements:
|
149
|
-
requirements:
|
150
|
-
- - '>='
|
151
|
-
- !ruby/object:Gem::Version
|
152
|
-
version: '0'
|
123
|
+
version_requirements: *7756540
|
153
124
|
- !ruby/object:Gem::Dependency
|
154
125
|
name: delayed_job
|
155
|
-
requirement: !ruby/object:Gem::Requirement
|
126
|
+
requirement: &7755160 !ruby/object:Gem::Requirement
|
127
|
+
none: false
|
156
128
|
requirements:
|
157
|
-
- - '>='
|
129
|
+
- - ! '>='
|
158
130
|
- !ruby/object:Gem::Version
|
159
131
|
version: '0'
|
160
132
|
type: :development
|
161
133
|
prerelease: false
|
162
|
-
version_requirements:
|
163
|
-
requirements:
|
164
|
-
- - '>='
|
165
|
-
- !ruby/object:Gem::Version
|
166
|
-
version: '0'
|
134
|
+
version_requirements: *7755160
|
167
135
|
- !ruby/object:Gem::Dependency
|
168
136
|
name: rake
|
169
|
-
requirement: !ruby/object:Gem::Requirement
|
137
|
+
requirement: &7754120 !ruby/object:Gem::Requirement
|
138
|
+
none: false
|
170
139
|
requirements:
|
171
|
-
- - '>='
|
140
|
+
- - ! '>='
|
172
141
|
- !ruby/object:Gem::Version
|
173
142
|
version: 0.9.0
|
174
143
|
type: :development
|
175
144
|
prerelease: false
|
176
|
-
version_requirements:
|
177
|
-
requirements:
|
178
|
-
- - '>='
|
179
|
-
- !ruby/object:Gem::Version
|
180
|
-
version: 0.9.0
|
145
|
+
version_requirements: *7754120
|
181
146
|
description: Rails plugin to catch and send exceptions to Rollbar
|
182
147
|
email:
|
183
148
|
- support@rollbar.com
|
184
|
-
executables:
|
149
|
+
executables:
|
150
|
+
- rollbar-rails-runner
|
185
151
|
extensions: []
|
186
152
|
extra_rdoc_files: []
|
187
153
|
files:
|
@@ -196,6 +162,7 @@ files:
|
|
196
162
|
- THANKS.md
|
197
163
|
- UPGRADE_FROM_RATCHET.md
|
198
164
|
- UPGRADING.md
|
165
|
+
- bin/rollbar-rails-runner
|
199
166
|
- gemfiles/rails30.gemfile
|
200
167
|
- gemfiles/rails31.gemfile
|
201
168
|
- gemfiles/rails32.gemfile
|
@@ -227,6 +194,7 @@ files:
|
|
227
194
|
- lib/rollbar/rack.rb
|
228
195
|
- lib/rollbar/rails.rb
|
229
196
|
- lib/rollbar/rails/controller_methods.rb
|
197
|
+
- lib/rollbar/rails_runner.rb
|
230
198
|
- lib/rollbar/railtie.rb
|
231
199
|
- lib/rollbar/rake.rb
|
232
200
|
- lib/rollbar/rake_tasks.rb
|
@@ -320,31 +288,33 @@ files:
|
|
320
288
|
- spec/spec_helper.rb
|
321
289
|
- spec/support/cause_exception.rb
|
322
290
|
- spec/support/fixture_helpers.rb
|
291
|
+
- spec/support/get_ip_raising.rb
|
323
292
|
- spec/support/notifier_helpers.rb
|
324
293
|
- spec/support/shared_contexts.rb
|
325
294
|
homepage: https://github.com/rollbar/rollbar-gem
|
326
295
|
licenses:
|
327
296
|
- MIT
|
328
|
-
metadata: {}
|
329
297
|
post_install_message:
|
330
298
|
rdoc_options: []
|
331
299
|
require_paths:
|
332
300
|
- lib
|
333
301
|
required_ruby_version: !ruby/object:Gem::Requirement
|
302
|
+
none: false
|
334
303
|
requirements:
|
335
|
-
- - '>='
|
304
|
+
- - ! '>='
|
336
305
|
- !ruby/object:Gem::Version
|
337
306
|
version: '0'
|
338
307
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
308
|
+
none: false
|
339
309
|
requirements:
|
340
|
-
- - '>='
|
310
|
+
- - ! '>='
|
341
311
|
- !ruby/object:Gem::Version
|
342
312
|
version: '0'
|
343
313
|
requirements: []
|
344
314
|
rubyforge_project:
|
345
|
-
rubygems_version:
|
315
|
+
rubygems_version: 1.8.11
|
346
316
|
signing_key:
|
347
|
-
specification_version:
|
317
|
+
specification_version: 3
|
348
318
|
summary: Reports exceptions to Rollbar
|
349
319
|
test_files:
|
350
320
|
- spec/controllers/home_controller_spec.rb
|
@@ -424,5 +394,6 @@ test_files:
|
|
424
394
|
- spec/spec_helper.rb
|
425
395
|
- spec/support/cause_exception.rb
|
426
396
|
- spec/support/fixture_helpers.rb
|
397
|
+
- spec/support/get_ip_raising.rb
|
427
398
|
- spec/support/notifier_helpers.rb
|
428
399
|
- spec/support/shared_contexts.rb
|
checksums.yaml
DELETED
@@ -1,7 +0,0 @@
|
|
1
|
-
---
|
2
|
-
SHA1:
|
3
|
-
metadata.gz: 78c1bdf59f142827061ca417def8b9e593aaa877
|
4
|
-
data.tar.gz: 760a27633c4e7460602c81c506e71028f9a29bfb
|
5
|
-
SHA512:
|
6
|
-
metadata.gz: 8ce84b0b7705beaa2bea77b2ff23f5ecf187ed98e52e29d0123b205e51d3591e561193b38baa1eaf0b95e16a5bc04983fb07fa91db1841913005407e9fb5108b
|
7
|
-
data.tar.gz: 8a7ce81a92a3ff906e08e6a489a29f8e99dab6cb997928b7ddc7f74f0175ffa9d4e54facb942d61ddbd10ce305b92376897689b557ae740d9a09cd0f563853b1
|