Add text interpolation classes
As the first step of the text interpolation implementation, this commit adds TextInterpolator and TextTemplate classes. These classes are not yet used - that will come in the next MR. Once text interpolation is fully implemented and has been tested under a feature flag, the original Interpolation and Template classes will be removed and these new classes will be renamed. Relates to https://gitlab.com/gitlab-org/gitlab/-/issues/433002
显示
- lib/gitlab/ci/config/interpolation/text_interpolator.rb 102 个添加, 0 个删除lib/gitlab/ci/config/interpolation/text_interpolator.rb
- lib/gitlab/ci/config/interpolation/text_template.rb 59 个添加, 0 个删除lib/gitlab/ci/config/interpolation/text_template.rb
- spec/lib/gitlab/ci/config/interpolation/text_interpolator_spec.rb 221 个添加, 0 个删除.../gitlab/ci/config/interpolation/text_interpolator_spec.rb
- spec/lib/gitlab/ci/config/interpolation/text_template_spec.rb 105 个添加, 0 个删除.../lib/gitlab/ci/config/interpolation/text_template_spec.rb
加载中
想要评论请 注册 或 登录