Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix ci #827

Merged
merged 3 commits into from
Jun 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions features/fixtures/delayed_job/app/Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ gem 'delayed_job'
gem 'delayed_job_active_record'
gem 'mini_racer'

gem 'ffi', RUBY_VERSION >= '3.3' ? '~> 1.17' : '< 1.17'

# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '~> 5.0.7'
# Use sqlite3 as the database for Active Record
Expand Down
10 changes: 9 additions & 1 deletion features/fixtures/rack/app/app.rb
Original file line number Diff line number Diff line change
Expand Up @@ -71,4 +71,12 @@ def call(env)
end
end

Rack::Server.start(app: Bugsnag::Rack.new(BugsnagTests.new), Host: '0.0.0.0', Port: 3000)
Server =
if defined?(Rack::Server)
Rack::Server
else
require 'rackup'
Rackup::Server
end

Server.start(app: Bugsnag::Rack.new(BugsnagTests.new), Host: '0.0.0.0', Port: 3000)
2 changes: 2 additions & 0 deletions features/fixtures/rails5/app/Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ gem 'jbuilder', '~> 2.5'
# Use ActiveModel has_secure_password
# gem 'bcrypt', '~> 3.1.7'

gem 'ffi', '< 1.17'

# Use Capistrano for deployment
# gem 'capistrano-rails', group: :development

Expand Down
7 changes: 0 additions & 7 deletions features/fixtures/rails6/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,6 @@
ARG RUBY_TEST_VERSION
FROM ruby:$RUBY_TEST_VERSION

RUN apt-get update

RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -
RUN echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list

RUN apt-get install -y nodejs yarn

WORKDIR /bugsnag
COPY temp-bugsnag-lib ./

Expand Down
2 changes: 2 additions & 0 deletions features/fixtures/rails6/app/Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ gem 'jbuilder', '~> 2.5'
# Use Active Storage variant
# gem 'image_processing', '~> 1.2'

gem 'ffi', RUBY_VERSION >= '3.3' ? '~> 1.17' : '< 1.17'

# Reduces boot times through caching; required in config/boot.rb
gem 'bootsnap', '>= 1.4.1', require: false

Expand Down
2 changes: 2 additions & 0 deletions features/fixtures/rails7/app/Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ gem "sprockets-rails"
# Install a compatible sqlite version on Ruby <3.0
gem "sqlite3", RUBY_VERSION >= '3.0' ? "~> 1.7" : "< 1.7"

gem 'ffi', RUBY_VERSION >= '3.3' ? '~> 1.17' : '< 1.17'

# Use the Puma web server [https://github.com/puma/puma]
gem "puma", "~> 5.0"

Expand Down
2 changes: 2 additions & 0 deletions features/fixtures/rails_integrations/app/Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ if RUBY_VERSION >= '3.0.0'
gem 'redis-namespace', github: 'resque/redis-namespace', ref: 'c31e63dc3cd5e59ef5ea394d4d46ac60d1e6f82e'
end

gem 'ffi', RUBY_VERSION >= '3.3' ? '~> 1.17' : '< 1.17'

gem 'resque', '~> 2.0'
gem 'sidekiq', '~> 6.1'

Expand Down
Loading