rollbar 2.18.2 → 2.19.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +15 -0
- data/.travis.yml +155 -93
- data/Gemfile +19 -13
- data/README.md +12 -0
- data/gemfiles/rails30.gemfile +17 -10
- data/gemfiles/rails31.gemfile +20 -12
- data/gemfiles/rails32.gemfile +16 -7
- data/gemfiles/rails40.gemfile +16 -5
- data/gemfiles/rails41.gemfile +15 -5
- data/gemfiles/rails42.gemfile +25 -14
- data/gemfiles/rails50.gemfile +15 -8
- data/gemfiles/rails51.gemfile +15 -8
- data/gemfiles/rails52.gemfile +62 -0
- data/gemfiles/ruby_1_8_and_1_9_2.gemfile +2 -2
- data/lib/rails/rollbar_runner.rb +16 -1
- data/lib/rollbar/capistrano.rb +71 -39
- data/lib/rollbar/capistrano3.rb +53 -1
- data/lib/rollbar/capistrano_tasks.rb +131 -0
- data/lib/rollbar/configuration.rb +13 -4
- data/lib/rollbar/delay/active_job.rb +17 -0
- data/lib/rollbar/delay/sidekiq.rb +3 -1
- data/lib/rollbar/delay/thread.rb +1 -1
- data/lib/rollbar/deploy.rb +69 -0
- data/lib/rollbar/item.rb +17 -6
- data/lib/rollbar/middleware/js.rb +25 -3
- data/lib/rollbar/middleware/js/json_value.rb +26 -0
- data/lib/rollbar/notifier.rb +32 -13
- data/lib/rollbar/plugins/active_job.rb +3 -0
- data/lib/rollbar/plugins/rails/controller_methods.rb +2 -1
- data/lib/rollbar/plugins/rails/railtie_mixin.rb +7 -1
- data/lib/rollbar/rake_tasks.rb +126 -67
- data/lib/rollbar/scrubbers/params.rb +6 -0
- data/lib/rollbar/util.rb +75 -45
- data/lib/rollbar/util/hash.rb +15 -6
- data/lib/rollbar/version.rb +1 -1
- data/rollbar.gemspec +2 -3
- metadata +9 -261
- data/lib/rollbar/tasks/rollbar.cap +0 -47
- data/spec/cacert.pem +0 -3988
- data/spec/controllers/home_controller_spec.rb +0 -480
- data/spec/delay/sidekiq_spec.rb +0 -61
- data/spec/delay/sucker_punch_spec.rb +0 -25
- data/spec/delayed/backend/test.rb +0 -140
- data/spec/delayed/serialization/test.rb +0 -0
- data/spec/dummyapp/.gitignore +0 -73
- data/spec/dummyapp/Rakefile +0 -7
- data/spec/dummyapp/app/assets/javascripts/application.js +0 -3
- data/spec/dummyapp/app/assets/stylesheets/application.css.scss +0 -37
- data/spec/dummyapp/app/controllers/application_controller.rb +0 -3
- data/spec/dummyapp/app/controllers/home_controller.rb +0 -60
- data/spec/dummyapp/app/controllers/users_controller.rb +0 -17
- data/spec/dummyapp/app/helpers/.gitkeep +0 -0
- data/spec/dummyapp/app/mailers/.gitkeep +0 -0
- data/spec/dummyapp/app/models/.gitkeep +0 -0
- data/spec/dummyapp/app/models/book.rb +0 -5
- data/spec/dummyapp/app/models/post.rb +0 -9
- data/spec/dummyapp/app/models/user.rb +0 -9
- data/spec/dummyapp/app/views/devise/registrations/edit.html.erb +0 -27
- data/spec/dummyapp/app/views/devise/registrations/new.html.erb +0 -20
- data/spec/dummyapp/app/views/devise/shared/_links.html.erb +0 -25
- data/spec/dummyapp/app/views/home/cause_exception.html.erb +0 -1
- data/spec/dummyapp/app/views/home/index.html.erb +0 -4
- data/spec/dummyapp/app/views/home/report_exception.html.erb +0 -1
- data/spec/dummyapp/app/views/js/test.html.erb +0 -1
- data/spec/dummyapp/app/views/layouts/_messages.html.erb +0 -5
- data/spec/dummyapp/app/views/layouts/_navigation.html.erb +0 -21
- data/spec/dummyapp/app/views/layouts/application.html.erb +0 -25
- data/spec/dummyapp/app/views/layouts/simple.html.erb +0 -18
- data/spec/dummyapp/app/views/users/index.html.erb +0 -8
- data/spec/dummyapp/app/views/users/show.html.erb +0 -3
- data/spec/dummyapp/config.ru +0 -4
- data/spec/dummyapp/config/application.rb +0 -59
- data/spec/dummyapp/config/boot.rb +0 -10
- data/spec/dummyapp/config/database.yml +0 -25
- data/spec/dummyapp/config/environment.rb +0 -5
- data/spec/dummyapp/config/environments/development.rb +0 -37
- data/spec/dummyapp/config/environments/production.rb +0 -67
- data/spec/dummyapp/config/environments/test.rb +0 -37
- data/spec/dummyapp/config/initializers/backtrace_silencers.rb +0 -7
- data/spec/dummyapp/config/initializers/inflections.rb +0 -15
- data/spec/dummyapp/config/initializers/mime_types.rb +0 -5
- data/spec/dummyapp/config/initializers/rollbar.rb +0 -26
- data/spec/dummyapp/config/initializers/secret_token.rb +0 -7
- data/spec/dummyapp/config/initializers/session_store.rb +0 -8
- data/spec/dummyapp/config/initializers/wrap_parameters.rb +0 -16
- data/spec/dummyapp/config/locales/devise.en.yml +0 -58
- data/spec/dummyapp/config/locales/en.yml +0 -5
- data/spec/dummyapp/config/routes.rb +0 -17
- data/spec/dummyapp/config/secrets.yml +0 -2
- data/spec/dummyapp/db/migrate/20121121184652_devise_create_users.rb +0 -46
- data/spec/dummyapp/db/migrate/20121121184654_add_name_to_users.rb +0 -5
- data/spec/dummyapp/db/migrate/20161219184410_create_books.rb +0 -10
- data/spec/dummyapp/db/migrate/20161219185529_add_username_to_users.rb +0 -5
- data/spec/dummyapp/db/schema.rb +0 -41
- data/spec/dummyapp/db/seeds.rb +0 -12
- data/spec/dummyapp/lib/assets/.gitkeep +0 -0
- data/spec/dummyapp/public/404.html +0 -26
- data/spec/dummyapp/public/422.html +0 -26
- data/spec/dummyapp/public/500.html +0 -25
- data/spec/dummyapp/public/favicon.ico +0 -0
- data/spec/dummyapp/script/rails +0 -6
- data/spec/fixtures/file1 +0 -1
- data/spec/fixtures/file2 +0 -1
- data/spec/fixtures/payloads/message.json +0 -25
- data/spec/fixtures/payloads/sample.trace.json +0 -275
- data/spec/fixtures/payloads/sample.trace_chain.json +0 -530
- data/spec/fixtures/plugins/dummy1.rb +0 -5
- data/spec/fixtures/plugins/dummy2.rb +0 -5
- data/spec/generators/rollbar/rollbar_generator_rails30_spec.rb +0 -31
- data/spec/generators/rollbar/rollbar_generator_spec.rb +0 -51
- data/spec/requests/home_spec.rb +0 -49
- data/spec/rollbar/configuration_spec.rb +0 -74
- data/spec/rollbar/delay/delayed_job_spec.rb +0 -22
- data/spec/rollbar/delay/girl_friday_spec.rb +0 -41
- data/spec/rollbar/delay/resque_spec.rb +0 -37
- data/spec/rollbar/delay/shoryuken_spec.rb +0 -44
- data/spec/rollbar/delay/thread_spec.rb +0 -27
- data/spec/rollbar/encoding/encoder_spec.rb +0 -63
- data/spec/rollbar/item/backtrace_spec.rb +0 -26
- data/spec/rollbar/item/frame_spec.rb +0 -267
- data/spec/rollbar/item_spec.rb +0 -736
- data/spec/rollbar/json/oj_spec.rb +0 -18
- data/spec/rollbar/json_spec.rb +0 -110
- data/spec/rollbar/lazy_store_spec.rb +0 -99
- data/spec/rollbar/logger_proxy_spec.rb +0 -69
- data/spec/rollbar/logger_spec.rb +0 -124
- data/spec/rollbar/middleware/js_spec.rb +0 -428
- data/spec/rollbar/middleware/sinatra_spec.rb +0 -197
- data/spec/rollbar/notifier_spec.rb +0 -67
- data/spec/rollbar/plugin_spec.rb +0 -209
- data/spec/rollbar/plugins/active_job_spec.rb +0 -45
- data/spec/rollbar/plugins/delayed_job/job_data_spec.rb +0 -48
- data/spec/rollbar/plugins/delayed_job_spec.rb +0 -129
- data/spec/rollbar/plugins/rack_spec.rb +0 -152
- data/spec/rollbar/plugins/rails_js_spec.rb +0 -19
- data/spec/rollbar/plugins/rake_spec.rb +0 -34
- data/spec/rollbar/plugins/resque/failure_spec.rb +0 -36
- data/spec/rollbar/plugins/sidekiq_spec.rb +0 -169
- data/spec/rollbar/plugins/validations_spec.rb +0 -56
- data/spec/rollbar/plugins_spec.rb +0 -68
- data/spec/rollbar/request_data_extractor_spec.rb +0 -321
- data/spec/rollbar/scrubbers/params_spec.rb +0 -598
- data/spec/rollbar/scrubbers/url_spec.rb +0 -240
- data/spec/rollbar/scrubbers_spec.rb +0 -31
- data/spec/rollbar/sidekig/clear_scope_spec.rb +0 -19
- data/spec/rollbar/truncation/frames_strategy_spec.rb +0 -70
- data/spec/rollbar/truncation/min_body_strategy_spec.rb +0 -57
- data/spec/rollbar/truncation/strings_strategy_spec.rb +0 -89
- data/spec/rollbar/truncation_spec.rb +0 -27
- data/spec/rollbar/util/hash_spec.rb +0 -22
- data/spec/rollbar/util/ip_anonymizer_spec.rb +0 -30
- data/spec/rollbar/util_spec.rb +0 -80
- data/spec/rollbar_bc_spec.rb +0 -380
- data/spec/rollbar_spec.rb +0 -1737
- data/spec/spec_helper.rb +0 -84
- data/spec/support/cause_exception.rb +0 -1
- data/spec/support/encoding_helpers.rb +0 -8
- data/spec/support/encodings/iso_8859_9 +0 -1
- data/spec/support/fixture_helpers.rb +0 -10
- data/spec/support/get_ip_raising.rb +0 -7
- data/spec/support/helpers.rb +0 -5
- data/spec/support/matchers.rb +0 -23
- data/spec/support/notifier_helpers.rb +0 -57
- data/spec/support/rollbar_api.rb +0 -57
- data/spec/support/secure_headers_mocks.rb +0 -83
- data/spec/support/shared_contexts.rb +0 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cbabec796ebc75cdf994e05081fe2f29f2613fc3
|
4
|
+
data.tar.gz: 8f6e293f90b0d3840f8168a1b181fde56fcf8bd8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cdab38d35f1e2461172cc10883e821d59879a0eb8cef1be4d26c318341dce9ece1e15d9d3f8e1d44c8ab72a82958be6629713622c45fe5934cbefa5e02a7bdfe
|
7
|
+
data.tar.gz: 3d0050f93cd0e855031aa00115f3cf6050be92cb65b64c30978be49e19cd6b07c5dd871c56fff66e881f62b596f7aa29c1ea4f217e266d3a94194ff2980d683e
|
data/.rubocop.yml
CHANGED
@@ -8,9 +8,15 @@ Style/HashSyntax:
|
|
8
8
|
SupportedStyles:
|
9
9
|
- hash_rockets
|
10
10
|
|
11
|
+
Style/SymbolArray:
|
12
|
+
Enabled: false # %i[] syntax isn't 1.9.x compatible
|
13
|
+
|
11
14
|
Metrics/LineLength:
|
12
15
|
Max: 1000
|
13
16
|
|
17
|
+
Metrics/MethodLength:
|
18
|
+
Max: 15 # Relax slightly from the default of 10
|
19
|
+
|
14
20
|
Style/DoubleNegation:
|
15
21
|
Enabled: false
|
16
22
|
|
@@ -19,3 +25,12 @@ Style/Lambda:
|
|
19
25
|
|
20
26
|
Style/EachWithObject:
|
21
27
|
Enabled: false
|
28
|
+
|
29
|
+
Metrics/BlockLength:
|
30
|
+
ExcludedMethods: ['describe', 'context'] # RSpec DSL is expected to have long blocks.
|
31
|
+
|
32
|
+
Style/ExpandPathArguments:
|
33
|
+
Enabled: false # syntax requires Ruby >= 2.0
|
34
|
+
|
35
|
+
Gemspec/RequiredRubyVersion:
|
36
|
+
Enabled: false # rubocop compares to gemspec, yet won't allow 1.9 as minimum version
|
data/.travis.yml
CHANGED
@@ -4,23 +4,55 @@ services:
|
|
4
4
|
language: ruby
|
5
5
|
# Broken bundler on travis CI - https://github.com/bundler/bundler/issues/2784
|
6
6
|
before_install:
|
7
|
-
- gem update --system 2.
|
7
|
+
- gem update --system 2.7.7
|
8
8
|
- gem --version
|
9
|
-
- gem install bundler
|
9
|
+
- gem install bundler -v 1.6.1
|
10
10
|
- bundle --version
|
11
|
+
|
11
12
|
rvm:
|
12
13
|
- 1.9.3
|
13
14
|
- 2.0.0
|
14
15
|
- 2.1.0
|
15
16
|
- 2.2.2
|
16
|
-
-
|
17
|
-
-
|
17
|
+
- 2.3.0
|
18
|
+
- 2.3.8
|
19
|
+
- 2.4.5
|
20
|
+
- 2.5.3
|
21
|
+
- 2.6.0
|
18
22
|
- rbx
|
23
|
+
- jruby-9.1.9.0
|
24
|
+
#
|
25
|
+
# # About legacy JRuby
|
26
|
+
#
|
27
|
+
# Legacy JRubies (jruby-18mode, jruby-19mode) have been disabled for some time by
|
28
|
+
# listing all possible targets in either the exclude or allow_failures sections.
|
29
|
+
# I have taken a look at getting them running, and have found that no valid
|
30
|
+
# combination of dependencies is possible for Rails 3.0 and higher. It appears
|
31
|
+
# Rails 2.2 is meant to work, though I haven't tried it.
|
32
|
+
#
|
33
|
+
# For Rails 3.0, it is possible to get a working bundle with all gem dependencies,
|
34
|
+
# but the JDBC adapter gem needs an earlier version of ActiveSupport, and it will
|
35
|
+
# fail at runtime.
|
36
|
+
#
|
37
|
+
# For Rails 3.1 and 3.2, Rack 1.3.x and higher require Ruby 2.x, while Rails 3.x will
|
38
|
+
# not accept any 1.2.x version of Rack. Even if this could be resolved, one would
|
39
|
+
# hit the above runtime issue amyway.
|
40
|
+
#
|
41
|
+
# # About current JRuby
|
42
|
+
#
|
43
|
+
# While current JRuby builds aim to be Ruby 2.5.x compatible, the JDBC adapter
|
44
|
+
# gem is constrained to only Rails 5.0, 5.1 and 5.2 at this time. (Old versions
|
45
|
+
# of the gem allow >= Rails 2.2, but in practice it will not work with Rails 3.0
|
46
|
+
# and higher because of the ActiveSupport issue described above.) For as long as
|
47
|
+
# the test suite relies on Rails and SqlLite, it is not possible to include
|
48
|
+
# earlier Rails for JRuby.
|
49
|
+
|
19
50
|
jdk:
|
20
|
-
-
|
51
|
+
# These are the JDKs currently supported on Travis (Trusty - Ubuntu 14.04)
|
21
52
|
- openjdk7
|
22
|
-
-
|
53
|
+
- openjdk8
|
23
54
|
- oraclejdk8
|
55
|
+
- oraclejdk9
|
24
56
|
env:
|
25
57
|
- ROLLBAR_SSL_CERT_FILE=/home/travis/build/rollbar/rollbar-gem/spec/cacert.pem
|
26
58
|
gemfile:
|
@@ -32,149 +64,177 @@ gemfile:
|
|
32
64
|
- gemfiles/rails42.gemfile
|
33
65
|
- gemfiles/rails50.gemfile
|
34
66
|
- gemfiles/rails51.gemfile
|
67
|
+
- gemfiles/rails52.gemfile
|
35
68
|
matrix:
|
36
|
-
include:
|
37
|
-
|
38
|
-
gemfile: gemfiles/ruby_1_8_and_1_9_2.gemfile
|
39
|
-
jdk: openjdk6
|
40
|
-
- rvm: 1.9.2
|
41
|
-
gemfile: gemfiles/ruby_1_8_and_1_9_2.gemfile
|
42
|
-
jdk: openjdk6
|
69
|
+
include: []
|
70
|
+
|
43
71
|
allow_failures:
|
44
72
|
- rvm: ruby-head
|
45
|
-
- rvm: jruby-18mode
|
46
73
|
- rvm: jruby-head
|
74
|
+
# Ruby 2.6.x is still being eveluated and may have test failures
|
75
|
+
- rvm: 2.6.0
|
76
|
+
# oraclejdk9 has a dependency issue that needs to be investigated
|
77
|
+
- jdk: oraclejdk9
|
47
78
|
|
48
|
-
# NOTE: Allowing this to fail because of some strange error in rspec-core `undefined method `example_group_finished'`.
|
49
|
-
# Seems to work with oraclejdk7.
|
50
|
-
- rvm: jruby-19mode
|
51
|
-
jdk: openjdk7
|
52
79
|
exclude:
|
53
80
|
# Don't run tests for non-jruby environments with the JDK.
|
54
81
|
# NOTE: openjdk7 is missing from these exclusions so that Travis will run at least 1 build for the given rvm.
|
55
|
-
- rvm: 1.8.7
|
56
|
-
jdk: openjdk6
|
57
|
-
- rvm: 1.8.7
|
58
|
-
jdk: oraclejdk7
|
59
|
-
- rvm: 1.8.7
|
60
|
-
jdk: oraclejdk8
|
61
|
-
- rvm: 1.9.2
|
62
|
-
jdk: openjdk6
|
63
|
-
- rvm: 1.9.2
|
64
|
-
jdk: oraclejdk7
|
65
|
-
- rvm: 1.9.2
|
66
|
-
jdk: oraclejdk8
|
67
|
-
- rvm: 1.9.3
|
68
|
-
jdk: openjdk6
|
69
82
|
- rvm: 1.9.3
|
70
|
-
jdk:
|
83
|
+
jdk: openjdk8
|
71
84
|
- rvm: 1.9.3
|
72
85
|
jdk: oraclejdk8
|
86
|
+
- rvm: 1.9.3
|
87
|
+
jdk: oraclejdk9
|
73
88
|
- rvm: 2.0.0
|
74
|
-
jdk:
|
75
|
-
- rvm: 2.0.0
|
76
|
-
jdk: oraclejdk7
|
89
|
+
jdk: openjdk8
|
77
90
|
- rvm: 2.0.0
|
78
91
|
jdk: oraclejdk8
|
92
|
+
- rvm: 2.0.0
|
93
|
+
jdk: oraclejdk9
|
79
94
|
- rvm: 2.1.0
|
80
|
-
jdk:
|
81
|
-
- rvm: 2.1.0
|
82
|
-
jdk: oraclejdk7
|
95
|
+
jdk: openjdk8
|
83
96
|
- rvm: 2.1.0
|
84
97
|
jdk: oraclejdk8
|
98
|
+
- rvm: 2.1.0
|
99
|
+
jdk: oraclejdk9
|
85
100
|
- rvm: 2.2.2
|
86
|
-
jdk:
|
101
|
+
jdk: openjdk8
|
87
102
|
- rvm: 2.2.2
|
88
|
-
jdk:
|
103
|
+
jdk: oraclejdk8
|
89
104
|
- rvm: 2.2.2
|
105
|
+
jdk: oraclejdk9
|
106
|
+
- rvm: 2.3.0
|
107
|
+
jdk: openjdk8
|
108
|
+
- rvm: 2.3.0
|
109
|
+
jdk: oraclejdk8
|
110
|
+
- rvm: 2.3.0
|
111
|
+
jdk: oraclejdk9
|
112
|
+
- rvm: 2.3.8
|
113
|
+
jdk: openjdk8
|
114
|
+
- rvm: 2.3.8
|
115
|
+
jdk: oraclejdk8
|
116
|
+
- rvm: 2.3.8
|
117
|
+
jdk: oraclejdk9
|
118
|
+
- rvm: 2.4.5
|
119
|
+
jdk: openjdk8
|
120
|
+
- rvm: 2.4.5
|
121
|
+
jdk: oraclejdk8
|
122
|
+
- rvm: 2.4.5
|
123
|
+
jdk: oraclejdk9
|
124
|
+
- rvm: 2.5.3
|
125
|
+
jdk: openjdk8
|
126
|
+
- rvm: 2.5.3
|
90
127
|
jdk: oraclejdk8
|
128
|
+
- rvm: 2.5.3
|
129
|
+
jdk: oraclejdk9
|
130
|
+
- rvm: 2.6.0
|
131
|
+
jdk: openjdk8
|
132
|
+
- rvm: 2.6.0
|
133
|
+
jdk: oraclejdk8
|
134
|
+
- rvm: 2.6.0
|
135
|
+
jdk: oraclejdk9
|
91
136
|
|
92
137
|
- rvm: ruby-head
|
93
|
-
jdk:
|
94
|
-
- rvm: ruby-head
|
95
|
-
jdk: oraclejdk7
|
138
|
+
jdk: openjdk8
|
96
139
|
- rvm: ruby-head
|
97
140
|
jdk: oraclejdk8
|
141
|
+
- rvm: ruby-head
|
142
|
+
jdk: oraclejdk9
|
98
143
|
- rvm: rbx
|
99
|
-
jdk:
|
100
|
-
- rvm: rbx
|
101
|
-
jdk: oraclejdk7
|
144
|
+
jdk: openjdk8
|
102
145
|
- rvm: rbx
|
103
146
|
jdk: oraclejdk8
|
147
|
+
- rvm: rbx
|
148
|
+
jdk: oraclejdk9
|
104
149
|
|
105
|
-
#
|
106
|
-
- rvm: 1.8.7
|
107
|
-
gemfile: gemfiles/rails31.gemfile
|
108
|
-
- rvm: 1.8.7
|
109
|
-
gemfile: gemfiles/rails32.gemfile
|
110
|
-
- rvm: 1.8.7
|
111
|
-
gemfile: gemfiles/rails40.gemfile
|
112
|
-
- rvm: 1.8.7
|
113
|
-
gemfile: gemfiles/rails41.gemfile
|
114
|
-
- rvm: 1.8.7
|
115
|
-
gemfile: gemfiles/rails42.gemfile
|
116
|
-
- rvm: 1.8.7
|
117
|
-
gemfile: gemfiles/rails50.gemfile
|
118
|
-
- rvm: 1.8.7
|
119
|
-
gemfile: gemfiles/rails51.gemfile
|
120
|
-
- rvm: 1.9.2
|
121
|
-
gemfile: gemfiles/rails31.gemfile
|
122
|
-
- rvm: 1.9.2
|
123
|
-
gemfile: gemfiles/rails32.gemfile
|
124
|
-
- rvm: 1.9.2
|
125
|
-
gemfile: gemfiles/rails40.gemfile
|
126
|
-
- rvm: 1.9.2
|
127
|
-
gemfile: gemfiles/rails41.gemfile
|
128
|
-
- rvm: 1.9.2
|
129
|
-
gemfile: gemfiles/rails42.gemfile
|
130
|
-
- rvm: 1.9.2
|
131
|
-
gemfile: gemfiles/rails50.gemfile
|
132
|
-
- rvm: 1.9.2
|
133
|
-
gemfile: gemfiles/rails51.gemfile
|
150
|
+
# Rails 5.x requires Ruby 2.2.2 or higher
|
134
151
|
- rvm: 1.9.3
|
135
152
|
gemfile: gemfiles/rails50.gemfile
|
136
153
|
- rvm: 1.9.3
|
137
154
|
gemfile: gemfiles/rails51.gemfile
|
155
|
+
- rvm: 1.9.3
|
156
|
+
gemfile: gemfiles/rails52.gemfile
|
157
|
+
# Rails 5.x requires Ruby 2.2.2 or higher
|
138
158
|
- rvm: 2.0.0
|
139
159
|
gemfile: gemfiles/rails50.gemfile
|
140
160
|
- rvm: 2.0.0
|
141
161
|
gemfile: gemfiles/rails51.gemfile
|
162
|
+
- rvm: 2.0.0
|
163
|
+
gemfile: gemfiles/rails52.gemfile
|
164
|
+
# Rails 5.x requires Ruby 2.2.2 or higher
|
142
165
|
- rvm: 2.1.0
|
143
166
|
gemfile: gemfiles/rails50.gemfile
|
144
167
|
- rvm: 2.1.0
|
145
168
|
gemfile: gemfiles/rails51.gemfile
|
169
|
+
- rvm: 2.1.0
|
170
|
+
gemfile: gemfiles/rails52.gemfile
|
171
|
+
# MRI 2.2.2 supports Rails 3.2.x and higher
|
146
172
|
- rvm: 2.2.2
|
147
173
|
gemfile: gemfiles/rails30.gemfile
|
148
174
|
- rvm: 2.2.2
|
149
175
|
gemfile: gemfiles/rails31.gemfile
|
150
|
-
|
176
|
+
# MRI 2.3.x supports Rails 4.0.x and higher
|
177
|
+
- rvm: 2.3.0
|
151
178
|
gemfile: gemfiles/rails30.gemfile
|
152
|
-
- rvm:
|
179
|
+
- rvm: 2.3.0
|
153
180
|
gemfile: gemfiles/rails31.gemfile
|
154
|
-
- rvm:
|
181
|
+
- rvm: 2.3.0
|
155
182
|
gemfile: gemfiles/rails32.gemfile
|
156
|
-
- rvm:
|
183
|
+
- rvm: 2.3.8
|
184
|
+
gemfile: gemfiles/rails30.gemfile
|
185
|
+
- rvm: 2.3.8
|
186
|
+
gemfile: gemfiles/rails31.gemfile
|
187
|
+
- rvm: 2.3.8
|
188
|
+
gemfile: gemfiles/rails32.gemfile
|
189
|
+
- rvm: 2.3.8
|
157
190
|
gemfile: gemfiles/rails40.gemfile
|
158
|
-
- rvm:
|
191
|
+
- rvm: 2.3.8
|
159
192
|
gemfile: gemfiles/rails41.gemfile
|
160
|
-
|
161
|
-
|
162
|
-
- rvm:
|
193
|
+
# MRI 2.4.x and higher (e.g. 2.5.x, 2.6.x, etc) supports Rails 4.2.8 and higher
|
194
|
+
# Rails lower than 4.2.8 is incompatible with Ruby 2.4 Integer class
|
195
|
+
- rvm: 2.4.5
|
163
196
|
gemfile: gemfiles/rails30.gemfile
|
164
|
-
- rvm:
|
197
|
+
- rvm: 2.4.5
|
165
198
|
gemfile: gemfiles/rails31.gemfile
|
166
|
-
- rvm:
|
199
|
+
- rvm: 2.4.5
|
167
200
|
gemfile: gemfiles/rails32.gemfile
|
168
|
-
- rvm:
|
201
|
+
- rvm: 2.4.5
|
169
202
|
gemfile: gemfiles/rails40.gemfile
|
170
|
-
- rvm:
|
203
|
+
- rvm: 2.4.5
|
171
204
|
gemfile: gemfiles/rails41.gemfile
|
172
|
-
- rvm:
|
205
|
+
- rvm: 2.5.3
|
206
|
+
gemfile: gemfiles/rails30.gemfile
|
207
|
+
- rvm: 2.5.3
|
208
|
+
gemfile: gemfiles/rails31.gemfile
|
209
|
+
- rvm: 2.5.3
|
210
|
+
gemfile: gemfiles/rails32.gemfile
|
211
|
+
- rvm: 2.5.3
|
212
|
+
gemfile: gemfiles/rails40.gemfile
|
213
|
+
- rvm: 2.5.3
|
214
|
+
gemfile: gemfiles/rails41.gemfile
|
215
|
+
- rvm: 2.6.0
|
216
|
+
gemfile: gemfiles/rails30.gemfile
|
217
|
+
- rvm: 2.6.0
|
218
|
+
gemfile: gemfiles/rails31.gemfile
|
219
|
+
- rvm: 2.6.0
|
220
|
+
gemfile: gemfiles/rails32.gemfile
|
221
|
+
- rvm: 2.6.0
|
222
|
+
gemfile: gemfiles/rails40.gemfile
|
223
|
+
- rvm: 2.6.0
|
224
|
+
gemfile: gemfiles/rails41.gemfile
|
225
|
+
# JRuby JDBC Adapter is only compatible with Rails >= 5.x
|
226
|
+
- rvm: jruby-9.1.9.0
|
227
|
+
gemfile: gemfiles/rails30.gemfile
|
228
|
+
- rvm: jruby-9.1.9.0
|
229
|
+
gemfile: gemfiles/rails31.gemfile
|
230
|
+
- rvm: jruby-9.1.9.0
|
231
|
+
gemfile: gemfiles/rails32.gemfile
|
232
|
+
- rvm: jruby-9.1.9.0
|
233
|
+
gemfile: gemfiles/rails40.gemfile
|
234
|
+
- rvm: jruby-9.1.9.0
|
235
|
+
gemfile: gemfiles/rails41.gemfile
|
236
|
+
- rvm: jruby-9.1.9.0
|
173
237
|
gemfile: gemfiles/rails42.gemfile
|
174
|
-
- rvm: jruby-19mode
|
175
|
-
gemfile: gemfiles/rails50.gemfile
|
176
|
-
- rvm: jruby-19mode
|
177
|
-
gemfile: gemfiles/rails51.gemfile
|
178
238
|
- rvm: rbx
|
179
239
|
gemfile: gemfiles/rails30.gemfile
|
180
240
|
- rvm: rbx
|
@@ -191,3 +251,5 @@ matrix:
|
|
191
251
|
gemfile: gemfiles/rails50.gemfile
|
192
252
|
- rvm: rbx
|
193
253
|
gemfile: gemfiles/rails51.gemfile
|
254
|
+
- rvm: rbx
|
255
|
+
gemfile: gemfiles/rails52.gemfile
|
data/Gemfile
CHANGED
@@ -7,23 +7,25 @@ is_jruby = defined?(JRUBY_VERSION) || (defined?(RUBY_ENGINE) && RUBY_ENGINE == '
|
|
7
7
|
gem 'activerecord-jdbcsqlite3-adapter', :platform => :jruby
|
8
8
|
gem 'appraisal'
|
9
9
|
gem 'jruby-openssl', :platform => :jruby
|
10
|
-
gem 'rails', '4.2.
|
10
|
+
gem 'rails', '4.2.8'
|
11
11
|
gem 'rake'
|
12
12
|
gem 'rspec-rails', '~> 3.4'
|
13
|
-
gem 'sqlite3', :platform => [:ruby, :mswin, :mingw]
|
13
|
+
gem 'sqlite3', '< 1.4.0', :platform => [:ruby, :mswin, :mingw]
|
14
14
|
|
15
15
|
unless is_jruby
|
16
|
-
if RUBY_VERSION >= '2.
|
17
|
-
gem 'oj'
|
16
|
+
if RUBY_VERSION >= '2.5'
|
17
|
+
gem 'oj'
|
18
|
+
elsif RUBY_VERSION >= '2.4.0'
|
19
|
+
gem 'oj', '~> 2.16.1' # rubocop:disable Bundler/DuplicatedGem
|
18
20
|
else
|
19
|
-
gem 'oj', '~> 2.12.14'
|
21
|
+
gem 'oj', '~> 2.12.14' # rubocop:disable Bundler/DuplicatedGem
|
20
22
|
end
|
21
23
|
end
|
22
24
|
|
23
25
|
if RUBY_VERSION > '1.8.7' && RUBY_VERSION < '2.2.2'
|
24
|
-
gem 'sidekiq', '
|
26
|
+
gem 'sidekiq', '~> 2.13.0'
|
25
27
|
else
|
26
|
-
gem 'sidekiq', '>= 2.13.0'
|
28
|
+
gem 'sidekiq', '>= 2.13.0' # rubocop:disable Bundler/DuplicatedGem
|
27
29
|
end
|
28
30
|
|
29
31
|
platforms :rbx do
|
@@ -34,20 +36,24 @@ platforms :rbx do
|
|
34
36
|
end
|
35
37
|
|
36
38
|
if RUBY_VERSION.start_with?('1.9')
|
39
|
+
gem 'shoryuken', '>= 4.0.0', '<= 4.0.2'
|
37
40
|
gem 'sucker_punch', '~> 1.0'
|
38
41
|
elsif RUBY_VERSION.start_with?('2')
|
39
|
-
gem '
|
42
|
+
gem 'codacy-coverage'
|
43
|
+
gem 'shoryuken' # rubocop:disable Bundler/DuplicatedGem
|
44
|
+
gem 'simplecov'
|
45
|
+
gem 'sucker_punch', '~> 2.0' # rubocop:disable Bundler/DuplicatedGem
|
40
46
|
end
|
41
47
|
|
42
48
|
gem 'aws-sdk-sqs'
|
43
|
-
gem 'database_cleaner'
|
49
|
+
gem 'database_cleaner'
|
44
50
|
gem 'delayed_job', :require => false
|
45
51
|
gem 'generator_spec'
|
46
52
|
gem 'girl_friday', '>= 0.11.1'
|
47
53
|
gem 'redis'
|
48
|
-
gem 'resque'
|
49
|
-
gem '
|
54
|
+
gem 'resque', '< 2.0.0'
|
55
|
+
gem 'rspec-command'
|
56
|
+
gem 'rubocop', :require => false
|
50
57
|
gem 'sinatra'
|
51
|
-
gem 'webmock'
|
52
|
-
|
58
|
+
gem 'webmock', :require => false
|
53
59
|
gemspec
|
data/README.md
CHANGED
@@ -3,6 +3,12 @@
|
|
3
3
|
[![Gem Version](https://badge.fury.io/rb/rollbar.svg)](http://badge.fury.io/rb/rollbar)
|
4
4
|
[![SemVer](https://api.dependabot.com/badges/compatibility_score?dependency-name=rollbar&package-manager=bundler&version-scheme=semver&target-version=latest)](https://dependabot.com/compatibility-score.html?dependency-name=rollbar&package-manager=bundler&version-scheme=semver&new-version=latest)
|
5
5
|
|
6
|
+
> WARNING: Ruby 2.6.0 introduced a new bug bug ([#15472 -
|
7
|
+
Invalid JSON data being sent from Net::HTTP in some cases with Ruby 2.6.0](https://bugs.ruby-lang.org/issues/15472)) that may result in the Rollbar API returning an error when an exception is reported. (See [rollbar-gem issue #797](https://github.com/rollbar/rollbar-gem/issues/797)).
|
8
|
+
> Until the Ruby maintainers have released the fix for this bug, we advise Rollbar users to not upgrade their applications to Ruby 2.6.0.
|
9
|
+
|
10
|
+
|
11
|
+
|
6
12
|
[Rollbar](https://rollbar.com) is a real-time exception reporting service for Ruby and other languages. The Rollbar service will alert you of problems with your code and help you understand them in a ways never possible before. We love it and we hope you will too.
|
7
13
|
|
8
14
|
Rollbar-gem is the SDK for Ruby apps and includes support for apps using Rails, Sinatra, Rack, plain Ruby, and other frameworks.
|
@@ -16,6 +22,12 @@ Rollbar-gem is the SDK for Ruby apps and includes support for apps using Rails,
|
|
16
22
|
|
17
23
|
For complete usage instructions and configuration reference, see our [Ruby SDK docs](https://docs.rollbar.com/docs/ruby).
|
18
24
|
|
25
|
+
## Compatibility
|
26
|
+
|
27
|
+
Version >= 2.19.0 is compatible with Ruby >= 1.9.3.
|
28
|
+
|
29
|
+
Version < 2.19.0 is compatible with Ruby >= 1.8.7.
|
30
|
+
|
19
31
|
## Release History & Changelog
|
20
32
|
|
21
33
|
See our [Releases](https://github.com/rollbar/rollbar-gem/releases) page for a list of all releases, including changes.
|