gitlab-org--gitlab-foss/lib
Yorick Peterse b74308c0a7 Correct arity for instrumented methods w/o args
This ensures that an instrumented method that doesn't take arguments
reports an arity of 0, instead of -1.

If Ruby had a proper method for finding out the required arguments of a
method (e.g. Method#required_arguments) this would not have been an
issue. Sadly the only two methods we have are Method#parameters and
Method#arity, and both are equally painful to use.

Fixes gitlab-org/gitlab-ce#12450
2016-01-25 21:28:59 +01:00
..
api Change 'public' flag to more robust 'visibility' query. 2016-01-19 09:57:00 -05:00
assets
backup Backup LFS objects same as any upload. 2015-11-19 10:43:45 +01:00
banzai Whitelist raw "abbr" elements when parsing Markdown 2016-01-23 20:38:06 +01:00
ci Added cache:key to .gitlab-ci.yml allowing to fine tune the caching 2016-01-20 23:12:48 +01:00
gitlab Correct arity for instrumented methods w/o args 2016-01-25 21:28:59 +01:00
omni_auth Fix signin with OmniAuth providers 2015-12-08 14:58:15 +01:00
rouge/formatters Remove custom Lexer. #3945 [ci skip] 2016-01-08 15:20:48 -05:00
support Init script changes for gitlab-workhorse in 8.4 2016-01-21 13:36:55 +01:00
tasks Prevent StateMachine warnings from outputting during a cron task 2016-01-15 17:47:56 -05:00
award_emoji.rb Emoji picker: better alias handling 2015-12-24 11:28:55 +02:00
banzai.rb Move Markdown/reference logic from Gitlab::Markdown to Banzai 2015-12-15 15:51:16 +01:00
disable_email_interceptor.rb
dnsxl_check.rb Add IP blocking against DNSBL at sign-up 2016-01-20 15:28:19 +01:00
event_filter.rb Fix rubocop warnings in lib 2015-10-03 01:29:58 -05:00
extracts_path.rb Only render 404 page from /public 2015-10-13 20:12:34 +03:00
file_size_validator.rb
file_streamer.rb Implement Build Artifacts 2015-11-10 12:51:50 +01:00
gitlab.rb Revert "Merge branch 'revert-satellites' into 'master' " 2015-08-11 14:33:31 +02:00
gt_one_coercion.rb
repository_cache.rb Store commit count in project table 2015-07-17 15:22:56 +02:00
static_model.rb
unfold_form.rb Gitlab Issue 707: Indent unfolded code 1 character 2015-07-22 09:58:17 -04:00
uploaded_file.rb Implement Build Artifacts 2015-11-10 12:51:50 +01:00
version_check.rb Update version check images to use SVG 2016-01-05 14:35:29 -05:00