From 1ea1db491c8bc90789acda45c9002aaa5c4dc498 Mon Sep 17 00:00:00 2001 From: GitLab Bot Date: Mon, 27 Jan 2020 15:08:51 +0000 Subject: Add latest changes from gitlab-org/gitlab@master --- tooling/overcommit/Makefile | 7 ++++ tooling/overcommit/gems.locked | 75 ++++++++++++++++++++++++++++++++++++++++++ tooling/overcommit/gems.rb | 9 +++++ 3 files changed, 91 insertions(+) create mode 100644 tooling/overcommit/Makefile create mode 100644 tooling/overcommit/gems.locked create mode 100644 tooling/overcommit/gems.rb (limited to 'tooling') diff --git a/tooling/overcommit/Makefile b/tooling/overcommit/Makefile new file mode 100644 index 00000000000..7da3c7c0569 --- /dev/null +++ b/tooling/overcommit/Makefile @@ -0,0 +1,7 @@ +.PHONY: install + +install: + if [ -e ../../.overcommit.yml ]; then cp -f ../../.overcommit.yml ../../.overcommit.yml.backup; fi + cp ../../.overcommit.yml.example ../../.overcommit.yml + bundle install + cd ../../ && overcommit -i diff --git a/tooling/overcommit/gems.locked b/tooling/overcommit/gems.locked new file mode 100644 index 00000000000..36e03551815 --- /dev/null +++ b/tooling/overcommit/gems.locked @@ -0,0 +1,75 @@ +GEM + remote: https://rubygems.org/ + specs: + ast (2.4.0) + childprocess (3.0.0) + ffi (1.12.1) + gitlab-styles (3.1.0) + rubocop (~> 0.74.0) + rubocop-gitlab-security (~> 0.1.0) + rubocop-performance (~> 1.4.1) + rubocop-rails (~> 2.0) + rubocop-rspec (~> 1.36) + haml (5.1.2) + temple (>= 0.8.0) + tilt + haml_lint (0.34.1) + haml (>= 4.0, < 5.2) + rainbow + rubocop (>= 0.50.0) + sysexits (~> 1.1) + iniparse (1.4.4) + jaro_winkler (1.5.4) + overcommit (0.52.1) + childprocess (>= 0.6.3, < 4) + iniparse (~> 1.4) + parallel (1.19.1) + parser (2.7.0.2) + ast (~> 2.4.0) + rack (2.1.1) + rainbow (3.0.0) + rake (12.3.3) + rb-fsevent (0.10.3) + rb-inotify (0.10.1) + ffi (~> 1.0) + rubocop (0.74.0) + jaro_winkler (~> 1.5.1) + parallel (~> 1.10) + parser (>= 2.6) + rainbow (>= 2.2.2, < 4.0) + ruby-progressbar (~> 1.7) + unicode-display_width (>= 1.4.0, < 1.7) + rubocop-gitlab-security (0.1.1) + rubocop (>= 0.51) + rubocop-performance (1.4.1) + rubocop (>= 0.71.0) + rubocop-rails (2.4.1) + rack (>= 1.1) + rubocop (>= 0.72.0) + rubocop-rspec (1.37.1) + rubocop (>= 0.68.1) + ruby-progressbar (1.10.1) + sass (3.5.7) + sass-listen (~> 4.0.0) + sass-listen (4.0.0) + rb-fsevent (~> 0.9, >= 0.9.4) + rb-inotify (~> 0.9, >= 0.9.7) + scss_lint (0.56.0) + rake (>= 0.9, < 13) + sass (~> 3.5.3) + sysexits (1.2.0) + temple (0.8.2) + tilt (2.0.10) + unicode-display_width (1.6.1) + +PLATFORMS + ruby + +DEPENDENCIES + gitlab-styles (~> 3.1.0) + haml_lint (~> 0.34.0) + overcommit + scss_lint (~> 0.56.0) + +BUNDLED WITH + 2.1.2 diff --git a/tooling/overcommit/gems.rb b/tooling/overcommit/gems.rb new file mode 100644 index 00000000000..c563a23275a --- /dev/null +++ b/tooling/overcommit/gems.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +# Make sure to run `bundle install --gemfile=tooling/overcommit/gems.rb` when you update this file. +source 'https://rubygems.org' + +gem 'overcommit' +gem 'gitlab-styles', '~> 3.1.0', require: false +gem 'scss_lint', '~> 0.56.0', require: false +gem 'haml_lint', '~> 0.34.0', require: false -- cgit v1.2.3