albacore 0.1.5 → 0.2.0.preview1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (136) hide show
  1. data/.autotest +4 -0
  2. data/README.markdown +1 -1
  3. data/VERSION +1 -1
  4. data/install_dependencies.rb +2 -3
  5. data/lib/albacore.rb +1 -0
  6. data/lib/albacore/albacoremodel.rb +28 -0
  7. data/lib/albacore/assemblyinfo.rb +5 -4
  8. data/lib/albacore/config/assemblyinfoconfig.rb +21 -0
  9. data/lib/albacore/config/config.rb +14 -0
  10. data/lib/albacore/config/cscconfig.rb +33 -0
  11. data/lib/albacore/config/docuconfig.rb +25 -0
  12. data/lib/albacore/config/execconfig.rb +22 -0
  13. data/lib/albacore/config/msbuildconfig.rb +32 -0
  14. data/lib/albacore/config/mspecconfig.rb +21 -0
  15. data/lib/albacore/config/nantconfig.rb +22 -0
  16. data/lib/albacore/config/ncoverconsoleconfig.rb +22 -0
  17. data/lib/albacore/config/ncoverreportconfig.rb +22 -0
  18. data/lib/albacore/config/ndependconfig.rb +22 -0
  19. data/lib/albacore/config/netversion.rb +23 -0
  20. data/lib/albacore/config/nunitconfig.rb +20 -0
  21. data/lib/albacore/config/specflowreportconfig.rb +27 -0
  22. data/lib/albacore/config/sqlcmdconfig.rb +22 -0
  23. data/lib/albacore/config/unzipconfig.rb +22 -0
  24. data/lib/albacore/config/xbuildconfig.rb +22 -0
  25. data/lib/albacore/config/xunitconfig.rb +22 -0
  26. data/lib/albacore/config/zipconfig.rb +22 -0
  27. data/lib/albacore/csc.rb +31 -0
  28. data/lib/albacore/docu.rb +8 -6
  29. data/lib/albacore/exec.rb +9 -3
  30. data/lib/albacore/msbuild.rb +5 -12
  31. data/lib/albacore/mspectestrunner.rb +9 -7
  32. data/lib/albacore/nant.rb +5 -4
  33. data/lib/albacore/ncoverconsole.rb +6 -9
  34. data/lib/albacore/ncoverreport.rb +8 -6
  35. data/lib/albacore/ncoverreports/codecoveragebase.rb +4 -4
  36. data/lib/albacore/ncoverreports/cyclomaticcomplexity.rb +4 -4
  37. data/lib/albacore/ncoverreports/fullcoveragereport.rb +3 -3
  38. data/lib/albacore/ncoverreports/reportfilterbase.rb +4 -4
  39. data/lib/albacore/ncoverreports/summaryreport.rb +3 -3
  40. data/lib/albacore/ndepend.rb +12 -9
  41. data/lib/albacore/nunittestrunner.rb +9 -7
  42. data/lib/albacore/specflowreport.rb +62 -0
  43. data/lib/albacore/sqlcmd.rb +8 -6
  44. data/lib/albacore/support/attrmethods.rb +7 -8
  45. data/lib/albacore/support/logging.rb +8 -4
  46. data/lib/albacore/support/openstruct.rb +13 -0
  47. data/lib/albacore/support/runcommand.rb +24 -24
  48. data/lib/albacore/support/supportlinux.rb +23 -0
  49. data/lib/albacore/support/yamlconfig.rb +2 -10
  50. data/lib/albacore/unzip.rb +14 -12
  51. data/lib/albacore/xbuild.rb +6 -5
  52. data/lib/albacore/xunittestrunner.rb +8 -6
  53. data/lib/albacore/zipdirectory.rb +27 -6
  54. data/lib/rake/csctask.rb +3 -0
  55. data/lib/rake/specflowreporttask.rb +3 -0
  56. data/lib/rake/unziptask.rb +1 -1
  57. data/rakefile.rb +21 -54
  58. data/spec/albacoremodel_spec.rb +35 -0
  59. data/spec/assemblyinfo_spec.rb +17 -0
  60. data/spec/attrmethods_spec.rb +17 -1
  61. data/spec/config_spec.rb +19 -0
  62. data/spec/createtask_spec.rb +45 -4
  63. data/spec/csc_spec.rb +87 -0
  64. data/spec/csctask_spec.rb +1 -0
  65. data/spec/docu_spec.rb +43 -1
  66. data/spec/exec_spec.rb +16 -1
  67. data/spec/msbuild_spec.rb +30 -18
  68. data/spec/mspec_spec.rb +28 -0
  69. data/spec/nant_spec.rb +20 -12
  70. data/spec/ncoverconsole_spec.rb +25 -13
  71. data/spec/ncoverreport_spec.rb +31 -18
  72. data/spec/ndepend_spec.rb +23 -2
  73. data/spec/nunittestrunner_spec.rb +48 -0
  74. data/spec/runcommand_spec.rb +59 -32
  75. data/spec/specflowreport_spec.rb +146 -0
  76. data/spec/specflowreporttask_spec.rb +48 -0
  77. data/spec/sqlcmd_spec.rb +18 -5
  78. data/spec/support/SpecFlow/TechTalk.SpecFlow.dll +0 -0
  79. data/spec/support/SpecFlow/TestSolution.SpecFlow.dll +0 -0
  80. data/spec/support/SpecFlow/TestSolution.SpecFlow.pdb +0 -0
  81. data/spec/support/SpecFlow/TestSolution.dll +0 -0
  82. data/spec/support/SpecFlow/TestSolution.pdb +0 -0
  83. data/spec/support/SpecFlow/nunit.framework.dll +0 -0
  84. data/spec/support/TestSolution/TestSolution.5.0.ReSharper.user +27 -0
  85. data/spec/support/TestSolution/TestSolution.SpecFlow/OneFeature.feature +8 -0
  86. data/spec/support/TestSolution/TestSolution.SpecFlow/OneFeature.feature.cs +73 -0
  87. data/spec/support/TestSolution/TestSolution.SpecFlow/Properties/AssemblyInfo.cs +36 -0
  88. data/spec/support/TestSolution/TestSolution.SpecFlow/StepDefinition.cs +30 -0
  89. data/spec/support/TestSolution/TestSolution.SpecFlow/TestSolution.SpecFlow.csproj +84 -0
  90. data/spec/support/TestSolution/TestSolution.sln +6 -0
  91. data/spec/support/csc/File1.cs +9 -0
  92. data/spec/support/csc/File2.cs +9 -0
  93. data/spec/support/csc/output/ignorethis.txt +1 -0
  94. data/spec/support/msbuildtestdata.rb +3 -3
  95. data/spec/support/ncoverreporttestdata.rb +2 -2
  96. data/spec/support/spec_helper.rb +2 -1
  97. data/spec/support/yamlconfig/yaml_autoconfig_test.yml +1 -1
  98. data/spec/unzip_spec.rb +15 -0
  99. data/spec/xbuild_spec.rb +15 -0
  100. data/spec/xunit_spec.rb +16 -2
  101. data/spec/yamlconfig_spec.rb +7 -6
  102. data/spec/zip_spec.rb +50 -9
  103. data/watchrtesting.rb +8 -0
  104. metadata +99 -91
  105. data/lib/albacore/expandtemplates.rb +0 -81
  106. data/lib/albacore/plink.rb +0 -49
  107. data/lib/albacore/renamer.rb +0 -17
  108. data/lib/albacore/sftp.rb +0 -42
  109. data/lib/albacore/ssh.rb +0 -44
  110. data/lib/albacore/support/albacore_helper.rb +0 -1
  111. data/lib/albacore/support/globalconfig.rb +0 -6
  112. data/lib/rake/expandtemplatestask.rb +0 -3
  113. data/lib/rake/plinktask.rb +0 -3
  114. data/lib/rake/renametask.rb +0 -3
  115. data/lib/rake/sftptask.rb +0 -3
  116. data/lib/rake/sshtask.rb +0 -3
  117. data/spec/expandtemplates_spec.rb +0 -180
  118. data/spec/expandtemplatestask_spec.rb +0 -46
  119. data/spec/plink_spec.rb +0 -62
  120. data/spec/plinktask_spec.rb +0 -46
  121. data/spec/renametask_spec.rb +0 -32
  122. data/spec/sftp_spec.rb +0 -30
  123. data/spec/sftptask_spec.rb +0 -42
  124. data/spec/ssh_spec.rb +0 -47
  125. data/spec/sshtask_spec.rb +0 -40
  126. data/spec/support/expandtemplates/datafiles/multiplevalues.yml +0 -3
  127. data/spec/support/expandtemplates/datafiles/multitemplate-specificfile.yml +0 -11
  128. data/spec/support/expandtemplates/datafiles/multitemplate.yml +0 -4
  129. data/spec/support/expandtemplates/datafiles/sample.yml +0 -1
  130. data/spec/support/expandtemplates/datafiles/sample_with_include.yml +0 -2
  131. data/spec/support/expandtemplates/datafiles/template_specific_data_file_with_include.yml +0 -5
  132. data/spec/support/expandtemplates/datafiles/template_specific_include.yml +0 -3
  133. data/spec/support/expandtemplates/templates/multipleinstance.config +0 -4
  134. data/spec/support/expandtemplates/templates/multiplevalues.config +0 -1
  135. data/spec/support/expandtemplates/templates/sample.config +0 -1
  136. data/spec/support/expandtemplatestestdata.rb +0 -77
