rollbar 2.27.1 → 3.1.2
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 +18 -19
- data/README.md +10 -8
- data/gemfiles/rails30.gemfile +11 -27
- data/gemfiles/rails31.gemfile +13 -28
- data/gemfiles/rails32.gemfile +11 -27
- data/gemfiles/rails40.gemfile +12 -29
- data/gemfiles/rails41.gemfile +11 -27
- data/gemfiles/rails42.gemfile +9 -27
- data/gemfiles/rails50.gemfile +9 -24
- data/gemfiles/rails51.gemfile +9 -24
- data/gemfiles/rails52.gemfile +2 -10
- data/gemfiles/rails60.gemfile +3 -16
- data/gemfiles/rails61.gemfile +53 -0
- data/lib/rollbar/configuration.rb +8 -0
- data/lib/rollbar/item.rb +17 -4
- data/lib/rollbar/item/locals.rb +0 -1
- data/lib/rollbar/language_support.rb +0 -6
- data/lib/rollbar/lazy_store.rb +2 -4
- data/lib/rollbar/middleware/js.rb +1 -6
- data/lib/rollbar/notifier.rb +5 -7
- data/lib/rollbar/plugins/thread.rb +8 -7
- data/lib/rollbar/scrubbers/url.rb +15 -1
- data/lib/rollbar/version.rb +1 -1
- data/rollbar.gemspec +1 -1
- metadata +6 -5
- data/.travis.yml +0 -284
    
        data/gemfiles/rails40.gemfile
    CHANGED
    
    | @@ -2,18 +2,13 @@ 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
         | 
| 9 | 
            +
            gem 'mixlib-shellout', '<= 2.0.0'
         | 
| 10 | 
            +
            gem 'net-ssh', '<= 3.1.1'
         | 
| 11 | 
            +
            gem 'public_suffix', '<= 2.0.5'
         | 
| 17 12 | 
             
            gem 'rails', '4.0.13'
         | 
| 18 13 | 
             
            gem 'rake'
         | 
| 19 14 | 
             
            gem 'rspec-rails', '~> 3.4'
         | 
| @@ -35,22 +30,16 @@ platforms :rbx do | |
| 35 30 | 
             
              gem 'rubysl-test-unit'
         | 
| 36 31 | 
             
            end
         | 
| 37 32 |  | 
| 38 | 
            -
             | 
| 39 | 
            -
             | 
| 40 | 
            -
             | 
| 41 | 
            -
             | 
| 42 | 
            -
             | 
| 43 | 
            -
             | 
| 44 | 
            -
              gem 'capistrano', :require => false
         | 
| 45 | 
            -
              gem 'sucker_punch', '~> 2.0'
         | 
| 46 | 
            -
              gem 'json', '~> 2.0'
         | 
| 47 | 
            -
              gem 'shoryuken'
         | 
| 48 | 
            -
              gem 'codacy-coverage'
         | 
| 49 | 
            -
              gem 'simplecov'
         | 
| 50 | 
            -
            end
         | 
| 33 | 
            +
            gem 'capistrano', :require => false
         | 
| 34 | 
            +
            gem 'sucker_punch', '~> 2.0'
         | 
| 35 | 
            +
            gem 'json', '~> 2.0'
         | 
| 36 | 
            +
            gem 'shoryuken'
         | 
| 37 | 
            +
            gem 'codacy-coverage'
         | 
| 38 | 
            +
            gem 'simplecov', '<= 0.17.1'
         | 
| 51 39 |  | 
| 52 40 | 
             
            gem 'delayed_job', :require => false
         | 
| 53 | 
            -
            gem 'redis'
         | 
| 41 | 
            +
            gem 'redis', '<= 3.3.5'
         | 
| 42 | 
            +
            gem 'redis-namespace', '<= 1.5.0'
         | 
| 54 43 | 
             
            gem 'resque'
         | 
| 55 44 | 
             
            gem 'sinatra'
         | 
| 56 45 |  | 
| @@ -59,13 +48,7 @@ gem 'generator_spec' | |
| 59 48 | 
             
            gem 'girl_friday', '>= 0.11.1'
         | 
