albacore 0.2.0.preview1 → 0.2.0.preview2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (167) hide show
  1. data/README.markdown +7 -2
  2. data/VERSION +1 -1
  3. data/install_dependencies.rb +1 -1
  4. data/lib/albacore.rb +6 -17
  5. data/lib/albacore/albacoretask.rb +43 -0
  6. data/lib/albacore/assemblyinfo.rb +10 -7
  7. data/lib/albacore/config/assemblyinfoconfig.rb +4 -12
  8. data/lib/albacore/config/config.rb +16 -8
  9. data/lib/albacore/config/cscconfig.rb +2 -7
  10. data/lib/albacore/config/docuconfig.rb +3 -5
  11. data/lib/albacore/config/execconfig.rb +4 -11
  12. data/lib/albacore/config/msbuildconfig.rb +2 -5
  13. data/lib/albacore/config/mspectestrunnerconfig.rb +15 -0
  14. data/lib/albacore/config/nantconfig.rb +4 -11
  15. data/lib/albacore/config/ncoverconsoleconfig.rb +4 -11
  16. data/lib/albacore/config/ncoverreportconfig.rb +4 -11
  17. data/lib/albacore/config/ndependconfig.rb +4 -11
  18. data/lib/albacore/config/netversion.rb +0 -2
  19. data/lib/albacore/config/nunittestrunnerconfig.rb +14 -0
  20. data/lib/albacore/config/specflowreportconfig.rb +2 -5
  21. data/lib/albacore/config/sqlcmdconfig.rb +4 -11
  22. data/lib/albacore/config/unzipconfig.rb +4 -11
  23. data/lib/albacore/config/xbuildconfig.rb +4 -11
  24. data/lib/albacore/config/xunittestrunnerconfig.rb +15 -0
  25. data/lib/albacore/config/zipdirectoryconfig.rb +15 -0
  26. data/lib/albacore/csc.rb +31 -5
  27. data/lib/albacore/docu.rb +2 -3
  28. data/lib/albacore/exec.rb +3 -5
  29. data/lib/albacore/msbuild.rb +3 -3
  30. data/lib/albacore/mspectestrunner.rb +5 -6
  31. data/lib/albacore/nant.rb +4 -6
  32. data/lib/albacore/ncoverconsole.rb +4 -6
  33. data/lib/albacore/ncoverreport.rb +4 -6
  34. data/lib/albacore/ncoverreports/codecoveragebase.rb +2 -2
  35. data/lib/albacore/ncoverreports/cyclomaticcomplexity.rb +2 -2
  36. data/lib/albacore/ncoverreports/fullcoveragereport.rb +0 -8
  37. data/lib/albacore/ncoverreports/reportfilterbase.rb +2 -2
  38. data/lib/albacore/ncoverreports/summaryreport.rb +0 -4
  39. data/lib/albacore/ndepend.rb +4 -6
  40. data/lib/albacore/nunittestrunner.rb +4 -5
  41. data/lib/albacore/specflowreport.rb +2 -2
  42. data/lib/albacore/sqlcmd.rb +33 -11
  43. data/lib/albacore/support/createtask.rb +30 -0
  44. data/lib/albacore/support/runcommand.rb +21 -30
  45. data/lib/albacore/support/updateattributes.rb +13 -0
  46. data/lib/albacore/unzip.rb +3 -5
  47. data/lib/albacore/xbuild.rb +5 -6
  48. data/lib/albacore/xunittestrunner.rb +4 -5
  49. data/lib/albacore/zipdirectory.rb +5 -6
  50. data/rakefile.rb +7 -8
  51. data/spec/albacoremodel_spec.rb +20 -2
  52. data/spec/assemblyinfo_spec.rb +27 -14
  53. data/spec/config_spec.rb +17 -2
  54. data/spec/createtask_spec.rb +51 -28
  55. data/spec/csc_spec.rb +135 -3
  56. data/spec/docu_spec.rb +11 -14
  57. data/spec/exec_spec.rb +1 -1
  58. data/spec/msbuild_spec.rb +9 -9
  59. data/spec/nant_spec.rb +4 -4
  60. data/spec/ncoverconsole_spec.rb +13 -13
  61. data/spec/ncoverreport_spec.rb +17 -17
  62. data/spec/ndepend_spec.rb +6 -6
  63. data/spec/runcommand_spec.rb +22 -3
  64. data/spec/sqlcmd_spec.rb +154 -12
  65. data/spec/support/assemblyinfotester.rb +1 -1
  66. data/spec/support/spec_helper.rb +2 -2
  67. data/spec/yamlconfig_spec.rb +3 -3
  68. data/spec/zip_spec.rb +4 -4
  69. metadata +32 -119
  70. data/lib/albacore/albacoremodel.rb +0 -28
  71. data/lib/albacore/config/mspecconfig.rb +0 -21
  72. data/lib/albacore/config/nunitconfig.rb +0 -20
  73. data/lib/albacore/config/xunitconfig.rb +0 -22
  74. data/lib/albacore/config/zipconfig.rb +0 -22
  75. data/lib/rake/assemblyinfotask.rb +0 -3
  76. data/lib/rake/csctask.rb +0 -3
  77. data/lib/rake/docutask.rb +0 -3
  78. data/lib/rake/exectask.rb +0 -3
  79. data/lib/rake/msbuildtask.rb +0 -3
  80. data/lib/rake/mspectask.rb +0 -3
  81. data/lib/rake/nanttask.rb +0 -3
  82. data/lib/rake/ncoverconsoletask.rb +0 -3
  83. data/lib/rake/ncoverreporttask.rb +0 -3
  84. data/lib/rake/ndependtask.rb +0 -3
  85. data/lib/rake/nunittask.rb +0 -3
  86. data/lib/rake/specflowreporttask.rb +0 -3
  87. data/lib/rake/sqlcmdtask.rb +0 -3
  88. data/lib/rake/support/albacoretask.rb +0 -30
  89. data/lib/rake/support/createtask.rb +0 -21
  90. data/lib/rake/unziptask.rb +0 -3
  91. data/lib/rake/xbuildtask.rb +0 -7
  92. data/lib/rake/xunittask.rb +0 -3
  93. data/lib/rake/ziptask.rb +0 -3
  94. data/spec/assemblyinfotask_spec.rb +0 -32
  95. data/spec/csctask_spec.rb +0 -1
  96. data/spec/docutask_spec.rb +0 -52
  97. data/spec/exectask_spec.rb +0 -46
  98. data/spec/msbuildtask_spec.rb +0 -46
  99. data/spec/mspectask_spec.rb +0 -46
  100. data/spec/nanttask_spec.rb +0 -46
  101. data/spec/ncoverconsoletask_spec.rb +0 -46
  102. data/spec/ncoverreporttask_spec.rb +0 -46
  103. data/spec/ndependtask_spec.rb +0 -46
  104. data/spec/nunittask_spec.rb +0 -46
  105. data/spec/spec.opts +0 -1
  106. data/spec/specflowreporttask_spec.rb +0 -48
  107. data/spec/sqlcmdtask_spec.rb +0 -32
  108. data/spec/support/AssemblyInfo/assemblyinfo.yml +0 -2
  109. data/spec/support/CodeCoverage/mspec/assemblies/Machine.Specifications.NUnit.dll +0 -0
  110. data/spec/support/CodeCoverage/mspec/assemblies/Machine.Specifications.dll +0 -0
  111. data/spec/support/CodeCoverage/mspec/assemblies/TestSolution.MSpecTests.dll +0 -0
  112. data/spec/support/CodeCoverage/mspec/assemblies/TestSolution.dll +0 -0
  113. data/spec/support/CodeCoverage/mspec/assemblies/nunit.framework.dll +0 -0
  114. data/spec/support/CodeCoverage/nunit/assemblies/TestSolution.Tests.dll +0 -0
  115. data/spec/support/CodeCoverage/nunit/assemblies/TestSolution.dll +0 -0
  116. data/spec/support/CodeCoverage/nunit/assemblies/nunit.framework.dll +0 -0
  117. data/spec/support/CodeCoverage/nunit/assemblies/with spaces/TestSolution.Tests.dll +0 -0
  118. data/spec/support/CodeCoverage/nunit/assemblies/with spaces/TestSolution.dll +0 -0
  119. data/spec/support/CodeCoverage/nunit/assemblies/with spaces/nunit.framework.dll +0 -0
  120. data/spec/support/CodeCoverage/nunit/failing_assemblies/TestSolution.FailingTests.dll +0 -0
  121. data/spec/support/CodeCoverage/nunit/failing_assemblies/nunit.framework.dll +0 -0
  122. data/spec/support/CodeCoverage/report/coverage.xml +0 -4578
  123. data/spec/support/CodeCoverage/xunit/assemblies/TestSolution.XUnitTests.dll +0 -0
  124. data/spec/support/CodeCoverage/xunit/assemblies/TestSolution.dll +0 -0
  125. data/spec/support/CodeCoverage/xunit/assemblies/xunit.dll +0 -0
  126. data/spec/support/CodeCoverage/xunit/assemblies/xunit.xml +0 -2306
  127. data/spec/support/SpecFlow/TechTalk.SpecFlow.dll +0 -0
  128. data/spec/support/SpecFlow/TestSolution.SpecFlow.dll +0 -0
  129. data/spec/support/SpecFlow/TestSolution.SpecFlow.pdb +0 -0
  130. data/spec/support/SpecFlow/TestSolution.dll +0 -0
  131. data/spec/support/SpecFlow/TestSolution.pdb +0 -0
  132. data/spec/support/SpecFlow/nunit.framework.dll +0 -0
  133. data/spec/support/TestSolution/NDependProject.xml +0 -315
  134. data/spec/support/TestSolution/TestSolution.5.0.ReSharper.user +0 -27
  135. data/spec/support/TestSolution/TestSolution.FailingTests/FailingTestFixture.cs +0 -19
  136. data/spec/support/TestSolution/TestSolution.FailingTests/Properties/AssemblyInfo.cs +0 -36
  137. data/spec/support/TestSolution/TestSolution.FailingTests/TestSolution.FailingTests.csproj +0 -63
  138. data/spec/support/TestSolution/TestSolution.MSpecTests/Properties/AssemblyInfo.cs +0 -36
  139. data/spec/support/TestSolution/TestSolution.MSpecTests/SomeSpecTest.cs +0 -18
  140. data/spec/support/TestSolution/TestSolution.MSpecTests/TestSolution.MSpecTests.csproj +0 -77
  141. data/spec/support/TestSolution/TestSolution.SpecFlow/OneFeature.feature +0 -8
  142. data/spec/support/TestSolution/TestSolution.SpecFlow/OneFeature.feature.cs +0 -73
  143. data/spec/support/TestSolution/TestSolution.SpecFlow/Properties/AssemblyInfo.cs +0 -36
  144. data/spec/support/TestSolution/TestSolution.SpecFlow/StepDefinition.cs +0 -30
  145. data/spec/support/TestSolution/TestSolution.SpecFlow/TestSolution.SpecFlow.csproj +0 -84
  146. data/spec/support/TestSolution/TestSolution.Tests/Properties/AssemblyInfo.cs +0 -36
  147. data/spec/support/TestSolution/TestSolution.Tests/SomeTestFixture.cs +0 -23
  148. data/spec/support/TestSolution/TestSolution.Tests/TestSolution.Tests.csproj +0 -69
  149. data/spec/support/TestSolution/TestSolution.XUnitTests/Class1.cs +0 -19
  150. data/spec/support/TestSolution/TestSolution.XUnitTests/FailingTestFixture.cs +0 -14
  151. data/spec/support/TestSolution/TestSolution.XUnitTests/Properties/AssemblyInfo.cs +0 -36
  152. data/spec/support/TestSolution/TestSolution.XUnitTests/TestSolution.XUnitTests.csproj +0 -70
  153. data/spec/support/TestSolution/TestSolution.build +0 -25
  154. data/spec/support/TestSolution/TestSolution.sln +0 -50
  155. data/spec/support/TestSolution/TestSolution/Class1.cs +0 -17
  156. data/spec/support/TestSolution/TestSolution/Properties/AssemblyInfo.cs +0 -36
  157. data/spec/support/TestSolution/TestSolution/TestSolution.csproj +0 -59
  158. data/spec/support/csc/File1.cs +0 -9
  159. data/spec/support/csc/File2.cs +0 -9
  160. data/spec/support/csc/output/ignorethis.txt +0 -1
  161. data/spec/support/test.yml +0 -4
  162. data/spec/support/yamlconfig/msbuild.yml +0 -5
  163. data/spec/support/yamlconfig/yaml_autoconfig_test.yml +0 -1
  164. data/spec/support/zip/files/subfolder/sub file.txt +0 -1
  165. data/spec/support/zip/files/testfile.txt +0 -1
  166. data/spec/xunittask_spec.rb +0 -32
  167. data/spec/ziptask_spec.rb +0 -33