@@ -2,7 +2,7 @@ class NCoverReportTestData
2
2
  @filedir = File.dirname(__FILE__)
3
3
  @output_folder = File.expand_path(File.join(@filedir, "CodeCoverage", "report", "output"))
4
4
 
5
- def self.path_to_command
5
+ def self.command
6
6
  File.expand_path(File.join(@filedir, "Tools", "NCover-v3.3", "NCover.Reporting.exe"))
7
7
  end
8
8
 
@@ -23,4 +23,4 @@ class NCoverReportTestData
23
23
  def self.summary_output_file
24
24
  File.join(NCoverReportTestData.output_folder, "summary.html")
25
25
  end
26
- end
26
+ end
@@ -4,13 +4,14 @@ $: << File.join(@root_dir, "lib")
4
4
  $: << File.join(@root_dir, "spec")
5
5
  $: << File.join(@root_dir, "spec/patches")
6
6
  $: << File.join(@root_dir, "spec/support")
7
+ $: << File.join(@root_dir, "lib/albacore/config")
7
8
 
8
9
  require 'rubygems'
9
10
  require 'spec'
10
11
  require 'rake/tasklib'
11
12
  require 'lib/rake/support/albacoretask.rb'
12
13
  require 'lib/rake/support/createtask.rb'
13
- require 'lib/albacore/support/globalconfig.rb'
14
+ require 'lib/albacore/config/config.rb'
14
15
  require 'not_a_mock'