| 60 49 | 
             
            gem 'rspec-command'
         | 
| 61 50 |  | 
| 62 | 
            -
             | 
| 63 | 
            -
              gem 'mime-types', '< 3.0'
         | 
| 64 | 
            -
              gem 'public_suffix', '< 1.5'
         | 
| 65 | 
            -
              gem 'webmock', '< 2.3.0', :require => false
         | 
| 66 | 
            -
            else
         | 
| 67 | 
            -
              gem 'webmock', :require => false
         | 
| 68 | 
            -
            end
         | 
| 51 | 
            +
            gem 'webmock', :require => false
         | 
| 69 52 |  | 
| 70 53 | 
             
            gem 'aws-sdk-sqs'
         | 
| 71 54 |  | 
    
        data/gemfiles/rails41.gemfile
    CHANGED
    
    | @@ -2,18 +2,13 @@ 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
         | 
| 9 | 
            +
            gem 'mixlib-shellout', '<= 2.0.0'
         | 
| 10 | 
            +
            gem 'net-ssh', '<= 3.1.1'
         | 
| 11 | 
            +
            gem 'public_suffix', '<= 2.0.5'
         | 
| 17 12 | 
             
            gem 'rails', '4.1.12'
         | 
| 18 13 | 
             
            gem 'rake'
         | 
| 19 14 | 
             
            gem 'rspec-rails', '~> 3.4'
         | 
| @@ -32,20 +27,15 @@ platforms :rbx do | |
| 32 27 | 
             
              gem 'rubysl', '~> 2.0' unless RUBY_VERSION.start_with?('1')
         | 
| 33 28 | 
             
            end
         | 
| 34 29 |  | 
| 35 | 
            -
             | 
| 36 | 
            -
             | 
| 37 | 
            -
             | 
| 38 | 
            -
             | 
| 39 | 
            -
             | 
| 40 | 
            -
              gem 'capistrano', :require => false
         | 
| 41 | 
            -
              gem 'sucker_punch', '~> 2.0'
         | 
| 42 | 
            -
              gem 'shoryuken'
         | 
| 43 | 
            -
              gem 'codacy-coverage'
         | 
| 44 | 
            -
              gem 'simplecov'
         | 
| 45 | 
            -
            end
         | 
| 30 | 
            +
            gem 'capistrano', :require => false
         | 
| 31 | 
            +
            gem 'sucker_punch', '~> 2.0'
         | 
| 32 | 
            +
            gem 'shoryuken'
         | 
| 33 | 
            +
            gem 'codacy-coverage'
         | 
| 34 | 
            +
            gem 'simplecov', '<= 0.17.1'
         | 
| 46 35 |  | 
| 47 36 | 
             
            gem 'delayed_job', :require => false
         | 
| 48 | 
            -
            gem 'redis'
         | 
| 37 | 
            +
            gem 'redis', '<= 3.3.5'
         | 
| 38 | 
            +
            gem 'redis-namespace', '<= 1.5.0'
         | 
| 49 39 | 
             
            gem 'resque'
         | 
| 50 40 | 
             
            gem 'sinatra'
         | 
| 51 41 |  | 
| @@ -54,13 +44,7 @@ gem 'generator_spec' | |
| 54 44 | 
             
            gem 'girl_friday', '>= 0.11.1'
         | 
| 55 45 | 
             
            gem 'rspec-command'
         | 
| 56 46 |  | 
| 57 | 
            -
             | 
| 58 | 
            -
              gem 'mime-types', '< 3.0'
         | 
| 59 | 
            -
              gem 'public_suffix', '< 1.5'
         | 
| 60 | 
            -
              gem 'webmock', '< 2.3.0', :require => false
         | 
| 61 | 
            -
            else
         | 
| 62 | 
            -
              gem 'webmock', :require => false
         | 
| 63 | 
            -
            end
         | 
| 47 | 
            +
            gem 'webmock', :require => false
         | 
| 64 48 |  | 
| 65 49 | 
             
            gem 'resque'
         | 