@@ -28,7 +28,7 @@ class AssemblyInfoTester < AssemblyInfo
28
28
  setup_assemblyinfo_file
29
29
 
30
30
  assemblyinfo.output_file = @assemblyinfo_file
31
- assemblyinfo.write
31
+ assemblyinfo.execute
32
32
 
33
33
  contents = ''
34
34
  File.open(@assemblyinfo_file, "r") do |f|
@@ -9,9 +9,9 @@ $: << File.join(@root_dir, "lib/albacore/config")
9
9
  require 'rubygems'
10
10
  require 'spec'
11
11
  require 'rake/tasklib'
12
- require 'lib/rake/support/albacoretask.rb'
13
- require 'lib/rake/support/createtask.rb'
12
+ require 'lib/albacore/support/createtask.rb'
14
13
  require 'lib/albacore/config/config.rb'
14
+ require 'lib/albacore'
15
15
  require 'not_a_mock'
16
16
  require 'system_patch'
17
17
  require 'fail_patch'
@@ -1,8 +1,8 @@
1
1
  require File.join(File.dirname(__FILE__), 'support', 'spec_helper')
2
- require 'albacore/albacoremodel'
2
+ require 'albacore/albacoretask'
3
3
 
4
4
  class YamlTest
5
- include AlbacoreModel
5
+ include AlbacoreTask
6
6
  attr_accessor :some_name, :another_name, :a_hash, :what_ever
