Skip to content

Commit

Permalink
Support airbrake 13 & airbrake-ruby 6 (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
Rick Liu authored Jan 19, 2022
1 parent 7b9b132 commit f2d01bd
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
10 changes: 5 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,16 @@ jobs:
steps:
- gem/setup-and-test:
gemspec: blinkist-airbrake-scrubber.gemspec
bundler-version: 2.2.19
test-with-ruby-2-3-8:
bundler-version: 2.3.5
test-with-ruby-2-7:
working_directory: ~/repo
executor:
name: gem/default
tag: 2.3.8
tag: 2.7.5
steps:
- gem/setup-and-test:
gemspec: blinkist-airbrake-scrubber.gemspec
bundler-version: 1.17.3
bundler-version: 2.3.5
build-and-release:
working_directory: ~/repo
executor: gem/default
Expand All @@ -34,7 +34,7 @@ workflows:
test:
jobs:
- test-with-ruby-latest
- test-with-ruby-2-3-8
- test-with-ruby-2-7
- build-and-release:
requires:
- test-with-ruby-latest
Expand Down
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.7.3
3.1.0
4 changes: 2 additions & 2 deletions blinkist-airbrake-scrubber.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ Gem::Specification.new do |gem|
gem.homepage = "https://github.com/blinkist/airbrake-scrubber"
gem.license = "MIT"

# Airbrake
gem.add_dependency "airbrake", ">= 9", "< 12"
# https://github.com/airbrake/airbrake
gem.add_dependency "airbrake", ">= 9", "< 14"

gem.files = Dir["{lib,spec}/**/*", "README.md", "Rakefile", "Gemfile", "*.gemspec"]
gem.executables = gem.files.grep(%r{^bin/}).map { |f| File.basename(f) }
Expand Down
2 changes: 1 addition & 1 deletion lib/blinkist-airbrake-scrubber/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
module Blinkist
module AirbrakeScrubber

VERSION = "4.4.0"
VERSION = "5.0.0"

end
end
6 changes: 3 additions & 3 deletions spec/specs/version_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
it 'provides the current version' do
version = Blinkist::AirbrakeScrubber::VERSION
expect(version).to_not be nil
expect(version.instance_of?(String)).to be true
expect(version).to be_a String
end

it 'equals 4.4.0 for auto-check purposes' do
it 'equals 5.0.0 for auto-check purposes' do
version = Blinkist::AirbrakeScrubber::VERSION
expect(version).to eq '4.4.0'
expect(version).to eq '5.0.0'
end
end

0 comments on commit f2d01bd

Please sign in to comment.