| 66 50 | 
             
            gem 'aws-sdk-sqs'
         | 
    
        data/gemfiles/rails42.gemfile
    CHANGED
    
    | @@ -2,19 +2,13 @@ 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
         | 
| 10 | 
            +
            gem 'net-ssh', '<= 3.1.1'
         | 
| 11 | 
            +
            gem 'public_suffix', '<= 2.0.5'
         | 
| 18 12 | 
             
            gem 'rails', '4.2.8'
         | 
| 19 13 | 
             
            gem 'rake'
         | 
| 20 14 | 
             
            gem 'rspec-rails', '~> 3.4'
         | 
| @@ -37,36 +31,24 @@ else | |
| 37 31 | 
             
              gem 'sidekiq', '>= 2.13.0'
         | 
| 38 32 | 
             
            end
         | 
| 39 33 |  | 
| 40 | 
            -
             | 
| 41 | 
            -
             | 
| 42 | 
            -
              gem 'shoryuken', '>= 4.0.0', '<= 4.0.2'
         | 
| 43 | 
            -
            elsif RUBY_VERSION.start_with?('2')
         | 
| 44 | 
            -
              gem 'capistrano', :require => false
         | 
| 45 | 
            -
              gem 'shoryuken'
         | 
| 46 | 
            -
            end
         | 
| 34 | 
            +
            gem 'capistrano', :require => false
         | 
| 35 | 
            +
            gem 'shoryuken'
         | 
| 47 36 |  | 
| 48 37 | 
             
            gem 'database_cleaner', '~> 1.0.0'
         | 
| 49 38 | 
             
            gem 'delayed_job', :require => false
         | 
| 50 39 | 
             
            gem 'generator_spec'
         | 
| 51 40 | 
             
            gem 'girl_friday', '>= 0.11.1'
         | 
| 52 41 | 
             
            gem 'rspec-command'
         | 
| 53 | 
            -
            gem 'redis'
         | 
| 42 | 
            +
            gem 'redis', '<= 3.3.5'
         | 
| 54 43 | 
             
            gem 'resque'
         | 
| 55 44 | 
             
            gem 'sinatra'
         | 
| 56 45 |  | 
| 57 46 | 
             
            gem 'nokogiri', '~> 1.6.0' if Gem::Version.new(RUBY_VERSION) <= Gem::Version.new('2.0')
         | 
| 58 47 |  | 
| 59 | 
            -
             | 
| 60 | 
            -
             | 
| 61 | 
            -
             | 
| 62 | 
            -
             | 
| 63 | 
            -
              gem 'webmock', '< 2.3.0', :require => false
         | 
| 64 | 
            -
            else
         | 
| 65 | 
            -
              gem 'sucker_punch', '~> 2.0'
         | 
| 66 | 
            -
              gem 'webmock', :require => false
         | 
| 67 | 
            -
              gem 'codacy-coverage'
         | 
| 68 | 
            -
              gem 'simplecov'
         | 
| 69 | 
            -
            end
         | 
| 48 | 
            +
            gem 'sucker_punch', '~> 2.0'
         | 
| 49 | 
            +
            gem 'webmock', :require => false
         | 
| 50 | 
            +
            gem 'codacy-coverage'
         | 
| 51 | 
            +
            gem 'simplecov', '<= 0.17.1'
         | 
| 70 52 |  | 
| 71 53 | 
             
            gem 'aws-sdk-sqs'
         | 
| 72 54 |  | 
    
        data/gemfiles/rails50.gemfile
    CHANGED
    
    | @@ -2,18 +2,12 @@ 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
         | 
| 9 | 
            +
            gem 'net-ssh', '<= 3.1.1'
         | 
| 10 | 
            +
            gem 'public_suffix', '<= 3.1.1'
         | 
| 17 11 | 
             
            gem 'rails', '~> 5.0.7'
         | 
| 18 12 | 
             
            gem 'sqlite3', '< 1.4.0', :platform => [:ruby, :mswin, :mingw]
         | 