7
7
  end
8
8
 
@@ -33,7 +33,7 @@ end
33
33
 
34
34
  describe YAMLConfig, "when specifying a yaml config folder and configuring" do
35
35
  class YAML_AutoConfig_Test
36
- include AlbacoreModel
36
+ include AlbacoreTask
37
37
  attr_accessor :some_attribute
38
38
  end
39
39
 
@@ -8,7 +8,7 @@ describe ZipDirectory, 'when zipping a directory of files' do
8
8
  zip = ZipDirectory.new
9
9
  zip.directories_to_zip ZipTestData.folder
10
10
  zip.output_file = "test.zip"
11
- zip.package
11
+ zip.execute
12
12
  end
13
13
 
14
14
  it "should produce a zip file" do
@@ -22,7 +22,7 @@ describe ZipDirectory, 'when zipping a directory with string exclusions' do
22
22
  zip.directories_to_zip ZipTestData.folder
23
23
  zip.output_file = 'test.zip'
24
24
  zip.exclusions File.join(ZipTestData.folder, 'files', 'testfile.txt')
25
- zip.package
25
+ zip.execute
26
26
 
27
27
  unzip = Unzip.new
28
28
  unzip.file = File.join(ZipTestData.folder, 'test.zip')
@@ -45,7 +45,7 @@ describe ZipDirectory, 'when zipping a directory of files with regexp exclusions
45
45
  zip.directories_to_zip ZipTestData.folder
