rollbar 3.0.0 → 3.2.0
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 +4 -4
- data/.github/workflows/ci.yml +118 -0
- data/.rubocop.yml +1 -1
- data/Gemfile +14 -7
- data/README.md +1 -1
- data/data/rollbar.snippet.js +1 -1
- data/gemfiles/rails30.gemfile +8 -11
- data/gemfiles/rails31.gemfile +10 -12
- data/gemfiles/rails32.gemfile +8 -11
- data/gemfiles/rails40.gemfile +7 -11
- data/gemfiles/rails41.gemfile +7 -11
- data/gemfiles/rails42.gemfile +5 -11
- data/gemfiles/rails50.gemfile +7 -12
- data/gemfiles/rails51.gemfile +7 -12
- data/gemfiles/rails52.gemfile +3 -10
- data/gemfiles/rails60.gemfile +5 -17
- data/gemfiles/rails61.gemfile +54 -0
- data/lib/rollbar/capistrano_tasks.rb +22 -4
- data/lib/rollbar/configuration.rb +10 -0
- data/lib/rollbar/item.rb +17 -4
- data/lib/rollbar/item/locals.rb +0 -1
- data/lib/rollbar/lazy_store.rb +2 -4
- data/lib/rollbar/middleware/js.rb +28 -18
- data/lib/rollbar/notifier.rb +5 -1
- data/lib/rollbar/plugins/sidekiq.rb +1 -1
- data/lib/rollbar/plugins/sidekiq/plugin.rb +36 -19
- data/lib/rollbar/plugins/thread.rb +8 -7
- data/lib/rollbar/scrubbers/url.rb +15 -1
- data/lib/rollbar/version.rb +1 -1
- metadata +5 -4
- data/.travis.yml +0 -268
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 425ed5a051e9393cad69cf84b7d074daf3f2d07a57b28e64946f04254bb60cbe
|
4
|
+
data.tar.gz: bcf8046e12ccff28c5dab1e32c40cf5d5fee74a7b02602bc4a4735ff21306480
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 64480f75431290bd39ba433f6c692ec86c0a727c8f3d4a95998b129786c5d368463e18d0f62ba3b4425a0fd468d612e67be1df0655bd1f72cc3615efeec84ed6
|
7
|
+
data.tar.gz: 8dfc0039125069aea04cb466a8de1674ffa16d9325d5fc54c3daea5265d62a2dbb29d227f9d48599c6233152b90ff60f4e015a5dd8a805c31c51222c96fcf3bc
|
@@ -0,0 +1,118 @@
|
|
1
|
+
name: Rollbar-gem CI
|
2
|
+
|
3
|
+
on:
|
4
|
+
push:
|
5
|
+
branches: [ master ]
|
6
|
+
pull_request:
|
7
|
+
branches: [ master ]
|
8
|
+
|
9
|
+
jobs:
|
10
|
+
build:
|
11
|
+
runs-on: ubuntu-18.04
|
12
|
+
strategy:
|
13
|
+
matrix:
|
14
|
+
ruby-version: [2.2.10, 2.3.0, 2.3.8, 2.4.5, 2.5.3, 2.6.0, 2.6.6, 2.7.2]
|
15
|
+
gemfile:
|
16
|
+
- gemfiles/rails42.gemfile
|
17
|
+
- gemfiles/rails50.gemfile
|
18
|
+
- gemfiles/rails51.gemfile
|
19
|
+
- gemfiles/rails52.gemfile
|
20
|
+
- gemfiles/rails60.gemfile
|
21
|
+
- gemfiles/rails61.gemfile
|
22
|
+
exclude:
|
23
|
+
- gemfile: gemfiles/rails42.gemfile
|
24
|
+
ruby-version: 2.7.2
|
25
|
+
- gemfile: gemfiles/rails42.gemfile
|
26
|
+
ruby-version: 2.6.0
|
27
|
+
- gemfile: gemfiles/rails42.gemfile
|
28
|
+
ruby-version: 2.6.6
|
29
|
+
- gemfile: gemfiles/rails42.gemfile
|
30
|
+
ruby-version: 2.7.2
|
31
|
+
- gemfile: gemfiles/rails52.gemfile
|
32
|
+
ruby-version: 2.2.10
|
33
|
+
- gemfile: gemfiles/rails60.gemfile
|
34
|
+
ruby-version: 2.2.10
|
35
|
+
- gemfile: gemfiles/rails60.gemfile
|
36
|
+
ruby-version: 2.3.0
|
37
|
+
- gemfile: gemfiles/rails60.gemfile
|
38
|
+
ruby-version: 2.3.8
|
39
|
+
- gemfile: gemfiles/rails60.gemfile
|
40
|
+
ruby-version: 2.4.5
|
41
|
+
- gemfile: gemfiles/rails61.gemfile
|
42
|
+
ruby-version: 2.2.10
|
43
|
+
- gemfile: gemfiles/rails61.gemfile
|
44
|
+
ruby-version: 2.3.0
|
45
|
+
- gemfile: gemfiles/rails61.gemfile
|
46
|
+
ruby-version: 2.3.8
|
47
|
+
- gemfile: gemfiles/rails61.gemfile
|
48
|
+
ruby-version: 2.4.5
|
49
|
+
include:
|
50
|
+
- gemfile: gemfiles/rails41.gemfile
|
51
|
+
ruby-version: 2.3.0
|
52
|
+
- gemfile: gemfiles/rails41.gemfile
|
53
|
+
ruby-version: 2.2.10
|
54
|
+
- gemfile: gemfiles/rails41.gemfile
|
55
|
+
ruby-version: 2.1.9
|
56
|
+
- gemfile: gemfiles/rails40.gemfile
|
57
|
+
ruby-version: 2.3.0
|
58
|
+
- gemfile: gemfiles/rails40.gemfile
|
59
|
+
ruby-version: 2.2.10
|
60
|
+
- gemfile: gemfiles/rails40.gemfile
|
61
|
+
ruby-version: 2.1.9
|
62
|
+
- gemfile: gemfiles/rails32.gemfile
|
63
|
+
ruby-version: 2.2.10
|
64
|
+
- gemfile: gemfiles/rails32.gemfile
|
65
|
+
ruby-version: 2.1.9
|
66
|
+
- gemfile: gemfiles/rails31.gemfile
|
67
|
+
ruby-version: 2.0.0
|
68
|
+
- gemfile: gemfiles/rails30.gemfile
|
69
|
+
ruby-version: 2.0.0
|
70
|
+
- gemfile: gemfiles/rails61.gemfile
|
71
|
+
ruby-version: 3.0.0
|
72
|
+
|
73
|
+
steps:
|
74
|
+
- uses: actions/checkout@v2
|
75
|
+
with:
|
76
|
+
submodules: recursive
|
77
|
+
|
78
|
+
- name: Start Redis
|
79
|
+
uses: supercharge/redis-github-action@1.1.0
|
80
|
+
with:
|
81
|
+
redis-version: 4
|
82
|
+
|
83
|
+
- name: Setup Ruby > 2.0
|
84
|
+
uses: ruby/setup-ruby@v1
|
85
|
+
if: ${{ matrix.ruby-version != '2.0.0' }}
|
86
|
+
with:
|
87
|
+
ruby-version: ${{ matrix.ruby-version }}
|
88
|
+
|
89
|
+
- name: Setup Ruby 2.0.0
|
90
|
+
if: ${{ matrix.ruby-version == '2.0.0' }}
|
91
|
+
timeout-minutes: 15
|
92
|
+
run: |
|
93
|
+
sudo apt-get update -y
|
94
|
+
sudo apt-get install -y libssl1.0-dev
|
95
|
+
wget http://ftp.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-p648.tar.gz
|
96
|
+
tar xvfz ruby-2.0.0-p648.tar.gz
|
97
|
+
cd ruby-2.0.0-p648
|
98
|
+
./configure && make && sudo make install-nodoc
|
99
|
+
|
100
|
+
- name: Ruby 2.0.0, install bundler
|
101
|
+
if: ${{ matrix.ruby-version == '2.0.0' }}
|
102
|
+
run: sudo gem install bundler -v 1.17.3
|
103
|
+
|
104
|
+
- name: Rails 4.2 ensure bundler version
|
105
|
+
if: ${{ matrix.gemfile == 'gemfiles/rails42.gemfile' }}
|
106
|
+
run: |
|
107
|
+
gem uninstall bundler
|
108
|
+
gem install bundler -v '< 2.0.0'
|
109
|
+
|
110
|
+
- name: Bundle Install
|
111
|
+
run: |
|
112
|
+
export BUNDLE_GEMFILE=${{ matrix.gemfile }}
|
113
|
+
bundle config path vendor/bundle
|
114
|
+
bundle config gemfile ${{ matrix.gemfile }}
|
115
|
+
bundle install --jobs 4 --retry 3
|
116
|
+
|
117
|
+
- name: Rspec
|
118
|
+
run: bundle exec rspec
|
data/.rubocop.yml
CHANGED
@@ -51,7 +51,7 @@ Style/Documentation:
|
|
51
51
|
# As is, we currently add :nodoc: if anything at all.
|
52
52
|
Enabled: false
|
53
53
|
|
54
|
-
Naming/
|
54
|
+
Naming/MethodParameterName:
|
55
55
|
# It's possible to configure this cop to allow just about anything, but what's the point.
|
56
56
|
# The default min length of a param name is 3, but the the default whitelist includes things
|
57
57
|
# like `db` and `io`. So, short names really can be useful.
|
data/Gemfile
CHANGED
@@ -11,8 +11,7 @@ ENV['CURRENT_GEMFILE'] ||= __FILE__
|
|
11
11
|
|
12
12
|
is_jruby = defined?(JRUBY_VERSION) || (defined?(RUBY_ENGINE) && RUBY_ENGINE == 'jruby')
|
13
13
|
|
14
|
-
GEMFILE_RAILS_VERSION = '
|
15
|
-
|
14
|
+
GEMFILE_RAILS_VERSION = '~> 6.1.3'.freeze
|
16
15
|
gem 'activerecord-jdbcsqlite3-adapter', :platform => :jruby
|
17
16
|
gem 'appraisal'
|
18
17
|
gem 'jruby-openssl', :platform => :jruby
|
@@ -21,8 +20,7 @@ gem 'rake'
|
|
21
20
|
if GEMFILE_RAILS_VERSION < '6.0'
|
22
21
|
gem 'rspec-rails', '~> 3.4'
|
23
22
|
else
|
24
|
-
|
25
|
-
gem 'rspec-rails', :git => 'https://github.com/rspec/rspec-rails', :ref => 'v4.0.0.beta2' # rubocop:disable Bundler/DuplicatedGem
|
23
|
+
gem 'rspec-rails', '~> 4.0.2' # rubocop:disable Bundler/DuplicatedGem
|
26
24
|
end
|
27
25
|
|
28
26
|
if GEMFILE_RAILS_VERSION < '6.0'
|
@@ -41,7 +39,7 @@ platforms :rbx do
|
|
41
39
|
gem 'minitest'
|
42
40
|
gem 'racc'
|
43
41
|
gem 'rubinius-developer_tools'
|
44
|
-
gem 'rubysl', '~> 2.0'
|
42
|
+
gem 'rubysl', '~> 2.0' if RUBY_VERSION.start_with?('2') # rubysl doesn't yet support Ruby 3.x
|
45
43
|
end
|
46
44
|
|
47
45
|
gem 'capistrano', :require => false
|
@@ -56,7 +54,15 @@ unless is_jruby
|
|
56
54
|
end
|
57
55
|
|
58
56
|
gem 'aws-sdk-sqs'
|
59
|
-
|
57
|
+
|
58
|
+
if GEMFILE_RAILS_VERSION >= '5.2'
|
59
|
+
gem 'database_cleaner'
|
60
|
+
elsif GEMFILE_RAILS_VERSION.between?('5.0', '5.2')
|
61
|
+
gem 'database_cleaner', '~> 1.8.4' # rubocop:disable Bundler/DuplicatedGem
|
62
|
+
elsif GEMFILE_RAILS_VERSION < '5.0'
|
63
|
+
gem 'database_cleaner', '~> 1.0.0' # rubocop:disable Bundler/DuplicatedGem
|
64
|
+
end
|
65
|
+
|
60
66
|
if GEMFILE_RAILS_VERSION < '6.0'
|
61
67
|
gem 'delayed_job', :require => false
|
62
68
|
else
|
@@ -66,8 +72,9 @@ gem 'generator_spec'
|
|
66
72
|
gem 'girl_friday', '>= 0.11.1'
|
67
73
|
gem 'redis'
|
68
74
|
gem 'resque', '< 2.0.0'
|
69
|
-
gem 'rubocop', :require => false
|
75
|
+
gem 'rubocop', '~> 0.93.0', :require => false
|
70
76
|
gem 'rubocop-performance', :require => false
|
77
|
+
gem 'secure_headers', '~> 6.3.2', :require => false
|
71
78
|
gem 'sinatra'
|
72
79
|
gem 'webmock', :require => false
|
73
80
|
gemspec
|
data/README.md
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
# Rollbar-gem
|
2
|
-
|
2
|
+

