albacore 1.0.0.rc.2 → 1.0.0.rc.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (593) hide show
  1. data/.travis.yml +1 -1
  2. data/Guardfile +0 -9
  3. data/README.md +4 -4
  4. data/Rakefile +9 -14
  5. data/albacore.gemspec +29 -31
  6. data/lib/albacore.rb +22 -15
  7. data/lib/albacore/aspnetcompiler.rb +66 -44
  8. data/lib/albacore/assemblyinfo.rb +101 -120
  9. data/lib/albacore/assemblyinfolanguages/assemblyinfoengine.rb +13 -0
  10. data/lib/albacore/config/aspnetcompilerconfig.rb +5 -4
  11. data/lib/albacore/config/assemblyinfoconfig.rb +2 -4
  12. data/lib/albacore/config/cscconfig.rb +3 -3
  13. data/lib/albacore/config/docuconfig.rb +4 -8
  14. data/lib/albacore/config/execconfig.rb +9 -5
  15. data/lib/albacore/config/fluentmigratorconfig.rb +19 -0
  16. data/lib/albacore/config/ilmergeconfig.rb +5 -10
  17. data/lib/albacore/config/msbuildconfig.rb +3 -3
  18. data/lib/albacore/config/mspecconfig.rb +19 -0
  19. data/lib/albacore/config/mstestconfig.rb +19 -0
  20. data/lib/albacore/config/nantconfig.rb +9 -6
  21. data/lib/albacore/config/nchurnconfig.rb +9 -5
  22. data/lib/albacore/config/ncoverconsoleconfig.rb +9 -5
  23. data/lib/albacore/config/ncoverreportconfig.rb +9 -6
  24. data/lib/albacore/config/ndependconfig.rb +9 -5
  25. data/lib/albacore/config/netversion.rb +10 -6
  26. data/lib/albacore/config/nugetinstallconfig.rb +18 -0
  27. data/lib/albacore/config/nugetpackconfig.rb +2 -3
  28. data/lib/albacore/config/nugetpushconfig.rb +5 -6
  29. data/lib/albacore/config/nugetupdateconfig.rb +2 -3
  30. data/lib/albacore/config/nunitconfig.rb +19 -0
  31. data/lib/albacore/config/nuspecconfig.rb +18 -0
  32. data/lib/albacore/config/plinkconfig.rb +18 -0
  33. data/lib/albacore/config/specflowconfig.rb +18 -0
  34. data/lib/albacore/config/sqlcmdconfig.rb +9 -6
  35. data/lib/albacore/config/unzipconfig.rb +9 -5
  36. data/lib/albacore/config/xbuildconfig.rb +9 -6
  37. data/lib/albacore/config/xunitconfig.rb +18 -0
  38. data/lib/albacore/config/zipdirectoryconfig.rb +9 -6
  39. data/lib/albacore/csc.rb +56 -46
  40. data/lib/albacore/docu.rb +20 -23
  41. data/lib/albacore/exec.rb +8 -6
  42. data/lib/albacore/fluentmigrator.rb +69 -0
  43. data/lib/albacore/ilmerge.rb +23 -50
  44. data/lib/albacore/msbuild.rb +36 -59
  45. data/lib/albacore/mspec.rb +39 -0
  46. data/lib/albacore/mstest.rb +47 -0
  47. data/lib/albacore/nant.rb +23 -20
  48. data/lib/albacore/nchurn.rb +34 -59
  49. data/lib/albacore/ncoverconsole.rb +38 -50
  50. data/lib/albacore/ncoverreport.rb +24 -46
  51. data/lib/albacore/ncoverreports.rb +16 -0
  52. data/lib/albacore/ncoverreports/codecoveragebase.rb +8 -6
  53. data/lib/albacore/ncoverreports/cyclomaticcomplexity.rb +3 -3
  54. data/lib/albacore/ncoverreports/fullcoveragereport.rb +5 -9
  55. data/lib/albacore/ncoverreports/reportbase.rb +23 -0
  56. data/lib/albacore/ncoverreports/reportfilterbase.rb +10 -7
  57. data/lib/albacore/ncoverreports/summaryreport.rb +5 -14
  58. data/lib/albacore/ndepend.rb +17 -17
  59. data/lib/albacore/nugetinstall.rb +48 -43
  60. data/lib/albacore/nugetpack.rb +33 -37
  61. data/lib/albacore/nugetpush.rb +25 -31
  62. data/lib/albacore/nugetupdate.rb +28 -29
  63. data/lib/albacore/nunit.rb +46 -0
  64. data/lib/albacore/nuspec.rb +79 -77
  65. data/lib/albacore/output.rb +77 -80
  66. data/lib/albacore/plink.rb +35 -32
  67. data/lib/albacore/specflow.rb +30 -0
  68. data/lib/albacore/sqlcmd.rb +46 -61
  69. data/lib/albacore/support/platform.rb +25 -0
  70. data/lib/albacore/unzip.rb +42 -34
  71. data/lib/albacore/version.rb +1 -1
  72. data/lib/albacore/xbuild.rb +25 -38
  73. data/lib/albacore/xunit.rb +44 -0
  74. data/lib/albacore/zipdirectory.rb +106 -107
  75. data/spec/albacoremodel_spec.rb +52 -53
  76. data/spec/aspnetcompiler_spec.rb +84 -0
  77. data/spec/{support/TestSolution/TestSolution/Properties → assemblyinfo}/AssemblyInfo.cs +36 -36
  78. data/spec/assemblyinfo_spec.rb +209 -477
  79. data/spec/attrmethods_spec.rb +135 -136
  80. data/spec/config_spec.rb +32 -34
  81. data/spec/createtask_spec.rb +234 -237
  82. data/spec/csc_spec.rb +86 -253
  83. data/spec/docu_spec.rb +31 -109
  84. data/spec/exec_spec.rb +25 -45
  85. data/spec/fluentmigrator_spec.rb +88 -0
  86. data/spec/ilmerge_spec.rb +21 -79
  87. data/spec/msbuild_spec.rb +55 -287
  88. data/spec/mspec_spec.rb +30 -28
  89. data/spec/mstest_spec.rb +35 -0
  90. data/spec/nant_spec.rb +40 -110
  91. data/spec/nchurn_spec.rb +80 -75
  92. data/spec/ncoverconsole_spec.rb +80 -353
  93. data/spec/ncoverreport_spec.rb +139 -619
  94. data/spec/ndepend_spec.rb +26 -72
  95. data/spec/netversion_spec.rb +51 -53
  96. data/spec/nugetinstall_spec.rb +59 -47
  97. data/spec/nugetpack_spec.rb +49 -0
  98. data/spec/nugetpush_spec.rb +39 -0
  99. data/spec/nugetupdate_spec.rb +49 -42
  100. data/spec/nunit_spec.rb +35 -0
  101. data/spec/{support/nuspec → nuspec}/nuspec.xsd +0 -0
  102. data/spec/nuspec_spec.rb +74 -127
  103. data/spec/output/bar/bar.txt +0 -0
  104. data/spec/output/baz.txt +0 -0
  105. data/spec/output/erb.txt +1 -0
  106. data/spec/output/foo/foo/foo.txt +0 -0
  107. data/spec/output_spec.rb +67 -147
  108. data/spec/patch/system_patch.rb +12 -0
  109. data/spec/platform_spec.rb +15 -0
  110. data/spec/plink_spec.rb +56 -62
  111. data/spec/runcommand_spec.rb +92 -94
  112. data/spec/spec_helper.rb +20 -16
  113. data/spec/specflow_spec.rb +30 -0
  114. data/spec/sqlcmd_spec.rb +66 -334
  115. data/spec/unzip_spec.rb +1 -2
  116. data/spec/xbuild_spec.rb +40 -15
  117. data/spec/xunit_spec.rb +30 -200
  118. data/spec/yaml/test.yml +3 -0
  119. data/spec/yamlconfig_spec.rb +53 -49
  120. data/spec/zip/baz.txt +0 -0
  121. data/spec/zip/foo/bar/bar.txt +0 -0
  122. data/spec/zip/foo/foo.txt +0 -0
  123. data/spec/zip_spec.rb +63 -187
  124. metadata +78 -1098
  125. checksums.yaml +0 -7
  126. data/.rvmrc +0 -1
  127. data/lib/albacore/config/fluentmigratorrunnerconfig.rb +0 -15
  128. data/lib/albacore/config/msdeployconfig.rb +0 -15
  129. data/lib/albacore/config/mspectestrunnerconfig.rb +0 -15
  130. data/lib/albacore/config/mstesttestrunnerconfig.rb +0 -15
  131. data/lib/albacore/config/nugetpublishconfig.rb +0 -19
  132. data/lib/albacore/config/nunittestrunnerconfig.rb +0 -14
  133. data/lib/albacore/config/specflowreportconfig.rb +0 -24
  134. data/lib/albacore/config/vssgetconfig.rb +0 -14
  135. data/lib/albacore/config/xunittestrunnerconfig.rb +0 -15
  136. data/lib/albacore/fluentmigratorrunner.rb +0 -52
  137. data/lib/albacore/msdeploy.rb +0 -122
  138. data/lib/albacore/mspectestrunner.rb +0 -50
  139. data/lib/albacore/mstesttestrunner.rb +0 -43
  140. data/lib/albacore/nugetpublish.rb +0 -47
  141. data/lib/albacore/nunittestrunner.rb +0 -41
  142. data/lib/albacore/specflowreport.rb +0 -62
  143. data/lib/albacore/support/supportlinux.rb +0 -21
  144. data/lib/albacore/vssget.rb +0 -44
  145. data/lib/albacore/xunittestrunner.rb +0 -56
  146. data/samples/Rakefile +0 -154
  147. data/spec/README.md +0 -9
  148. data/spec/assemblyinfo_contexts.rb +0 -52
  149. data/spec/fluentmigratorrunner_spec.rb +0 -263
  150. data/spec/msdeploy_spec.rb +0 -124
  151. data/spec/mstesttestrunner_spec.rb +0 -144
  152. data/spec/nunittestrunner_spec.rb +0 -115
  153. data/spec/patches/docu_patch.rb +0 -13
  154. data/spec/patches/fail_patch.rb +0 -9
  155. data/spec/patches/system_patch.rb +0 -20
  156. data/spec/spec.opts +0 -1
  157. data/spec/specflowreport_spec.rb +0 -143
  158. data/spec/support/AssemblyInfo/AssemblyInfo.test +0 -6
  159. data/spec/support/AssemblyInfo/AssemblyInfoInput.test +0 -9
  160. data/spec/support/AssemblyInfo/assemblyinfo.yml +0 -2
  161. data/spec/support/CodeCoverage/mspec/assemblies/Machine.Specifications.dll +0 -0
  162. data/spec/support/CodeCoverage/mspec/assemblies/TestSolution.MSpecTests.dll +0 -0
  163. data/spec/support/CodeCoverage/mspec/assemblies/TestSolution.dll +0 -0
  164. data/spec/support/CodeCoverage/mspec/assemblies/nunit.framework.dll +0 -0
  165. data/spec/support/CodeCoverage/mstest/TestSolution.MSTestTests.NET40.dll +0 -0
  166. data/spec/support/CodeCoverage/mstest/TestSolution.MSTestTests.dll +0 -0
  167. data/spec/support/CodeCoverage/nunit/assemblies/TestSolution.Tests.dll +0 -0
  168. data/spec/support/CodeCoverage/nunit/assemblies/TestSolution.dll +0 -0
  169. data/spec/support/CodeCoverage/nunit/assemblies/nunit.framework.dll +0 -0
  170. data/spec/support/CodeCoverage/nunit/assemblies/with spaces/TestSolution.Tests.dll +0 -0
  171. data/spec/support/CodeCoverage/nunit/assemblies/with spaces/TestSolution.dll +0 -0
  172. data/spec/support/CodeCoverage/nunit/assemblies/with spaces/nunit.framework.dll +0 -0
  173. data/spec/support/CodeCoverage/nunit/failing_assemblies/TestSolution.FailingTests.dll +0 -0
  174. data/spec/support/CodeCoverage/nunit/failing_assemblies/nunit.framework.dll +0 -0
  175. data/spec/support/CodeCoverage/report/coverage.xml +0 -4578
  176. data/spec/support/CodeCoverage/xunit/assemblies/TestSolution.XUnitTests.dll +0 -0
  177. data/spec/support/CodeCoverage/xunit/assemblies/TestSolution.dll +0 -0
  178. data/spec/support/CodeCoverage/xunit/assemblies/xunit.dll +0 -0
  179. data/spec/support/CodeCoverage/xunit/assemblies/xunit.xml +0 -2604
  180. data/spec/support/FluentMigrator/FluentMigrator.dll +0 -0
  181. data/spec/support/FluentMigrator/TestSolution.FluentMigrator.dll +0 -0
  182. data/spec/support/SpecFlow/TechTalk.SpecFlow.dll +0 -0
  183. data/spec/support/SpecFlow/TestSolution.SpecFlow.dll +0 -0
  184. data/spec/support/SpecFlow/TestSolution.SpecFlow.pdb +0 -0
  185. data/spec/support/SpecFlow/TestSolution.dll +0 -0
  186. data/spec/support/SpecFlow/TestSolution.pdb +0 -0
  187. data/spec/support/SpecFlow/nunit.framework.dll +0 -0
  188. data/spec/support/TestSolution/LocalTestRun.testrunconfig +0 -5
  189. data/spec/support/TestSolution/NDependProject.xml +0 -315
  190. data/spec/support/TestSolution/TestSolution.5.0.ReSharper.user +0 -27
  191. data/spec/support/TestSolution/TestSolution.FailingTests/FailingTestFixture.cs +0 -19
  192. data/spec/support/TestSolution/TestSolution.FailingTests/Properties/AssemblyInfo.cs +0 -36
  193. data/spec/support/TestSolution/TestSolution.FailingTests/TestSolution.FailingTests.csproj +0 -101
  194. data/spec/support/TestSolution/TestSolution.FluentMigrator/M001_SampleMigration.cs +0 -19
  195. data/spec/support/TestSolution/TestSolution.FluentMigrator/Properties/AssemblyInfo.cs +0 -36
  196. data/spec/support/TestSolution/TestSolution.FluentMigrator/TestSolution.FluentMigrator.csproj +0 -101
  197. data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy.sln +0 -20
  198. data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/About.aspx +0 -13
  199. data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/About.aspx.cs +0 -17
  200. data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/About.aspx.designer.cs +0 -17
  201. data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Account/ChangePassword.aspx +0 -60
  202. data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Account/ChangePassword.aspx.cs +0 -17
  203. data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Account/ChangePassword.aspx.designer.cs +0 -26
  204. data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Account/ChangePasswordSuccess.aspx +0 -13
  205. data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Account/ChangePasswordSuccess.aspx.cs +0 -17
  206. data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Account/ChangePasswordSuccess.aspx.designer.cs +0 -17
  207. data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Account/Login.aspx +0 -49
  208. data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Account/Login.aspx.cs +0 -17
  209. data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Account/Login.aspx.designer.cs +0 -35
  210. data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Account/Register.aspx +0 -75
  211. data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Account/Register.aspx.cs +0 -32
  212. data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Account/Register.aspx.designer.cs +0 -35
  213. data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Account/Web.config +0 -18
  214. data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Default.aspx +0 -17
  215. data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Default.aspx.cs +0 -17
  216. data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Default.aspx.designer.cs +0 -17
  217. data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Global.asax +0 -1
  218. data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Global.asax.cs +0 -47
  219. data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Properties/AssemblyInfo.cs +0 -35
  220. data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Scripts/jquery-1.4.1-vsdoc.js +0 -8061
  221. data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Scripts/jquery-1.4.1.js +0 -6111
  222. data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Scripts/jquery-1.4.1.min.js +0 -167
  223. data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Site.Master +0 -51
  224. data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Site.Master.cs +0 -17
  225. data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Site.Master.designer.cs +0 -71
  226. data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Styles/Site.css +0 -294
  227. data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/TestSolution.MSDeploy.Publish.xml +0 -2
  228. data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/TestSolution.MSDeploy.csproj +0 -163
  229. data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Web.Debug.config +0 -30
  230. data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Web.Release.config +0 -31
  231. data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Web.config +0 -52
  232. data/spec/support/TestSolution/TestSolution.MSTestTests.NET40/Properties/AssemblyInfo.cs +0 -36
  233. data/spec/support/TestSolution/TestSolution.MSTestTests.NET40/TestSolution.MSTestTests.NET40.csproj +0 -53
  234. data/spec/support/TestSolution/TestSolution.MSTestTests.NET40/Tests.cs +0 -20
  235. data/spec/support/TestSolution/TestSolution.MSTestTests/Properties/AssemblyInfo.cs +0 -35
  236. data/spec/support/TestSolution/TestSolution.MSTestTests/TestSolution.MSTestTests.csproj +0 -97
  237. data/spec/support/TestSolution/TestSolution.MSTestTests/Tests.cs +0 -20
  238. data/spec/support/TestSolution/TestSolution.MSpecTests/Properties/AssemblyInfo.cs +0 -36
  239. data/spec/support/TestSolution/TestSolution.MSpecTests/SomeSpecTest.cs +0 -18
  240. data/spec/support/TestSolution/TestSolution.MSpecTests/TestSolution.MSpecTests.csproj +0 -110
  241. data/spec/support/TestSolution/TestSolution.SpecFlow/OneFeature.feature +0 -8
  242. data/spec/support/TestSolution/TestSolution.SpecFlow/OneFeature.feature.cs +0 -73
  243. data/spec/support/TestSolution/TestSolution.SpecFlow/Properties/AssemblyInfo.cs +0 -36
  244. data/spec/support/TestSolution/TestSolution.SpecFlow/StepDefinition.cs +0 -30
  245. data/spec/support/TestSolution/TestSolution.SpecFlow/TestSolution.SpecFlow.csproj +0 -122
  246. data/spec/support/TestSolution/TestSolution.Tests/Properties/AssemblyInfo.cs +0 -36
  247. data/spec/support/TestSolution/TestSolution.Tests/SomeTestFixture.cs +0 -23
  248. data/spec/support/TestSolution/TestSolution.Tests/TestSolution.Tests.csproj +0 -107
  249. data/spec/support/TestSolution/TestSolution.XUnitTests/Class1.cs +0 -20
  250. data/spec/support/TestSolution/TestSolution.XUnitTests/FailingTestFixture.cs +0 -14
  251. data/spec/support/TestSolution/TestSolution.XUnitTests/Properties/AssemblyInfo.cs +0 -36
  252. data/spec/support/TestSolution/TestSolution.XUnitTests/TestSolution.XUnitTests.csproj +0 -108
  253. data/spec/support/TestSolution/TestSolution.build +0 -25
  254. data/spec/support/TestSolution/TestSolution.sln +0 -75
  255. data/spec/support/TestSolution/TestSolution.vsmdi +0 -6
  256. data/spec/support/TestSolution/TestSolution/Class1.cs +0 -17
  257. data/spec/support/TestSolution/TestSolution/TestSolution.csproj +0 -97
  258. data/spec/support/Tools/FluentMigrator-0.9/FluentMigrator.MSBuild.dll +0 -0
  259. data/spec/support/Tools/FluentMigrator-0.9/FluentMigrator.NAnt.dll +0 -0
  260. data/spec/support/Tools/FluentMigrator-0.9/FluentMigrator.Runner.dll +0 -0
  261. data/spec/support/Tools/FluentMigrator-0.9/FluentMigrator.Runner.pdb +0 -0
  262. data/spec/support/Tools/FluentMigrator-0.9/FluentMigrator.Tests.dll +0 -0
  263. data/spec/support/Tools/FluentMigrator-0.9/FluentMigrator.Tests.pdb +0 -0
  264. data/spec/support/Tools/FluentMigrator-0.9/FluentMigrator.dll +0 -0
  265. data/spec/support/Tools/FluentMigrator-0.9/FluentMigrator.pdb +0 -0
  266. data/spec/support/Tools/FluentMigrator-0.9/Migrate.exe +0 -0
  267. data/spec/support/Tools/FluentMigrator-0.9/Migrate.exe.config +0 -6
  268. data/spec/support/Tools/FluentMigrator-0.9/Moq.dll +0 -0
  269. data/spec/support/Tools/FluentMigrator-0.9/Moq.xml +0 -3467
  270. data/spec/support/Tools/FluentMigrator-0.9/MySql.Data.dll +0 -0
  271. data/spec/support/Tools/FluentMigrator-0.9/NAnt.Core.dll +0 -0
  272. data/spec/support/Tools/FluentMigrator-0.9/NAnt.Core.xml +0 -14880
  273. data/spec/support/Tools/FluentMigrator-0.9/Oracle.DataAccess.dll +0 -0
  274. data/spec/support/Tools/FluentMigrator-0.9/System.Data.SQLite.DLL +0 -0
  275. data/spec/support/Tools/FluentMigrator-0.9/log4net.dll +0 -0
  276. data/spec/support/Tools/FluentMigrator-0.9/nunit.framework.dll +0 -0
  277. data/spec/support/Tools/FluentMigrator-0.9/nunit.should.dll +0 -0
  278. data/spec/support/Tools/FluentMigrator-0.9/testscript.sql +0 -1
  279. data/spec/support/Tools/MSTest-2008/MSTest.exe +0 -0
  280. data/spec/support/Tools/MSTest-2008/Microsoft.VisualStudio.QualityTools.CommandLine.dll +0 -0
  281. data/spec/support/Tools/MSTest-2008/Microsoft.VisualStudio.QualityTools.Common.dll +0 -0
  282. data/spec/support/Tools/MSTest-2008/Microsoft.VisualStudio.QualityTools.ControllerObject.dll +0 -0
  283. data/spec/support/Tools/MSTest-2008/Microsoft.VisualStudio.QualityTools.ExecutionCommon.dll +0 -0
  284. data/spec/support/Tools/MSTest-2008/Microsoft.VisualStudio.QualityTools.TMI.dll +0 -0
  285. data/spec/support/Tools/MSTest-2008/Microsoft.VisualStudio.QualityTools.Tips.UnitTest.Adapter.dll +0 -0
  286. data/spec/support/Tools/MSTest-2008/Microsoft.VisualStudio.QualityTools.Tips.UnitTest.AssemblyResolver.dll +0 -0
  287. data/spec/support/Tools/MSTest-2008/Microsoft.VisualStudio.QualityTools.Tips.UnitTest.ObjectModel.dll +0 -0
  288. data/spec/support/Tools/MSTest-2008/Microsoft.VisualStudio.QualityTools.Tips.UnitTest.Tip.dll +0 -0
  289. data/spec/support/Tools/MSTest-2010/MSTest.exe +0 -0
  290. data/spec/support/Tools/MSTest-2010/MSTest.exe.config +0 -31
  291. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.AgentObject.dll +0 -0
  292. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.AgentProcessManager.dll +0 -0
  293. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.CMI.dll +0 -0
  294. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.CheckinPolicies.dll +0 -0
  295. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.CodeCoverage.dll +0 -0
  296. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.CodedUITest.Controls.dll +0 -0
  297. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.CodedUITestFramework.dll +0 -0
  298. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.CodedUITestPackage.dll +0 -0
  299. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.CommandLine.dll +0 -0
  300. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.Common.dll +0 -0
  301. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.Controller.SpooledJob.dll +0 -0
  302. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.ControllerObject.dll +0 -0
  303. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.DataCollectionAgentObject.dll +0 -0
  304. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.ExecutionCommon.dll +0 -0
  305. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.HostAdapters.ASPNETAdapter.dll +0 -0
  306. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.HostAdapters.ASPNETAgent.dll +0 -0
  307. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.Linking.dll +0 -0
  308. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.LoadTest.dll +0 -0
  309. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.LoadTestExcelAddIn.dll +0 -0
  310. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.LoadTestExcelAddIn.dll.manifest +0 -296
  311. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.LoadTestExcelAddIn.vsto +0 -150
  312. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.LoadTestExcelCommon.dll +0 -0
  313. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.LoadTestExcelCommon.tlb +0 -0
  314. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.LoadTestExec.dll +0 -0
  315. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.LoadTestFramework.dll +0 -0
  316. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.LoadTestPackage.dll +0 -0
  317. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.LoadTestUI.dll +0 -0
  318. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.NICServices.dll +0 -0
  319. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.NetworkEmulation.dll +0 -0
  320. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.OperationalStore.ClientHelper.dll +0 -0
  321. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.RecorderBar.dll +0 -0
  322. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.RecorderBarBHO100.dll +0 -0
  323. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.Resource.dll +0 -0
  324. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.Sqm.dll +0 -0
  325. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.TMI.dll +0 -0
  326. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.TestCaseManagement.dll +0 -0
  327. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.Tips.GenericTest.Adapter.dll +0 -0
  328. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.Tips.GenericTest.ObjectModel.dll +0 -0
  329. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.Tips.GenericTest.Tip.dll +0 -0
  330. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.Tips.ManualTest.Adapter.dll +0 -0
  331. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.Tips.ManualTest.ObjectModel.dll +0 -0
  332. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.Tips.ManualTest.Tip.dll +0 -0
  333. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.Tips.OrderedTest.Adapter.dll +0 -0
  334. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.Tips.OrderedTest.ObjectModel.dll +0 -0
  335. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.Tips.OrderedTest.Tip.dll +0 -0
  336. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.Tips.TuipPackage.dll +0 -0
  337. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.Tips.UnitTest.Adapter.dll +0 -0
  338. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.Tips.UnitTest.AssemblyResolver.dll +0 -0
  339. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.Tips.UnitTest.ObjectModel.dll +0 -0
  340. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.Tips.UnitTest.Tip.dll +0 -0
  341. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.Tips.WebLoadTest.Tip.dll +0 -0
  342. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll +0 -0
  343. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.Vsip.dll +0 -0
  344. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.WarehouseCommon.dll +0 -0
  345. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.WebTestFramework.dll +0 -0
  346. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.WebTestPlayback.dll +0 -0
  347. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.Wizard.TestProjectWizards.dll +0 -0
  348. data/spec/support/Tools/MSTest-2010/mstest.reg +0 -0
  349. data/spec/support/Tools/Machine.Specifications-0.5.3/lib/Machine.Specifications.TDNetRunner.dll +0 -0
  350. data/spec/support/Tools/Machine.Specifications-0.5.3/lib/Machine.Specifications.dll +0 -0
  351. data/spec/support/Tools/Machine.Specifications-0.5.3/lib/Machine.Specifications.dll.tdnet +0 -5
  352. data/spec/support/Tools/Machine.Specifications-0.5.3/tools/CommandLine.dll +0 -0
  353. data/spec/support/Tools/Machine.Specifications-0.5.3/tools/CommandLine.xml +0 -504
  354. data/spec/support/Tools/Machine.Specifications-0.5.3/tools/InstallResharperRunner.4.1.bat +0 -5
  355. data/spec/support/Tools/Machine.Specifications-0.5.3/tools/InstallResharperRunner.4.5.bat +0 -5
  356. data/spec/support/Tools/Machine.Specifications-0.5.3/tools/InstallResharperRunner.5.0 - VS2008.bat +0 -5
  357. data/spec/support/Tools/Machine.Specifications-0.5.3/tools/InstallResharperRunner.5.0 - VS2010.bat +0 -5
  358. data/spec/support/Tools/Machine.Specifications-0.5.3/tools/InstallResharperRunner.5.1 - VS2008.bat +0 -5
  359. data/spec/support/Tools/Machine.Specifications-0.5.3/tools/InstallResharperRunner.5.1 - VS2010.bat +0 -5
  360. data/spec/support/Tools/Machine.Specifications-0.5.3/tools/InstallResharperRunner.6.0 - VS2008.bat +0 -5
  361. data/spec/support/Tools/Machine.Specifications-0.5.3/tools/InstallResharperRunner.6.0 - VS2010.bat +0 -5
  362. data/spec/support/Tools/Machine.Specifications-0.5.3/tools/InstallResharperRunner.6.1 - VS2008.bat +0 -5
  363. data/spec/support/Tools/Machine.Specifications-0.5.3/tools/InstallResharperRunner.6.1 - VS2010.bat +0 -5
  364. data/spec/support/Tools/Machine.Specifications-0.5.3/tools/InstallTDNetRunner.bat +0 -16
  365. data/spec/support/Tools/Machine.Specifications-0.5.3/tools/InstallTDNetRunnerSilent.bat +0 -16
  366. data/spec/support/Tools/Machine.Specifications-0.5.3/tools/License.txt +0 -54
  367. data/spec/support/Tools/Machine.Specifications-0.5.3/tools/Machine.Specifications.GallioAdapter.3.1.dll +0 -0
  368. data/spec/support/Tools/Machine.Specifications-0.5.3/tools/Machine.Specifications.GallioAdapter.plugin +0 -43
  369. data/spec/support/Tools/Machine.Specifications-0.5.3/tools/Machine.Specifications.ReSharperRunner.4.1.dll +0 -0
  370. data/spec/support/Tools/Machine.Specifications-0.5.3/tools/Machine.Specifications.ReSharperRunner.4.5.dll +0 -0
  371. data/spec/support/Tools/Machine.Specifications-0.5.3/tools/Machine.Specifications.ReSharperRunner.5.0.dll +0 -0
  372. data/spec/support/Tools/Machine.Specifications-0.5.3/tools/Machine.Specifications.ReSharperRunner.5.1.dll +0 -0
  373. data/spec/support/Tools/Machine.Specifications-0.5.3/tools/Machine.Specifications.ReSharperRunner.6.0.dll +0 -0
  374. data/spec/support/Tools/Machine.Specifications-0.5.3/tools/Machine.Specifications.ReSharperRunner.6.1.dll +0 -0
  375. data/spec/support/Tools/Machine.Specifications-0.5.3/tools/Machine.Specifications.Reporting.Templates.dll +0 -0
  376. data/spec/support/Tools/Machine.Specifications-0.5.3/tools/Machine.Specifications.Reporting.dll +0 -0
  377. data/spec/support/Tools/Machine.Specifications-0.5.3/tools/Machine.Specifications.SeleniumSupport.dll +0 -0
  378. data/spec/support/Tools/Machine.Specifications-0.5.3/tools/Machine.Specifications.TDNetRunner.dll +0 -0
  379. data/spec/support/Tools/Machine.Specifications-0.5.3/tools/Machine.Specifications.WatinSupport.dll +0 -0
  380. data/spec/support/Tools/Machine.Specifications-0.5.3/tools/Machine.Specifications.dll +0 -0
  381. data/spec/support/Tools/Machine.Specifications-0.5.3/tools/Machine.Specifications.dll.tdnet +0 -5
  382. data/spec/support/Tools/Machine.Specifications-0.5.3/tools/Spark.dll +0 -0
  383. data/spec/support/Tools/Machine.Specifications-0.5.3/tools/TestDriven.Framework.dll +0 -0
  384. data/spec/support/Tools/Machine.Specifications-0.5.3/tools/install.ps1 +0 -6
  385. data/spec/support/Tools/Machine.Specifications-0.5.3/tools/mspec-clr4.exe +0 -0
  386. data/spec/support/Tools/Machine.Specifications-0.5.3/tools/mspec-clr4.exe.config +0 -6
  387. data/spec/support/Tools/Machine.Specifications-0.5.3/tools/mspec-x86-clr4.exe +0 -0
  388. data/spec/support/Tools/Machine.Specifications-0.5.3/tools/mspec-x86-clr4.exe.config +0 -6
  389. data/spec/support/Tools/Machine.Specifications-0.5.3/tools/mspec-x86.exe +0 -0
  390. data/spec/support/Tools/Machine.Specifications-0.5.3/tools/mspec.exe +0 -0
  391. data/spec/support/Tools/NAnt-0.85/COPYING.txt +0 -340
  392. data/spec/support/Tools/NAnt-0.85/README.txt +0 -144
  393. data/spec/support/Tools/NChurn-v0.4/LICENSE.txt +0 -133
  394. data/spec/support/Tools/NChurn-v0.4/NChurn.exe +0 -0
  395. data/spec/support/Tools/NChurn-v0.4/README.md +0 -171
  396. data/spec/support/Tools/NChurn-v0.4/VERSION +0 -1
  397. data/spec/support/Tools/NChurn-v0.4/churn-0.4.0.0.txt +0 -178
  398. data/spec/support/Tools/NCover-v3.3/ActiproEULA.hml +0 -287
  399. data/spec/support/Tools/NCover-v3.3/ActiproSoftware.Shared.Wpf30.dll +0 -0
  400. data/spec/support/Tools/NCover-v3.3/ActiproSoftware.SyntaxEditor.Addons.DotNet.Wpf30.dll +0 -0
  401. data/spec/support/Tools/NCover-v3.3/ActiproSoftware.SyntaxEditor.Wpf30.dll +0 -0
  402. data/spec/support/Tools/NCover-v3.3/ActiproSoftware.Text.Net20.dll +0 -0
  403. data/spec/support/Tools/NCover-v3.3/AdminBootstrapper.exe +0 -0
  404. data/spec/support/Tools/NCover-v3.3/Build Task Plugins/MSBuildNCoverExample.proj +0 -237
  405. data/spec/support/Tools/NCover-v3.3/Build Task Plugins/MSBuildReportingExample.proj +0 -224
  406. data/spec/support/Tools/NCover-v3.3/Build Task Plugins/NAntNCoverExample.build +0 -241
  407. data/spec/support/Tools/NCover-v3.3/Build Task Plugins/NAntReportingExample.build +0 -218
  408. data/spec/support/Tools/NCover-v3.3/Build Task Plugins/NCover.MSBuildTasks.dll +0 -0
  409. data/spec/support/Tools/NCover-v3.3/Build Task Plugins/NCover.NAntTasks.dll +0 -0
  410. data/spec/support/Tools/NCover-v3.3/Build Task Plugins/NCoverExplorer.MSBuildTasks.dll +0 -0
  411. data/spec/support/Tools/NCover-v3.3/Build Task Plugins/NCoverExplorer.NAntTasks.dll +0 -0
  412. data/spec/support/Tools/NCover-v3.3/CC.Net/NCoverReporting30.xsl +0 -2313
  413. data/spec/support/Tools/NCover-v3.3/CC.Net/dashboard.config +0 -55
  414. data/spec/support/Tools/NCover-v3.3/CC.Net/excanvas.js +0 -35
  415. data/spec/support/Tools/NCover-v3.3/CC.Net/g.png +0 -0
  416. data/spec/support/Tools/NCover-v3.3/CC.Net/jquery-1.3.2.min.js +0 -19
  417. data/spec/support/Tools/NCover-v3.3/CC.Net/r.png +0 -0
  418. data/spec/support/Tools/NCover-v3.3/CC.Net/readme.txt +0 -51
  419. data/spec/support/Tools/NCover-v3.3/CC.Net/trends.js +0 -184
  420. data/spec/support/Tools/NCover-v3.3/CC.Net/y.png +0 -0
  421. data/spec/support/Tools/NCover-v3.3/MSVCM90.dll +0 -0
  422. data/spec/support/Tools/NCover-v3.3/MSVCP90.dll +0 -0
  423. data/spec/support/Tools/NCover-v3.3/MSVCR90.dll +0 -0
  424. data/spec/support/Tools/NCover-v3.3/Microsoft.VC90.CRT.manifest +0 -13
  425. data/spec/support/Tools/NCover-v3.3/Mindscape.LightSpeed.Linq.dll +0 -0
  426. data/spec/support/Tools/NCover-v3.3/Mindscape.LightSpeed.dll +0 -0
  427. data/spec/support/Tools/NCover-v3.3/NCover.Console.exe +0 -0
  428. data/spec/support/Tools/NCover-v3.3/NCover.Console.exe.config +0 -55
  429. data/spec/support/Tools/NCover-v3.3/NCover.Data.x86.dll +0 -0
  430. data/spec/support/Tools/NCover-v3.3/NCover.Explorer.Framework.dll +0 -0
  431. data/spec/support/Tools/NCover-v3.3/NCover.Explorer.exe +0 -0
  432. data/spec/support/Tools/NCover-v3.3/NCover.Explorer.exe.config +0 -16
  433. data/spec/support/Tools/NCover-v3.3/NCover.Framework.XmlSerializers.dll +0 -0
  434. data/spec/support/Tools/NCover-v3.3/NCover.Framework.dll +0 -0
  435. data/spec/support/Tools/NCover-v3.3/NCover.Interfaces.Core.dll +0 -0
  436. data/spec/support/Tools/NCover-v3.3/NCover.Interfaces.dll +0 -0
  437. data/spec/support/Tools/NCover-v3.3/NCover.Legacy.Configuration.dll +0 -0
  438. data/spec/support/Tools/NCover-v3.3/NCover.Lib.x86.dll +0 -0
  439. data/spec/support/Tools/NCover-v3.3/NCover.Registration.exe +0 -0
  440. data/spec/support/Tools/NCover-v3.3/NCover.Reporting.exe +0 -0
  441. data/spec/support/Tools/NCover-v3.3/NCover.Runner.dll +0 -0
  442. data/spec/support/Tools/NCover-v3.3/NCover.UpConvert.exe +0 -0
  443. data/spec/support/Tools/NCover-v3.3/NCover.Utilities.dll +0 -0
  444. data/spec/support/Tools/NCover-v3.3/NCoverEULA.pdf +0 -0
  445. data/spec/support/Tools/NCover-v3.3/NCoverExplorer.Console.exe +0 -0
  446. data/spec/support/Tools/NCover-v3.3/ReportingExample.config +0 -213
  447. data/spec/support/Tools/NCover-v3.3/System.Data.SQLite.dll +0 -0
  448. data/spec/support/Tools/NDepend-v2.12/EULA_NDepend.txt +0 -94
  449. data/spec/support/Tools/NDepend-v2.12/Lib/DevExpress.Data.v8.2.dll +0 -0
  450. data/spec/support/Tools/NDepend-v2.12/Lib/DevExpress.OfficeSkins.v8.2.dll +0 -0
  451. data/spec/support/Tools/NDepend-v2.12/Lib/DevExpress.Utils.v8.2.dll +0 -0
  452. data/spec/support/Tools/NDepend-v2.12/Lib/DevExpress.XtraBars.v8.2.dll +0 -0
  453. data/spec/support/Tools/NDepend-v2.12/Lib/DevExpress.XtraEditors.v8.2.dll +0 -0
  454. data/spec/support/Tools/NDepend-v2.12/Lib/DevExpress.XtraNavBar.v8.2.dll +0 -0
  455. data/spec/support/Tools/NDepend-v2.12/Lib/EnvDTE.dll +0 -0
  456. data/spec/support/Tools/NDepend-v2.12/Lib/Microsoft.Msagl.Drawing.dll +0 -0
  457. data/spec/support/Tools/NDepend-v2.12/Lib/Microsoft.Msagl.GraphViewerGdi.dll +0 -0
  458. data/spec/support/Tools/NDepend-v2.12/Lib/Microsoft.Msagl.GraphViewerGdi.dll.config +0 -3
  459. data/spec/support/Tools/NDepend-v2.12/Lib/Microsoft.Msagl.dll +0 -0
  460. data/spec/support/Tools/NDepend-v2.12/Lib/Microsoft.VisualStudio.OLE.Interop.dll +0 -0
  461. data/spec/support/Tools/NDepend-v2.12/Lib/Microsoft.VisualStudio.Shell.Interop.dll +0 -0
  462. data/spec/support/Tools/NDepend-v2.12/Lib/Microsoft.VisualStudio.Shell.dll +0 -0
  463. data/spec/support/Tools/NDepend-v2.12/Lib/Mono.Cecil.Pdb.dll +0 -0
  464. data/spec/support/Tools/NDepend-v2.12/Lib/Mono.Cecil.dll +0 -0
  465. data/spec/support/Tools/NDepend-v2.12/Lib/NDepend.AddIn.dll +0 -0
  466. data/spec/support/Tools/NDepend-v2.12/Lib/NDepend.Analysis.dll +0 -0
  467. data/spec/support/Tools/NDepend-v2.12/Lib/NDepend.CQL.dll +0 -0
  468. data/spec/support/Tools/NDepend-v2.12/Lib/NDepend.Framework.dll +0 -0
  469. data/spec/support/Tools/NDepend-v2.12/Lib/NDepend.Platform.DotNet.dll +0 -0
  470. data/spec/support/Tools/NDepend-v2.12/Lib/NDepend.Skins.dll +0 -0
  471. data/spec/support/Tools/NDepend-v2.12/Lib/NDepend.UI.dll +0 -0
  472. data/spec/support/Tools/NDepend-v2.12/Lib/msvcp71.dll +0 -0
  473. data/spec/support/Tools/NDepend-v2.12/Lib/msvcr71.dll +0 -0
  474. data/spec/support/Tools/NDepend-v2.12/NDepend.Console.exe +0 -0
  475. data/spec/support/Tools/NDepend-v2.12/NDepend.Console.exe.config +0 -8
  476. data/spec/support/Tools/NDepend-v2.12/QuickStartTutorial_NDepend.txt +0 -152
  477. data/spec/support/Tools/NDepend-v2.12/VisualNDepend.exe +0 -0
  478. data/spec/support/Tools/NUnit-v2.5/NUnitFitTests.html +0 -277
  479. data/spec/support/Tools/NUnit-v2.5/NUnitTests.config +0 -84
  480. data/spec/support/Tools/NUnit-v2.5/NUnitTests.nunit +0 -14
  481. data/spec/support/Tools/NUnit-v2.5/TestResult.xml +0 -32
  482. data/spec/support/Tools/NUnit-v2.5/agent.conf +0 -4
  483. data/spec/support/Tools/NUnit-v2.5/agent.log.conf +0 -18
  484. data/spec/support/Tools/NUnit-v2.5/clr.bat +0 -96
  485. data/spec/support/Tools/NUnit-v2.5/framework/nunit.framework.dll +0 -0
  486. data/spec/support/Tools/NUnit-v2.5/framework/nunit.framework.xml +0 -10088
  487. data/spec/support/Tools/NUnit-v2.5/framework/nunit.mocks.dll +0 -0
  488. data/spec/support/Tools/NUnit-v2.5/framework/pnunit.framework.dll +0 -0
  489. data/spec/support/Tools/NUnit-v2.5/launcher.log.conf +0 -18
  490. data/spec/support/Tools/NUnit-v2.5/lib/Failure.png +0 -0
  491. data/spec/support/Tools/NUnit-v2.5/lib/Ignored.png +0 -0
  492. data/spec/support/Tools/NUnit-v2.5/lib/Inconclusive.png +0 -0
  493. data/spec/support/Tools/NUnit-v2.5/lib/Skipped.png +0 -0
  494. data/spec/support/Tools/NUnit-v2.5/lib/Success.png +0 -0
  495. data/spec/support/Tools/NUnit-v2.5/lib/fit.dll +0 -0
  496. data/spec/support/Tools/NUnit-v2.5/lib/log4net.dll +0 -0
  497. data/spec/support/Tools/NUnit-v2.5/lib/nunit-console-runner.dll +0 -0
  498. data/spec/support/Tools/NUnit-v2.5/lib/nunit-gui-runner.dll +0 -0
  499. data/spec/support/Tools/NUnit-v2.5/lib/nunit.core.dll +0 -0
  500. data/spec/support/Tools/NUnit-v2.5/lib/nunit.core.interfaces.dll +0 -0
  501. data/spec/support/Tools/NUnit-v2.5/lib/nunit.fixtures.dll +0 -0
  502. data/spec/support/Tools/NUnit-v2.5/lib/nunit.uiexception.dll +0 -0
  503. data/spec/support/Tools/NUnit-v2.5/lib/nunit.uikit.dll +0 -0
  504. data/spec/support/Tools/NUnit-v2.5/lib/nunit.util.dll +0 -0
  505. data/spec/support/Tools/NUnit-v2.5/nunit-agent.exe +0 -0
  506. data/spec/support/Tools/NUnit-v2.5/nunit-agent.exe.config +0 -87
  507. data/spec/support/Tools/NUnit-v2.5/nunit-console-x86.exe +0 -0
  508. data/spec/support/Tools/NUnit-v2.5/nunit-console-x86.exe.config +0 -87
  509. data/spec/support/Tools/NUnit-v2.5/nunit-console.exe +0 -0
  510. data/spec/support/Tools/NUnit-v2.5/nunit-console.exe.config +0 -87
  511. data/spec/support/Tools/NUnit-v2.5/nunit-x86.exe +0 -0
  512. data/spec/support/Tools/NUnit-v2.5/nunit-x86.exe.config +0 -95
  513. data/spec/support/Tools/NUnit-v2.5/nunit.exe +0 -0
  514. data/spec/support/Tools/NUnit-v2.5/nunit.exe.config +0 -95
  515. data/spec/support/Tools/NUnit-v2.5/nunit.framework.dll +0 -0
  516. data/spec/support/Tools/NUnit-v2.5/pnunit-agent.exe +0 -0
  517. data/spec/support/Tools/NUnit-v2.5/pnunit-agent.exe.config +0 -87
  518. data/spec/support/Tools/NUnit-v2.5/pnunit-launcher.exe +0 -0
  519. data/spec/support/Tools/NUnit-v2.5/pnunit-launcher.exe.config +0 -87
  520. data/spec/support/Tools/NUnit-v2.5/pnunit.framework.dll +0 -0
  521. data/spec/support/Tools/NUnit-v2.5/pnunit.tests.dll +0 -0
  522. data/spec/support/Tools/NUnit-v2.5/runFile.exe +0 -0
  523. data/spec/support/Tools/NUnit-v2.5/runFile.exe.config +0 -43
  524. data/spec/support/Tools/NUnit-v2.5/runpnunit.bat +0 -2
  525. data/spec/support/Tools/NUnit-v2.5/test.conf +0 -24
  526. data/spec/support/Tools/PartCover-v2.3/Interop.PartCover.dll +0 -0
  527. data/spec/support/Tools/PartCover-v2.3/PartCover Browser Manual.rtf +0 -28853
  528. data/spec/support/Tools/PartCover-v2.3/PartCover Console Manual.rtf +0 -203
  529. data/spec/support/Tools/PartCover-v2.3/PartCover.Browser.Api.dll +0 -0
  530. data/spec/support/Tools/PartCover-v2.3/PartCover.Browser.exe +0 -0
  531. data/spec/support/Tools/PartCover-v2.3/PartCover.Browser.exe.config +0 -51
  532. data/spec/support/Tools/PartCover-v2.3/PartCover.CorDriver.dll +0 -0
  533. data/spec/support/Tools/PartCover-v2.3/PartCover.Framework.dll +0 -0
  534. data/spec/support/Tools/PartCover-v2.3/PartCover.exe +0 -0
  535. data/spec/support/Tools/PartCover-v2.3/PartCover.exe.config +0 -4
  536. data/spec/support/Tools/PartCover-v2.3/PartViewer.dll +0 -0
  537. data/spec/support/Tools/PartCover-v2.3/app.ico +0 -0
  538. data/spec/support/Tools/PartCover-v2.3/log4net.dll +0 -0
  539. data/spec/support/Tools/PartCover-v2.3/xslt/Report By Assembly.xslt +0 -54
  540. data/spec/support/Tools/PartCover-v2.3/xslt/Report By Class.xslt +0 -52
  541. data/spec/support/Tools/SpecFlow/Antlr3.Runtime.dll +0 -0
  542. data/spec/support/Tools/SpecFlow/Interop.SHDocVw.dll +0 -0
  543. data/spec/support/Tools/SpecFlow/TechTalk.SpecFlow.Generator.dll +0 -0
  544. data/spec/support/Tools/SpecFlow/TechTalk.SpecFlow.Parser.dll +0 -0
  545. data/spec/support/Tools/SpecFlow/TechTalk.SpecFlow.Reporting.dll +0 -0
  546. data/spec/support/Tools/SpecFlow/TechTalk.SpecFlow.VsIntegration.dll +0 -0
  547. data/spec/support/Tools/SpecFlow/TechTalk.SpecFlow.dll +0 -0
  548. data/spec/support/Tools/SpecFlow/TechTalk.SpecFlow.targets +0 -58
  549. data/spec/support/Tools/SpecFlow/TechTalk.SpecFlow.tasks +0 -17
  550. data/spec/support/Tools/SpecFlow/changelog.txt +0 -50
  551. data/spec/support/Tools/SpecFlow/specflow.exe +0 -0
  552. data/spec/support/Tools/XUnit-v1.9/EULA.txt +0 -29
  553. data/spec/support/Tools/XUnit-v1.9/HTML.xslt +0 -126
  554. data/spec/support/Tools/XUnit-v1.9/NUnitXml.xslt +0 -121
  555. data/spec/support/Tools/XUnit-v1.9/xunit.console.clr4.exe +0 -0
  556. data/spec/support/Tools/XUnit-v1.9/xunit.console.clr4.exe.config +0 -21
  557. data/spec/support/Tools/XUnit-v1.9/xunit.console.clr4.x86.exe +0 -0
  558. data/spec/support/Tools/XUnit-v1.9/xunit.console.clr4.x86.exe.config +0 -21
  559. data/spec/support/Tools/XUnit-v1.9/xunit.console.exe +0 -0
  560. data/spec/support/Tools/XUnit-v1.9/xunit.console.exe.config +0 -21
  561. data/spec/support/Tools/XUnit-v1.9/xunit.console.x86.exe +0 -0
  562. data/spec/support/Tools/XUnit-v1.9/xunit.console.x86.exe.config +0 -21
  563. data/spec/support/Tools/XUnit-v1.9/xunit.dll +0 -0
  564. data/spec/support/Tools/XUnit-v1.9/xunit.dll.tdnet +0 -5
  565. data/spec/support/Tools/XUnit-v1.9/xunit.extensions.dll +0 -0
  566. data/spec/support/Tools/XUnit-v1.9/xunit.extensions.xml +0 -805
  567. data/spec/support/Tools/XUnit-v1.9/xunit.gui.clr4.exe +0 -0
  568. data/spec/support/Tools/XUnit-v1.9/xunit.gui.clr4.x86.exe +0 -0
  569. data/spec/support/Tools/XUnit-v1.9/xunit.gui.exe +0 -0
  570. data/spec/support/Tools/XUnit-v1.9/xunit.gui.x86.exe +0 -0
  571. data/spec/support/Tools/XUnit-v1.9/xunit.installer.exe +0 -0
  572. data/spec/support/Tools/XUnit-v1.9/xunit.runner.msbuild.dll +0 -0
  573. data/spec/support/Tools/XUnit-v1.9/xunit.runner.tdnet.dll +0 -0
  574. data/spec/support/Tools/XUnit-v1.9/xunit.runner.utility.dll +0 -0
  575. data/spec/support/Tools/XUnit-v1.9/xunit.runner.utility.xml +0 -1212
  576. data/spec/support/Tools/XUnit-v1.9/xunit.xml +0 -2604
  577. data/spec/support/assemblyinfotester.rb +0 -52
  578. data/spec/support/csc/File1.cs +0 -9
  579. data/spec/support/csc/File2.cs +0 -9
  580. data/spec/support/csc/output/ignorethis.txt +0 -1
  581. data/spec/support/ironruby_validator.rb +0 -26
  582. data/spec/support/msbuildtestdata.rb +0 -32
  583. data/spec/support/nanttestdata.rb +0 -33
  584. data/spec/support/ncoverconsoletestdata.rb +0 -20
  585. data/spec/support/ncoverreporttestdata.rb +0 -26
  586. data/spec/support/nokogiri_validator.rb +0 -15
  587. data/spec/support/outputtestdata.rb +0 -13
  588. data/spec/support/test.yml +0 -4
  589. data/spec/support/yamlconfig/msbuild.yml +0 -5
  590. data/spec/support/yamlconfig/yaml_autoconfig_test.yml +0 -1
  591. data/spec/support/zip/files/subfolder/sub file.txt +0 -1
  592. data/spec/support/zip/files/testfile.txt +0 -1
  593. data/spec/support/ziptestdata.rb +0 -13
