Commit graph

10 commits

Author SHA1 Message Date
gfyoung
7e6f6e1603 Enable even more frozen string in lib/gitlab
Enables frozens string for the following:

* lib/gitlab/conflict/**/*.rb
* lib/gitlab/cross_project_access/**/*.rb
* lib/gitlab/cycle_analytics/**/*.rb
* lib/gitlab/data_builder/**/*.rb
* lib/gitlab/database/**/*.rb
* lib/gitlab/dependency_linker/**/*.rb
* lib/gitlab/diff/**/*.rb
* lib/gitlab/downtime_check/**/*.rb
* lib/gitlab/email/**/*.rb
* lib/gitlab/etag_caching/**/*.rb

Partially addresses gitlab-org/gitlab-ce#47424.
2018-11-06 22:47:32 -08:00
Lin Jen-Shin
689658456f Cache allowed_ids 2017-11-22 23:30:51 +08:00
Lin Jen-Shin
0b6d01ed77 Just define allowed_ids and override it with empty value
if not needed for those sub-classes.
2017-11-22 17:06:57 +08:00
Lin Jen-Shin
9ae92b8caa Add cop to make sure we don't use ivar in a module 2017-09-18 21:23:45 +08:00
James Lopez
1b7c186723 move query limit to base event fetcher 2017-02-06 16:23:55 +01:00
James Lopez
150a448596 refactored a bunch of stuff based on feedback 2017-01-17 11:32:55 +01:00
James Lopez
30c6703f0a fix specs 2017-01-17 11:32:55 +01:00
James Lopez
982d5a0506 refactored metrics fetcher - merged into stage and events 2017-01-17 11:32:55 +01:00
James Lopez
3f681f4cef fix specs, refactor missing bits from events stuff 2017-01-17 11:32:55 +01:00
James Lopez
b214be493d big refactor based on MR feedback 2017-01-17 11:32:55 +01:00
Renamed from lib/gitlab/cycle_analytics/base_event.rb (Browse further)