Use 'gitlab_chronic_duration' gem
Replace 'chronic_duration' to 'gitlab_chronic_duration', to make relevant method calls thread-safe.
显示
- Gemfile 1 个添加, 1 个删除Gemfile
- Gemfile.lock 3 个添加, 3 个删除Gemfile.lock
- changelogs/unreleased/66637-use-chronic-duration-in-thread-safe-way.yml 5 个添加, 0 个删除...eleased/66637-use-chronic-duration-in-thread-safe-way.yml
- config/initializers/chronic_duration.rb 0 个添加, 2 个删除config/initializers/chronic_duration.rb
- lib/gitlab/patch/chronic_duration.rb 0 个添加, 35 个删除lib/gitlab/patch/chronic_duration.rb
- lib/gitlab/time_tracking_formatter.rb 24 个添加, 23 个删除lib/gitlab/time_tracking_formatter.rb
- spec/lib/gitlab/ci/config/entry/rules/rule_spec.rb 1 个添加, 1 个删除spec/lib/gitlab/ci/config/entry/rules/rule_spec.rb
- spec/lib/gitlab/patch/chronic_duration_spec.rb 0 个添加, 27 个删除spec/lib/gitlab/patch/chronic_duration_spec.rb
加载中
想要评论请 注册 或 登录