| 19 13 |  | 
| @@ -31,18 +25,13 @@ platforms :rbx do | |
| 31 25 | 
             
              gem 'minitest'
         | 
| 32 26 | 
             
              gem 'racc'
         | 
| 33 27 | 
             
              gem 'rubinius-developer_tools'
         | 
| 34 | 
            -
              gem 'rubysl', '~> 2.0'  | 
| 28 | 
            +
              gem 'rubysl', '~> 2.0' if RUBY_VERSION.start_with?('2') # rubysl doesn't yet support Ruby 3.x
         | 
| 35 29 | 
             
            end
         | 
| 36 30 |  | 
| 37 | 
            -
             | 
| 38 | 
            -
             | 
| 39 | 
            -
             | 
| 40 | 
            -
             | 
| 41 | 
            -
              gem 'capistrano', :require => false
         | 
| 42 | 
            -
              gem 'sucker_punch', '~> 2.0'
         | 
| 43 | 
            -
              gem 'codacy-coverage'
         | 
| 44 | 
            -
              gem 'simplecov'
         | 
| 45 | 
            -
            end
         | 
| 31 | 
            +
            gem 'capistrano', :require => false
         | 
| 32 | 
            +
            gem 'sucker_punch', '~> 2.0'
         | 
| 33 | 
            +
            gem 'codacy-coverage'
         | 
| 34 | 
            +
            gem 'simplecov', '<= 0.17.1'
         | 
| 46 35 |  | 
| 47 36 | 
             
            if Gem::Version.new(RUBY_VERSION) < Gem::Version.new('2.3')
         | 
| 48 37 | 
             
              gem 'rack', '2.1.2'
         | 
| @@ -50,11 +39,11 @@ end | |
| 50 39 |  | 
| 51 40 | 
             
            # We need last sinatra that uses rack 2.1.x
         | 
| 52 41 | 
             
            gem 'sinatra', :git => 'https://github.com/sinatra/sinatra', :tag => 'v2.0.8'
         | 
| 53 | 
            -
            gem 'database_cleaner'
         | 
| 42 | 
            +
            gem 'database_cleaner', '~> 1.8.4'
         | 
| 54 43 | 
             
            gem 'delayed_job', :require => false
         | 
| 55 44 | 
             
            gem 'generator_spec'
         | 
| 56 45 | 
             
            gem 'girl_friday', '>= 0.11.1'
         | 
| 57 | 
            -
            gem 'redis'
         | 
| 46 | 
            +
            gem 'redis', '<= 3.3.5'
         | 
| 58 47 | 
             
            gem 'resque'
         | 
| 59 48 |  | 
| 60 49 | 
             
            unless is_jruby
         | 
| @@ -62,10 +51,6 @@ unless is_jruby | |
| 62 51 | 
             
              gem 'rspec-command'
         | 
| 63 52 | 
             
            end
         | 
| 64 53 |  | 
| 65 | 
            -
            if Gem::Version.new(RUBY_VERSION) < Gem::Version.new('2.0')
         | 
| 66 | 
            -
              gem 'mime-types', '< 3.0'
         | 
| 67 | 
            -
            end
         | 
| 68 | 
            -
             | 
| 69 54 | 
             
            gem 'webmock', :require => false
         | 
| 70 55 |  | 
| 71 56 | 
             
            gem 'aws-sdk-sqs'
         | 
    
        data/gemfiles/rails51.gemfile
    CHANGED
    
    | @@ -2,18 +2,12 @@ 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
         | 
| 9 | 
            +
            gem 'net-ssh', '<= 3.1.1'
         | 
| 10 | 
            +
            gem 'public_suffix', '<= 3.1.1'
         | 
| 17 11 | 
             
            gem 'rails', '~> 5.1.7'
         | 
| 18 12 | 
             
            gem 'sqlite3', '< 1.4.0', :platform => [:ruby, :mswin, :mingw]
         | 
| 19 13 |  | 
| @@ -31,18 +25,13 @@ platforms :rbx do | |
| 31 25 | 
             
              gem 'minitest'
         | 
| 32 26 | 
             
              gem 'racc'
         | 
