Commit Graph

21 Commits

Author SHA1 Message Date
Matija Čupić 38ab1ae2f2
Rename latest_successful to be more explicit
* Reword Project#latest_successful_build_for to
Project#latest_successful_build_for_ref
* Reword Ci::Pipeline#latest_successful_for to
Ci::Pipeline#latest_successful_build_for_ref
2019-07-26 00:17:52 +02:00
Francisco Javier López a6778fc647 Rename project's pipelines relation 2018-12-05 14:39:15 +00:00
gfyoung e166e5747c Enable some frozen string in lib/gitlab
Enable frozen string for the following files:

* lib/gitlab/auth/**/*.rb
* lib/gitlab/badge/**/*.rb
* lib/gitlab/bare_repository_import/**/*.rb
* lib/gitlab/bitbucket_import/**/*.rb
* lib/gitlab/bitbucket_server_import/**/*.rb
* lib/gitlab/cache/**/*.rb
* lib/gitlab/checks/**/*.rb

Partially addresses #47424.
2018-10-13 02:31:31 -07:00
Yorick Peterse 2039c8280d
Disable existing offenses for the CodeReuse cops
This whitelists all existing offenses for the various CodeReuse cops, of
which most are triggered by the CodeReuse/ActiveRecord cop.
2018-09-11 17:32:00 +02:00
Jeff Stubler 1fb4ed2155 Change coverage badge rounding for other CI system consistency 2018-02-01 17:40:26 -06:00
Douwe Maan fe13f11041 Create and use project path helpers that only need a project, no namespace 2017-07-05 11:11:59 -05:00
Douwe Maan 56de781a2c Revert "Enable Style/DotPosition"
This reverts commit e00fb2bdc2090e9cabeb1eb35a2672a882cc96e9.

# Conflicts:
#	.rubocop.yml
#	.rubocop_todo.yml
#	lib/gitlab/ci/config/entry/global.rb
#	lib/gitlab/ci/config/entry/jobs.rb
#	spec/lib/gitlab/ci/config/entry/factory_spec.rb
#	spec/lib/gitlab/ci/config/entry/global_spec.rb
#	spec/lib/gitlab/ci/config/entry/job_spec.rb
#	spec/lib/gitlab/ci/status/build/factory_spec.rb
#	spec/lib/gitlab/incoming_email_spec.rb
2017-02-23 09:33:19 -06:00
Douwe Maan 1fe7501b49 Revert "Prefer leading style for Style/DotPosition"
This reverts commit cb10b725c8929b8b4460f89c9d96c773af39ba6b.
2017-02-23 09:33:05 -06:00
Douwe Maan 206953a430 Prefer leading style for Style/DotPosition 2017-02-23 09:32:22 -06:00
Douwe Maan b7d8df503c Enable Style/MutableConstant 2017-02-23 09:31:56 -06:00
Douwe Maan 3dadf306dd Enable Style/DotPosition 2017-02-23 09:31:56 -06:00
Lin Jen-Shin 3a8fb95c98 Fix tests 2016-08-26 15:40:12 +08:00
Grzegorz Bizon 42496ecef7 Render coverage badge for latest successful pipeline 2016-08-18 16:30:43 +02:00
Grzegorz Bizon b13e1d795a Add small corrections to test coverage report badge 2016-08-15 14:39:46 +02:00
Grzegorz Bizon 3e481f154f Add metadata and template methods for coverage badge 2016-08-15 14:39:46 +02:00
Grzegorz Bizon dbb9d6a726 Extract base abstract template for badges 2016-08-15 14:39:46 +02:00
Grzegorz Bizon 796efcc704 Add template class for coverage report badge 2016-08-15 14:39:46 +02:00
Grzegorz Bizon cc244160c5 Extract the abstract base class of badge metadata 2016-08-15 14:39:46 +02:00
Grzegorz Bizon 7b840c8483 Add coverage report badge metadata class 2016-08-15 14:39:46 +02:00
Grzegorz Bizon f0ff1bfdcc Implement the main class of test coverage badge 2016-08-15 14:39:46 +02:00
Grzegorz Bizon 9f0b46c05a Move badges to separate modules and add base class 2016-08-15 14:39:46 +02:00