Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-docs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Williams <bwilliams@gitlab.com>2022-06-20 23:02:48 +0300
committerBrian Williams <bwilliams@gitlab.com>2022-06-21 03:38:22 +0300
commit98162b5fe38fdbb8533f32a23e9332ffee53b143 (patch)
tree2fbc8689bc05214bc4fc51a0b8f20d51ec093f37 /Gemfile
parent5a855115294576d3bed356f016b0953d53fec0bd (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--Gemfile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Gemfile b/Gemfile
index d5b35a96..3959b330 100644
--- a/Gemfile
+++ b/Gemfile
@@ -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