|
3
3
|
[](http://badge.fury.io/rb/rollbar)
|
4
4
|
[](https://dependabot.com/compatibility-score.html?dependency-name=rollbar&package-manager=bundler&version-scheme=semver&new-version=latest)
|
5
5
|
|
data/data/rollbar.snippet.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
!function(r){var e={};function o(n){if(e[n])return e[n].exports;var t=e[n]={i:n,l:!1,exports:{}};return r[n].call(t.exports,t,t.exports,o),t.l=!0,t.exports}o.m=r,o.c=e,o.d=function(r,e,n){o.o(r,e)||Object.defineProperty(r,e,{enumerable:!0,get:n})},o.r=function(r){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(r,"__esModule",{value:!0})},o.t=function(r,e){if(1&e&&(r=o(r)),8&e)return r;if(4&e&&"object"==typeof r&&r&&r.__esModule)return r;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:r}),2&e&&"string"!=typeof r)for(var t in r)o.d(n,t,function(e){return r[e]}.bind(null,t));return n},o.n=function(r){var e=r&&r.__esModule?function(){return r.default}:function(){return r};return o.d(e,"a",e),e},o.o=function(r,e){return Object.prototype.hasOwnProperty.call(r,e)},o.p="",o(o.s=0)}([function(r,e,o){"use strict";var n=o(1),t=o(5);_rollbarConfig=_rollbarConfig||{},_rollbarConfig.rollbarJsUrl=_rollbarConfig.rollbarJsUrl||"https://cdn.rollbar.com/rollbarjs/refs/tags/v2.
|
1
|
+
!function(r){var e={};function o(n){if(e[n])return e[n].exports;var t=e[n]={i:n,l:!1,exports:{}};return r[n].call(t.exports,t,t.exports,o),t.l=!0,t.exports}o.m=r,o.c=e,o.d=function(r,e,n){o.o(r,e)||Object.defineProperty(r,e,{enumerable:!0,get:n})},o.r=function(r){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(r,"__esModule",{value:!0})},o.t=function(r,e){if(1&e&&(r=o(r)),8&e)return r;if(4&e&&"object"==typeof r&&r&&r.__esModule)return r;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:r}),2&e&&"string"!=typeof r)for(var t in r)o.d(n,t,function(e){return r[e]}.bind(null,t));return n},o.n=function(r){var e=r&&r.__esModule?function(){return r.default}:function(){return r};return o.d(e,"a",e),e},o.o=function(r,e){return Object.prototype.hasOwnProperty.call(r,e)},o.p="",o(o.s=0)}([function(r,e,o){"use strict";var n=o(1),t=o(5);_rollbarConfig=_rollbarConfig||{},_rollbarConfig.rollbarJsUrl=_rollbarConfig.rollbarJsUrl||"https://cdn.rollbar.com/rollbarjs/refs/tags/v2.22.0/rollbar.min.js",_rollbarConfig.async=void 0===_rollbarConfig.async||_rollbarConfig.async;var a=n.setupShim(window,_rollbarConfig),l=t(_rollbarConfig);window.rollbar=n.Rollbar,a.loadFull(window,document,!_rollbarConfig.async,_rollbarConfig,l)},function(r,e,o){"use strict";var n=o(2),t=o(3);function a(r){return function(){try{return r.apply(this,arguments)}catch(r){try{console.error("[Rollbar]: Internal error",r)}catch(r){}}}}var l=0;function i(r,e){this.options=r,this._rollbarOldOnError=null;var o=l++;this.shimId=function(){return o},"undefined"!=typeof window&&window._rollbarShims&&(window._rollbarShims[o]={handler:e,messages:[]})}var s=o(4),d=function(r,e){return new i(r,e)},c=function(r){return new s(d,r)};function u(r){return a((function(){var e=this,o=Array.prototype.slice.call(arguments,0),n={shim:e,method:r,args:o,ts:new Date};window._rollbarShims[this.shimId()].messages.push(n)}))}i.prototype.loadFull=function(r,e,o,n,t){var l=!1,i=e.createElement("script"),s=e.getElementsByTagName("script")[0],d=s.parentNode;i.crossOrigin="",i.src=n.rollbarJsUrl,o||(i.async=!0),i.onload=i.onreadystatechange=a((function(){if(!(l||this.readyState&&"loaded"!==this.readyState&&"complete"!==this.readyState)){i.onload=i.onreadystatechange=null;try{d.removeChild(i)}catch(r){}l=!0,function(){var e;if(void 0===r._rollbarDidLoad){e=new Error("rollbar.js did not load");for(var o,n,a,l,i=0;o=r._rollbarShims[i++];)for(o=o.messages||[];n=o.shift();)for(a=n.args||[],i=0;i<a.length;++i)if("function"==typeof(l=a[i])){l(e);break}}"function"==typeof t&&t(e)}()}})),d.insertBefore(i,s)},i.prototype.wrap=function(r,e,o){try{var n;if(n="function"==typeof e?e:function(){return e||{}},"function"!=typeof r)return r;if(r._isWrap)return r;if(!r._rollbar_wrapped&&(r._rollbar_wrapped=function(){o&&"function"==typeof o&&o.apply(this,arguments);try{return r.apply(this,arguments)}catch(o){var e=o;throw e&&("string"==typeof e&&(e=new String(e)),e._rollbarContext=n()||{},e._rollbarContext._wrappedSource=r.toString(),window._rollbarWrappedError=e),e}},r._rollbar_wrapped._isWrap=!0,r.hasOwnProperty))for(var t in r)r.hasOwnProperty(t)&&(r._rollbar_wrapped[t]=r[t]);return r._rollbar_wrapped}catch(e){return r}};for(var p="log,debug,info,warn,warning,error,critical,global,configure,handleUncaughtException,handleAnonymousErrors,handleUnhandledRejection,captureEvent,captureDomContentLoaded,captureLoad".split(","),f=0;f<p.length;++f)i.prototype[p[f]]=u(p[f]);r.exports={setupShim:function(r,e){if(r){var o=e.globalAlias||"Rollbar";if("object"==typeof r[o])return r[o];r._rollbarShims={},r._rollbarWrappedError=null;var l=new c(e);return a((function(){e.captureUncaught&&(l._rollbarOldOnError=r.onerror,n.captureUncaughtExceptions(r,l,!0),e.wrapGlobalEventHandlers&&t(r,l,!0)),e.captureUnhandledRejections&&n.captureUnhandledRejections(r,l,!0);var a=e.autoInstrument;return!1!==e.enabled&&(void 0===a||!0===a||"object"==typeof a&&a.network)&&r.addEventListener&&(r.addEventListener("load",l.captureLoad.bind(l)),r.addEventListener("DOMContentLoaded",l.captureDomContentLoaded.bind(l))),r[o]=l,l}))()}},Rollbar:c}},function(r,e,o){"use strict";function n(r,e,o,n){r._rollbarWrappedError&&(n[4]||(n[4]=r._rollbarWrappedError),n[5]||(n[5]=r._rollbarWrappedError._rollbarContext),r._rollbarWrappedError=null);var t=e.handleUncaughtException.apply(e,n);o&&o.apply(r,n),"anonymous"===t&&(e.anonymousErrorsPending+=1)}r.exports={captureUncaughtExceptions:function(r,e,o){if(r){var t;if("function"==typeof e._rollbarOldOnError)t=e._rollbarOldOnError;else if(r.onerror){for(t=r.onerror;t._rollbarOldOnError;)t=t._rollbarOldOnError;e._rollbarOldOnError=t}e.handleAnonymousErrors();var a=function(){var o=Array.prototype.slice.call(arguments,0);n(r,e,t,o)};o&&(a._rollbarOldOnError=t),r.onerror=a}},captureUnhandledRejections:function(r,e,o){if(r){"function"==typeof r._rollbarURH&&r._rollbarURH.belongsToShim&&r.removeEventListener("unhandledrejection",r._rollbarURH);var n=function(r){var o,n,t;try{o=r.reason}catch(r){o=void 0}try{n=r.promise}catch(r){n="[unhandledrejection] error getting `promise` from event"}try{t=r.detail,!o&&t&&(o=t.reason,n=t.promise)}catch(r){}o||(o="[unhandledrejection] error getting `reason` from event"),e&&e.handleUnhandledRejection&&e.handleUnhandledRejection(o,n)};n.belongsToShim=o,r._rollbarURH=n,r.addEventListener("unhandledrejection",n)}}}},function(r,e,o){"use strict";function n(r,e,o){if(e.hasOwnProperty&&e.hasOwnProperty("addEventListener")){for(var n=e.addEventListener;n._rollbarOldAdd&&n.belongsToShim;)n=n._rollbarOldAdd;var t=function(e,o,t){n.call(this,e,r.wrap(o),t)};t._rollbarOldAdd=n,t.belongsToShim=o,e.addEventListener=t;for(var a=e.removeEventListener;a._rollbarOldRemove&&a.belongsToShim;)a=a._rollbarOldRemove;var l=function(r,e,o){a.call(this,r,e&&e._rollbar_wrapped||e,o)};l._rollbarOldRemove=a,l.belongsToShim=o,e.removeEventListener=l}}r.exports=function(r,e,o){if(r){var t,a,l="EventTarget,Window,Node,ApplicationCache,AudioTrackList,ChannelMergerNode,CryptoOperation,EventSource,FileReader,HTMLUnknownElement,IDBDatabase,IDBRequest,IDBTransaction,KeyOperation,MediaController,MessagePort,ModalWindow,Notification,SVGElementInstance,Screen,TextTrack,TextTrackCue,TextTrackList,WebSocket,WebSocketWorker,Worker,XMLHttpRequest,XMLHttpRequestEventTarget,XMLHttpRequestUpload".split(",");for(t=0;t<l.length;++t)r[a=l[t]]&&r[a].prototype&&n(e,r[a].prototype,o)}}},function(r,e,o){"use strict";function n(r,e){this.impl=r(e,this),this.options=e,function(r){for(var e=function(r){return function(){var e=Array.prototype.slice.call(arguments,0);if(this.impl[r])return this.impl[r].apply(this.impl,e)}},o="log,debug,info,warn,warning,error,critical,global,configure,handleUncaughtException,handleAnonymousErrors,handleUnhandledRejection,_createItem,wrap,loadFull,shimId,captureEvent,captureDomContentLoaded,captureLoad".split(","),n=0;n<o.length;n++)r[o[n]]=e(o[n])}(n.prototype)}n.prototype._swapAndProcessMessages=function(r,e){var o,n,t;for(this.impl=r(this.options);o=e.shift();)n=o.method,t=o.args,this[n]&&"function"==typeof this[n]&&("captureDomContentLoaded"===n||"captureLoad"===n?this[n].apply(this,[t[0],o.ts]):this[n].apply(this,t));return this},r.exports=n},function(r,e,o){"use strict";r.exports=function(r){return function(e){if(!e&&!window._rollbarInitialized){for(var o,n,t=(r=r||{}).globalAlias||"Rollbar",a=window.rollbar,l=function(r){return new a(r)},i=0;o=window._rollbarShims[i++];)n||(n=o.handler),o.handler._swapAndProcessMessages(l,o.messages);window[t]=n,window._rollbarInitialized=!0}}}}]);
|
data/gemfiles/rails30.gemfile
CHANGED
@@ -2,21 +2,16 @@ require 'rubygems/version'
|
|
2
2
|
|
3
3
|
source 'https://rubygems.org'
|
4
4
|
|
5
|
-
# Used by spec/commands/rollbar_rails_runner_spec, and can be used whenever a
|
6
|
-
# new process is created during tests. (Testing rake tasks, for example.)
|
7
|
-
# This is a workaround for ENV['BUNDLE_GEMFILE'] not working as expected on Travis.
|
8
|
-
# We use the ||= assignment because Travis loads the gemfile twice, the second time
|
9
|
-
# with the wrong gemfile path.
|
10
|
-
ENV['CURRENT_GEMFILE'] ||= __FILE__
|
11
|
-
|
12
5
|
is_jruby = defined?(JRUBY_VERSION) || (defined?(RUBY_ENGINE) && 'jruby' == RUBY_ENGINE)
|
13
6
|
|
14
7
|
gem 'sqlite3', '< 1.4.0', :platform => [:ruby, :mswin, :mingw]
|
15
8
|
gem 'jruby-openssl', :platform => :jruby
|
16
9
|
gem 'activerecord-jdbcsqlite3-adapter', :platform => :jruby
|
17
|
-
gem '
|
18
|
-
gem 'rails', '3.0.20'
|
10
|
+
gem 'rails', '~> 3.0.20'
|
19
11
|
gem 'hitimes', '< 1.2.2'
|
12
|
+
gem 'mixlib-shellout', '<= 2.0.0'
|
13
|
+
gem 'net-ssh', '<= 3.1.1'
|
14
|
+
gem 'public_suffix', '<= 2.0.5'
|
20
15
|
gem 'rake', '< 11'
|
21
16
|
gem 'rspec-rails', '>= 2.14.0'
|
22
17
|
|
@@ -35,14 +30,16 @@ platforms :rbx do
|
|
35
30
|
end
|
36
31
|
|
37
32
|
gem 'capistrano', :require => false
|
33
|
+
gem 'rexml', '<= 3.2.4'
|
38
34
|
gem 'sucker_punch', '~> 2.0'
|
39
35
|
gem 'shoryuken'
|
40
36
|
gem 'codacy-coverage'
|
41
|
-
gem 'simplecov'
|
37
|
+
gem 'simplecov', '<= 0.17.1'
|
42
38
|
|
43
39
|
gem 'sinatra'
|
44
40
|
gem 'delayed_job', :require => false
|
45
|
-
gem 'redis'
|
41
|
+
gem 'redis', '<= 3.3.5'
|
42
|
+
gem 'redis-namespace', '<= 1.5.0'
|
46
43
|
gem 'database_cleaner', '~> 1.0.0'
|
47
44
|
gem 'genspec', '>= 0.2.8'
|
48
45
|
gem 'girl_friday', '>= 0.11.1'
|
data/gemfiles/rails31.gemfile
CHANGED
@@ -2,22 +2,17 @@ require 'rubygems/version'
|
|
2
2
|
|
3
3
|
source 'https://rubygems.org'
|
4
4
|
|
5
|
-
# Used by spec/commands/rollbar_rails_runner_spec, and can be used whenever a
|
6
|
-
# new process is created during tests. (Testing rake tasks, for example.)
|
7
|
-
# This is a workaround for ENV['BUNDLE_GEMFILE'] not working as expected on Travis.
|
8
|
-
# We use the ||= assignment because Travis loads the gemfile twice, the second time
|
9
|
-
# with the wrong gemfile path.
|
10
|
-
ENV['CURRENT_GEMFILE'] ||= __FILE__
|
11
|
-
|
12
5
|
is_jruby = defined?(JRUBY_VERSION) || (defined?(RUBY_ENGINE) && 'jruby' == RUBY_ENGINE)
|
13
6
|
|
14
7
|
gem 'sqlite3', '< 1.4.0', :platform => [:ruby, :mswin, :mingw]
|
15
8
|
gem 'jruby-openssl', :platform => :jruby
|
16
9
|
gem 'activerecord-jdbcsqlite3-adapter', :platform => :jruby
|
17
|
-
gem '
|
18
|
-
gem '
|
10
|
+
gem 'mixlib-shellout', '<= 2.0.0'
|
11
|
+
gem 'net-ssh', '<= 3.1.1'
|
12
|
+
gem 'public_suffix', '<= 2.0.5'
|
13
|
+
gem 'rails', '~> 3.1.12'
|
19
14
|
gem 'rspec-rails', '~> 3.4'
|
20
|
-
gem 'rake'
|
15
|
+
gem 'rake', '< 11'
|
21
16
|
|
22
17
|
if RUBY_VERSION < '2.2.2'
|
23
18
|
gem 'sidekiq', '~> 2.13.0'
|
@@ -34,14 +29,17 @@ platforms :rbx do
|
|
34
29
|
end
|
35
30
|
|
36
31
|
gem 'capistrano', :require => false
|
32
|
+
gem 'rexml', '<= 3.2.4'
|
37
33
|
gem 'sucker_punch'
|
38
34
|
gem 'shoryuken'
|
39
35
|
gem 'codacy-coverage'
|
40
|
-
gem 'simplecov'
|
36
|
+
gem 'simplecov', '<= 0.17.1'
|
41
37
|
|
42
38
|
gem 'sinatra'
|
43
39
|
gem 'delayed_job', :require => false
|
44
|
-
gem '
|
40
|
+
gem 'rack-cache', '<= 1.9.0'
|
41
|
+
gem 'redis', '<= 3.3.5'
|
42
|
+
gem 'redis-namespace', '<= 1.5.0'
|
45
43
|
gem 'database_cleaner'
|
46
44
|
gem 'girl_friday'
|
47
45
|
gem 'generator_spec'
|
data/gemfiles/rails32.gemfile
CHANGED
@@ -2,19 +2,14 @@ require 'rubygems/version'
|
|
2
2
|
|
3
3
|
source 'https://rubygems.org'
|
4
4
|
|
5
|
-
# Used by spec/commands/rollbar_rails_runner_spec, and can be used whenever a
|
6
|
-
# new process is created during tests. (Testing rake tasks, for example.)
|
7
|
-
# This is a workaround for ENV['BUNDLE_GEMFILE'] not working as expected on Travis.
|
8
|
-
# We use the ||= assignment because Travis loads the gemfile twice, the second time
|
9
|
-
# with the wrong gemfile path.
|
10
|
-
ENV['CURRENT_GEMFILE'] ||= __FILE__
|
11
|
-
|
12
5
|
is_jruby = defined?(JRUBY_VERSION) || (defined?(RUBY_ENGINE) && 'jruby' == RUBY_ENGINE)
|
13
6
|
|
14
|
-
gem 'appraisal'
|
15
7
|
gem 'activerecord-jdbcsqlite3-adapter', :platform => :jruby
|
16
8
|
gem 'jruby-openssl', :platform => :jruby
|
17
|
-
gem '
|
9
|
+
gem 'mixlib-shellout', '<= 2.0.0'
|
10
|
+
gem 'net-ssh', '<= 3.1.1'
|
11
|
+
gem 'public_suffix', '<= 2.0.5'
|
12
|
+
gem 'rails', '~> 3.2.22'
|
18
13
|
gem 'rake'
|
19
14
|
gem 'rspec-rails', '~> 3.4'
|
20
15
|
gem 'sqlite3', '< 1.4.0', :platform => [:ruby, :mswin, :mingw]
|
@@ -36,13 +31,15 @@ platforms :rbx do
|
|
36
31
|
end
|
37
32
|
|
38
33
|
gem 'capistrano', :require => false
|
34
|
+
gem 'rexml', '<= 3.2.4'
|
39
35
|
gem 'sucker_punch', '~> 2.0'
|
40
36
|
gem 'shoryuken'
|
41
37
|
gem 'codacy-coverage'
|
42
|
-
gem 'simplecov'
|
38
|
+
gem 'simplecov', '<= 0.17.1'
|
43
39
|
|
44
40
|
gem 'delayed_job', :require => false
|
45
|
-
gem 'redis'
|
41
|
+
gem 'redis', '<= 3.3.5'
|
42
|
+
gem 'redis-namespace', '<= 1.5.0'
|
46
43
|
gem 'sinatra'
|
47
44
|
|
48
45
|
gem 'database_cleaner', '~> 1.0.0'
|
data/gemfiles/rails40.gemfile
CHANGED
@@ -2,19 +2,14 @@ require 'rubygems/version'
|
|
2
2
|
|
3
3
|
source 'https://rubygems.org'
|
4
4
|
|
5
|
-
# Used by spec/commands/rollbar_rails_runner_spec, and can be used whenever a
|
6
|
-
# new process is created during tests. (Testing rake tasks, for example.)
|
7
|
-
# This is a workaround for ENV['BUNDLE_GEMFILE'] not working as expected on Travis.
|
8
|
-
# We use the ||= assignment because Travis loads the gemfile twice, the second time
|
9
|
-
# with the wrong gemfile path.
|
10
|
-
ENV['CURRENT_GEMFILE'] ||= __FILE__
|
11
|
-
|
12
5
|
is_jruby = defined?(JRUBY_VERSION) || (defined?(RUBY_ENGINE) && 'jruby' == RUBY_ENGINE)
|
13
6
|
|
14
|
-
gem 'appraisal'
|
15
7
|
gem 'activerecord-jdbcsqlite3-adapter', :platform => :jruby
|
16
8
|
gem 'jruby-openssl', :platform => :jruby
|
17
|
-
gem '
|
9
|
+
gem 'mixlib-shellout', '<= 2.0.0'
|
10
|
+
gem 'net-ssh', '<= 3.1.1'
|
11
|
+
gem 'public_suffix', '<= 2.0.5'
|
12
|
+
gem 'rails', '~> 4.0.13'
|
18
13
|
gem 'rake'
|
19
14
|
gem 'rspec-rails', '~> 3.4'
|
20
15
|
gem 'sqlite3', '< 1.4.0', :platform => [:ruby, :mswin, :mingw]
|
@@ -40,10 +35,11 @@ gem 'sucker_punch', '~> 2.0'
|
|
40
35
|
gem 'json', '~> 2.0'
|
41
36
|
gem 'shoryuken'
|
42
37
|
gem 'codacy-coverage'
|
43
|
-
gem 'simplecov'
|
38
|
+
gem 'simplecov', '<= 0.17.1'
|
44
39
|
|
45
40
|
gem 'delayed_job', :require => false
|
46
|
-
gem 'redis'
|
41
|
+
gem 'redis', '<= 3.3.5'
|
42
|
+
gem 'redis-namespace', '<= 1.5.0'
|
47
43
|
gem 'resque'
|
48
44
|
gem 'sinatra'
|
49
45
|
|
data/gemfiles/rails41.gemfile
CHANGED
@@ -2,19 +2,14 @@ require 'rubygems/version'
|
|
2
2
|
|
3
3
|
source 'https://rubygems.org'
|
4
4
|
|
5
|
-
# Used by spec/commands/rollbar_rails_runner_spec, and can be used whenever a
|
6
|
-
# new process is created during tests. (Testing rake tasks, for example.)
|
7
|
-
# This is a workaround for ENV['BUNDLE_GEMFILE'] not working as expected on Travis.
|
8
|
-
# We use the ||= assignment because Travis loads the gemfile twice, the second time
|
9
|
-
# with the wrong gemfile path.
|
10
|
-
ENV['CURRENT_GEMFILE'] ||= __FILE__
|
11
|
-
|
12
5
|
is_jruby = defined?(JRUBY_VERSION) || (defined?(RUBY_ENGINE) && 'jruby' == RUBY_ENGINE)
|
13
6
|
|
14
|
-
gem 'appraisal'
|
15
7
|
gem 'activerecord-jdbcsqlite3-adapter', :platform => :jruby
|
16
8
|
gem 'jruby-openssl', :platform => :jruby
|
17
|
-
gem '
|
9
|
+
gem 'mixlib-shellout', '<= 2.0.0'
|
10
|
+
gem 'net-ssh', '<= 3.1.1'
|
11
|
+
gem 'public_suffix', '<= 2.0.5'
|
12
|
+
gem 'rails', '~> 4.1.16'
|
18
13
|
gem 'rake'
|
19
14
|
gem 'rspec-rails', '~> 3.4'
|
20
15
|
gem 'sqlite3', '< 1.4.0', :platform => [:ruby, :mswin, :mingw]
|
@@ -36,10 +31,11 @@ gem 'capistrano', :require => false
|
|
36
31
|
gem 'sucker_punch', '~> 2.0'
|
37
32
|
gem 'shoryuken'
|
38
33
|
gem 'codacy-coverage'
|
39
|
-
gem 'simplecov'
|
34
|
+
gem 'simplecov', '<= 0.17.1'
|
40
35
|
|
41
36
|
gem 'delayed_job', :require => false
|
42
|
-
gem 'redis'
|
37
|
+
gem 'redis', '<= 3.3.5'
|
38
|
+
gem 'redis-namespace', '<= 1.5.0'
|
43
39
|
gem 'resque'
|
44
40
|
gem 'sinatra'
|
45
41
|
|
data/gemfiles/rails42.gemfile
CHANGED
@@ -2,20 +2,14 @@ require 'rubygems/version'
|
|
2
2
|
|
3
3
|
source 'https://rubygems.org'
|
4
4
|
|
5
|
-
# Used by spec/commands/rollbar_rails_runner_spec, and can be used whenever a
|
6
|
-
# new process is created during tests. (Testing rake tasks, for example.)
|
7
|
-
# This is a workaround for ENV['BUNDLE_GEMFILE'] not working as expected on Travis.
|
8
|
-
# We use the ||= assignment because Travis loads the gemfile twice, the second time
|
9
|
-
# with the wrong gemfile path.
|
10
|
-
ENV['CURRENT_GEMFILE'] ||= __FILE__
|
11
|
-
|
12
5
|
is_jruby = defined?(JRUBY_VERSION) || (defined?(RUBY_ENGINE) && 'jruby' == RUBY_ENGINE)
|
13
6
|
is_not_jruby = !is_jruby
|
14
7
|
|
15
|
-
gem 'appraisal'
|
16
8
|
gem 'activerecord-jdbcsqlite3-adapter', :platform => :jruby
|
17
9
|
gem 'jruby-openssl', :platform => :jruby
|
18
|
-
gem '
|
10
|
+
gem 'net-ssh', '<= 3.1.1'
|
11
|
+
gem 'public_suffix', '<= 2.0.5'
|
12
|
+
gem 'rails', '~> 4.2.11'
|
19
13
|
gem 'rake'
|
20
14
|
gem 'rspec-rails', '~> 3.4'
|
21
15
|
gem 'sqlite3', '< 1.4.0', :platform => [:ruby, :mswin, :mingw]
|
@@ -45,7 +39,7 @@ gem 'delayed_job', :require => false
|
|
45
39
|
gem 'generator_spec'
|
46
40
|
gem 'girl_friday', '>= 0.11.1'
|
47
41
|
gem 'rspec-command'
|
48
|
-
gem 'redis'
|
42
|
+
gem 'redis', '<= 3.3.5'
|
49
43
|
gem 'resque'
|
50
44
|
gem 'sinatra'
|
51
45
|
|
@@ -54,7 +48,7 @@ gem 'nokogiri', '~> 1.6.0' if Gem::Version.new(RUBY_VERSION) <= Gem::Version.new
|
|
54
48
|
gem 'sucker_punch', '~> 2.0'
|
55
49
|
gem 'webmock', :require => false
|
56
50
|
gem 'codacy-coverage'
|
57
|
-
gem 'simplecov'
|
51
|
+
gem 'simplecov', '<= 0.17.1'
|
58
52
|
|
59
53
|
gem 'aws-sdk-sqs'
|
60
54
|
|