Permalink
Browse files

Added config variables :annotate_results and :info

  • Loading branch information...
1 parent 1d2f80e commit c27e970fdca8a655be4530ca757c2ba6fd7770fa @stewart stewart committed Dec 4, 2012
Showing with 6 additions and 0 deletions.
  1. +2 −0 README.md
  2. +4 −0 lib/gitnesse/configuration.rb
View
@@ -23,6 +23,8 @@ the following to it:
Gitnesse.configure do |config|
config.repository_url = "git@github.com:hybridgroup/gitnesse-demo.wiki"
+ config.annotate_results = true
+ config.info = "Bob Martin's development laptop"
end
## rake tasks
@@ -3,13 +3,17 @@ class Configuration
attr_accessor :repository_url
attr_accessor :branch
attr_accessor :target_directory
+ attr_accessor :annotate_results
+ attr_accessor :info
class NoConfigFileError < StandardError ; end
class MultipleConfigFileError < StandardError ; end
def initialize
@branch = 'master'
@target_directory = File.join(Dir.pwd, 'features')
+ @annotate_results = false
+ @info = nil
end
# Public: Returns the current Gitnesse configuration as a Hash

0 comments on commit c27e970

Please sign in to comment.