Maintenance: Introduced 'deprecation_toolkit' to handle deprecation of internal Zammad APIs and those of dependencies.

This commit is contained in:
Ryan Lue 2019-07-26 16:33:26 +02:00 committed by Thorsten Eckel
parent 2d7846e7af
commit a9144638a9
3 changed files with 10 additions and 1 deletions

View file

@ -191,6 +191,9 @@ group :development, :test do
# record and replay TCP/HTTP transactions
gem 'tcr', git: 'https://github.com/zammad-deps/tcr'
gem 'vcr'
# handle deprecations in core and addons
gem 'deprecation_toolkit'
end
# Want to extend Zammad with additional gems?

View file

@ -167,6 +167,8 @@ GEM
delayed_job_active_record (4.1.3)
activerecord (>= 3.0, < 5.3)
delayed_job (>= 3.0, < 5)
deprecation_toolkit (1.4.0)
activesupport (>= 4.2)
diff-lcs (1.3)
diffy (3.3.0)
docile (1.3.1)
@ -575,6 +577,7 @@ DEPENDENCIES
daemons
dalli
delayed_job_active_record
deprecation_toolkit
diffy
doorkeeper
eco
@ -658,4 +661,4 @@ RUBY VERSION
ruby 2.5.5p157
BUNDLED WITH
1.17.3
1.7.3

View file

@ -0,0 +1,3 @@
require 'deprecation_toolkit/rspec'
DeprecationToolkit::Configuration.test_runner = :rspec