@@ -3,7 +3,7 @@ rvm:
3
3
  - 1.9.3
4
4
  - 2.0.0
5
5
  - jruby
6
- script: bundle exec rake specs:assemblyinfo specs:albacoremodel specs:attrmethods
6
+ script: bundle exec rake specs:all
7
7
  bundler_args: --without=wiki
8
8
  notifications:
9
9
  email: false
data/Guardfile CHANGED
@@ -1,9 +0,0 @@
1
- # A sample Guardfile
2
- # More info at https://github.com/guard/guard#readme
3
-
4
- guard 'rspec', :version => 2 do
5
- watch(%r{^spec/.+_spec\.rb$})
6
- watch(%r{^lib/(.+)\.rb$}) { |m| "spec/lib/#{m[1]}_spec.rb" }
7
- watch('spec/spec_helper.rb') { "spec" }
8
- end
9
-
data/README.md CHANGED
@@ -1,5 +1,5 @@
1
1
  # Albacore
2
- [![Build Status](https://secure.travis-ci.org/Albacore/albacore.png?branch=dev)](http://travis-ci.org/Albacore/albacore) [![Gem Version](https://badge.fury.io/rb/albacore.png)](http://badge.fury.io/rb/albacore) [![Dependency Status](https://gemnasium.com/Albacore/albacore.png)](https://gemnasium.com/Albacore/albacore) [![Code Climate](https://codeclimate.com/github/Albacore/albacore.png)](https://codeclimate.com/github/Albacore/albacore) [![Coverage Status](https://coveralls.io/repos/Albacore/albacore/badge.png)](https://coveralls.io/r/Albacore/albacore)
2
+ [![Build Status](https://secure.travis-ci.org/Albacore/albacore.png?branch=dev)](http://travis-ci.org/Albacore/albacore) [![Gem Version](https://badge.fury.io/rb/albacore.png)](http://badge.fury.io/rb/albacore) [![Dependency Status](https://gemnasium.com/Albacore/albacore.png)](https://gemnasium.com/Albacore/albacore) [![Code Climate](https://codeclimate.com/github/Albacore/albacore.png)](https://codeclimate.com/github/Albacore/albacore)
3
3
 
4
4
  Albacore is a professional quality suite of Rake tasks for building .NET or Mono based systems. It's like MSBuild or NAnt without all the stabby-bracket XML hell! The tasks are built using a test-first approach and all tests are included in the gem. If you're new to Ruby/Rake read the [quick start][2]. Or, browse the [detailed instructions][1] for each task in our wiki.
5
5
 
@@ -7,10 +7,10 @@ Details about goals and releases can be found at [albacorebuild.net](http://alba
7
7
 
8
8
  ## Installation
9
9
 
10
- Add this line to the Gemfile where you maintain the dependencies for your build:
10
+ Add this line to the Gemfile where you maintain the dependencies for your build (we recommend the latest RC for RubyZip 1.0 support, only remove the version spec if you know what you're doing!):
11
11
 
12
12
  ```ruby
13
- gem "albacore"
13
+ gem "albacore", "~> 1.0.rc"
14
14
  ```
15
15
 
16
16
  And then execute
@@ -37,7 +37,7 @@ require "albacore"
37
37
 
38
38
  Albacore has been tested against the following versions of Ruby for Windows and Linux. Use unsupported versions at your own risk!
39
39
 
40
- * MRI: `1.9.3`, `2.0.0`
40
+ * MRI: `1.9.3`, `2.0.0` (x86 only, Nokogiri does not support x64 yet)
41
41
  * JRuby: `HEAD`
42
42
 
43
43
 
data/Rakefile CHANGED
@@ -1,24 +1,19 @@
1
1
  require "bundler/gem_tasks"
2
+ require "rspec/core/rake_task"
2
3
 
3
- task :default => :"specs:all"
4
+ task :default => ["specs:all"]
4
5
 
5
6
  namespace :specs do
6
- require "rspec/core/rake_task"
7
-
8
7
  desc "Run all specs"
9
8
  RSpec::Core::RakeTask.new(:all)
10
9
 
11
- # generate tasks for each *_spec.rb file in the root spec folder
12
- exceptNCov = []
13
- FileList["spec/*_spec.rb"].each do |fname|
14
- spec = $1 if /spec\/(.+)_spec\.rb/ =~ fname
15
- exceptNCov << spec unless /ncover|ndepend/ =~ spec
16
- desc "Run the #{spec} spec"
17
- RSpec::Core::RakeTask.new spec do |t|
18
- t.pattern = "spec/#{spec}*_spec.rb"
10
+ # make a task for each *_spec.rb in spec/
11
+ FileList["spec/*_spec.rb"].each do |path|
12
+ ctx = File.basename(path, "*.rb").split("_").first
13
+
14
+ desc "Run the #{ctx} spec"
15
+ RSpec::Core::RakeTask.new(ctx) do |t|
16
+ t.pattern = "spec/#{ctx}_spec.rb"
19
17
  end
20
18
  end
21
-
22
- desc "Run specs:all except :ncover, :ndepend"
23
- task :except_ncover => exceptNCov
24
19
  end
@@ -1,31 +1,29 @@
1
- # coding: utf-8
2
- lib = File.expand_path("../lib", __FILE__)
3
- $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
-
5
- require "albacore/version"
6
-
7
- Gem::Specification.new do |spec|
8
- spec.name = "albacore"
9
- spec.version = Albacore::VERSION
10
- spec.authors = ["Henrik Feldt", "Anthony Mastrean"]
11
- spec.email = ["albacorebuild@gmail.com"]
12
- spec.description = %q{Albacore is a professional quality suite of Rake tasks for building .NET or Mono based systems.}
13
- spec.summary = %q{Dolphin-safe .NET and Mono rake tasks}
14
- spec.homepage = "http://albacorebuild.net"
15
- spec.license = "MIT"
16
-
17
- spec.files = `git ls-files`.split($/)
18
- spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
19
- spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
20
- spec.require_paths = ["lib"]
21
-
22
- spec.add_dependency "nokogiri", "~> 1.5"
23
- spec.add_dependency "rake"
24
- spec.add_dependency "rubyzip", "~> 1.0"
25
-
26
- spec.add_development_dependency "guard"
27
- spec.add_development_dependency "guard-rspec"
28
- spec.add_development_dependency "rspec"
29
-
30
- spec.rubyforge_project = "albacore"
31
- end
1
+ # coding: utf-8
2
+ lib = File.expand_path("../lib", __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+
5
+ require "albacore/version"
6
+
7
+ Gem::Specification.new do |spec|
8
+ spec.name = "albacore"
9
+ spec.version = Albacore::VERSION
10
+ spec.authors = ["Henrik Feldt", "Anthony Mastrean", "Derick Bailey"]
11
+ spec.email = ["albacorebuild@gmail.com"]
12
+ spec.description = %q{Albacore is a professional quality suite of Rake tasks for building .NET or Mono based systems.}
13
+ spec.summary = %q{Dolphin-safe .NET and Mono rake tasks}
14
+ spec.homepage = "http://albacorebuild.net"
15
+ spec.license = "MIT"
16
+
17
+ spec.files = `git ls-files`.split($/)
18
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
19
+ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
20
+ spec.require_paths = ["lib"]
21
+
22
+ spec.add_dependency "nokogiri", "~> 1.5"
23
+ spec.add_dependency "rake"
24
+ spec.add_dependency "rubyzip", "~> 1.0"
25
+
26
+ spec.add_development_dependency "rspec"
27
+
28
+ spec.rubyforge_project = "albacore"
29
+ end
@@ -1,22 +1,31 @@
1
- albacore_root = File.expand_path(File.dirname(__FILE__))
2
- $: << albacore_root
3
- $: << File.join(albacore_root, "albacore")
4
- $: << File.join(albacore_root, "albacore", 'support')
5
- $: << File.join(albacore_root, "albacore", 'config')
6
-
1
+ # infrastructure
7
2
  require "albacore/version"
8
3
  require "albacore/albacoretask"
4
+
5
+ require "albacore/config/config"
6
+ require "albacore/config/netversion"
7
+
8
+ require "albacore/support/attrmethods"
9
+ require "albacore/support/createtask"
10
+ require "albacore/support/failure"
11
+ require "albacore/support/logging"
12
+ require "albacore/support/openstruct"
13
+ require "albacore/support/runcommand"
14
+ require "albacore/support/platform"
15
+ require "albacore/support/updateattributes"
16
+ require "albacore/support/yamlconfig"
17
+
18
+ # tasks
9
19
  require "albacore/aspnetcompiler"
10
20
  require "albacore/assemblyinfo"
11
21
  require "albacore/csc"
12
22
  require "albacore/docu"
13
23
  require "albacore/exec"
14
- require "albacore/fluentmigratorrunner"
24
+ require "albacore/fluentmigrator"
15
25
  require "albacore/ilmerge"
16
26
  require "albacore/msbuild"
17
- require "albacore/msdeploy"
18
- require "albacore/mspectestrunner"
19
- require "albacore/mstesttestrunner"
27
+ require "albacore/mspec"
28
+ require "albacore/mstest"
20
29
  require "albacore/nant"
21
30
  require "albacore/nchurn"
22
31
  require "albacore/ncoverconsole"
@@ -24,17 +33,15 @@ require "albacore/ncoverreport"
24
33
  require "albacore/ndepend"
25
34
  require "albacore/nugetinstall"
26
35
  require "albacore/nugetpack"
27
- require "albacore/nugetpublish"
28
36
  require "albacore/nugetpush"
29
37
  require "albacore/nugetupdate"
30
- require "albacore/nunittestrunner"
38
+ require "albacore/nunit"
31
39
  require "albacore/nuspec"
32
40
  require "albacore/output"
33
41
  require "albacore/plink"
34
- require "albacore/specflowreport"
42
+ require "albacore/specflow"
35
43
  require "albacore/sqlcmd"
36
44
  require "albacore/unzip"
37
- require "albacore/vssget"
38
45
  require "albacore/xbuild"
39
- require "albacore/xunittestrunner"
46
+ require "albacore/xunit"
40
47
  require "albacore/zipdirectory"
@@ -1,58 +1,80 @@
1
- require 'albacore/albacoretask'
2
- require 'albacore/config/aspnetcompilerconfig'
3
- require 'albacore/support/supportlinux'
1
+ require "albacore/albacoretask"
2
+ require "albacore/config/aspnetcompilerconfig"
3
+ require "albacore/support/platform"
4
4
 
5
5
  class AspNetCompiler
6
+ TaskName = :aspnetcompiler
7
+
6
8
  include Albacore::Task
7
9
  include Albacore::RunCommand
8
10
  include Configuration::AspNetCompiler
9
- include SupportsLinuxEnvironment
10
-
11
- # http://msdn.microsoft.com/en-us/library/ms164291.aspx
11
+ include Albacore::Support
12
12
 
13
- attr_accessor :clean, # Optional Boolean parameter. If this parameter is true, the precompiled application will be built clean. Any previously compiled components will be recompiled. The default value is false. This parameter corresponds to the -c switch on aspnet_compiler.exe.
14
- #:allow_partially_trusted_callers, # Optional Boolean parameter. If this parameter is true, the strong-name assembly will allow partially trusted callers.
15
- :debug, # Optional Boolean parameter. If this parameter is true, debug information (.PDB file) is emitted during compilation. The default value is false. This parameter corresponds to the -d switch on aspnet_compiler.exe.
16
- :delay_sign, # Optional Boolean parameter. If this parameter is true, the assembly is not fully signed when created.
17
- :fixed_names, # Optional Boolean parameter. If this parameter is true, the compiled assemblies will be given fixed names.
18
- :force, # Optional Boolean parameter. If this parameter is true, the task will overwrite the target directory if it already exists. Existing contents are lost. The default value is false. This parameter corresponds to the -f switch on aspnet_compiler.exe.
19
- #:key_container, # Optional String parameter. Specifies a strong name key container.
20
- #:key_file, # Optional String parameter. Specifies the physical path to the strong name key file..
21
- #:metabase_path, # Optional String parameter. Specifies the full IIS metabase path of the application. This parameter cannot be combined with the VirtualPath or PhysicalPath parameters. This parameter corresponds to the -m switch on aspnet_compiler.exe.
22
- :physical_path, # Optional String parameter. Specifies the physical path of the application to be compiled. If this parameter is missing, the IIS metabase is used to locate the application. This parameter corresponds to the -p switch on aspnet_compiler.exe.
23
- #:target_framework_moniker, # Optional String parameter. Specifies the TargetFrameworkMoniker indicating which .NET Framework version of aspnet_compiler.exe should be used. Only accepts .NET Framework monikers.
24
- :target_path, # Optional String parameter. Specifies the physical path to which the application is compiled. If not specified, the application is precompiled in-place.
25
- :updateable, # Optional Boolean parameter. If this parameter is true, the precompiled application will be updateable. The default value is false. This parameter corresponds to the -u switch on aspnet_compiler.exe.
26
- :virtual_path # Optional String parameter. The virtual path of the application to be compiled. If PhysicalPath specified, the physical path is used to locate the application. Otherwise, the IIS metabase is used, and the application is assumed to be in the default site. This parameter corresponds to the -v switch on aspnet_compiler.exe.
13
+ attr_reader :clean,
14
+ :delay_sign,
15
+ :fixed_names,
16
+ :force,
17
+ :updateable,
18
+ :debug,
19
+ :no_logo
20
+
21
+ attr_accessor :physical_path,
22
+ :target_path,
23
+ :virtual_path
27
24
 
28
25
  def initialize
29
- @clean = false
30
- @debug = false
31
- @delay_sign = false
32
- @fixed_names = false
33
- @force = false
34
- @updateable = false
35
- @virtual_path = '/'
26
+ @virtual_path = "/"
27
+ @command = "aspnet_compiler"
28
+
36
29
  super()
37
- update_attributes aspnetcompiler.to_hash
30
+ update_attributes(aspnetcompiler.to_hash)
38
31
  end
39
32
 
40
- def execute
41
- params = []
42
- params << "-v #{@virtual_path}" unless @virtual_path.nil?
43
- params << "-p #{format_path(@physical_path)}" unless @physical_path.nil?
44
- params << "-c" if @clean
45
- params << "-delaysign" if @delay_sign
46
- params << "-fixednames" if @fixed_names
47
- params << "-d" if @debug
48
- params << "-u" if @updateable
49
- params << "-f" if @force
50
- params << format_path(@target_path) unless @target_path.nil?
51
-
52
- result = run_command "AspNetCompiler", params
53
-
54
- failure_message = 'AspNetCompiler Failed. See Build Log For Detail'
55
- fail_with_message failure_message if !result
33
+ def execute
34
+ result = run_command("AspNetCompiler", build_parameters)
35
+ fail_with_message("AspNetCompiler failed, see the build log for more details.") unless result
36
+ end
37
+
38
+ def build_parameters
39
+ p = []
40
+ p << "-v #{@virtual_path}" if @virtual_path
41
+ p << "-p #{Platform.format_path(@physical_path)}" if @physical_path
42
+ p << "-c" if @clean
43
+ p << "-delaysign" if @delay_sign
44
+ p << "-fixednames" if @fixed_names
45
+ p << "-d" if @debug
46
+ p << "-u" if @updateable
47
+ p << "-f" if @force
48
+ p << "-nologo" if @no_logo
49
+ p << Platform.format_path(@target_path) if @target_path
50
+ p
56
51
  end
57
52
 
53
+ def updateable
54
+ @updateable = true
55
+ end
56
+
57
+ def force
58
+ @force = true
59
+ end
60
+
61
+ def clean
62
+ @clean = true
63
+ end
64
+
65
+ def debug
66
+ @debug = true
67
+ end
68
+
69
+ def delay_sign
70
+ @delay_sign = true
71
+ end
72
+
73
+ def fixed_names
74
+ @fixed_names = true
75
+ end
76
+
77
+ def no_logo
78
+ @no_logo = true
79
+ end
58
80
  end
@@ -1,125 +1,132 @@
1
- require 'albacore/albacoretask'
2
- require 'albacore/config/assemblyinfoconfig'
3
- require 'albacore/assemblyinfolanguages/csharpengine'
4
- require 'albacore/assemblyinfolanguages/vbnetengine'
5
- require 'albacore/assemblyinfolanguages/fsharpengine'
6
- require 'albacore/assemblyinfolanguages/cppcliengine'
1
+ require "albacore/albacoretask"
2
+ require "albacore/config/assemblyinfoconfig"
3
+ require "albacore/assemblyinfolanguages/assemblyinfoengine"
4
+ require "albacore/assemblyinfolanguages/cppcliengine"
5
+ require "albacore/assemblyinfolanguages/csharpengine"
6
+ require "albacore/assemblyinfolanguages/fsharpengine"
7
+ require "albacore/assemblyinfolanguages/vbnetengine"
7
8
 
8
9
  class AssemblyInfo
9
10
  include Albacore::Task
10
11
  include Configuration::AssemblyInfo
11
12
 
12
- attr_accessor :input_file, :output_file, :language,
13
- :version, :title, :description, :custom_attributes,
14
- :copyright, :com_visible, :com_guid, :company_name, :product_name,
15
- :file_version, :trademark, :lang_engine, :informational_version
13
+ attr_reader :com_visible
16
14
 
17
- attr_array :namespaces, :custom_data, :initial_comments
18
- attr_hash :custom_attributes
15
+ attr_accessor :input_file,
16
+ :output_file,
17
+ :version,
18
+ :file_version,
19
+ :informational_version,
20
+ :title,
21
+ :description,
22
+ :copyright,
23
+ :company_name,
24
+ :product_name,
25
+ :trademark,
26
+ :com_guid,
27
+ :language,
28
+ :lang_engine
29
+
30
+ attr_array :namespaces,
31
+ :custom_data,
32
+ :initial_comments
33
+
34
+ attr_hash :custom_attributes
19
35
 
20
36
  def initialize
21
- @namespaces = []
22
- @custom_data = []
23
37
  super()
24
- update_attributes assemblyinfo.to_hash
38
+ update_attributes(assemblyinfo.to_hash)
25
39
  end
26
40
 
27
- def use(file)
28
- @input_file = @output_file = file
29
- end
30
-
31
41
  def execute
32
- unless check_lang_engine then
33
- @lang_engine = from_language
42
+ unless @output_file
43
+ fail_with_message("assemblyinfo requires #output_file")
44
+ return
34
45
  end
35
- write_assemblyinfo @output_file, @input_file
36
- end
37
-
38
- def write_assemblyinfo(assemblyinfo_file, input_file)
39
- valid = check_output_file assemblyinfo_file
40
- return if !valid
46
+
47
+ @lang_engine ||= AssemblyInfoEngine.from_language(@language)
48
+ @custom_data ||= []
49
+ @custom_attributes ||= {}
50
+ @initial_comments ||= []
51
+ @namespaces ||= []
52
+ @namespaces << "System.Reflection"
53
+ @namespaces << "System.Runtime.InteropServices"
54
+ @namespaces.uniq!
41
55
 
42
- input_data = read_input_file input_file
43
- asm_data = build_assembly_info_data input_data
56
+ @logger.info "Generating AssemblyInfo file: #{File.expand_path(@output_file)}"
44
57
 
45
- @logger.info "Generating Assembly Info File At: " + File.expand_path(assemblyinfo_file)
46
- File.open(assemblyinfo_file, 'w') do |f|
47
- asm_data.each do |line|
48
- f.puts line
49
- end
50
- end
58
+ input = @input_file ? read_input(@input_file) : []
59
+ output = build(input)
60
+ write_output(output)
51
61
  end
52
62
 
53
- def read_input_file(file)
54
- data = []
55
- return data if file.nil?
56
-
57
- File.open(file, 'r') do |f|
58
- f.each_line do |line|
59
- data << line.strip
60
- end
61
- end
62
-
63
- data
63
+ def com_visible
64
+ @com_visible = true
64
65
  end
65
66
 
66
- def check_output_file(file)
67
- return true if file
68
- fail_with_message 'output_file cannot be nil'
69
- false
70
- end
71
-
72
- def from_language
73
- ({
74
- "F#" => lambda { FSharpEngine.new },
75
- "C#" => lambda { CSharpEngine.new },
76
- "C++.Net" => lambda { CppCliEngine.new },
77
- "VB.Net" => lambda { VbNetEngine.new }
78
- }[@language] || lambda { CSharpEngine.new }).call
79
- end
80
-
81
- def check_lang_engine
82
- !@lang_engine.nil?
83
- end
84
-
85
- def build_assembly_info_data(data)
86
- # data < []
87
- # requires: @lang_engine.nil? == false
88
-
89
- if data.empty?
90
- data = build_header
91
- end
92
-
93
- data = build_initial_comments + build_using_statements(data) + data
67
+ def build(data)
68
+ data = build_header if data.empty?
69
+ data = @initial_comments + build_using_statements(data) + data
94
70
 
95
71
  build_attribute(data, "AssemblyTitle", @title)
96
72
  build_attribute(data, "AssemblyDescription", @description)
97
73
  build_attribute(data, "AssemblyCompany", @company_name)
98
74
  build_attribute(data, "AssemblyProduct", @product_name)
99
-
100
75
  build_attribute(data, "AssemblyCopyright", @copyright)
101
76
  build_attribute(data, "AssemblyTrademark", @trademark)
102
-
103
77
  build_attribute(data, "ComVisible", @com_visible)
104
78
  build_attribute(data, "Guid", @com_guid)
105
-
106
79
  build_attribute(data, "AssemblyVersion", @version)
107
80
  build_attribute(data, "AssemblyFileVersion", @file_version)
108
- build_attribute(data, "AssemblyInformationalVersion", @informational_version)
81
+ build_attribute(data, "AssemblyInformationalVersion", @informational_version)
109
82
 
110
83
  data << ""
111
- if @custom_attributes != nil
84
+
85
+ unless @custom_attributes.empty?
112
86
  build_custom_attributes(data)
113
87
  data << ""
114
88
  end
115
89
 
90
+ build_custom_data(data)
91
+
92
+ data.concat(build_footer)
93
+
94
+ chomp(data)
95
+ end
96
+
97
+ def build_attribute(data, attr_name, attr_data, allow_empty_args = false)
98
+ return if (!allow_empty_args and attr_data.nil?)
99
+
100
+ attr_value = @lang_engine.build_attribute(attr_name, attr_data)
101
+ attr_re = @lang_engine.build_attribute_re(attr_name)
102
+
103
+ @logger.debug "Building AssemblyInfo attribute: #{attr_value}"
104
+
105
+ result = nil
106
+ data.each do |line|
107
+ break if result
108
+ result = line.sub!(attr_re, attr_value) if line
109
+ end
110
+
111
+ data << attr_value if result.nil?
112
+ end
113
+
114
+ def build_custom_data(data)
116
115
  @custom_data.each do |cdata|
117
116
  data << cdata unless data.include? cdata
118
117
  end
119
-
120
- data.concat build_footer
118
+ end
119
+
120
+ def build_using_statements(data)
121
+ @namespaces.map do |ns|
122
+ @lang_engine.build_using_statement(ns) unless data.index { |line| line.match(ns) }
123
+ end
124
+ end
121
125
 
122
- chomp data
126
+ def build_custom_attributes(data)
127
+ @custom_attributes.each do |key, value|
128
+ build_attribute(data, key, value, true)
129
+ end
123
130
  end
124
131
 
125
132
  def chomp(ary)
@@ -135,48 +142,22 @@ class AssemblyInfo
135
142
  @lang_engine.respond_to?(:after) ? [@lang_engine.after()] : []
136
143
  end
137
144
 
138
- def build_attribute(data, attr_name, attr_data, allow_empty_args = false)
139
- if !allow_empty_args and attr_data.nil? then return end
140
- attr_value = @lang_engine.build_attribute(attr_name, attr_data)
141
- attr_re = @lang_engine.build_attribute_re(attr_name)
142
- result = nil
143
- @logger.debug "Build Assembly Info Attribute: " + attr_value
144
- data.each do |line|
145
- break unless result.nil?
146
- result = line.sub! attr_re, attr_value
147
- end
148
- data << attr_value if result.nil?
149
- end
150
-
151
- def build_using_statements(data)
152
- @namespaces = [] if @namespaces.nil?
153
-
154
- @namespaces << "System.Reflection"
155
- @namespaces << "System.Runtime.InteropServices"
156
- @namespaces.uniq!
157
-
158
- ns = []
159
- @namespaces.each do |n|
160
- ns << @lang_engine.build_using_statement(n) unless data.index { |l| l.match n }
145
+ def read_input(file)
146
+ data = []
147
+ File.open(file, "r") do |f|
148
+ f.each_line do |line|
149
+ data << line.strip
150
+ end
161
151
  end
162
-
163
- ns
164
- end
165
152
 
166
- def build_custom_attributes(data)
167
- @custom_attributes.each do |key, value|
168
- build_attribute(data, key, value, true)
169
- end
153
+ data
170
154
  end
171
155
 
172
- def build_initial_comments
173
- @initial_comments = [] if @initial_comments.nil?
174
- comments = []
175
- @initial_comments.each do |comment|
176
- # Do language specific formatting here?
177
- comments << comment
156
+ def write_output(output)
157
+ File.open(@output_file, "w") do |f|
158
+ output.each do |line|
159
+ f.puts line
160
+ end
178
161
  end
179
- comments
180
162
  end
181
-
182
163
  end