46
46
  zip.output_file = 'test.zip'
47
47
  zip.exclusions /testfile/
48
- zip.package
48
+ zip.execute
49
49
 
50
50
  unzip = Unzip.new
51
51
  unzip.file = File.join(ZipTestData.folder, 'test.zip')
@@ -68,7 +68,7 @@ describe ZipDirectory, 'when zipping a directory of files with glob string exclu
68
68
  zip.directories_to_zip ZipTestData.folder
69
69
  zip.output_file = 'test.zip'
70
70
  zip.exclusions "**/subfolder/*"
71
- zip.package
71
+ zip.execute
72
72
 
73
73
  unzip = Unzip.new
74
74
  unzip.file = File.join(ZipTestData.folder, 'test.zip')
metadata CHANGED
@@ -1,13 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: albacore
3
3
  version: !ruby/object:Gem::Version
4
+ hash: 221741756
4
5
  prerelease: true
5
6
  segments:
6
7
  - 0
7
8
  - 2
8
9
  - 0
9
- - preview1
10
- version: 0.2.0.preview1
10
+ - preview2
11
+ version: 0.2.0.preview2
11
12
  platform: ruby
12
13
  authors:
13
14
  - Derick Bailey
@@ -18,16 +19,18 @@ autorequire:
18
19
  bindir: bin
19
20
  cert_chain: []
20
21
 
21
- date: 2010-07-13 00:00:00 -05:00
22
+ date: 2010-08-06 00:00:00 -05:00
22
23
  default_executable:
23
24
  dependencies:
24
25
  - !ruby/object:Gem::Dependency