15
16
  require 'system_patch'
16
17
  require 'fail_patch'
@@ -1 +1 @@
1
- some_attribute: "this value was loaded from a folder, specified by Albacore::yaml_config_folder"
1
+ some_attribute: "this value was loaded from a folder, specified by Albacore.configure.yaml_config_folder"
@@ -0,0 +1,15 @@
1
+ require File.join(File.dirname(__FILE__), 'support', 'spec_helper')
2
+ require 'albacore/unzip'
3
+
4
+ describe Unzip, "when providing configuration" do
5
+ let :uz do
6
+ Albacore.configure do |config|
7
+ config.unzip.file = "configured"
8
+ end
9
+ uz = Unzip.new
10
+ end
11
+
12
+ it "should use the configured values" do
13
+ uz.file.should == "configured"
14
+ end
15
+ end
@@ -0,0 +1,15 @@
1
+ require File.join(File.dirname(__FILE__), 'support', 'spec_helper')
2
+ require 'albacore/xbuild'
3
+
4
+ describe XBuild, "when providing configuration values" do
5
+ let :xbuild do
6
+ Albacore.configure do |config|
7
+ config.xbuild.command = "configured"
8
+ end
9
+ xbuild = XBuild.new
10
+ end
11
+
12
+ it "should use the configured values" do
13
+ xbuild.command.should == "configured"
14
+ end
15
+ end
data/spec/xunit_spec.rb CHANGED
@@ -102,7 +102,7 @@ end
102
102
  describe XUnitTestRunner, "when html_output is specified" do
103
103
  it_should_behave_like "xunit paths"
104
104
  before :each do
105
- FileUtils.mkdir @working_dir
105
+ FileUtils.mkdir @working_dir unless File.exist?(@working_dir)
106
106
  xunit = XUnitTestRunner.new(@xunitpath)
107
107
  xunit.assembly = @test_assembly
108
108
  xunit.html_output = File.dirname(@html_output)
@@ -116,6 +116,7 @@ describe XUnitTestRunner, "when html_output is specified" do
116
116
  end
117
117
 
118
118
  it "should write output html" do
119
+ sleep(2)
119
120
  File.exist?(@html_output).should be_true
120
121
  end
121
122
 
@@ -127,7 +128,7 @@ end
127
128
  describe XUnitTestRunner, "when html_output is not a directory" do
128
129
  it_should_behave_like "xunit paths"
129
130
  before :each do
130
- FileUtils.mkdir @working_dir
131
+ FileUtils.mkdir @working_dir unless File.exist?(@working_dir)
131
132
  strio = StringIO.new
132
133
  xunit = XUnitTestRunner.new(@xunitpath)
133
134
  xunit.log_level = :verbose
@@ -152,3 +153,16 @@ describe XUnitTestRunner, "when html_output is not a directory" do
152
153
  FileUtils.rm_r @working_dir if File.exist? @working_dir
153
154
  end
154
155
  end
156
+
157
+ describe XUnitTestRunner, "when providing configuration" do
158
+ let :xunit do
159
+ Albacore.configure do |config|
160
+ config.xunit.command = "configured"
161
+ end
162
+ xunit = XUnitTestRunner.new
163
+ end
164
+
165
+ it "should use the configured values" do
166
+ xunit.command.should == "configured"
167
+ end
168
+ end
@@ -1,9 +1,9 @@
1
1
  require File.join(File.dirname(__FILE__), 'support', 'spec_helper')
2
- require 'albacore/support/yamlconfig'
2
+ require 'albacore/albacoremodel'
3
3
 
4
4
  class YamlTest
5
- include YAMLConfig
6
- attr_accessor :some_name
5
+ include AlbacoreModel
6
+ attr_accessor :some_name, :another_name, :a_hash, :what_ever
7
7
  end
8
8
 
9
9
  describe YAMLConfig, "when configuring with yaml" do
@@ -33,16 +33,17 @@ end
33
33
 
34
34
  describe YAMLConfig, "when specifying a yaml config folder and configuring" do
