Module: Gitlab::ImportSources

Extended by:
CurrentSettings
Defined in:
lib/gitlab/import_sources.rb

Class Method Summary collapse

Methods included from CurrentSettings

current_application_settings, fake_application_settings

Class Method Details

.optionsObject


15
16
17
18
19
20
21
22
23
24
25
# File 'lib/gitlab/import_sources.rb', line 15

def options
  {
    'GitHub'          => 'github',
    'Bitbucket'       => 'bitbucket',
    'GitLab.com'      => 'gitlab',
    'Gitorious.org'   => 'gitorious',
    'Google Code'     => 'google_code',
    'FogBugz'         => 'fogbugz',
    'Any repo by URL' => 'git',
  }
end

.valuesObject


11
12
13
# File 'lib/gitlab/import_sources.rb', line 11

def values
  options.values
end