25
26
  name: rake
26
27
  prerelease: false
27
28
  requirement: &id001 !ruby/object:Gem::Requirement
29
+ none: false
28
30
  requirements:
29
31
  - - ">="
30
32
  - !ruby/object:Gem::Version
33
+ hash: 49
31
34
  segments:
32
35
  - 0
33
36
  - 8
@@ -39,9 +42,11 @@ dependencies:
39
42
  name: rubyzip
40
43
  prerelease: false
41
44
  requirement: &id002 !ruby/object:Gem::Requirement
45
+ none: false
42
46
  requirements:
43
47
  - - ">="
44
48
  - !ruby/object:Gem::Version
49
+ hash: 51
45
50
  segments:
46
51
  - 0
47
52
  - 9
@@ -53,9 +58,11 @@ dependencies:
53
58
  name: rspec
54
59
  prerelease: false
55
60
  requirement: &id003 !ruby/object:Gem::Requirement
61
+ none: false
56
62
  requirements:
57
63
  - - ">="
58
64
  - !ruby/object:Gem::Version
65
+ hash: 27
59
66
  segments:
60
67
  - 1
61
68
  - 3
@@ -67,9 +74,11 @@ dependencies:
67
74
  name: jeweler
68
75
  prerelease: false
69
76
  requirement: &id004 !ruby/object:Gem::Requirement
77
+ none: false
70
78
  requirements:
71
79
  - - ">="
72
80
  - !ruby/object:Gem::Version
81
+ hash: 7
73
82
  segments:
74
83
  - 1
75
84
  - 4
@@ -81,9 +90,11 @@ dependencies:
81
90
  name: derickbailey-notamock
82
91
  prerelease: false
83
92
  requirement: &id005 !ruby/object:Gem::Requirement
93
+ none: false
84
94
  requirements:
85
95
  - - ">="
86
96
  - !ruby/object:Gem::Version
97
+ hash: 29
87
98
  segments:
88
99
  - 0
89
100
  - 0
@@ -95,9 +106,11 @@ dependencies:
95
106
  name: jekyll
96
107
  prerelease: false
97
108
  requirement: &id006 !ruby/object:Gem::Requirement
109
+ none: false
98
110
  requirements:
99
111
  - - ">="
100
112
  - !ruby/object:Gem::Version
113
+ hash: 5
101
114
  segments:
102
115
  - 0
103
116
  - 5
@@ -109,9 +122,11 @@ dependencies:
109
122
  name: watchr
110
123
  prerelease: false
111
124
  requirement: &id007 !ruby/object:Gem::Requirement
125
+ none: false
112
126
  requirements:
113
127
  - - ">="
114
128
  - !ruby/object:Gem::Version
129
+ hash: 7
115
130
  segments:
116
131
  - 0
117
132
  - 6
@@ -133,7 +148,7 @@ files:
133
148
  - VERSION
134
149
  - install_dependencies.rb
135
150
  - lib/albacore.rb
136
- - lib/albacore/albacoremodel.rb
151
+ - lib/albacore/albacoretask.rb
137
152
  - lib/albacore/assemblyinfo.rb
138
153
  - lib/albacore/assemblyinfolanguages/csharpengine.rb
139
154
  - lib/albacore/assemblyinfolanguages/vbnetengine.rb
@@ -143,19 +158,19 @@ files:
143
158
  - lib/albacore/config/docuconfig.rb
144
159
  - lib/albacore/config/execconfig.rb
145
160
  - lib/albacore/config/msbuildconfig.rb
146
- - lib/albacore/config/mspecconfig.rb
161
+ - lib/albacore/config/mspectestrunnerconfig.rb
147
162
  - lib/albacore/config/nantconfig.rb
148
163
  - lib/albacore/config/ncoverconsoleconfig.rb
149
164
  - lib/albacore/config/ncoverreportconfig.rb
150
165
  - lib/albacore/config/ndependconfig.rb
151
166
  - lib/albacore/config/netversion.rb
152
- - lib/albacore/config/nunitconfig.rb
167
+ - lib/albacore/config/nunittestrunnerconfig.rb
153
168
  - lib/albacore/config/specflowreportconfig.rb
154
169
  - lib/albacore/config/sqlcmdconfig.rb
155
170
  - lib/albacore/config/unzipconfig.rb
156
171
  - lib/albacore/config/xbuildconfig.rb