35
35
  class YAML_AutoConfig_Test
36
- include YAMLConfig
36
+ include AlbacoreModel
37
+ attr_accessor :some_attribute
37
38
  end
38
39
 
39
40
  before :all do
40
- Albacore::yaml_config_folder = File.join(File.dirname(__FILE__), 'support', 'yamlconfig')
41
+ Albacore.configure.yaml_config_folder = File.join(File.dirname(__FILE__), 'support', 'yamlconfig')
41
42
  @yamltest = YAML_AutoConfig_Test.new
42
43
  @yamltest.load_config_by_task_name("yaml_autoconfig_test")
43
44
  end
44
45
 
45
46
  it "should automatically configure the class from the yaml file in the specified folder" do
46
- @yamltest.some_attribute.should == "this value was loaded from a folder, specified by Albacore::yaml_config_folder"
47
+ @yamltest.some_attribute.should == "this value was loaded from a folder, specified by Albacore.configure.yaml_config_folder"
47
48
  end
48
49
  end
data/spec/zip_spec.rb CHANGED
@@ -21,13 +21,13 @@ describe ZipDirectory, 'when zipping a directory with string exclusions' do
21
21
  zip = ZipDirectory.new
22
22
  zip.directories_to_zip ZipTestData.folder
23
23
  zip.output_file = 'test.zip'
24
- zip.exclusions File.expand_path(File.join(ZipTestData.folder, 'files', 'testfile.txt'))
24
+ zip.exclusions File.join(ZipTestData.folder, 'files', 'testfile.txt')
25
25
  zip.package
26
26
 
27
27
  unzip = Unzip.new
28
- unzip.zip_file = File.join(ZipTestData.folder, 'test.zip')
29
- unzip.unzip_path = ZipTestData.output_folder
30
- unzip.unzip
28
+ unzip.file = File.join(ZipTestData.folder, 'test.zip')
29
+ unzip.destination = ZipTestData.output_folder
30
+ unzip.execute
31
31
  end
32
32
 
33
33
  after :each do
@@ -40,7 +40,7 @@ describe ZipDirectory, 'when zipping a directory with string exclusions' do
40
40
  end
41
41
 
42
42
  describe ZipDirectory, 'when zipping a directory of files with regexp exclusions' do
43
- before :each do
43
+ before :each do
44
44
  zip = ZipDirectory.new
45
45
  zip.directories_to_zip ZipTestData.folder
46
46
  zip.output_file = 'test.zip'
@@ -48,9 +48,9 @@ before :each do
48
48
  zip.package
49
49
 
50
50
  unzip = Unzip.new
51
- unzip.zip_file = File.join(ZipTestData.folder, 'test.zip')
52
- unzip.unzip_path = ZipTestData.output_folder
53
- unzip.unzip
51
+ unzip.file = File.join(ZipTestData.folder, 'test.zip')
52
+ unzip.destination = ZipTestData.output_folder
53
+ unzip.execute
54
54
  end
55
55
 
56
56
  after :each do
@@ -60,4 +60,45 @@ before :each do
60
60
  it 'should not zip files that match any of the exclusions regexps' do
61
61
  File.exist?(File.join(ZipTestData.output_folder, 'files', 'testfile.txt')).should be_false
62
62
  end
63
- end
63
+ end
64
+
65
+ describe ZipDirectory, 'when zipping a directory of files with glob string exclusions' do
66
+ before :each do
67
+ zip = ZipDirectory.new
68
+ zip.directories_to_zip ZipTestData.folder
69
+ zip.output_file = 'test.zip'
70
+ zip.exclusions "**/subfolder/*"
71
+ zip.package
72
+
73
+ unzip = Unzip.new
74
+ unzip.file = File.join(ZipTestData.folder, 'test.zip')
75
+ unzip.destination = ZipTestData.output_folder
76
+ unzip.execute
77
+ end
78
+
79
+ after :each do
80
+ FileUtils.rm_rf ZipTestData.output_folder if File.exists? ZipTestData.output_folder
81
+ end
82
+
83
+ it 'should not zip files that match the expanded globs' do
84
+ File.exist?(File.join(ZipTestData.output_folder, 'files', 'subfolder', 'sub file.txt')).should be_false
85
+ end
86
+
87
+ it 'should zip the files that don\'t match the globs' do
88
+ File.exist?(File.join(ZipTestData.output_folder, 'files', 'subfolder')).should be_true
89
+ File.exist?(File.join(ZipTestData.output_folder, 'files', 'testfile.txt')).should be_true
90
+ end
91
+ end
92
+
93
+ describe ZipDirectory, "when providing configuration" do
94
+ let :zip do
95
+ Albacore.configure do |config|
96
+ config.zip.output_file = "configured"
97
+ end
98
+ zip = ZipDirectory.new
99
+ end
100
+
101
+ it "should use the configured values" do
102
+ zip.output_file.should == "configured"
103
+ end
104
+ end
data/watchrtesting.rb ADDED
@@ -0,0 +1,8 @@
1
+ watch("lib/albacore/.*\.rb") { |md|
2
+ file = File.basename(md[0], ".rb")
3
+ system "spec spec/#{file}_spec.rb"
4
+ }
5
+
6
+ watch("spec/.*_spec\.rb") { |md|
7
+ system "spec #{md[0]}"
8
+ }
metadata CHANGED
@@ -1,22 +1,24 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: albacore
3
3
  version: !ruby/object:Gem::Version
