Skip to content

Commit

Permalink
Release v6.25.0
Browse files Browse the repository at this point in the history
  • Loading branch information
imjoehaines authored Dec 1, 2022
2 parents caf3ecc + 6982667 commit eefe5a0
Show file tree
Hide file tree
Showing 106 changed files with 2,334 additions and 1,056 deletions.
498 changes: 0 additions & 498 deletions .buildkite/pipeline.yml

This file was deleted.

24 changes: 24 additions & 0 deletions .github/workflows/license-audit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: license audit

on: [push, pull_request]

jobs:
license-audit:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: fetch decisions.yml
run: |
curl https://raw.githubusercontent.com/bugsnag/license-audit/master/config/decision_files/global.yml -o config/decisions.yml
curl https://raw.githubusercontent.com/bugsnag/license-audit/master/config/decision_files/bugsnag-ruby.yml >> config/decisions.yml
- name: run license finder
# for some reason license finder doesn't run without a login shell (-l)
run: >
docker run -v $PWD:/scan licensefinder/license_finder /bin/bash -lc "
cd /scan &&
bundle install &&
license_finder --decisions-file config/decisions.yml
"
149 changes: 149 additions & 0 deletions .github/workflows/maze-runner.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,149 @@
name: maze-runner

on: [push, pull_request]

jobs:
rake-maze-runner:
strategy:
fail-fast: false
matrix:
ruby-version: ['1.9', '3.1']

uses: ./.github/workflows/run-maze-runner.yml
with:
features: features/rake.feature
ruby-version: ${{ matrix.ruby-version }}

mailman-maze-runner:
strategy:
fail-fast: false
matrix:
ruby-version: ['2.0', '3.0']

uses: ./.github/workflows/run-maze-runner.yml
with:
features: features/mailman.feature
ruby-version: ${{ matrix.ruby-version }}

rack-maze-runner:
strategy:
fail-fast: false
matrix:
include:
- ruby-version: '1.9'
rack-version: '1'
- ruby-version: '3.0'
rack-version: '1'
- ruby-version: '2.2'
rack-version: '2'
- ruby-version: '3.1'
rack-version: '2'
- ruby-version: '2.4'
rack-version: '3'
- ruby-version: '3.1'
rack-version: '3'

uses: ./.github/workflows/run-maze-runner.yml
with:
features: features/rack.feature
ruby-version: ${{ matrix.ruby-version }}
rack-version: ${{ matrix.rack-version }}

que-maze-runner:
strategy:
fail-fast: false
matrix:
include:
- ruby-version: '2.0'
que-version: '0.14'
- ruby-version: '3.1'
que-version: '0.14'
- ruby-version: '2.5'
que-version: '1'
- ruby-version: '2.7'
que-version: '1'

uses: ./.github/workflows/run-maze-runner.yml
with:
features: features/que.feature
ruby-version: ${{ matrix.ruby-version }}
que-version: ${{ matrix.que-version }}

sidekiq-maze-runner:
strategy:
fail-fast: false
matrix:
ruby-version: ['2.5']
sidekiq-version: ['2', '3', '4', '5', '6']

uses: ./.github/workflows/run-maze-runner.yml
with:
features: features/sidekiq.feature
ruby-version: ${{ matrix.ruby-version }}
sidekiq-version: ${{ matrix.sidekiq-version }}

delayed-job-maze-runner:
strategy:
fail-fast: false
matrix:
ruby-version: ['2.5']

uses: ./.github/workflows/run-maze-runner.yml
with:
features: features/delayed_job.feature
ruby-version: ${{ matrix.ruby-version }}

rails-3-4-5-maze-runner:
strategy:
fail-fast: false
matrix:
ruby-version: ['2.2', '2.5']
rails-version: ['3', '4', '5']
include:
- ruby-version: '2.0'
rails-version: '3'
- ruby-version: '2.6'
rails-version: '5'
exclude:
- ruby-version: '2.2'
rails-version: '3'
- ruby-version: '2.5'
rails-version: '5'

uses: ./.github/workflows/run-maze-runner.yml
with:
features: features/rails_features/ --tags @rails${{ matrix.rails-version }}
ruby-version: ${{ matrix.ruby-version }}
rails-version: ${{ matrix.rails-version }}

rails-6-7-integrations-maze-runner:
strategy:
fail-fast: false
matrix:
ruby-version: ['2.7', '3.1']
rails-version: ['6', '7', '_integrations']
include:
- ruby-version: '2.5'
rails-version: '6'
exclude:
- ruby-version: '2.7'
rails-version: '6'
- ruby-version: '3.1'
rails-version: '_integrations'

uses: ./.github/workflows/run-maze-runner.yml
with:
features: features/rails_features/ --tags @rails${{ matrix.rails-version }}
ruby-version: ${{ matrix.ruby-version }}
rails-version: ${{ matrix.rails-version }}

plain-maze-runner:
strategy:
fail-fast: false
matrix:
ruby-version: ['1.9', '2.0', '2.1', '2.2', '2.3', '2.4', '2.5', '2.6', '2.7', '3.0', '3.1']

uses: ./.github/workflows/run-maze-runner.yml
with:
features: features/plain_features/
ruby-version: ${{ matrix.ruby-version }}
53 changes: 53 additions & 0 deletions .github/workflows/run-maze-runner.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
name: run-maze-runner