157
- - lib/albacore/config/xunitconfig.rb
158
- - lib/albacore/config/zipconfig.rb
172
+ - lib/albacore/config/xunittestrunnerconfig.rb
173
+ - lib/albacore/config/zipdirectoryconfig.rb
159
174
  - lib/albacore/csc.rb
160
175
  - lib/albacore/docu.rb
161
176
  - lib/albacore/exec.rb
@@ -182,145 +197,54 @@ files:
182
197
  - lib/albacore/specflowreport.rb
183
198
  - lib/albacore/sqlcmd.rb
184
199
  - lib/albacore/support/attrmethods.rb
200
+ - lib/albacore/support/createtask.rb
185
201
  - lib/albacore/support/failure.rb
186
202
  - lib/albacore/support/logging.rb
187
203
  - lib/albacore/support/openstruct.rb
188
204
  - lib/albacore/support/runcommand.rb
189
205
  - lib/albacore/support/supportlinux.rb
206
+ - lib/albacore/support/updateattributes.rb
190
207
  - lib/albacore/support/yamlconfig.rb
191
208
  - lib/albacore/unzip.rb
192
209
  - lib/albacore/xbuild.rb
193
210
  - lib/albacore/xunittestrunner.rb
194
211
  - lib/albacore/zipdirectory.rb
195
- - lib/rake/assemblyinfotask.rb
196
- - lib/rake/csctask.rb
197
- - lib/rake/docutask.rb
198
- - lib/rake/exectask.rb
199
- - lib/rake/msbuildtask.rb
200
- - lib/rake/mspectask.rb
201
- - lib/rake/nanttask.rb
202
- - lib/rake/ncoverconsoletask.rb
203
- - lib/rake/ncoverreporttask.rb
204
- - lib/rake/ndependtask.rb
205
- - lib/rake/nunittask.rb
206
- - lib/rake/specflowreporttask.rb
207
- - lib/rake/sqlcmdtask.rb
208
- - lib/rake/support/albacoretask.rb
209
- - lib/rake/support/createtask.rb
210
- - lib/rake/unziptask.rb
211
- - lib/rake/xbuildtask.rb
212
- - lib/rake/xunittask.rb
213
- - lib/rake/ziptask.rb
214
212
  - rakefile.rb
213
+ - watchrtesting.rb
214
+ - yaml_autoconfig_test.yml
215
215
  - spec/albacoremodel_spec.rb
216
216
  - spec/assemblyinfo_spec.rb
217
- - spec/assemblyinfotask_spec.rb
218
217
  - spec/attrmethods_spec.rb
219
218
  - spec/config_spec.rb
220
219
  - spec/createtask_spec.rb
221
220
  - spec/csc_spec.rb
222
- - spec/csctask_spec.rb
223
221
  - spec/docu_spec.rb
224
- - spec/docutask_spec.rb
225
222
  - spec/exec_spec.rb
226
- - spec/exectask_spec.rb
227
223
  - spec/msbuild_spec.rb
228
- - spec/msbuildtask_spec.rb
229
224
  - spec/mspec_spec.rb
230
- - spec/mspectask_spec.rb
231
225
  - spec/nant_spec.rb
232
- - spec/nanttask_spec.rb
233
226
  - spec/ncoverconsole_spec.rb
234
- - spec/ncoverconsoletask_spec.rb
235
227
  - spec/ncoverreport_spec.rb
236
- - spec/ncoverreporttask_spec.rb
237
228
  - spec/ndepend_spec.rb
238
- - spec/ndependtask_spec.rb
239
- - spec/nunittask_spec.rb
240
229
  - spec/nunittestrunner_spec.rb
241
230
  - spec/patches/docu_patch.rb
242
231
  - spec/patches/fail_patch.rb
243
232
  - spec/patches/system_patch.rb
244
233
  - spec/runcommand_spec.rb
245
- - spec/spec.opts
246
234
  - spec/specflowreport_spec.rb
247
- - spec/specflowreporttask_spec.rb
248
235
  - spec/sqlcmd_spec.rb