4
- prerelease: false
4
+ prerelease: true
5
5
  segments:
6
6
  - 0
7
- - 1
8
- - 5
9
- version: 0.1.5
7
+ - 2
8
+ - 0
9
+ - preview1
10
+ version: 0.2.0.preview1
10
11
  platform: ruby
11
12
  authors:
12
13
  - Derick Bailey
13
14
  - Ben Hall
15
+ - Steve Harman
14
16
  - etc
15
17
  autorequire:
16
18
  bindir: bin
17
19
  cert_chain: []
18
20
 
19
- date: 2010-05-18 00:00:00 -05:00
21
+ date: 2010-07-13 00:00:00 -05:00
20
22
  default_executable:
21
23
  dependencies:
22
24
  - !ruby/object:Gem::Dependency
@@ -34,77 +36,77 @@ dependencies:
34
36
  type: :runtime
35
37
  version_requirements: *id001
36
38
  - !ruby/object:Gem::Dependency
37
- name: net-ssh
39
+ name: rubyzip
38
40
  prerelease: false
39
41
  requirement: &id002 !ruby/object:Gem::Requirement
40
42
  requirements:
41
43
  - - ">="
42
44
  - !ruby/object:Gem::Version
43
45
  segments:
44
- - 2
45
46
  - 0
46
- - 15
47
- version: 2.0.15
47
+ - 9
48
+ - 4
49
+ version: 0.9.4
48
50
  type: :runtime
49
51
  version_requirements: *id002
50
52
  - !ruby/object:Gem::Dependency
51
- name: net-sftp
53
+ name: rspec
52
54
  prerelease: false
53
55
  requirement: &id003 !ruby/object:Gem::Requirement
54
56
  requirements:
55
57
  - - ">="
56
58
  - !ruby/object:Gem::Version
57
59
  segments:
58
- - 2
60
+ - 1
61
+ - 3
59
62
  - 0
60
- - 2
61
- version: 2.0.2
62
- type: :runtime
63
+ version: 1.3.0
64
+ type: :development
63
65
  version_requirements: *id003
64
66
  - !ruby/object:Gem::Dependency
65
- name: rubyzip
67
+ name: jeweler
66
68
  prerelease: false
67
69
  requirement: &id004 !ruby/object:Gem::Requirement
68
70
  requirements:
69
71
  - - ">="
70
72
  - !ruby/object:Gem::Version
71
73
  segments:
72
- - 0
73
- - 9
74
74
  - 1
75
- version: 0.9.1
76
- type: :runtime
75
+ - 4
76
+ - 0
77
+ version: 1.4.0
78
+ type: :development
77
79
  version_requirements: *id004
78
80
  - !ruby/object:Gem::Dependency
79
- name: rspec
81
+ name: derickbailey-notamock
80
82
  prerelease: false
81
83
  requirement: &id005 !ruby/object:Gem::Requirement
82
84
  requirements:
83
85
  - - ">="
84
86
  - !ruby/object:Gem::Version
85
87
  segments:
88
+ - 0
89
+ - 0
86
90
  - 1
87
- - 2
88
- - 8
89
- version: 1.2.8
91
+ version: 0.0.1
90
92
  type: :development
91
93
  version_requirements: *id005
92
94
  - !ruby/object:Gem::Dependency
93
- name: jeweler
95
+ name: jekyll
94
96
  prerelease: false
95
97
  requirement: &id006 !ruby/object:Gem::Requirement
96
98
  requirements:
97
99
  - - ">="
98
100
  - !ruby/object:Gem::Version
99
101
  segments:
100
- - 1
101
- - 2
102
- - 1
103
- version: 1.2.1
102
+ - 0
103
+ - 5
104
+ - 7
105
+ version: 0.5.7
104
106
  type: :development
105
107
  version_requirements: *id006
106
108
  - !ruby/object:Gem::Dependency
107
- name: derickbailey-notamock
109
+ name: watchr
108
110
  prerelease: false
109
111
  requirement: &id007 !ruby/object:Gem::Requirement
110
112
  requirements:
@@ -112,25 +114,10 @@ dependencies:
112
114
  - !ruby/object:Gem::Version
113
115
  segments:
114
116
  - 0
115
- - 0
116
- - 1
117
- version: 0.0.1
117
+ - 6
118
+ version: "0.6"
118
119
  type: :development
119
120
  version_requirements: *id007