on:
workflow_call:
inputs:
features:
required: true
type: string
ruby-version:
required: true
type: string
rack-version:
required: false
type: string
que-version:
required: false
type: string
rails-version:
required: false
type: string
sidekiq-version:
required: false
type: string

jobs:
maze-runner:
runs-on: ubuntu-latest

env:
BUNDLE_GEMFILE: Gemfile-maze-runner

steps:
- uses: actions/checkout@v3

- name: Install libcurl4-openssl-dev and net-tools
run: |
sudo apt-get update
sudo apt-get install libcurl4-openssl-dev net-tools
- name: install Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7
bundler-cache: true

- run: bundle exec maze-runner ${{ inputs.features }} --no-source
env:
NETWORK_NAME: notwerk
RUBY_TEST_VERSION: ${{ inputs.ruby-version }}
RACK_VERSION: ${{ inputs.rack-version }}
QUE_VERSION: ${{ inputs.que-version }}
RAILS_VERSION: ${{ inputs.rails-version }}
SIDEKIQ_VERSION: ${{ inputs.sidekiq-version }}
51 changes: 51 additions & 0 deletions .github/workflows/test-package.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name: test

on: [push, pull_request]

jobs:
specs:
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
ruby-version: ['2.2', '2.3', '2.4', '2.5', '2.6', '2.7', '3.0', '3.1']
optional-groups: ['test sidekiq']
include:
- ruby-version: '1.9'
optional-groups: 'test'
- ruby-version: '2.0'
optional-groups: 'test'
- ruby-version: '2.1'
optional-groups: 'test'
- ruby-version: 'jruby'
optional-groups: 'test'

steps:
- uses: actions/checkout@v3

- name: install Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}

- run: bundle install --with "${{ matrix.optional-groups }}" --binstubs

- run: ./bin/rake spec

linting:
runs-on: ubuntu-latest

env:
BUNDLE_WITH: rubocop

steps:
- uses: actions/checkout@v3

- name: install Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7
bundler-cache: true

- run: bundle exec rubocop lib/
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ doc
# bundler
.bundle
Gemfile.lock
Gemfile-maze-runner.lock

# jeweler generated
pkg
Expand Down Expand Up @@ -52,4 +53,4 @@ vendor
bin

# For Bugsnag-Maze-Runner:
maze_output
maze_output
1 change: 1 addition & 0 deletions .yardopts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
--no-private
--protected
--title "bugsnag-ruby API Documentation"
--embed-mixins
lib/**/*.rb
-
README.md
Expand Down
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
Changelog
=========

## v6.26.0 (1 December 2022)

### Enhancements

* Add support for feature flags & experiments. For more information, please see https://docs.bugsnag.com/product/features-experiments
| [#758](https://github.com/bugsnag/bugsnag-ruby/pull/758)

## v6.24.2 (21 January 2022)

### Fixes
Expand Down
44 changes: 28 additions & 16 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,32 +28,44 @@ group :test, optional: true do
gem 'webrick' if ruby_version >= Gem::Version.new('3.0.0')

gem 'rexml', '< 3.2.5' if ruby_version == Gem::Version.new('2.0.0')

if ruby_version >= Gem::Version.new('2.2.0') && ruby_version < Gem::Version.new('2.4.0')
gem 'minitest', '< 5.16.0'
gem 'connection_pool', '< 2.3.0'
end
end

group :coverage, optional: true do
gem 'simplecov'
gem 'coveralls'
end

group :rubocop, optional: true do
gem 'rubocop', '~> 1.0.0'
if ruby_version >= Gem::Version.new('2.4.0')
group :rubocop, optional: true do
gem 'rubocop', '~> 1.0.0'
end
end

group :sidekiq, optional: true do
gem 'sidekiq', '~> 5.2.7'

if ruby_version < Gem::Version.new('2.3.0')
# redis 4.1.2 dropped support for Ruby 2.2
gem 'redis', '4.1.1'
elsif ruby_version < Gem::Version.new('2.4.0')
# redis 4.5.0 dropped support for Ruby 2.3
gem 'redis', '< 4.5.0'
else
gem 'redis'
end
if ruby_version >= Gem::Version.new('2.2.0')
group :sidekiq, optional: true do
gem 'sidekiq', '~> 5.2.7'

# rack 2.2.0 dropped support for Ruby 2.2
gem 'rack', ruby_version < Gem::Version.new('2.3.0') ? '< 2.2.0' : '~> 2.2'
if ruby_version < Gem::Version.new('2.3.0')
# redis 4.1.2 dropped support for Ruby 2.2
gem 'redis', '4.1.1'
elsif ruby_version < Gem::Version.new('2.4.0')
# redis 4.5.0 dropped support for Ruby 2.3
gem 'redis', '< 4.5.0'
else
gem 'redis'
end

# rack 2.2.0 dropped support for Ruby 2.2
gem 'rack', ruby_version < Gem::Version.new('2.3.0') ? '< 2.2.0' : '~> 2.2'

# rack-protection 3.0.0 requires Ruby 2.6+
gem 'rack-protection', '< 3.0.0' if ruby_version < Gem::Version.new('2.6.0')
end
end

gemspec
3 changes: 3 additions & 0 deletions Gemfile-maze-runner
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
source "https://rubygems.org"

gem 'bugsnag-maze-runner', git: 'https://github.com/bugsnag/maze-runner', tag: 'v7.6.0'
Loading

0 comments on commit eefe5a0

Please sign in to comment.