lib/autoproj/git_server_configuration.rb in autoproj-2.0.0.rc14 vs lib/autoproj/git_server_configuration.rb in autoproj-2.0.0.rc15

- old
+ new

@@ -104,11 +104,13 @@ repository_id: "#{name.downcase}:#{url}"].merge(vcs_options) end end def self.gitorious_server_configuration(name, base_url, options = Hash.new) - Autoproj.warn "gitorious_server_configuration is deprecated, replace by git_server_configuration" - Autoproj.warn "Note that the call interface has not changed, you only need to change the method name" + Autoproj.warn_deprecated "gitorious_server_configuration", + "use require 'git_server_configuration' and + Autoproj.git_server_configuration instead. note that the method call + interface has not changed, you just have to change the name(s)" git_server_configuration(name, base_url, options) end end Autoproj.git_server_configuration('GITORIOUS', 'gitorious.org', default: 'http,ssh', disabled_methods: 'git')