120
- - !ruby/object:Gem::Dependency
121
- name: jekyll
122
- prerelease: false
123
- requirement: &id008 !ruby/object:Gem::Requirement
124
- requirements:
125
- - - ">="
126
- - !ruby/object:Gem::Version
127
- segments:
128
- - 0
129
- - 5
130
- - 4
131
- version: 0.5.4
132
- type: :development
133
- version_requirements: *id008
134
121
  description: Easily build your .NET solutions with Ruby and Rake, using this suite of Rake tasks.
135
122
  email: derickbailey@gmail.com
136
123
  executables: []
@@ -140,17 +127,38 @@ extensions: []
140
127
  extra_rdoc_files:
141
128
  - README.markdown
142
129
  files:
130
+ - .autotest
143
131
  - EULA.txt
144
132
  - README.markdown
145
133
  - VERSION
146
134
  - install_dependencies.rb
147
135
  - lib/albacore.rb
136
+ - lib/albacore/albacoremodel.rb
148
137
  - lib/albacore/assemblyinfo.rb
149
138
  - lib/albacore/assemblyinfolanguages/csharpengine.rb
150
139
  - lib/albacore/assemblyinfolanguages/vbnetengine.rb
140
+ - lib/albacore/config/assemblyinfoconfig.rb
141
+ - lib/albacore/config/config.rb
142
+ - lib/albacore/config/cscconfig.rb
143
+ - lib/albacore/config/docuconfig.rb
144
+ - lib/albacore/config/execconfig.rb
145
+ - lib/albacore/config/msbuildconfig.rb
146
+ - lib/albacore/config/mspecconfig.rb
147
+ - lib/albacore/config/nantconfig.rb
148
+ - lib/albacore/config/ncoverconsoleconfig.rb
149
+ - lib/albacore/config/ncoverreportconfig.rb
150
+ - lib/albacore/config/ndependconfig.rb
151
+ - lib/albacore/config/netversion.rb
152
+ - lib/albacore/config/nunitconfig.rb
153
+ - lib/albacore/config/specflowreportconfig.rb
154
+ - lib/albacore/config/sqlcmdconfig.rb
155
+ - lib/albacore/config/unzipconfig.rb
156
+ - lib/albacore/config/xbuildconfig.rb
157
+ - lib/albacore/config/xunitconfig.rb
158
+ - lib/albacore/config/zipconfig.rb
159
+ - lib/albacore/csc.rb
151
160
  - lib/albacore/docu.rb
152
161
  - lib/albacore/exec.rb
153
- - lib/albacore/expandtemplates.rb
154
162
  - lib/albacore/msbuild.rb
155
163
  - lib/albacore/mspectestrunner.rb
156
164
  - lib/albacore/nant.rb
@@ -171,26 +179,23 @@ files:
171
179
  - lib/albacore/ncoverreports/symbolcoverage.rb
172
180
  - lib/albacore/ndepend.rb
173
181
  - lib/albacore/nunittestrunner.rb
174
- - lib/albacore/plink.rb
175
- - lib/albacore/renamer.rb
176
- - lib/albacore/sftp.rb
182
+ - lib/albacore/specflowreport.rb
177
183
  - lib/albacore/sqlcmd.rb
178
- - lib/albacore/ssh.rb
179
- - lib/albacore/support/albacore_helper.rb
180
184
  - lib/albacore/support/attrmethods.rb
181
185
  - lib/albacore/support/failure.rb
182
- - lib/albacore/support/globalconfig.rb
183
186
  - lib/albacore/support/logging.rb
187
+ - lib/albacore/support/openstruct.rb
184
188
  - lib/albacore/support/runcommand.rb
189
+ - lib/albacore/support/supportlinux.rb
185
190
  - lib/albacore/support/yamlconfig.rb
186
191
  - lib/albacore/unzip.rb
187
192
  - lib/albacore/xbuild.rb
188
193
  - lib/albacore/xunittestrunner.rb
189
194
  - lib/albacore/zipdirectory.rb
190
195
  - lib/rake/assemblyinfotask.rb
196
+ - lib/rake/csctask.rb
191
197
  - lib/rake/docutask.rb
192
198
  - lib/rake/exectask.rb
193
- - lib/rake/expandtemplatestask.rb
194
199
  - lib/rake/msbuildtask.rb
195
200
  - lib/rake/mspectask.rb
196
201
  - lib/rake/nanttask.rb
@@ -198,11 +203,8 @@ files:
198
203
  - lib/rake/ncoverreporttask.rb
199
204
  - lib/rake/ndependtask.rb
200
205
  - lib/rake/nunittask.rb
201
- - lib/rake/plinktask.rb
202
- - lib/rake/renametask.rb
203
- - lib/rake/sftptask.rb
206
+ - lib/rake/specflowreporttask.rb
204
207
  - lib/rake/sqlcmdtask.rb
205
- - lib/rake/sshtask.rb
206
208
  - lib/rake/support/albacoretask.rb
207
209
  - lib/rake/support/createtask.rb
208
210
  - lib/rake/unziptask.rb
@@ -210,18 +212,21 @@ files:
210
212
  - lib/rake/xunittask.rb
211
213
  - lib/rake/ziptask.rb