| 33 27 | 
             
              gem 'rubinius-developer_tools'
         | 
| 34 | 
            -
              gem 'rubysl', '~> 2.0'  | 
| 28 | 
            +
              gem 'rubysl', '~> 2.0' if RUBY_VERSION.start_with?('2') # rubysl doesn't yet support Ruby 3.x
         | 
| 35 29 | 
             
            end
         | 
| 36 30 |  | 
| 37 | 
            -
             | 
| 38 | 
            -
             | 
| 39 | 
            -
             | 
| 40 | 
            -
             | 
| 41 | 
            -
              gem 'capistrano', :require => false
         | 
| 42 | 
            -
              gem 'sucker_punch', '~> 2.0'
         | 
| 43 | 
            -
              gem 'codacy-coverage'
         | 
| 44 | 
            -
              gem 'simplecov'
         | 
| 45 | 
            -
            end
         | 
| 31 | 
            +
            gem 'capistrano', :require => false
         | 
| 32 | 
            +
            gem 'sucker_punch', '~> 2.0'
         | 
| 33 | 
            +
            gem 'codacy-coverage'
         | 
| 34 | 
            +
            gem 'simplecov', '<= 0.17.1'
         | 
| 46 35 |  | 
| 47 36 | 
             
            if Gem::Version.new(RUBY_VERSION) < Gem::Version.new('2.3')
         | 
| 48 37 | 
             
              gem 'rack', '2.1.2'
         | 
| @@ -51,11 +40,11 @@ end | |
| 51 40 | 
             
            # We need last sinatra that uses rack 2.1.x
         | 
| 52 41 | 
             
            gem 'sinatra', :git => 'https://github.com/sinatra/sinatra', :tag => 'v2.0.8'
         | 
| 53 42 |  | 
| 54 | 
            -
            gem 'database_cleaner'
         | 
| 43 | 
            +
            gem 'database_cleaner', '~> 1.8.4'
         | 
| 55 44 | 
             
            gem 'delayed_job', :require => false
         | 
| 56 45 | 
             
            gem 'generator_spec'
         | 
| 57 46 | 
             
            gem 'girl_friday', '>= 0.11.1'
         | 
| 58 | 
            -
            gem 'redis'
         | 
| 47 | 
            +
            gem 'redis', '<= 3.3.5'
         | 
| 59 48 | 
             
            gem 'resque'
         | 
| 60 49 |  | 
| 61 50 | 
             
            unless is_jruby
         | 
| @@ -63,10 +52,6 @@ unless is_jruby | |
| 63 52 | 
             
              gem 'rspec-command'
         | 
| 64 53 | 
             
            end
         | 
| 65 54 |  | 
| 66 | 
            -
            if Gem::Version.new(RUBY_VERSION) < Gem::Version.new('2.0')
         | 
| 67 | 
            -
              gem 'mime-types', '< 3.0'
         | 
| 68 | 
            -
            end
         | 
| 69 | 
            -
             | 
| 70 55 | 
             
            gem 'webmock', :require => false
         | 
| 71 56 |  | 
| 72 57 | 
             
            gem 'aws-sdk-sqs'
         | 
    
        data/gemfiles/rails52.gemfile
    CHANGED
    
    | @@ -2,16 +2,8 @@ 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 9 | 
             
            gem 'rails', '~> 5.2.3'
         | 
| @@ -31,7 +23,7 @@ platforms :rbx do | |
| 31 23 | 
             
              gem 'minitest'
         | 
| 32 24 | 
             
              gem 'racc'
         | 
| 33 25 | 
             
              gem 'rubinius-developer_tools'
         | 
| 34 | 
            -
              gem 'rubysl', '~> 2.0'  | 
| 26 | 
            +
              gem 'rubysl', '~> 2.0' if RUBY_VERSION.start_with?('2') # rubysl doesn't yet support Ruby 3.x
         | 
| 35 27 | 
             
            end
         | 
| 36 28 |  | 
| 37 29 | 
             
            gem 'sucker_punch', '~> 2.0'
         | 
