From 62d7990b9bb30cf33ed87017c5c633d1cccc75c2 Mon Sep 17 00:00:00 2001 From: Toon Claes Date: Thu, 28 Feb 2019 19:57:34 +0100 Subject: Ran standardrb --fix on the whole codebase Inspired by https://twitter.com/searls/status/1101137953743613952 I decided to try https://github.com/testdouble/standard on our codebase. It's opinionated, but at least it's a _standard_. --- lib/api/project_snapshots.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lib/api/project_snapshots.rb') diff --git a/lib/api/project_snapshots.rb b/lib/api/project_snapshots.rb index 175fbb2ce92..92835cb65ae 100644 --- a/lib/api/project_snapshots.rb +++ b/lib/api/project_snapshots.rb @@ -7,13 +7,13 @@ module API before { authorize_read_git_snapshot! } resource :projects do - desc 'Download a (possibly inconsistent) snapshot of a repository' do - detail 'This feature was introduced in GitLab 10.7' + desc "Download a (possibly inconsistent) snapshot of a repository" do + detail "This feature was introduced in GitLab 10.7" end params do - optional :wiki, type: Boolean, desc: 'Set to true to receive the wiki repository' + optional :wiki, type: Boolean, desc: "Set to true to receive the wiki repository" end - get ':id/snapshot' do + get ":id/snapshot" do send_git_snapshot(snapshot_repository) end end -- cgit v1.2.1