212
214
  - rakefile.rb
215
+ - spec/albacoremodel_spec.rb
213
216
  - spec/assemblyinfo_spec.rb
214
217
  - spec/assemblyinfotask_spec.rb
215
218
  - spec/attrmethods_spec.rb
219
+ - spec/config_spec.rb
216
220
  - spec/createtask_spec.rb
221
+ - spec/csc_spec.rb
222
+ - spec/csctask_spec.rb
217
223
  - spec/docu_spec.rb
218
224
  - spec/docutask_spec.rb
219
225
  - spec/exec_spec.rb
220
226
  - spec/exectask_spec.rb
221
- - spec/expandtemplates_spec.rb
222
- - spec/expandtemplatestask_spec.rb
223
227
  - spec/msbuild_spec.rb
224
228
  - spec/msbuildtask_spec.rb
229
+ - spec/mspec_spec.rb
225
230
  - spec/mspectask_spec.rb
226
231
  - spec/nant_spec.rb
227
232
  - spec/nanttask_spec.rb
@@ -236,17 +241,12 @@ files:
236
241
  - spec/patches/docu_patch.rb
237
242
  - spec/patches/fail_patch.rb
238
243
  - spec/patches/system_patch.rb
239
- - spec/plink_spec.rb
240
- - spec/plinktask_spec.rb
241
- - spec/renametask_spec.rb
242
244
  - spec/runcommand_spec.rb
243
- - spec/sftp_spec.rb
244
- - spec/sftptask_spec.rb
245
245
  - spec/spec.opts
246
+ - spec/specflowreport_spec.rb
247
+ - spec/specflowreporttask_spec.rb
246
248
  - spec/sqlcmd_spec.rb
247
249
  - spec/sqlcmdtask_spec.rb
248
- - spec/ssh_spec.rb
249
- - spec/sshtask_spec.rb
250
250
  - spec/support/AssemblyInfo/assemblyinfo.yml
251
251
  - spec/support/CodeCoverage/mspec/assemblies/Machine.Specifications.NUnit.dll
252
252
  - spec/support/CodeCoverage/mspec/assemblies/Machine.Specifications.dll
@@ -266,13 +266,25 @@ files:
266
266
  - spec/support/CodeCoverage/xunit/assemblies/TestSolution.dll
267
267
  - spec/support/CodeCoverage/xunit/assemblies/xunit.dll
268
268
  - spec/support/CodeCoverage/xunit/assemblies/xunit.xml
269
+ - spec/support/SpecFlow/TechTalk.SpecFlow.dll
270
+ - spec/support/SpecFlow/TestSolution.SpecFlow.dll
271
+ - spec/support/SpecFlow/TestSolution.SpecFlow.pdb
272
+ - spec/support/SpecFlow/TestSolution.dll
273
+ - spec/support/SpecFlow/TestSolution.pdb
274
+ - spec/support/SpecFlow/nunit.framework.dll
269
275
  - spec/support/TestSolution/NDependProject.xml
276
+ - spec/support/TestSolution/TestSolution.5.0.ReSharper.user
270
277
  - spec/support/TestSolution/TestSolution.FailingTests/FailingTestFixture.cs
271
278
  - spec/support/TestSolution/TestSolution.FailingTests/Properties/AssemblyInfo.cs
272
279
  - spec/support/TestSolution/TestSolution.FailingTests/TestSolution.FailingTests.csproj
273
280
  - spec/support/TestSolution/TestSolution.MSpecTests/Properties/AssemblyInfo.cs
274
281
  - spec/support/TestSolution/TestSolution.MSpecTests/SomeSpecTest.cs
275
282
  - spec/support/TestSolution/TestSolution.MSpecTests/TestSolution.MSpecTests.csproj
283
+ - spec/support/TestSolution/TestSolution.SpecFlow/OneFeature.feature
284
+ - spec/support/TestSolution/TestSolution.SpecFlow/OneFeature.feature.cs
285
+ - spec/support/TestSolution/TestSolution.SpecFlow/Properties/AssemblyInfo.cs
286
+ - spec/support/TestSolution/TestSolution.SpecFlow/StepDefinition.cs
287
+ - spec/support/TestSolution/TestSolution.SpecFlow/TestSolution.SpecFlow.csproj
276
288
  - spec/support/TestSolution/TestSolution.Tests/Properties/AssemblyInfo.cs
277
289
  - spec/support/TestSolution/TestSolution.Tests/SomeTestFixture.cs
278
290
  - spec/support/TestSolution/TestSolution.Tests/TestSolution.Tests.csproj
@@ -286,17 +298,9 @@ files:
286
298
  - spec/support/TestSolution/TestSolution/Properties/AssemblyInfo.cs
287
299
  - spec/support/TestSolution/TestSolution/TestSolution.csproj
288
300
  - spec/support/assemblyinfotester.rb