| @@ -46,7 +38,7 @@ gem 'generator_spec' | |
| 46 38 | 
             
            gem 'girl_friday', '>= 0.11.1'
         | 
| 47 39 | 
             
            gem 'redis'
         | 
| 48 40 | 
             
            gem 'resque'
         | 
| 49 | 
            -
            gem 'simplecov'
         | 
| 41 | 
            +
            gem 'simplecov', '<= 0.17.1'
         | 
| 50 42 |  | 
| 51 43 | 
             
            unless is_jruby
         | 
| 52 44 | 
             
              # JRuby doesn't support fork, which is required for this test helper.
         | 
    
        data/gemfiles/rails60.gemfile
    CHANGED
    
    | @@ -3,27 +3,14 @@ require 'rubygems/version' | |
| 3 3 |  | 
| 4 4 | 
             
            source 'https://rubygems.org'
         | 
| 5 5 |  | 
| 6 | 
            -
            # Used by spec/commands/rollbar_rails_runner_spec, and can be used whenever a
         | 
| 7 | 
            -
            # new process is created during tests. (Testing rake tasks, for example.)
         | 
| 8 | 
            -
            # This is a workaround for ENV['BUNDLE_GEMFILE'] not working as expected on Travis.
         | 
| 9 | 
            -
            # We use the ||= assignment because Travis loads the gemfile twice, the second time
         | 
| 10 | 
            -
            # with the wrong gemfile path.
         | 
| 11 | 
            -
            ENV['CURRENT_GEMFILE'] ||= __FILE__
         | 
| 12 | 
            -
             | 
| 13 6 | 
             
            is_jruby = defined?(JRUBY_VERSION) || (defined?(RUBY_ENGINE) && 'jruby' == RUBY_ENGINE)
         | 
| 14 7 |  | 
| 15 | 
            -
            gem 'appraisal'
         | 
| 16 8 | 
             
            gem 'activerecord-jdbcsqlite3-adapter', :platform => :jruby
         | 
| 17 9 | 
             
            gem 'jruby-openssl', :platform => :jruby
         | 
| 18 10 | 
             
            gem 'rails', '6.0.2.1'
         | 
| 19 11 | 
             
            gem 'sqlite3', '~> 1.4', :platform => [:ruby, :mswin, :mingw]
         | 
| 20 12 |  | 
| 21 | 
            -
            gem 'rspec- | 
| 22 | 
            -
            gem 'rspec-support', '~> 3.8.0'
         | 
| 23 | 
            -
            gem 'rspec-expectations', '~> 3.8.0'
         | 
| 24 | 
            -
            gem 'rspec-mocks', '~> 3.8.0'
         | 
| 25 | 
            -
            # TODO: update this when 4.x becomes available on Rubygems
         | 
| 26 | 
            -
            gem 'rspec-rails', :git => 'https://github.com/rspec/rspec-rails', :ref => 'v4.0.0.beta2' # rubocop:disable Bundler/DuplicatedGem
         | 
| 13 | 
            +
            gem 'rspec-rails', '~> 4.0.2'
         | 
| 27 14 |  | 
| 28 15 | 
             
            gem 'rake'
         | 
| 29 16 |  | 
| @@ -33,7 +20,7 @@ platforms :rbx do | |
| 33 20 | 
             
              gem 'minitest'
         | 
| 34 21 | 
             
              gem 'racc'
         | 
| 35 22 | 
             
              gem 'rubinius-developer_tools'
         | 
| 36 | 
            -
              gem 'rubysl', '~> 2.0'  | 
| 23 | 
            +
              gem 'rubysl', '~> 2.0' if RUBY_VERSION.start_with?('2') # rubysl doesn't yet support Ruby 3.x
         | 
| 37 24 | 
             
            end
         | 
| 38 25 |  | 
| 39 26 | 
             
            gem 'sucker_punch', '~> 2.0'
         | 
| @@ -43,7 +30,7 @@ gem 'sinatra', :git => 'https://github.com/sinatra/sinatra' | |
| 43 30 |  | 
| 44 31 | 
             
            gem 'database_cleaner'
         | 
