rollbar 2.27.1 → 3.1.2
Sign up to get free protection for your applications and to get access to all the features.
- 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
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 34869f5fb3dc29aafe043984527ff94e183c7d8ddec4ea902560687ada4577aa
|
4
|
+
data.tar.gz: '08895a2da93303ae28fa0675c13667fc7de9f6926464d6ac360939b9c2655409'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0ab65c5cc3f2e0b9ff4355d2cfe58753d9d1cc92a002aa3def7a9ed48ff3d03e3cfe7137b05e0793f1cf1c8cb5a8695a658a5622e1e4b7ad540368fca07a59c6
|
7
|
+
data.tar.gz: 52f63b3739d2ac883253ff1dc04e1513665febbd900525e02584908f35dd15e8152e2db51a43c64e91dfde3400d6efe025756600d71c72c587475024a4d14250
|
@@ -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.1'.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,21 +39,14 @@ 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
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
elsif RUBY_VERSION.start_with?('2')
|
53
|
-
gem 'capistrano', :require => false # rubocop:disable Bundler/DuplicatedGem
|
54
|
-
gem 'codacy-coverage'
|
55
|
-
gem 'shoryuken' # rubocop:disable Bundler/DuplicatedGem
|
56
|
-
gem 'simplecov'
|
57
|
-
gem 'sucker_punch', '~> 2.0' # rubocop:disable Bundler/DuplicatedGem
|
58
|
-
end
|
45
|
+
gem 'capistrano', :require => false
|
46
|
+
gem 'codacy-coverage'
|
47
|
+
gem 'shoryuken'
|
48
|
+
gem 'simplecov'
|
49
|
+
gem 'sucker_punch', '~> 2.0'
|
59
50
|
|
60
51
|
unless is_jruby
|
61
52
|
# JRuby doesn't support fork, which is required for this test helper.
|
@@ -63,7 +54,15 @@ unless is_jruby
|
|
63
54
|
end
|
64
55
|
|
65
56
|
gem 'aws-sdk-sqs'
|
66
|
-
|
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
|
+
|
67
66
|
if GEMFILE_RAILS_VERSION < '6.0'
|
68
67
|
gem 'delayed_job', :require => false
|
69
68
|
else
|
@@ -73,7 +72,7 @@ gem 'generator_spec'
|
|
73
72
|
gem 'girl_friday', '>= 0.11.1'
|
74
73
|
gem 'redis'
|
75
74
|
gem 'resque', '< 2.0.0'
|
76
|
-
gem 'rubocop', :require => false
|
75
|
+
gem 'rubocop', '~> 0.93.0', :require => false
|
77
76
|
gem 'rubocop-performance', :require => false
|
78
77
|
gem 'sinatra'
|
79
78
|
gem 'webmock', :require => false
|
data/README.md
CHANGED
@@ -4,14 +4,6 @@
|
|
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
6
|
|
7
|
-
> WARNING: Ruby 2.6.0 introduced a new bug bug ([#15472 -
|
8
|
-
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)).
|
9
|
-
|
10
|
-
> UPDATE: This bug is fixed in Ruby 2.6.1, and rollbar-gem has a safe workaround in version >= 2.19.0.
|
11
|
-
If you need to stay on Ruby 2.6.0 for any reason, make sure you have the latest rollbar-gem.
|
12
|
-
|
13
|
-
|
14
|
-
|
15
7
|
[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.
|
16
8
|
|
17
9
|
Rollbar-gem is the SDK for Ruby apps and includes support for apps using Rails, Sinatra, Rack, plain Ruby, and other frameworks.
|
@@ -27,10 +19,20 @@ For complete usage instructions and configuration reference, see our [Ruby SDK d
|
|
27
19
|
|
28
20
|
## Compatibility
|
29
21
|
|
22
|
+
Version >= 3.0.0 is compatible with Ruby >= 2.0.0.
|
23
|
+
|
30
24
|
Version >= 2.19.0 is compatible with Ruby >= 1.9.3.
|
31
25
|
|
32
26
|
Version < 2.19.0 is compatible with Ruby >= 1.8.7.
|
33
27
|
|
28
|
+
### Ruby 2.6.0
|
29
|
+
|
30
|
+
> WARNING: Ruby 2.6.0 introduced a new bug bug ([#15472 -
|
31
|
+
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)).
|
32
|
+
|
33
|
+
> UPDATE: This bug is fixed in Ruby 2.6.1, and rollbar-gem has a safe workaround in version >= 2.19.0.
|
34
|
+
If you need to stay on Ruby 2.6.0 for any reason, make sure you have the latest rollbar-gem.
|
35
|
+
|
34
36
|
## Release History & Changelog
|
35
37
|
|
36
38
|
See our [Releases](https://github.com/rollbar/rollbar-gem/releases) page for a list of all releases, including changes.
|
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 'appraisal', '= 1.0.2'
|
18
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
|
|
@@ -34,33 +29,22 @@ platforms :rbx do
|
|
34
29
|
gem 'rubysl-test-unit'
|
35
30
|
end
|
36
31
|
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
gem 'capistrano', :require => false
|
43
|
-
gem 'sucker_punch', '~> 2.0'
|
44
|
-
gem 'shoryuken'
|
45
|
-
gem 'codacy-coverage'
|
46
|
-
gem 'simplecov'
|
47
|
-
end
|
32
|
+
gem 'capistrano', :require => false
|
33
|
+
gem 'sucker_punch', '~> 2.0'
|
34
|
+
gem 'shoryuken'
|
35
|
+
gem 'codacy-coverage'
|
36
|
+
gem 'simplecov', '<= 0.17.1'
|
48
37
|
|
49
38
|
gem 'sinatra'
|
50
39
|
gem 'delayed_job', :require => false
|
51
|
-
gem 'redis'
|
40
|
+
gem 'redis', '<= 3.3.5'
|
41
|
+
gem 'redis-namespace', '<= 1.5.0'
|
52
42
|
gem 'database_cleaner', '~> 1.0.0'
|
53
43
|
gem 'genspec', '>= 0.2.8'
|
54
44
|
gem 'girl_friday', '>= 0.11.1'
|
55
45
|
gem 'rspec-command'
|
56
46
|
|
57
|
-
|
58
|
-
gem 'public_suffix', '< 1.5'
|
59
|
-
gem 'mime-types', '< 3.0'
|
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', '< 2.0.0'
|
66
50
|
gem 'aws-sdk-sqs'
|
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 '
|
10
|
+
gem 'mixlib-shellout', '<= 2.0.0'
|
11
|
+
gem 'net-ssh', '<= 3.1.1'
|
12
|
+
gem 'public_suffix', '<= 2.0.5'
|
18
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'
|
@@ -33,33 +28,23 @@ platforms :rbx do
|
|
33
28
|
gem 'rubysl-test-unit'
|
34
29
|
end
|
35
30
|
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
gem 'capistrano', :require => false
|
42
|
-
gem 'sucker_punch'
|
43
|
-
gem 'shoryuken'
|
44
|
-
gem 'codacy-coverage'
|
45
|
-
gem 'simplecov'
|
46
|
-
end
|
31
|
+
gem 'capistrano', :require => false
|
32
|
+
gem 'sucker_punch'
|
33
|
+
gem 'shoryuken'
|
34
|
+
gem 'codacy-coverage'
|
35
|
+
gem 'simplecov', '<= 0.17.1'
|
47
36
|
|
48
37
|
gem 'sinatra'
|
49
38
|
gem 'delayed_job', :require => false
|
50
|
-
gem '
|
39
|
+
gem 'rack-cache', '<= 1.9.0'
|
40
|
+
gem 'redis', '<= 3.3.5'
|
41
|
+
gem 'redis-namespace', '<= 1.5.0'
|
51
42
|
gem 'database_cleaner'
|
52
43
|
gem 'girl_friday'
|
53
44
|
gem 'generator_spec'
|
54
45
|
gem 'rspec-command'
|
55
46
|
|
56
|
-
|
57
|
-
gem 'mime-types', '< 3.0'
|
58
|
-
gem 'public_suffix', '< 1.5'
|
59
|
-
gem 'webmock', '< 2.3.0', :require => false
|
60
|
-
else
|
61
|
-
gem 'webmock', :require => false
|
62
|
-
end
|
47
|
+
gem 'webmock', :require => false
|
63
48
|
|
64
49
|
gem 'resque', '< 2.0.0'
|
65
50
|
gem 'aws-sdk-sqs'
|
data/gemfiles/rails32.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', '3.2.22'
|
18
13
|
gem 'rake'
|
19
14
|
gem 'rspec-rails', '~> 3.4'
|
@@ -35,20 +30,15 @@ platforms :rbx do
|
|
35
30
|
gem 'rubysl-test-unit'
|
36
31
|
end
|
37
32
|
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
gem 'capistrano', :require => false
|
44
|
-
gem 'sucker_punch', '~> 2.0'
|
45
|
-
gem 'shoryuken'
|
46
|
-
gem 'codacy-coverage'
|
47
|
-
gem 'simplecov'
|
48
|
-
end
|
33
|
+
gem 'capistrano', :require => false
|
34
|
+
gem 'sucker_punch', '~> 2.0'
|
35
|
+
gem 'shoryuken'
|
36
|
+
gem 'codacy-coverage'
|
37
|
+
gem 'simplecov', '<= 0.17.1'
|
49
38
|
|
50
39
|
gem 'delayed_job', :require => false
|
51
|
-
gem 'redis'
|
40
|
+
gem 'redis', '<= 3.3.5'
|
41
|
+
gem 'redis-namespace', '<= 1.5.0'
|
52
42
|
gem 'sinatra'
|
53
43
|
|
54
44
|
gem 'database_cleaner', '~> 1.0.0'
|
@@ -56,13 +46,7 @@ gem 'generator_spec'
|
|
56
46
|
gem 'girl_friday', '>= 0.11.1'
|
57
47
|
gem 'rspec-command'
|
58
48
|
|
59
|
-
|
60
|
-
gem 'mime-types', '< 3.0'
|
61
|
-
gem 'public_suffix', '< 1.5'
|
62
|
-
gem 'webmock', '< 2.3.0', :require => false
|
63
|
-
else
|
64
|
-
gem 'webmock', :require => false
|
65
|
-
end
|
49
|
+
gem 'webmock', :require => false
|
66
50
|
|
67
51
|
gem 'resque', '< 2.0.0'
|
68
52
|
gem 'aws-sdk-sqs'
|