249
- - spec/sqlcmdtask_spec.rb
250
- - spec/support/AssemblyInfo/assemblyinfo.yml
251
- - spec/support/CodeCoverage/mspec/assemblies/Machine.Specifications.NUnit.dll
252
- - spec/support/CodeCoverage/mspec/assemblies/Machine.Specifications.dll
253
- - spec/support/CodeCoverage/mspec/assemblies/TestSolution.MSpecTests.dll
254
- - spec/support/CodeCoverage/mspec/assemblies/TestSolution.dll
255
- - spec/support/CodeCoverage/mspec/assemblies/nunit.framework.dll
256
- - spec/support/CodeCoverage/nunit/assemblies/TestSolution.Tests.dll
257
- - spec/support/CodeCoverage/nunit/assemblies/TestSolution.dll
258
- - spec/support/CodeCoverage/nunit/assemblies/nunit.framework.dll
259
- - spec/support/CodeCoverage/nunit/assemblies/with spaces/TestSolution.Tests.dll
260
- - spec/support/CodeCoverage/nunit/assemblies/with spaces/TestSolution.dll
261
- - spec/support/CodeCoverage/nunit/assemblies/with spaces/nunit.framework.dll
262
- - spec/support/CodeCoverage/nunit/failing_assemblies/TestSolution.FailingTests.dll
263
- - spec/support/CodeCoverage/nunit/failing_assemblies/nunit.framework.dll
264
- - spec/support/CodeCoverage/report/coverage.xml
265
- - spec/support/CodeCoverage/xunit/assemblies/TestSolution.XUnitTests.dll
266
- - spec/support/CodeCoverage/xunit/assemblies/TestSolution.dll
267
- - spec/support/CodeCoverage/xunit/assemblies/xunit.dll
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
275
- - spec/support/TestSolution/NDependProject.xml
276
- - spec/support/TestSolution/TestSolution.5.0.ReSharper.user
277
- - spec/support/TestSolution/TestSolution.FailingTests/FailingTestFixture.cs
278
- - spec/support/TestSolution/TestSolution.FailingTests/Properties/AssemblyInfo.cs
279
- - spec/support/TestSolution/TestSolution.FailingTests/TestSolution.FailingTests.csproj
280
- - spec/support/TestSolution/TestSolution.MSpecTests/Properties/AssemblyInfo.cs
281
- - spec/support/TestSolution/TestSolution.MSpecTests/SomeSpecTest.cs
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
288
- - spec/support/TestSolution/TestSolution.Tests/Properties/AssemblyInfo.cs
289
- - spec/support/TestSolution/TestSolution.Tests/SomeTestFixture.cs
290
- - spec/support/TestSolution/TestSolution.Tests/TestSolution.Tests.csproj
291
- - spec/support/TestSolution/TestSolution.XUnitTests/Class1.cs
292
- - spec/support/TestSolution/TestSolution.XUnitTests/FailingTestFixture.cs
293
- - spec/support/TestSolution/TestSolution.XUnitTests/Properties/AssemblyInfo.cs
294
- - spec/support/TestSolution/TestSolution.XUnitTests/TestSolution.XUnitTests.csproj
295
- - spec/support/TestSolution/TestSolution.build
296
- - spec/support/TestSolution/TestSolution.sln
297
- - spec/support/TestSolution/TestSolution/Class1.cs
298
- - spec/support/TestSolution/TestSolution/Properties/AssemblyInfo.cs
299
- - spec/support/TestSolution/TestSolution/TestSolution.csproj
300
236
  - spec/support/assemblyinfotester.rb
301
- - spec/support/csc/File1.cs
302
- - spec/support/csc/File2.cs
303
- - spec/support/csc/output/ignorethis.txt
304
237
  - spec/support/msbuildtestdata.rb
305
238
  - spec/support/nanttestdata.rb
306
239
  - spec/support/ncoverconsoletestdata.rb
307
240
  - spec/support/ncoverreporttestdata.rb
308
241
  - spec/support/spec_helper.rb
309
- - spec/support/test.yml
310
- - spec/support/yamlconfig/msbuild.yml
311
- - spec/support/yamlconfig/yaml_autoconfig_test.yml
312
- - spec/support/zip/files/subfolder/sub file.txt
313
- - spec/support/zip/files/testfile.txt
314
242
  - spec/support/ziptestdata.rb
315
243
  - spec/unzip_spec.rb
316
244
  - spec/xbuild_spec.rb
317
245
  - spec/xunit_spec.rb
318
- - spec/xunittask_spec.rb
319
246
  - spec/yamlconfig_spec.rb
320
247
  - spec/zip_spec.rb
321
- - spec/ziptask_spec.rb
322
- - watchrtesting.rb
323
- - yaml_autoconfig_test.yml
324
248
  has_rdoc: true
