gitlab-org--gitlab-foss/spec/lib/gitlab
Robert Speicher fbd75c35fd Merge branch 'feature.rouge-20' into 'master'
Upgrade to Rouge 2.0

## What does this MR do?

This MR is a refactor of the HTMLGitlab formatter. The original was copy-pasted from the legacy HTML formatter and adapted to suit our needs. In particular, this MR:

* Strips dead code and unused options
* Factors out the "wrapping" into the places that care about it - Bonzai and the view helpers
* Uses the Rouge 2.0 `token_lines` method to split tokens into lines, removing the custom code we used to do the same
* Uses the now-public `span` method instead of re-implementing it ourselves
* Removes options to not split into lines - the places where this feature wasn't being used are now using the plain `Formatters::HTML` instead of this class

See merge request !4691
2016-07-15 20:15:30 +00:00
..
backend Create (if necessary) and link the gitlab-shell secret file on the rake install task 2016-06-29 22:30:33 -04:00
badge Fix tests failures 2016-06-07 10:25:57 +02:00
bitbucket_import Make Omniauth providers specs to not modify global configuration 2016-06-08 16:50:05 +02:00
ci Merge branch 'refactor/ci-config-move-global-entries' into 'master' 2016-07-05 08:37:16 +00:00
database Fix spec Don't attempt to disable statement timeout on a MySQL DB 2016-07-14 20:55:33 -07:00
diff apparently this gets encoded now? 2016-07-14 10:08:15 -07:00
email Revert "Fix merge conflicts - squashed commit" 2016-06-03 11:10:17 +02:00
fogbugz_import Enable Style/EmptyLines cop, remove redundant ones 2016-07-01 21:56:17 +02:00
gfm Revert "Fix merge conflicts - squashed commit" 2016-06-03 11:10:17 +02:00
git Improve the error message displayed when branch creation fails. 2016-07-05 11:05:16 +05:30
github_import Remove unnecessary context from GitHub client spec 2016-07-12 12:14:17 -03:00
gitlab_import Stub omniauth provider for GitLab 2016-07-13 11:35:38 -03:00
gitorious_import
google_code_import Enable Style/EmptyLines cop, remove redundant ones 2016-07-01 21:56:17 +02:00
graphs
import_export Merge branch 'fix/project-export-filename' into 'master' 2016-07-15 19:21:35 +00:00
ldap Avoid describe-ing symbols in specs 2016-07-12 10:27:58 -05:00
lfs Add test coverage to LFS fetching 2016-06-21 11:26:44 +02:00
metrics RailsCache metrics now includes fetch_hit/fetch_miss and read_hit/read_miss info. 2016-07-05 12:28:06 +02:00
middleware Revert "Fix merge conflicts - squashed commit" 2016-06-03 11:10:17 +02:00
o_auth Merge branch 'master' into dev-master 2016-07-02 22:58:21 +02:00
saml Enable Style/EmptyLines cop, remove redundant ones 2016-07-01 21:56:17 +02:00
sanitizers Improved SVG sanitizer specs to include smoke tests for clean. 2016-06-12 21:05:58 -04:00
sherlock Revert "Fix merge conflicts - squashed commit" 2016-06-03 11:10:17 +02:00
sql
template Refactor Gitlab::Gitignores 2016-06-20 14:48:28 -05:00
akismet_helper_spec.rb Revert "Fix merge conflicts - squashed commit" 2016-06-03 11:10:17 +02:00
asciidoc_spec.rb Enable Style/EmptyLines cop, remove redundant ones 2016-07-01 21:56:17 +02:00
auth_spec.rb Revert "squashed merge and fixed conflicts" 2016-06-16 12:59:07 +02:00
award_emoji_spec.rb Fix emoji paths in relative root configurations 2016-07-01 09:10:12 -07:00
blame_spec.rb
build_data_builder_spec.rb Avoid describe-ing symbols in specs 2016-07-12 10:27:58 -05:00
closing_issue_extractor_spec.rb
color_schemes_spec.rb
current_settings_spec.rb Handle case when Redis cache returns an empty setting 2016-06-29 14:28:41 -07:00
database_spec.rb Improve Issuable.order_labels_priority 2016-06-06 11:59:49 -05:00
exclusive_lease_spec.rb
git_access_spec.rb Revert "Merge branch '18193-developers-can-merge' into 'master' " 2016-07-13 13:57:30 -05:00
git_access_wiki_spec.rb Rename ENV['PROTOCOL'] to ENV['GL_PROTOCOL'] to conform to what GitLab Shell expects and make the protocol param in GitAccess mandatory. 2016-07-05 16:54:22 -05:00
highlight_spec.rb support cgi style options, such as erb?parent=json 2016-06-27 14:17:49 -07:00
incoming_email_spec.rb
key_fingerprint_spec.rb
lazy_spec.rb Revert "Fix merge conflicts - squashed commit" 2016-06-03 11:10:17 +02:00
markup_helper_spec.rb
metrics_spec.rb
note_data_builder_spec.rb Add DiffNote model 2016-07-06 18:50:59 -04:00
popen_spec.rb Enable Style/UnneededCapitalW Rubocop cop 2016-06-30 13:31:52 +02:00
project_search_results_spec.rb Revert "squashed merge and fixed conflicts" 2016-06-16 12:59:07 +02:00
push_data_builder_spec.rb Enable Style/EmptyLines cop, remove redundant ones 2016-07-01 21:56:17 +02:00
reference_extractor_spec.rb Remove JiraIssue model and replace references with ExternalIssue 2016-06-16 01:25:18 +03:00
regex_spec.rb
search_results_spec.rb Revert "squashed merge and fixed conflicts" 2016-06-16 12:59:07 +02:00
snippet_search_results_spec.rb
themes_spec.rb
upgrader_spec.rb
uploads_transfer_spec.rb
url_builder_spec.rb Add DiffNote model 2016-07-06 18:50:59 -04:00
url_sanitizer_spec.rb spec and fix for sanitize method 2016-07-11 09:01:09 +02:00
version_info_spec.rb
workhorse_spec.rb Add workhorse controller and API helpers 2016-06-06 13:16:30 +02:00