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
data/gemfiles/rails30.gemfile
CHANGED
@@ -4,7 +4,7 @@ source 'https://rubygems.org'
|
|
4
4
|
|
5
5
|
is_jruby = defined?(JRUBY_VERSION) || (defined?(RUBY_ENGINE) && 'jruby' == RUBY_ENGINE)
|
6
6
|
|
7
|
-
gem 'sqlite3', :platform => [:ruby, :mswin, :mingw]
|
7
|
+
gem 'sqlite3', '< 1.4.0', :platform => [:ruby, :mswin, :mingw]
|
8
8
|
gem 'jruby-openssl', :platform => :jruby
|
9
9
|
gem 'activerecord-jdbcsqlite3-adapter', :platform => :jruby
|
10
10
|
gem 'appraisal', '= 1.0.2'
|
@@ -14,15 +14,20 @@ gem 'rake', '< 11'
|
|
14
14
|
gem 'rspec-rails', '>= 2.14.0'
|
15
15
|
gem 'celluloid', '< 0.17.0' if RUBY_VERSION == '1.9.2'
|
16
16
|
|
17
|
-
|
18
|
-
if RUBY_VERSION
|
19
|
-
|
20
|
-
gem 'sidekiq', '>= 2.13.0', '< 5.0'
|
17
|
+
unless is_jruby
|
18
|
+
if RUBY_VERSION >= '2.4.0'
|
19
|
+
gem 'oj', '~> 2.16.1'
|
21
20
|
else
|
22
|
-
gem '
|
21
|
+
gem 'oj', '~> 2.12.14'
|
23
22
|
end
|
24
23
|
end
|
25
24
|
|
25
|
+
if RUBY_VERSION > '1.8.7' && RUBY_VERSION < '2.2.2'
|
26
|
+
gem 'sidekiq', '~> 2.13.0'
|
27
|
+
else
|
28
|
+
gem 'sidekiq', '>= 2.13.0'
|
29
|
+
end
|
30
|
+
|
26
31
|
platforms :rbx do
|
27
32
|
gem 'minitest'
|
28
33
|
gem 'racc'
|
@@ -33,17 +38,21 @@ end
|
|
33
38
|
|
34
39
|
if RUBY_VERSION.start_with?('1.9')
|
35
40
|
gem 'sucker_punch', '~> 1.0'
|
41
|
+
gem 'shoryuken', '>= 4.0.0', '<= 4.0.2'
|
36
42
|
elsif RUBY_VERSION.start_with?('2')
|
37
43
|
gem 'sucker_punch', '~> 2.0'
|
44
|
+
gem 'shoryuken'
|
45
|
+
gem 'codacy-coverage'
|
46
|
+
gem 'simplecov'
|
38
47
|
end
|
39
48
|
|
40
49
|
gem 'sinatra'
|
41
|
-
gem 'resque'
|
42
50
|
gem 'delayed_job', :require => false
|
43
51
|
gem 'redis'
|
44
52
|
gem 'database_cleaner', '~> 1.0.0'
|
45
53
|
gem 'genspec', '>= 0.2.8'
|
46
54
|
gem 'girl_friday', '>= 0.11.1'
|
55
|
+
gem 'rspec-command'
|
47
56
|
|
48
57
|
if Gem::Version.new(RUBY_VERSION) < Gem::Version.new('2.0')
|
49
58
|
gem 'public_suffix', '< 1.5'
|
@@ -53,9 +62,7 @@ else
|
|
53
62
|
gem 'webmock', :require => false
|
54
63
|
end
|
55
64
|
|
56
|
-
gem 'resque'
|
57
|
-
|
65
|
+
gem 'resque', '< 2.0.0'
|
58
66
|
gem 'aws-sdk-sqs'
|
59
|
-
gem 'shoryuken'
|
60
67
|
|
61
68
|
gemspec :path => '../'
|
data/gemfiles/rails31.gemfile
CHANGED
@@ -4,7 +4,7 @@ source 'https://rubygems.org'
|
|
4
4
|
|
5
5
|
is_jruby = defined?(JRUBY_VERSION) || (defined?(RUBY_ENGINE) && 'jruby' == RUBY_ENGINE)
|
6
6
|
|
7
|
-
gem 'sqlite3', :platform => [:ruby, :mswin, :mingw]
|
7
|
+
gem 'sqlite3', '< 1.4.0', :platform => [:ruby, :mswin, :mingw]
|
8
8
|
gem 'jruby-openssl', :platform => :jruby
|
9
9
|
gem 'activerecord-jdbcsqlite3-adapter', :platform => :jruby
|
10
10
|
gem 'appraisal', '= 1.0.2'
|
@@ -12,7 +12,19 @@ gem 'rails', '3.1.12'
|
|
12
12
|
gem 'rspec-rails', '~> 3.4'
|
13
13
|
gem 'rake'
|
14
14
|
|
15
|
-
|
15
|
+
unless is_jruby
|
16
|
+
if RUBY_VERSION >= '2.4.0'
|
17
|
+
gem 'oj', '~> 2.16.1'
|
18
|
+
else
|
19
|
+
gem 'oj', '~> 2.12.14'
|
20
|
+
end
|
21
|
+
end
|
22
|
+
|
23
|
+
if RUBY_VERSION > '1.8.7' && RUBY_VERSION < '2.2.2'
|
24
|
+
gem 'sidekiq', '~> 2.13.0'
|
25
|
+
else
|
26
|
+
gem 'sidekiq', '>= 2.13.0'
|
27
|
+
end
|
16
28
|
|
17
29
|
platforms :rbx do
|
18
30
|
gem 'minitest'
|
@@ -24,35 +36,31 @@ end
|
|
24
36
|
|
25
37
|
if RUBY_VERSION.start_with?('1.9')
|
26
38
|
gem 'sucker_punch'
|
39
|
+
gem 'shoryuken', '>= 4.0.0', '<= 4.0.2'
|
27
40
|
elsif RUBY_VERSION.start_with?('2')
|
28
41
|
gem 'sucker_punch'
|
42
|
+
gem 'shoryuken'
|
43
|
+
gem 'codacy-coverage'
|
44
|
+
gem 'simplecov'
|
29
45
|
end
|
30
46
|
|
31
47
|
gem 'sinatra'
|
32
|
-
gem 'resque'
|
33
48
|
gem 'delayed_job', :require => false
|
34
49
|
gem 'redis'
|
35
50
|
gem 'database_cleaner'
|
36
51
|
gem 'girl_friday'
|
37
52
|
gem 'generator_spec'
|
53
|
+
gem 'rspec-command'
|
38
54
|
|
39
55
|
if Gem::Version.new(RUBY_VERSION) < Gem::Version.new('2.0')
|
40
56
|
gem 'mime-types', '< 3.0'
|
41
57
|
gem 'public_suffix', '< 1.5'
|
42
58
|
gem 'webmock', '< 2.3.0', :require => false
|
43
|
-
gem 'sidekiq', '< 2.13.0'
|
44
59
|
else
|
45
60
|
gem 'webmock', :require => false
|
46
|
-
if RUBY_VERSION < '2.2.2'
|
47
|
-
gem 'sidekiq', '>= 2.13.0', '< 5.0'
|
48
|
-
else
|
49
|
-
gem 'sidekiq', '>= 2.13.0'
|
50
|
-
end
|
51
61
|
end
|
52
62
|
|
53
|
-
gem 'resque'
|
54
|
-
|
63
|
+
gem 'resque', '< 2.0.0'
|
55
64
|
gem 'aws-sdk-sqs'
|
56
|
-
gem 'shoryuken'
|
57
65
|
|
58
66
|
gemspec :path => '../'
|
data/gemfiles/rails32.gemfile
CHANGED
@@ -10,13 +10,20 @@ gem 'jruby-openssl', :platform => :jruby
|
|
10
10
|
gem 'rails', '3.2.22'
|
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
|
# Please see https://github.com/rspec/rspec-rails/issues/1273
|
15
15
|
gem 'test-unit'
|
16
16
|
|
17
|
-
|
17
|
+
unless is_jruby
|
18
|
+
if RUBY_VERSION >= '2.4.0'
|
19
|
+
gem 'oj', '~> 2.16.1'
|
20
|
+
else
|
21
|
+
gem 'oj', '~> 2.12.14'
|
22
|
+
end
|
23
|
+
end
|
24
|
+
|
18
25
|
if RUBY_VERSION > '1.8.7' && RUBY_VERSION < '2.2.2'
|
19
|
-
gem 'sidekiq', '
|
26
|
+
gem 'sidekiq', '~> 2.13.0'
|
20
27
|
else
|
21
28
|
gem 'sidekiq', '>= 2.13.0'
|
22
29
|
end
|
@@ -31,18 +38,22 @@ end
|
|
31
38
|
|
32
39
|
if RUBY_VERSION.start_with?('1.9')
|
33
40
|
gem 'sucker_punch', '~> 1.0'
|
41
|
+
gem 'shoryuken', '>= 4.0.0', '<= 4.0.2'
|
34
42
|
elsif RUBY_VERSION.start_with?('2')
|
35
43
|
gem 'sucker_punch', '~> 2.0'
|
44
|
+
gem 'shoryuken'
|
45
|
+
gem 'codacy-coverage'
|
46
|
+
gem 'simplecov'
|
36
47
|
end
|
37
48
|
|
38
49
|
gem 'delayed_job', :require => false
|
39
50
|
gem 'redis'
|
40
|
-
gem 'resque'
|
41
51
|
gem 'sinatra'
|
42
52
|
|
43
53
|
gem 'database_cleaner', '~> 1.0.0'
|
44
54
|
gem 'generator_spec'
|
45
55
|
gem 'girl_friday', '>= 0.11.1'
|
56
|
+
gem 'rspec-command'
|
46
57
|
|
47
58
|
if Gem::Version.new(RUBY_VERSION) < Gem::Version.new('2.0')
|
48
59
|
gem 'mime-types', '< 3.0'
|
@@ -52,9 +63,7 @@ else
|
|
52
63
|
gem 'webmock', :require => false
|
53
64
|
end
|
54
65
|
|
55
|
-
gem 'resque'
|
56
|
-
|
66
|
+
gem 'resque', '< 2.0.0'
|
57
67
|
gem 'aws-sdk-sqs'
|
58
|
-
gem 'shoryuken'
|
59
68
|
|
60
69
|
gemspec :path => '../'
|
data/gemfiles/rails40.gemfile
CHANGED
@@ -10,13 +10,20 @@ gem 'jruby-openssl', :platform => :jruby
|
|
10
10
|
gem 'rails', '4.0.13'
|
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
|
# Please see https://github.com/rspec/rspec-rails/issues/1273
|
15
15
|
gem 'test-unit'
|
16
16
|
|
17
|
-
|
17
|
+
unless is_jruby
|
18
|
+
if RUBY_VERSION >= '2.4.0'
|
19
|
+
gem 'oj', '~> 2.16.1'
|
20
|
+
else
|
21
|
+
gem 'oj', '~> 2.12.14'
|
22
|
+
end
|
23
|
+
end
|
24
|
+
|
18
25
|
if RUBY_VERSION > '1.8.7' && RUBY_VERSION < '2.2.2'
|
19
|
-
gem 'sidekiq', '
|
26
|
+
gem 'sidekiq', '~> 2.13.0'
|
20
27
|
else
|
21
28
|
gem 'sidekiq', '>= 2.13.0'
|
22
29
|
end
|
@@ -32,9 +39,13 @@ end
|
|
32
39
|
if RUBY_VERSION.start_with?('1.9')
|
33
40
|
gem 'sucker_punch', '~> 1.0'
|
34
41
|
gem 'json', '~> 1.8'
|
42
|
+
gem 'shoryuken', '>= 4.0.0', '<= 4.0.2'
|
35
43
|
elsif RUBY_VERSION.start_with?('2')
|
36
44
|
gem 'sucker_punch', '~> 2.0'
|
37
45
|
gem 'json', '~> 2.0'
|
46
|
+
gem 'shoryuken'
|
47
|
+
gem 'codacy-coverage'
|
48
|
+
gem 'simplecov'
|
38
49
|
end
|
39
50
|
|
40
51
|
gem 'delayed_job', :require => false
|
@@ -45,6 +56,7 @@ gem 'sinatra'
|
|
45
56
|
gem 'database_cleaner', '~> 1.0.0'
|
46
57
|
gem 'generator_spec'
|
47
58
|
gem 'girl_friday', '>= 0.11.1'
|
59
|
+
gem 'rspec-command'
|
48
60
|
|
49
61
|
if Gem::Version.new(RUBY_VERSION) < Gem::Version.new('2.0')
|
50
62
|
gem 'mime-types', '< 3.0'
|
@@ -55,6 +67,5 @@ else
|
|
55
67
|
end
|
56
68
|
|
57
69
|
gem 'aws-sdk-sqs'
|
58
|
-
gem 'shoryuken'
|
59
70
|
|
60
|
-
gemspec :path => '../'
|
71
|
+
gemspec :path => '../'
|
data/gemfiles/rails41.gemfile
CHANGED
@@ -10,11 +10,18 @@ gem 'jruby-openssl', :platform => :jruby
|
|
10
10
|
gem 'rails', '4.1.12'
|
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
|
+
|
15
|
+
unless is_jruby
|
16
|
+
if RUBY_VERSION >= '2.4.0'
|
17
|
+
gem 'oj', '~> 2.16.1'
|
18
|
+
else
|
19
|
+
gem 'oj', '~> 2.12.14'
|
20
|
+
end
|
21
|
+
end
|
14
22
|
|
15
|
-
gem 'oj', '~> 2.12.14' unless is_jruby
|
16
23
|
if RUBY_VERSION > '1.8.7' && RUBY_VERSION < '2.2.2'
|
17
|
-
gem 'sidekiq', '
|
24
|
+
gem 'sidekiq', '~> 2.13.0'
|
18
25
|
else
|
19
26
|
gem 'sidekiq', '>= 2.13.0'
|
20
27
|
end
|
@@ -28,8 +35,12 @@ end
|
|
28
35
|
|
29
36
|
if RUBY_VERSION.start_with?('1.9')
|
30
37
|
gem 'sucker_punch', '~> 1.0'
|
38
|
+
gem 'shoryuken', '>= 4.0.0', '<= 4.0.2'
|
31
39
|
elsif RUBY_VERSION.start_with?('2')
|
32
40
|
gem 'sucker_punch', '~> 2.0'
|
41
|
+
gem 'shoryuken'
|
42
|
+
gem 'codacy-coverage'
|
43
|
+
gem 'simplecov'
|
33
44
|
end
|
34
45
|
|
35
46
|
gem 'delayed_job', :require => false
|
@@ -40,6 +51,7 @@ gem 'sinatra'
|
|
40
51
|
gem 'database_cleaner', '~> 1.0.0'
|
41
52
|
gem 'generator_spec'
|
42
53
|
gem 'girl_friday', '>= 0.11.1'
|
54
|
+
gem 'rspec-command'
|
43
55
|
|
44
56
|
if Gem::Version.new(RUBY_VERSION) < Gem::Version.new('2.0')
|
45
57
|
gem 'mime-types', '< 3.0'
|
@@ -50,8 +62,6 @@ else
|
|
50
62
|
end
|
51
63
|
|
52
64
|
gem 'resque'
|
53
|
-
|
54
65
|
gem 'aws-sdk-sqs'
|
55
|
-
gem 'shoryuken'
|
56
66
|
|
57
67
|
gemspec :path => '../'
|
data/gemfiles/rails42.gemfile
CHANGED
@@ -8,16 +8,10 @@ is_not_jruby = !is_jruby
|
|
8
8
|
gem 'appraisal'
|
9
9
|
gem 'activerecord-jdbcsqlite3-adapter', :platform => :jruby
|
10
10
|
gem 'jruby-openssl', :platform => :jruby
|
11
|
-
gem 'rails', '4.2.
|
11
|
+
gem 'rails', '4.2.8'
|
12
12
|
gem 'rake'
|
13
13
|
gem 'rspec-rails', '~> 3.4'
|
14
|
-
gem 'sqlite3', :platform => [:ruby, :mswin, :mingw]
|
15
|
-
|
16
|
-
if RUBY_VERSION > '1.8.7' && RUBY_VERSION < '2.2.2'
|
17
|
-
gem 'sidekiq', '>= 2.13.0', '< 5.0'
|
18
|
-
else
|
19
|
-
gem 'sidekiq', '>= 2.13.0'
|
20
|
-
end
|
14
|
+
gem 'sqlite3', '< 1.4.0', :platform => [:ruby, :mswin, :mingw]
|
21
15
|
|
22
16
|
platforms :rbx do
|
23
17
|
gem 'minitest'
|
@@ -26,17 +20,33 @@ platforms :rbx do
|
|
26
20
|
gem 'rubysl', '~> 2.0' unless RUBY_VERSION.start_with?('1')
|
27
21
|
end
|
28
22
|
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
23
|
+
unless is_jruby
|
24
|
+
if RUBY_VERSION >= '2.5'
|
25
|
+
gem 'oj'
|
26
|
+
elsif RUBY_VERSION >= '2.4.0'
|
27
|
+
gem 'oj', '~> 2.16.1'
|
28
|
+
else
|
29
|
+
gem 'oj', '~> 2.12.14'
|
30
|
+
end
|
31
|
+
end
|
32
|
+
|
33
|
+
if RUBY_VERSION > '1.8.7' && RUBY_VERSION < '2.2.2'
|
34
|
+
gem 'sidekiq', '~> 2.13.0'
|
35
|
+
else
|
36
|
+
gem 'sidekiq', '>= 2.13.0'
|
37
|
+
end
|
38
|
+
|
39
|
+
if RUBY_VERSION.start_with?('1.9')
|
40
|
+
gem 'shoryuken', '>= 4.0.0', '<= 4.0.2'
|
41
|
+
elsif RUBY_VERSION.start_with?('2')
|
42
|
+
gem 'shoryuken'
|
33
43
|
end
|
34
44
|
|
35
|
-
gem 'codeclimate-test-reporter', :group => :test, :require => nil
|
36
45
|
gem 'database_cleaner', '~> 1.0.0'
|
37
46
|
gem 'delayed_job', :require => false
|
38
47
|
gem 'generator_spec'
|
39
48
|
gem 'girl_friday', '>= 0.11.1'
|
49
|
+
gem 'rspec-command'
|
40
50
|
gem 'redis'
|
41
51
|
gem 'resque'
|
42
52
|
gem 'sinatra'
|
@@ -51,9 +61,10 @@ if Gem::Version.new(RUBY_VERSION) < Gem::Version.new('2.0')
|
|
51
61
|
else
|
52
62
|
gem 'sucker_punch', '~> 2.0'
|
53
63
|
gem 'webmock', :require => false
|
64
|
+
gem 'codacy-coverage'
|
65
|
+
gem 'simplecov'
|
54
66
|
end
|
55
67
|
|
56
68
|
gem 'aws-sdk-sqs'
|
57
|
-
gem 'shoryuken'
|
58
69
|
|
59
70
|
gemspec :path => '../'
|
data/gemfiles/rails50.gemfile
CHANGED
@@ -8,7 +8,7 @@ gem 'appraisal'
|
|
8
8
|
gem 'activerecord-jdbcsqlite3-adapter', :platform => :jruby
|
9
9
|
gem 'jruby-openssl', :platform => :jruby
|
10
10
|
gem 'rails', '~> 5.0.0'
|
11
|
-
gem 'sqlite3', :platform => [:ruby, :mswin, :mingw]
|
11
|
+
gem 'sqlite3', '< 1.4.0', :platform => [:ruby, :mswin, :mingw]
|
12
12
|
|
13
13
|
gem 'rspec-core', '~> 3.5.0.beta3'
|
14
14
|
gem 'rspec-rails', '~> 3.5.0.beta3'
|
@@ -18,11 +18,16 @@ gem 'rspec-mocks', '~> 3.5.0.beta3'
|
|
18
18
|
|
19
19
|
gem 'rake'
|
20
20
|
|
21
|
-
gem '
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
21
|
+
gem 'sidekiq', '>= 2.13.0'
|
22
|
+
|
23
|
+
unless is_jruby
|
24
|
+
if RUBY_VERSION >= '2.5'
|
25
|
+
gem 'oj'
|
26
|
+
elsif RUBY_VERSION >= '2.4.0'
|
27
|
+
gem 'oj', '~> 2.16.1'
|
28
|
+
else
|
29
|
+
gem 'oj', '~> 2.12.14'
|
30
|
+
end
|
26
31
|
end
|
27
32
|
|
28
33
|
platforms :rbx do
|
@@ -36,15 +41,17 @@ if RUBY_VERSION.start_with?('1.9')
|
|
36
41
|
gem 'sucker_punch', '~> 1.0'
|
37
42
|
elsif RUBY_VERSION.start_with?('2')
|
38
43
|
gem 'sucker_punch', '~> 2.0'
|
44
|
+
gem 'codacy-coverage'
|
45
|
+
gem 'simplecov'
|
39
46
|
end
|
40
47
|
|
41
48
|
# We need last sinatra that uses rack 2.x
|
42
49
|
gem 'sinatra', :git => 'https://github.com/sinatra/sinatra'
|
43
|
-
gem '
|
44
|
-
gem 'database_cleaner', '~> 1.x'
|
50
|
+
gem 'database_cleaner'
|
45
51
|
gem 'delayed_job', :require => false
|
46
52
|
gem 'generator_spec'
|
47
53
|
gem 'girl_friday', '>= 0.11.1'
|
54
|
+
gem 'rspec-command'
|
48
55
|
gem 'redis'
|
49
56
|
gem 'resque'
|
50
57
|
|
data/gemfiles/rails51.gemfile
CHANGED
@@ -8,7 +8,7 @@ gem 'appraisal'
|
|
8
8
|
gem 'activerecord-jdbcsqlite3-adapter', :platform => :jruby
|
9
9
|
gem 'jruby-openssl', :platform => :jruby
|
10
10
|
gem 'rails', '~> 5.1.0'
|
11
|
-
gem 'sqlite3', :platform => [:ruby, :mswin, :mingw]
|
11
|
+
gem 'sqlite3', '< 1.4.0', :platform => [:ruby, :mswin, :mingw]
|
12
12
|
|
13
13
|
gem 'rspec-core', '~> 3.5.0.beta3'
|
14
14
|
gem 'rspec-rails', '~> 3.5.0.beta3'
|
@@ -18,11 +18,16 @@ gem 'rspec-mocks', '~> 3.5.0.beta3'
|
|
18
18
|
|
19
19
|
gem 'rake'
|
20
20
|
|
21
|
-
gem '
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
21
|
+
gem 'sidekiq', '>= 2.13.0'
|
22
|
+
|
23
|
+
unless is_jruby
|
24
|
+
if RUBY_VERSION >= '2.5'
|
25
|
+
gem 'oj'
|
26
|
+
elsif RUBY_VERSION >= '2.4.0'
|
27
|
+
gem 'oj', '~> 2.16.1'
|
28
|
+
else
|
29
|
+
gem 'oj', '~> 2.12.14'
|
30
|
+
end
|
26
31
|
end
|
27
32
|
|
28
33
|
platforms :rbx do
|
@@ -36,16 +41,18 @@ if RUBY_VERSION.start_with?('1.9')
|
|
36
41
|
gem 'sucker_punch', '~> 1.0'
|
37
42
|
elsif RUBY_VERSION.start_with?('2')
|
38
43
|
gem 'sucker_punch', '~> 2.0'
|
44
|
+
gem 'codacy-coverage'
|
45
|
+
gem 'simplecov'
|
39
46
|
end
|
40
47
|
|
41
48
|
# We need last sinatra that uses rack 2.x
|
42
49
|
gem 'sinatra', :git => 'https://github.com/sinatra/sinatra'
|
43
50
|
|
44
|
-
gem '
|
45
|
-
gem 'database_cleaner', '~> 1.x'
|
51
|
+
gem 'database_cleaner'
|
46
52
|
gem 'delayed_job', :require => false
|
47
53
|
gem 'generator_spec'
|
48
54
|
gem 'girl_friday', '>= 0.11.1'
|
55
|
+
gem 'rspec-command'
|
49
56
|
gem 'redis'
|
50
57
|
gem 'resque'
|
51
58
|
|