325
249
  homepage: http://albacorebuild.net
326
250
  licenses: []
@@ -331,16 +255,20 @@ rdoc_options:
331
255
  require_paths:
332
256
  - lib
333
257
  required_ruby_version: !ruby/object:Gem::Requirement
258
+ none: false
334
259
  requirements:
335
260
  - - ">="
336
261
  - !ruby/object:Gem::Version
262
+ hash: 3
337
263
  segments:
338
264
  - 0
339
265
  version: "0"
340
266
  required_rubygems_version: !ruby/object:Gem::Requirement
267
+ none: false
341
268
  requirements:
342
269
  - - ">"
343
270
  - !ruby/object:Gem::Version
271
+ hash: 25
344
272
  segments:
345
273
  - 1
346
274
  - 3
@@ -349,44 +277,31 @@ required_rubygems_version: !ruby/object:Gem::Requirement
349
277
  requirements: []
350
278
 
351
279
  rubyforge_project:
352
- rubygems_version: 1.3.6
280
+ rubygems_version: 1.3.7
353
281
  signing_key:
354
282
  specification_version: 3
355
283
  summary: Dolphin-Safe Rake Tasks For .NET Systems
356
284
  test_files:
357
285
  - spec/albacoremodel_spec.rb
358
- - spec/assemblyinfotask_spec.rb
359
286
  - spec/assemblyinfo_spec.rb
360
287
  - spec/attrmethods_spec.rb
361
288
  - spec/config_spec.rb
362
289
  - spec/createtask_spec.rb
363
- - spec/csctask_spec.rb
364
290
  - spec/csc_spec.rb
365
- - spec/docutask_spec.rb
366
291
  - spec/docu_spec.rb
367
- - spec/exectask_spec.rb
368
292
  - spec/exec_spec.rb
369
- - spec/msbuildtask_spec.rb
370
293
  - spec/msbuild_spec.rb
371
- - spec/mspectask_spec.rb
372
294
  - spec/mspec_spec.rb
373
- - spec/nanttask_spec.rb
374
295
  - spec/nant_spec.rb
375
- - spec/ncoverconsoletask_spec.rb
376
296
  - spec/ncoverconsole_spec.rb
377
- - spec/ncoverreporttask_spec.rb
378
297
  - spec/ncoverreport_spec.rb
379
- - spec/ndependtask_spec.rb
380
298
  - spec/ndepend_spec.rb
381
- - spec/nunittask_spec.rb
382
299
  - spec/nunittestrunner_spec.rb
383
300
  - spec/patches/docu_patch.rb
384
301
  - spec/patches/fail_patch.rb
385
302
  - spec/patches/system_patch.rb
386
303
  - spec/runcommand_spec.rb
387
- - spec/specflowreporttask_spec.rb
388
304
  - spec/specflowreport_spec.rb
389
- - spec/sqlcmdtask_spec.rb
390
305
  - spec/sqlcmd_spec.rb
391
306
  - spec/support/assemblyinfotester.rb
392
307
  - spec/support/msbuildtestdata.rb
@@ -397,8 +312,6 @@ test_files:
397
312
  - spec/support/ziptestdata.rb
398
313
  - spec/unzip_spec.rb
399
314
  - spec/xbuild_spec.rb
400
- - spec/xunittask_spec.rb
401
315
  - spec/xunit_spec.rb
402
316
  - spec/yamlconfig_spec.rb
403
- - spec/ziptask_spec.rb
404
317
  - spec/zip_spec.rb
@@ -1,28 +0,0 @@
1
- require 'albacore/support/attrmethods'
2
- require 'albacore/support/failure'
3
- require 'albacore/support/logging'
4
- require 'albacore/support/yamlconfig'
5
- require 'albacore/support/runcommand'
6
- require 'albacore/config/config'
7
-
8
- module AlbacoreModel
9
- include Failure
10
- include Logging
11
- include YAMLConfig
12
-
13
- def self.included(obj)
14
- obj.extend AttrMethods
15
- end
16
-
17
- def update_attributes(attrs)
18
- attrs.each do |key, value|
19
- setter = "#{key}="
20
- send(setter, value) if respond_to?(setter)
21
- @logger.warn "#{key} is not a settable attribute on #{self.class}" unless respond_to?(setter)
22
- end
23
- end
24
-
25
- def <<(attrs)
26
- update_attributes attrs
27
- end
28
- end