diff options
author | Brian Williams <bwilliams@gitlab.com> | 2022-06-20 23:02:48 +0300 |
---|---|---|
committer | Brian Williams <bwilliams@gitlab.com> | 2022-06-21 03:38:22 +0300 |
commit | 98162b5fe38fdbb8533f32a23e9332ffee53b143 (patch) | |
tree | 2fbc8689bc05214bc4fc51a0b8f20d51ec093f37 /Gemfile | |
parent | 5a855115294576d3bed356f016b0953d53fec0bd (diff) |
Refactor edit_on_gitlab helperbwill/refactor-edit-on-gitlab
Rather than having a bunch of case statements with URLs, this changes
the `edit_on_gitlab` helper so that it builds urls from a project path,
a branch name, and a docs file path. This is easier to maintain since
it's a data-driven approach. The PRODUCT_REPOS data can be edited
without changing the program logic.
Diffstat (limited to 'Gemfile')
-rw-r--r-- | Gemfile | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -22,6 +22,7 @@ end group :test, :development do gem 'highline', '~> 2.0.0' gem 'rspec', '~> 3.11.0' + gem 'rspec-parameterized', '~> 0.5.1' gem 'pry-byebug', '~> 3.9.0', require: false gem 'gitlab-styles', '~> 7.1.0', require: false end |