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.lock
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.lock')
-rw-r--r--Gemfile.lock15
1 files changed, 15 insertions, 0 deletions
diff --git a/Gemfile.lock b/Gemfile.lock
index 7c387dd7..c146cccb 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -20,6 +20,7 @@ GEM
asciidoctor-plantuml (0.0.16)
asciidoctor (>= 2.0.17, < 3.0.0)
ast (2.4.2)
+ binding_ninja (0.2.3)
builder (3.2.4)
byebug (11.1.3)
claide (1.1.0)
@@ -182,6 +183,10 @@ GEM
ast (~> 2.4.1)
pastel (0.8.0)
tty-color (~> 0.5)
+ proc_to_ast (0.1.0)
+ coderay
+ parser
+ unparser
pry (0.13.1)
coderay (~> 1.1)
method_source (~> 1.0)
@@ -216,6 +221,12 @@ GEM
rspec-mocks (3.11.1)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.11.0)
+ rspec-parameterized (0.5.1)
+ binding_ninja (>= 0.2.3)
+ parser
+ proc_to_ast
+ rspec (>= 2.13, < 4)
+ unparser
rspec-support (3.11.0)
rubocop (0.93.1)
parallel (~> 1.10)
@@ -266,6 +277,9 @@ GEM
tzinfo (2.0.4)
concurrent-ruby (~> 1.0)
unicode-display_width (1.8.0)
+ unparser (0.6.5)
+ diff-lcs (~> 1.3)
+ parser (>= 3.1.0)
zeitwerk (2.5.4)
PLATFORMS
@@ -282,6 +296,7 @@ DEPENDENCIES
pry-byebug (~> 3.9.0)
rake (~> 13.0.0)
rspec (~> 3.11.0)
+ rspec-parameterized (~> 0.5.1)
sass (= 3.7.4)
sassc (~> 2.4.0)