289
- - spec/support/expandtemplates/datafiles/multiplevalues.yml
290
- - spec/support/expandtemplates/datafiles/multitemplate-specificfile.yml
291
- - spec/support/expandtemplates/datafiles/multitemplate.yml
292
- - spec/support/expandtemplates/datafiles/sample.yml
293
- - spec/support/expandtemplates/datafiles/sample_with_include.yml
294
- - spec/support/expandtemplates/datafiles/template_specific_data_file_with_include.yml
295
- - spec/support/expandtemplates/datafiles/template_specific_include.yml
296
- - spec/support/expandtemplates/templates/multipleinstance.config
297
- - spec/support/expandtemplates/templates/multiplevalues.config
298
- - spec/support/expandtemplates/templates/sample.config
299
- - spec/support/expandtemplatestestdata.rb
301
+ - spec/support/csc/File1.cs
302
+ - spec/support/csc/File2.cs
303
+ - spec/support/csc/output/ignorethis.txt
300
304
  - spec/support/msbuildtestdata.rb
301
305
  - spec/support/nanttestdata.rb
302
306
  - spec/support/ncoverconsoletestdata.rb
@@ -308,11 +312,14 @@ files:
308
312
  - spec/support/zip/files/subfolder/sub file.txt
309
313
  - spec/support/zip/files/testfile.txt
310
314
  - spec/support/ziptestdata.rb
315
+ - spec/unzip_spec.rb
316
+ - spec/xbuild_spec.rb
311
317
  - spec/xunit_spec.rb
312
318
  - spec/xunittask_spec.rb
313
319
  - spec/yamlconfig_spec.rb
314
320
  - spec/zip_spec.rb
315
321
  - spec/ziptask_spec.rb
322
+ - watchrtesting.rb
316
323
  - yaml_autoconfig_test.yml
317
324
  has_rdoc: true
318
325
  homepage: http://albacorebuild.net
@@ -332,11 +339,13 @@ required_ruby_version: !ruby/object:Gem::Requirement
332
339
  version: "0"
333
340
  required_rubygems_version: !ruby/object:Gem::Requirement
334
341
  requirements:
335
- - - ">="
342
+ - - ">"
336
343
  - !ruby/object:Gem::Version
337
344
  segments:
338
- - 0
339
- version: "0"
345
+ - 1
346
+ - 3
347
+ - 1
348
+ version: 1.3.1
340
349
  requirements: []
341
350
 
342
351
  rubyforge_project:
@@ -345,19 +354,22 @@ signing_key:
345
354
  specification_version: 3
346
355
  summary: Dolphin-Safe Rake Tasks For .NET Systems
347
356
  test_files:
357
+ - spec/albacoremodel_spec.rb
348
358
  - spec/assemblyinfotask_spec.rb
349
359
  - spec/assemblyinfo_spec.rb
350
360
  - spec/attrmethods_spec.rb
361
+ - spec/config_spec.rb
351
362
  - spec/createtask_spec.rb
363
+ - spec/csctask_spec.rb
364
+ - spec/csc_spec.rb
352
365
  - spec/docutask_spec.rb
353
366
  - spec/docu_spec.rb
354
367
  - spec/exectask_spec.rb
355
368
  - spec/exec_spec.rb
356
- - spec/expandtemplatestask_spec.rb
357
- - spec/expandtemplates_spec.rb
358
369
  - spec/msbuildtask_spec.rb
359
370
  - spec/msbuild_spec.rb
360
371
  - spec/mspectask_spec.rb
372
+ - spec/mspec_spec.rb
361
373
  - spec/nanttask_spec.rb
362
374
  - spec/nant_spec.rb
363
375
  - spec/ncoverconsoletask_spec.rb
@@ -371,24 +383,20 @@ test_files:
371
383
  - spec/patches/docu_patch.rb
372
384
  - spec/patches/fail_patch.rb
373
385
  - spec/patches/system_patch.rb
374
- - spec/plinktask_spec.rb
375
- - spec/plink_spec.rb
376
- - spec/renametask_spec.rb
377
386
  - spec/runcommand_spec.rb
378
- - spec/sftptask_spec.rb
379
- - spec/sftp_spec.rb
387
+ - spec/specflowreporttask_spec.rb
388
+ - spec/specflowreport_spec.rb
380
389
  - spec/sqlcmdtask_spec.rb
381
390
  - spec/sqlcmd_spec.rb
382
- - spec/sshtask_spec.rb
383
- - spec/ssh_spec.rb
384
391
  - spec/support/assemblyinfotester.rb
385
- - spec/support/expandtemplatestestdata.rb
386
392
  - spec/support/msbuildtestdata.rb
387
393
  - spec/support/nanttestdata.rb
388
394
  - spec/support/ncoverconsoletestdata.rb
389
395
  - spec/support/ncoverreporttestdata.rb
390
396
  - spec/support/spec_helper.rb
391
397
  - spec/support/ziptestdata.rb
398
+ - spec/unzip_spec.rb
399
+ - spec/xbuild_spec.rb
392
400
  - spec/xunittask_spec.rb
393
401
  - spec/xunit_spec.rb
394
402
  - spec/yamlconfig_spec.rb