Maintenance: Introduced 'deprecation_toolkit' to handle deprecation of internal Zammad APIs and those of dependencies.
This commit is contained in:
parent
2d7846e7af
commit
a9144638a9
3 changed files with 10 additions and 1 deletions
3
Gemfile
3
Gemfile
|
@ -191,6 +191,9 @@ group :development, :test do
|
||||||
# record and replay TCP/HTTP transactions
|
# record and replay TCP/HTTP transactions
|
||||||
gem 'tcr', git: 'https://github.com/zammad-deps/tcr'
|
gem 'tcr', git: 'https://github.com/zammad-deps/tcr'
|
||||||
gem 'vcr'
|
gem 'vcr'
|
||||||
|
|
||||||
|
# handle deprecations in core and addons
|
||||||
|
gem 'deprecation_toolkit'
|
||||||
end
|
end
|
||||||
|
|
||||||
# Want to extend Zammad with additional gems?
|
# Want to extend Zammad with additional gems?
|
||||||
|
|
|
@ -167,6 +167,8 @@ GEM
|
||||||
delayed_job_active_record (4.1.3)
|
delayed_job_active_record (4.1.3)
|
||||||
activerecord (>= 3.0, < 5.3)
|
activerecord (>= 3.0, < 5.3)
|
||||||
delayed_job (>= 3.0, < 5)
|
delayed_job (>= 3.0, < 5)
|
||||||
|
deprecation_toolkit (1.4.0)
|
||||||
|
activesupport (>= 4.2)
|
||||||
diff-lcs (1.3)
|
diff-lcs (1.3)
|
||||||
diffy (3.3.0)
|
diffy (3.3.0)
|
||||||
docile (1.3.1)
|
docile (1.3.1)
|
||||||
|
@ -575,6 +577,7 @@ DEPENDENCIES
|
||||||
daemons
|
daemons
|
||||||
dalli
|
dalli
|
||||||
delayed_job_active_record
|
delayed_job_active_record
|
||||||
|
deprecation_toolkit
|
||||||
diffy
|
diffy
|
||||||
doorkeeper
|
doorkeeper
|
||||||
eco
|
eco
|
||||||
|
@ -658,4 +661,4 @@ RUBY VERSION
|
||||||
ruby 2.5.5p157
|
ruby 2.5.5p157
|
||||||
|
|
||||||
BUNDLED WITH
|
BUNDLED WITH
|
||||||
1.17.3
|
1.7.3
|
||||||
|
|
3
spec/support/deprecation_toolkit.rb
Normal file
3
spec/support/deprecation_toolkit.rb
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
require 'deprecation_toolkit/rspec'
|
||||||
|
|
||||||
|
DeprecationToolkit::Configuration.test_runner = :rspec
|
Loading…
Reference in a new issue