lib/rconf/configurators/git_repo_configurator.rb in rconf-0.9.25 vs lib/rconf/configurators/git_repo_configurator.rb in rconf-0.10.0

- old
+ new

@@ -17,14 +17,12 @@ register :git_repo description 'Clone git repository and build if needed' - settings :repo => 'git repo URL', - :path => 'Path where git repo should be cloned to', - :tag => 'git tag or branch or sha that should be checked out ("master" by default)' - - validate_has_settings :repo, :path + setting 'repo','git repo URL', :required => true + setting 'path','Path where git repo should be cloned to', :required => true + setting 'tag', 'git tag or branch or sha that should be checked out ("master" by default)' # Check whether repo was already cloned # # === Return # true:: If repo was already cloned