deprecation_toolkit::hammer_and_pick:从代码库中消除弃用:hammer_and_pick:

时间:2021-02-06 08:08:41
【文件属性】:
文件名称:deprecation_toolkit::hammer_and_pick:从代码库中消除弃用:hammer_and_pick:
文件大小:39KB
文件格式:ZIP
更新时间:2021-02-06 08:08:41
testing deprecations gem-upgrade TestingRuby :hammer_and_pick: 弃用工具包 :hammer_and_pick: 介绍 弃用工具包是一个宝石,可以帮助您摆脱代码库中的弃用。 在您的应用程序中使用弃用通常意味着,每当您升级第三方依赖项时,某些东西就会损坏。 越早修复它们越好! 根据应用程序的大小和弃用次数,一次修复所有弃用可能会很困难。 您可能必须逐步解决它们,同时确保您的团队没有添加新成员。 这是这个宝石派上用场的地方! 这个怎么运作 Deprecation Toolkit gem通过使用。 首先,gem将所有现有的弃用记录到.yml文件中。 如果运行的测试在初始记录后有未记录的弃用,则弃用工具包会触发您选择的行为(默认情况下会引发错误)。 记录弃用 如上所述,“弃用工具包”通过使用“
【文件预览】:
deprecation_toolkit-master
----gemfiles()
--------activesupport_6.0.gemfile(167B)
--------spec()
--------test()
--------activesupport_5.2.gemfile(167B)
----LICENSE.txt(1KB)
----shipit.rubygems.yml(34B)
----lib()
--------deprecation_toolkit.rb(1KB)
--------minitest()
--------tasks()
--------deprecation_toolkit()
----Gemfile(125B)
----.rubocop-https---shopify-github-io-ruby-style-guide-rubocop-yml(17KB)
----spec()
--------spec_helper.rb(565B)
--------rspec()
--------deprecation_toolkit()
--------deprecations()
----Rakefile(246B)
----.travis.yml(329B)
----test()
--------test_helper.rb(267B)
--------minitest()
--------deprecation_toolkit()
--------deprecations()
----README.md(6KB)
----.rubocop.yml(226B)
----deprecation_toolkit.gemspec(1KB)
----.rspec(54B)
----Gemfile.lock(1KB)
----.gitignore(106B)
----CHANGELOG.md(1KB)

网友评论