Commit d0c7eacf2a13a346699fc6ec3f548d6a708fd252

Authored by Victor Costa
1 parent 106a7299
Exists in master

serpro_integration: set default to false

Showing 2 changed files with 5 additions and 5 deletions   Show diff stats
lib/ext/community.rb
@@ -2,9 +2,9 @@ require_dependency 'community' @@ -2,9 +2,9 @@ require_dependency 'community'
2 2
3 class Community 3 class Community
4 4
5 - settings_items :allow_sonar_integration, :type => :boolean, :default => true  
6 - settings_items :allow_gitlab_integration, :type => :boolean, :default => true  
7 - settings_items :allow_jenkins_integration, :type => :boolean, :default => true 5 + settings_items :allow_sonar_integration, :type => :boolean, :default => false
  6 + settings_items :allow_gitlab_integration, :type => :boolean, :default => false
  7 + settings_items :allow_jenkins_integration, :type => :boolean, :default => false
8 8
9 settings_items :serpro_integration_plugin_gitlab, :type => Hash, :default => {} 9 settings_items :serpro_integration_plugin_gitlab, :type => Hash, :default => {}
10 settings_items :serpro_integration_plugin_jenkins, :type => Hash, :default => {} 10 settings_items :serpro_integration_plugin_jenkins, :type => Hash, :default => {}
lib/ext/profile.rb
1 require_dependency 'profile' 1 require_dependency 'profile'
2 2
3 class Profile 3 class Profile
4 - settings_items :allow_sonar_integration, :type => :boolean, :default => true  
5 - settings_items :allow_gitlab_integration, :type => :boolean, :default => true 4 + settings_items :allow_sonar_integration, :type => :boolean, :default => false
  5 + settings_items :allow_gitlab_integration, :type => :boolean, :default => false
6 6
7 #FIXME make test for default option 7 #FIXME make test for default option
8 settings_items :serpro_integration_plugin, :type => Hash, :default => {} 8 settings_items :serpro_integration_plugin, :type => Hash, :default => {}