| 45 32 | 
             
            gem 'codacy-coverage'
         | 
| 46 | 
            -
            gem 'delayed_job', '4.1. | 
| 33 | 
            +
            gem 'delayed_job', '4.1.9', :require => false
         | 
| 47 34 | 
             
            gem 'generator_spec'
         | 
| 48 35 | 
             
            gem 'girl_friday', '>= 0.11.1'
         | 
| 49 36 | 
             
            gem 'redis'
         | 
| @@ -0,0 +1,53 @@ | |
| 1 | 
            +
            require 'rubygems/version'
         | 
| 2 | 
            +
             | 
| 3 | 
            +
            source 'https://rubygems.org'
         | 
| 4 | 
            +
             | 
| 5 | 
            +
            is_jruby = defined?(JRUBY_VERSION) || (defined?(RUBY_ENGINE) && 'jruby' == RUBY_ENGINE)
         | 
| 6 | 
            +
             | 
| 7 | 
            +
            gem 'activerecord-jdbcsqlite3-adapter', :platform => :jruby
         | 
| 8 | 
            +
            gem 'jruby-openssl', :platform => :jruby
         | 
| 9 | 
            +
            gem 'rails', '6.1.1'
         | 
| 10 | 
            +
            gem 'sqlite3', '~> 1.4', :platform => [:ruby, :mswin, :mingw]
         | 
| 11 | 
            +
             | 
| 12 | 
            +
            gem 'rspec-rails', '~> 4.0.2'
         | 
| 13 | 
            +
             | 
| 14 | 
            +
            gem 'rake'
         | 
| 15 | 
            +
             | 
| 16 | 
            +
            gem 'sidekiq', '>= 2.13.0'
         | 
| 17 | 
            +
             | 
| 18 | 
            +
            platforms :rbx do
         | 
| 19 | 
            +
              gem 'minitest'
         | 
| 20 | 
            +
              gem 'racc'
         | 
| 21 | 
            +
              gem 'rubinius-developer_tools'
         | 
| 22 | 
            +
              gem 'rubysl', '~> 2.0' if RUBY_VERSION.start_with?('2') # rubysl doesn't yet support Ruby 3.x
         | 
| 23 | 
            +
            end
         | 
| 24 | 
            +
             | 
| 25 | 
            +
            gem 'sucker_punch', '~> 2.0'
         | 
| 26 | 
            +
             | 
| 27 | 
            +
            # We need last sinatra that uses rack 2.x
         | 
| 28 | 
            +
            gem 'sinatra', :git => 'https://github.com/sinatra/sinatra'
         | 
| 29 | 
            +
             | 
| 30 | 
            +
            gem 'database_cleaner'
         | 
| 31 | 
            +
            gem 'codacy-coverage'
         | 
| 32 | 
            +
            gem 'delayed_job', '4.1.9', :require => false
         | 
| 33 | 
            +
            gem 'generator_spec'
         | 
| 34 | 
            +
            gem 'girl_friday', '>= 0.11.1'
         | 
| 35 | 
            +
            gem 'redis'
         | 
| 36 | 
            +
            gem 'resque'
         | 
| 37 | 
            +
            gem 'simplecov'
         | 
| 38 | 
            +
             | 
| 39 | 
            +
            unless is_jruby
         | 
| 40 | 
            +
              # JRuby doesn't support fork, which is required for this test helper.
         | 
| 41 | 
            +
              gem 'rspec-command'
         | 
| 42 | 
            +
            end
         | 
| 43 | 
            +
             | 
| 44 | 
            +
            gem 'mime-types'
         | 
| 45 | 
            +
             | 
| 46 | 
            +
            gem 'webmock', :require => false
         | 
| 47 | 
            +
             | 
| 48 | 
            +
            gem 'aws-sdk-sqs'
         | 
| 49 | 
            +
            gem 'shoryuken'
         | 
| 50 | 
            +
             | 
| 51 | 
            +
            gem 'capistrano', :require => false
         | 
| 52 | 
            +
             | 
| 53 | 
            +
            gemspec :path => '../'
         |