gitlab-org--gitlab-foss/lib
Rémy Coutable c71cdb194f Merge branch 'simplify-gitlab-url_builder-15202' into 'master'
Refactor and expose only Gitlab::UrlBuilder.build(record)

```
$ git grep Gitlab::UrlBuilder

app/models/commit.rb:      url: Gitlab::UrlBuilder.build(self),
app/services/issues/base_service.rb:      issue_url = Gitlab::UrlBuilder.build(issue)
app/services/merge_requests/base_service.rb:      hook_data[:object_attributes][:url] = Gitlab::UrlBuilder.build(merge_request)
app/views/search/results/_note.html.haml:- note_url = Gitlab::UrlBuilder.build(note)
lib/gitlab/note_data_builder.rb:        base_data[:object_attributes][:url] = Gitlab::UrlBuilder.build(note)
spec/lib/gitlab/note_data_builder_spec.rb:    expect(data[:object_attributes][:url]).to eq(Gitlab::UrlBuilder.build(note))
spec/lib/gitlab/url_builder_spec.rb:describe Gitlab::UrlBuilder, lib: true do
```

Fixes #15202.

See merge request !3696
2016-04-14 10:27:49 +00:00
..
api Allow back dating notes on creation 2016-04-13 12:04:09 -05:00
assets
backup Make sure there is a connection before using ActiveRecord 2016-02-08 17:31:24 +01:00
banzai Instrument Banzai code 2016-04-11 17:43:12 +02:00
ci Fix build dependencies, when the dependency is a string 2016-03-23 12:55:23 +01:00
gitlab Merge branch 'simplify-gitlab-url_builder-15202' into 'master' 2016-04-14 10:27:49 +00:00
omni_auth
rouge/formatters Remove custom Lexer. #3945 [ci skip] 2016-01-08 15:20:48 -05:00
support Do not serve anything via nginx as we have workhorse 2016-03-11 15:04:04 +01:00
tasks Merge branch 'fix_emojis_not_showing_in_autocomplete' into 'master' 2016-04-12 17:38:21 +00:00
award_emoji.rb Pre-calculate Emoji digests 2016-03-30 19:29:17 +02:00
banzai.rb Add a PreProcessPipeline 2016-03-02 22:19:36 -05:00
disable_email_interceptor.rb
event_filter.rb
extracts_path.rb
file_size_validator.rb
file_streamer.rb
gitlab.rb Add Gitlab.com? method 2016-04-12 17:30:11 -04:00
gt_one_coercion.rb
repository_cache.rb
static_model.rb
unfold_form.rb
uploaded_file.rb
version_check.rb Update version check images to use SVG 2016-01-05 14:35:29 -05:00