Skip to content
Snippets Groups Projects
Commit d7bbb646 authored by Henk van der Veen's avatar Henk van der Veen
Browse files

remove rails42,50, remove ruby23,24, add ruby26, allow appsignal 2.10

parent c9d8cacf
Branches
Tags
1 merge request!42remove rails42,50, remove ruby23,24, add ruby26, allow appsignal 2.10
Pipeline #63954 passed
...@@ -2,25 +2,12 @@ variables: ...@@ -2,25 +2,12 @@ variables:
RAILS_ENV: "test" RAILS_ENV: "test"
before_script: before_script:
- if [ -x "$(command -v apk)" ]; then apk add sqlite-dev; fi
- export BUNDLE_PATH=$CI_PROJECT_DIR/.gems - export BUNDLE_PATH=$CI_PROJECT_DIR/.gems
- bundle --jobs 2 --retry 3 - bundle --jobs 2 --retry 3
- bundle exec appraisal - bundle exec appraisal
- bundle --jobs 2 --retry 3 - bundle --jobs 2 --retry 3
.ruby_23: &ruby_23
image: registry.roqua.nl/roqua/roqua-build-images:ruby-2.3-rails-base-test
cache:
key: ruby_23
paths:
- .gems
.ruby_24: &ruby_24
image: registry.roqua.nl/roqua/roqua-build-images:ruby-2.4-rails-base-test
cache:
key: ruby_24
paths:
- .gems
.ruby_25: &ruby_25 .ruby_25: &ruby_25
image: registry.roqua.nl/roqua/docker-base-images:ruby-2.5 image: registry.roqua.nl/roqua/docker-base-images:ruby-2.5
cache: cache:
...@@ -28,33 +15,25 @@ before_script: ...@@ -28,33 +15,25 @@ before_script:
paths: paths:
- .gems - .gems
rails_50_ruby_24: .ruby_26: &ruby_26
<<: *ruby_24 image: registry.roqua.nl/roqua/docker-base-images:ruby-2.6-builder
script: cache:
- bundle exec appraisal rails50 bundle exec rspec key: ruby_26
paths:
rails_50_ruby_25: - .gems
<<: *ruby_25
script:
- bundle exec appraisal rails50 bundle exec rspec
rails_51_ruby_24:
<<: *ruby_24
script:
- bundle exec appraisal rails51 bundle exec rspec
rails_51_ruby_25: rails_51_ruby_25:
<<: *ruby_25 <<: *ruby_25
script: script:
- bundle exec appraisal rails51 bundle exec rspec - bundle exec appraisal rails51 bundle exec rspec
rails_52_ruby_24: rails_52_ruby_25:
<<: *ruby_24 <<: *ruby_25
script: script:
- bundle exec appraisal rails52 bundle exec rspec - bundle exec appraisal rails52 bundle exec rspec
rails_52_ruby_25: rails_52_ruby_26:
<<: *ruby_25 <<: *ruby_26
script: script:
- bundle exec appraisal rails52 bundle exec rspec - bundle exec appraisal rails52 bundle exec rspec
...@@ -62,3 +41,8 @@ rails_60_ruby_25: ...@@ -62,3 +41,8 @@ rails_60_ruby_25:
<<: *ruby_25 <<: *ruby_25
script: script:
- bundle exec appraisal rails60 bundle exec rspec - bundle exec appraisal rails60 bundle exec rspec
rails_60_ruby_26:
<<: *ruby_26
script:
- bundle exec appraisal rails60 bundle exec rspec
appraise "rails42" do
gem "activesupport", "~> 4.2.10"
gem 'sqlite3', '~> 1.3.6'
end
appraise "rails50" do
gem "activesupport", "~> 5.0.0"
gem 'sqlite3', '~> 1.3.6'
end
appraise "rails51" do appraise "rails51" do
gem "activesupport", "~> 5.1.0" gem "activesupport", "~> 5.1.0"
gem 'sqlite3', '~> 1.3.6' gem 'sqlite3', '~> 1.3.6'
...@@ -15,12 +5,12 @@ end ...@@ -15,12 +5,12 @@ end
appraise "rails52" do appraise "rails52" do
gem "activesupport", "~> 5.2.0" gem "activesupport", "~> 5.2.0"
gem 'sqlite3', '~> 1.3.6' gem 'sqlite3', '~> 1.4'
gem 'appsignal', '~> 2.9.8' # test each minor versions we support
end end
if RUBY_VERSION.to_f >= 2.5 appraise "rails60" do
appraise "rails60" do gem "activesupport", "~> 6.0.0"
gem "activesupport", "~> 6.0.0" gem 'sqlite3', '~> 1.4'
gem 'sqlite3', '~> 1.4' gem 'appsignal', '~> 2.10.6'
end
end end
...@@ -9,7 +9,6 @@ gem 'roqua_styleguide', git: 'https://gitlab.roqua.nl/roqua/styleguide.git' ...@@ -9,7 +9,6 @@ gem 'roqua_styleguide', git: 'https://gitlab.roqua.nl/roqua/styleguide.git'
group :test do group :test do
gem 'actionpack', '>= 4.0' gem 'actionpack', '>= 4.0'
gem 'active_interaction', '~> 3.0' gem 'active_interaction', '~> 3.0'
gem 'appsignal', '~> 2.9.8'
gem 'climate_control' # For ENV modification in specs gem 'climate_control' # For ENV modification in specs
gem 'combustion', '~> 1.1.1' gem 'combustion', '~> 1.1.1'
gem 'fakefs', require: 'fakefs/safe' gem 'fakefs', require: 'fakefs/safe'
...@@ -18,4 +17,4 @@ group :test do ...@@ -18,4 +17,4 @@ group :test do
gem 'rspec-instrumentation-matcher' gem 'rspec-instrumentation-matcher'
gem 'rspec-rails' gem 'rspec-rails'
gem 'pry' gem 'pry'
end end
\ No newline at end of file
GIT GIT
remote: https://gitlab.roqua.nl/roqua/styleguide.git remote: https://gitlab.roqua.nl/roqua/styleguide.git
revision: e1fbbb611484e295719ed91c4eef889753ac8d8f revision: 6d98107ef10d2dc5a4a785a4b0977f100475e007
specs: specs:
roqua_styleguide (0.0.6) roqua_styleguide (0.0.8)
rubocop (~> 0.50.0) rubocop (~> 0.80.0)
rubocop-rails
PATH PATH
remote: . remote: .
specs: specs:
roqua-support (0.3.3) roqua-support (0.3.3)
active_interaction (~> 3.0) active_interaction (~> 3.0)
activesupport (>= 3.2, < 6.1) activesupport (>= 5.1, < 6.1)
appsignal (~> 2.9.8) appsignal (>= 2.9, < 2.11)
naught (~> 1.0) naught (~> 1.0)
with_advisory_lock (~> 3.2) with_advisory_lock (~> 3.2)
GEM GEM
remote: https://rubygems.org/ remote: https://rubygems.org/
specs: specs:
actionpack (5.0.1) actionpack (6.0.2.2)
actionview (= 5.0.1) actionview (= 6.0.2.2)
activesupport (= 5.0.1) activesupport (= 6.0.2.2)
rack (~> 2.0) rack (~> 2.0, >= 2.0.8)
rack-test (~> 0.6.3) rack-test (>= 0.6.3)
rails-dom-testing (~> 2.0) rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.0, >= 1.0.2) rails-html-sanitizer (~> 1.0, >= 1.2.0)
actionview (5.0.1) actionview (6.0.2.2)
activesupport (= 5.0.1) activesupport (= 6.0.2.2)
builder (~> 3.1) builder (~> 3.1)
erubis (~> 2.7.0) erubi (~> 1.4)
rails-dom-testing (~> 2.0) rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.0, >= 1.0.2) rails-html-sanitizer (~> 1.1, >= 1.2.0)
active_interaction (3.4.0) active_interaction (3.8.2)
activemodel (>= 4, < 6) activemodel (>= 4, < 7)
activemodel (5.0.1) activemodel (6.0.2.2)
activesupport (= 5.0.1) activesupport (= 6.0.2.2)
activerecord (5.0.1) activerecord (6.0.2.2)
activemodel (= 5.0.1) activemodel (= 6.0.2.2)
activesupport (= 5.0.1) activesupport (= 6.0.2.2)
arel (~> 7.0) activesupport (6.0.2.2)
activesupport (5.0.1)
concurrent-ruby (~> 1.0, >= 1.0.2) concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (~> 0.7) i18n (>= 0.7, < 2)
minitest (~> 5.1) minitest (~> 5.1)
tzinfo (~> 1.1) tzinfo (~> 1.1)
appraisal (2.1.0) zeitwerk (~> 2.2)
appraisal (2.2.0)
bundler bundler
rake rake
thor (>= 0.14.0) thor (>= 0.14.0)
appsignal (2.9.8) appsignal (2.9.18)
rack rack
arel (7.1.4) ast (2.4.0)
ast (2.3.0) builder (3.2.4)
builder (3.2.3)
climate_control (0.2.0) climate_control (0.2.0)
coderay (1.1.1) coderay (1.1.2)
combustion (1.1.1) combustion (1.1.2)
activesupport (>= 3.0.0) activesupport (>= 3.0.0)
railties (>= 3.0.0) railties (>= 3.0.0)
thor (>= 0.14.6) thor (>= 0.14.6)
concurrent-ruby (1.0.4) concurrent-ruby (1.1.6)
delayed_job (4.1.4) crass (1.0.6)
activesupport (>= 3.0, < 5.2) delayed_job (4.1.8)
delayed_job_active_record (4.1.2) activesupport (>= 3.0, < 6.1)
activerecord (>= 3.0, < 5.2) delayed_job_active_record (4.1.4)
activerecord (>= 3.0, < 6.1)
delayed_job (>= 3.0, < 5) delayed_job (>= 3.0, < 5)
diff-lcs (1.3) diff-lcs (1.3)
erubis (2.7.0) erubi (1.9.0)
fakefs (0.15.0) fakefs (1.2.2)
ffi (1.9.17) ffi (1.12.2)
formatador (0.2.5) formatador (0.2.5)
guard (2.14.0) guard (2.16.2)
formatador (>= 0.2.4) formatador (>= 0.2.4)
listen (>= 2.7, < 4.0) listen (>= 2.7, < 4.0)
lumberjack (~> 1.0) lumberjack (>= 1.0.12, < 2.0)
nenv (~> 0.1) nenv (~> 0.1)
notiffany (~> 0.0) notiffany (~> 0.0)
pry (>= 0.9.12) pry (>= 0.9.12)
...@@ -82,97 +83,102 @@ GEM ...@@ -82,97 +83,102 @@ GEM
guard-rspec (4.2.10) guard-rspec (4.2.10)
guard (~> 2.1) guard (~> 2.1)
rspec (>= 2.14, < 4.0) rspec (>= 2.14, < 4.0)
i18n (0.7.0) i18n (1.8.2)
listen (3.1.5) concurrent-ruby (~> 1.0)
rb-fsevent (~> 0.9, >= 0.9.4) jaro_winkler (1.5.4)
rb-inotify (~> 0.9, >= 0.9.7) listen (3.2.1)
ruby_dep (~> 1.2) rb-fsevent (~> 0.10, >= 0.10.3)
loofah (2.0.3) rb-inotify (~> 0.9, >= 0.9.10)
loofah (2.5.0)
crass (~> 1.0.2)
nokogiri (>= 1.5.9) nokogiri (>= 1.5.9)
lumberjack (1.0.11) lumberjack (1.2.4)
method_source (0.8.2) method_source (1.0.0)
mini_portile2 (2.1.0) mini_portile2 (2.4.0)
minitest (5.10.1) minitest (5.14.0)
naught (1.1.0) naught (1.1.0)
nenv (0.3.0) nenv (0.3.0)
nokogiri (1.7.0.1) nokogiri (1.10.9)
mini_portile2 (~> 2.1.0) mini_portile2 (~> 2.4.0)
notiffany (0.1.1) notiffany (0.1.3)
nenv (~> 0.1) nenv (~> 0.1)
shellany (~> 0.0) shellany (~> 0.0)
parallel (1.12.0) parallel (1.19.1)
parser (2.4.0.0) parser (2.7.1.2)
ast (~> 2.2) ast (~> 2.4.0)
powerpack (0.1.1) pry (0.13.1)
pry (0.10.4) coderay (~> 1.1)
coderay (~> 1.1.0) method_source (~> 1.0)
method_source (~> 0.8.1) rack (2.2.2)
slop (~> 3.4) rack-test (1.1.0)
rack (2.0.7) rack (>= 1.0, < 3)
rack-test (0.6.3) rails-dom-testing (2.0.3)
rack (>= 1.0) activesupport (>= 4.2.0)
rails-dom-testing (2.0.2) nokogiri (>= 1.6)
activesupport (>= 4.2.0, < 6.0) rails-html-sanitizer (1.3.0)
nokogiri (~> 1.6) loofah (~> 2.3)
rails-html-sanitizer (1.0.3) railties (6.0.2.2)
loofah (~> 2.0) actionpack (= 6.0.2.2)
railties (5.0.1) activesupport (= 6.0.2.2)
actionpack (= 5.0.1)
activesupport (= 5.0.1)
method_source method_source
rake (>= 0.8.7) rake (>= 0.8.7)
thor (>= 0.18.1, < 2.0) thor (>= 0.20.3, < 2.0)
rainbow (2.2.2) rainbow (3.0.0)
rake rake (13.0.1)
rake (12.1.0) rb-fsevent (0.10.4)
rb-fsevent (0.9.8) rb-inotify (0.10.1)
rb-inotify (0.9.7) ffi (~> 1.0)
ffi (>= 0.5.0) responders (3.0.0)
responders (2.3.0) actionpack (>= 5.0)
railties (>= 4.2.0, < 5.1) railties (>= 5.0)
rspec (3.5.0) rexml (3.2.4)
rspec-core (~> 3.5.0) rspec (3.9.0)
rspec-expectations (~> 3.5.0) rspec-core (~> 3.9.0)
rspec-mocks (~> 3.5.0) rspec-expectations (~> 3.9.0)
rspec-core (3.5.4) rspec-mocks (~> 3.9.0)
rspec-support (~> 3.5.0) rspec-core (3.9.2)
rspec-expectations (3.5.0) rspec-support (~> 3.9.3)
rspec-expectations (3.9.1)
diff-lcs (>= 1.2.0, < 2.0) diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.5.0) rspec-support (~> 3.9.0)
rspec-instrumentation-matcher (0.0.4) rspec-instrumentation-matcher (0.0.9)
activesupport activesupport
rspec-expectations rspec-expectations
rspec-mocks (3.5.0) rspec-mocks (3.9.1)
diff-lcs (>= 1.2.0, < 2.0) diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.5.0) rspec-support (~> 3.9.0)
rspec-rails (3.5.2) rspec-rails (4.0.0)
actionpack (>= 3.0) actionpack (>= 4.2)
activesupport (>= 3.0) activesupport (>= 4.2)
railties (>= 3.0) railties (>= 4.2)
rspec-core (~> 3.5.0) rspec-core (~> 3.9)
rspec-expectations (~> 3.5.0) rspec-expectations (~> 3.9)
rspec-mocks (~> 3.5.0) rspec-mocks (~> 3.9)
rspec-support (~> 3.5.0) rspec-support (~> 3.9)
rspec-support (3.5.0) rspec-support (3.9.3)
rubocop (0.50.0) rubocop (0.80.1)
jaro_winkler (~> 1.5.1)
parallel (~> 1.10) parallel (~> 1.10)
parser (>= 2.3.3.1, < 3.0) parser (>= 2.7.0.1)
powerpack (~> 0.1) rainbow (>= 2.2.2, < 4.0)
rainbow (>= 2.2.2, < 3.0) rexml
ruby-progressbar (~> 1.7) ruby-progressbar (~> 1.7)
unicode-display_width (~> 1.0, >= 1.0.1) unicode-display_width (>= 1.4.0, < 1.7)
ruby-progressbar (1.8.3) rubocop-rails (2.5.2)
ruby_dep (1.5.0) activesupport
rack (>= 1.1)
rubocop (>= 0.72.0)
ruby-progressbar (1.10.1)
shellany (0.0.1) shellany (0.0.1)
slop (3.6.0) thor (1.0.1)
thor (0.19.4) thread_safe (0.3.6)
thread_safe (0.3.5)
timecop (0.9.1) timecop (0.9.1)
tzinfo (1.2.2) tzinfo (1.2.7)
thread_safe (~> 0.1) thread_safe (~> 0.1)
unicode-display_width (1.3.0) unicode-display_width (1.6.1)
with_advisory_lock (3.2.0) with_advisory_lock (3.2.0)
activerecord (>= 3.2) activerecord (>= 3.2)
zeitwerk (2.3.0)
PLATFORMS PLATFORMS
ruby ruby
...@@ -181,7 +187,6 @@ DEPENDENCIES ...@@ -181,7 +187,6 @@ DEPENDENCIES
actionpack (>= 4.0) actionpack (>= 4.0)
active_interaction (~> 3.0) active_interaction (~> 3.0)
appraisal appraisal
appsignal (~> 2.9.8)
bundler (~> 2.0) bundler (~> 2.0)
climate_control climate_control
combustion (~> 1.1.1) combustion (~> 1.1.1)
......
# This file was generated by Appraisal
source "https://rubygems.org"
gem "appraisal"
gem "roqua_styleguide", :git => "https://gitlab.roqua.nl/roqua/styleguide.git"
gem "activesupport", "~> 4.2.10"
gem "sqlite3", "~> 1.3.6"
group :test do
gem "actionpack", ">= 4.0"
gem "active_interaction", "~> 3.0"
gem "appsignal", "~> 2.9.8"
gem "climate_control"
gem "combustion", "~> 1.1.1"
gem "fakefs", :require => "fakefs/safe"
gem "guard-rspec", "~> 4.2.6"
gem "responders"
gem "rspec-instrumentation-matcher"
gem "rspec-rails"
gem "pry"
end
gemspec :path => "../"
# This file was generated by Appraisal
source "https://rubygems.org"
gem "appraisal"
gem "roqua_styleguide", :git => "https://gitlab.roqua.nl/roqua/styleguide.git"
gem "activesupport", "~> 5.0.0"
gem "sqlite3", "~> 1.3.6"
group :test do
gem "actionpack", ">= 4.0"
gem "active_interaction", "~> 3.0"
gem "appsignal", "~> 2.9.8"
gem "climate_control"
gem "combustion", "~> 1.1.1"
gem "fakefs", :require => "fakefs/safe"
gem "guard-rspec", "~> 4.2.6"
gem "responders"
gem "rspec-instrumentation-matcher"
gem "rspec-rails"
gem "pry"
end
gemspec :path => "../"
...@@ -3,17 +3,16 @@ ...@@ -3,17 +3,16 @@
source "https://rubygems.org" source "https://rubygems.org"
gem "appraisal" gem "appraisal"
gem "roqua_styleguide", :git => "https://gitlab.roqua.nl/roqua/styleguide.git" gem "roqua_styleguide", git: "https://gitlab.roqua.nl/roqua/styleguide.git"
gem "activesupport", "~> 5.1.0" gem "activesupport", "~> 5.1.0"
gem "sqlite3", "~> 1.3.6" gem "sqlite3", "~> 1.3.6"
group :test do group :test do
gem "actionpack", ">= 4.0" gem "actionpack", ">= 4.0"
gem "active_interaction", "~> 3.0" gem "active_interaction", "~> 3.0"
gem "appsignal", "~> 2.9.8"
gem "climate_control" gem "climate_control"
gem "combustion", "~> 1.1.1" gem "combustion", "~> 1.1.1"
gem "fakefs", :require => "fakefs/safe" gem "fakefs", require: "fakefs/safe"
gem "guard-rspec", "~> 4.2.6" gem "guard-rspec", "~> 4.2.6"
gem "responders" gem "responders"
gem "rspec-instrumentation-matcher" gem "rspec-instrumentation-matcher"
...@@ -21,4 +20,4 @@ group :test do ...@@ -21,4 +20,4 @@ group :test do
gem "pry" gem "pry"
end end
gemspec :path => "../" gemspec path: "../"
...@@ -3,17 +3,17 @@ ...@@ -3,17 +3,17 @@
source "https://rubygems.org" source "https://rubygems.org"
gem "appraisal" gem "appraisal"
gem "roqua_styleguide", :git => "https://gitlab.roqua.nl/roqua/styleguide.git" gem "roqua_styleguide", git: "https://gitlab.roqua.nl/roqua/styleguide.git"
gem "activesupport", "~> 5.2.0" gem "activesupport", "~> 5.2.0"
gem "sqlite3", "~> 1.3.6" gem "sqlite3", "~> 1.4"
gem "appsignal", "~> 2.9.8"
group :test do group :test do
gem "actionpack", ">= 4.0" gem "actionpack", ">= 4.0"
gem "active_interaction", "~> 3.0" gem "active_interaction", "~> 3.0"
gem "appsignal", "~> 2.9.8"
gem "climate_control" gem "climate_control"
gem "combustion", "~> 1.1.1" gem "combustion", "~> 1.1.1"
gem "fakefs", :require => "fakefs/safe" gem "fakefs", require: "fakefs/safe"
gem "guard-rspec", "~> 4.2.6" gem "guard-rspec", "~> 4.2.6"
gem "responders" gem "responders"
gem "rspec-instrumentation-matcher" gem "rspec-instrumentation-matcher"
...@@ -21,4 +21,4 @@ group :test do ...@@ -21,4 +21,4 @@ group :test do
gem "pry" gem "pry"
end end
gemspec :path => "../" gemspec path: "../"
...@@ -3,17 +3,17 @@ ...@@ -3,17 +3,17 @@
source "https://rubygems.org" source "https://rubygems.org"
gem "appraisal" gem "appraisal"
gem "roqua_styleguide", :git => "https://gitlab.roqua.nl/roqua/styleguide.git" gem "roqua_styleguide", git: "https://gitlab.roqua.nl/roqua/styleguide.git"
gem "activesupport", "~> 6.0.0" gem "activesupport", "~> 6.0.0"
gem "sqlite3", "~> 1.4" gem "sqlite3", "~> 1.4"
gem "appsignal", "~> 2.10.6"
group :test do group :test do
gem "actionpack", ">= 4.0" gem "actionpack", ">= 4.0"
gem "active_interaction", "~> 3.0" gem "active_interaction", "~> 3.0"
gem "appsignal", "~> 2.9.8"
gem "climate_control" gem "climate_control"
gem "combustion", "~> 1.1.1" gem "combustion", "~> 1.1.1"
gem "fakefs", :require => "fakefs/safe" gem "fakefs", require: "fakefs/safe"
gem "guard-rspec", "~> 4.2.6" gem "guard-rspec", "~> 4.2.6"
gem "responders" gem "responders"
gem "rspec-instrumentation-matcher" gem "rspec-instrumentation-matcher"
...@@ -21,4 +21,4 @@ group :test do ...@@ -21,4 +21,4 @@ group :test do
gem "pry" gem "pry"
end end
gemspec :path => "../" gemspec path: "../"
...@@ -18,11 +18,12 @@ Gem::Specification.new do |gem| ...@@ -18,11 +18,12 @@ Gem::Specification.new do |gem|
gem.test_files = gem.files.grep(%r{^(test|spec|features)/}) gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
gem.require_paths = ["lib"] gem.require_paths = ["lib"]
gem.required_ruby_version = '>= 2.5'
gem.add_dependency 'active_interaction', '~> 3.0' gem.add_dependency 'active_interaction', '~> 3.0'
gem.add_dependency 'activesupport', '>= 3.2', '< 6.1' gem.add_dependency 'activesupport', '>= 5.1', '< 6.1'
gem.add_dependency 'naught', '~> 1.0' gem.add_dependency 'naught', '~> 1.0'
gem.add_dependency 'with_advisory_lock', '~> 3.2' gem.add_dependency 'with_advisory_lock', '~> 3.2'
gem.add_dependency 'appsignal', '~> 2.9.8' gem.add_dependency 'appsignal', '>= 2.9', '< 2.11'
gem.add_development_dependency 'bundler', '~> 2.0' gem.add_development_dependency 'bundler', '~> 2.0'
gem.add_development_dependency 'delayed_job_active_record' gem.add_development_dependency 'delayed_job_active_record'
......
...@@ -94,6 +94,7 @@ describe 'Error reporting' do ...@@ -94,6 +94,7 @@ describe 'Error reporting' do
let(:transaction) { double("transaction") } let(:transaction) { double("transaction") }
before do before do
Appsignal.config = Appsignal::Config.new(Dir.pwd, "test")
allow(Appsignal).to receive(:active?).and_return(true) allow(Appsignal).to receive(:active?).and_return(true)
allow(Appsignal).to receive(:is_ignored_exception?).and_return(false) allow(Appsignal).to receive(:is_ignored_exception?).and_return(false)
allow(Appsignal).to receive(:agent).and_return(agent) allow(Appsignal).to receive(:agent).and_return(agent)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment