physique 0.3.10 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (109) hide show
  1. checksums.yaml +4 -4
  2. data/FLUENT_MIGRATOR.md +300 -300
  3. data/Gemfile +3 -3
  4. data/Gemfile.lock +51 -11
  5. data/Guardfile +34 -0
  6. data/README.md +368 -368
  7. data/RUBY_SETUP.md +14 -14
  8. data/Rakefile +1 -1
  9. data/lib/physique.rb +22 -22
  10. data/lib/physique/config.rb +23 -23
  11. data/lib/physique/dsl.rb +46 -46
  12. data/lib/physique/project_path_resolver.rb +45 -45
  13. data/lib/physique/solution.rb +72 -72
  14. data/lib/physique/task_builders/build.rb +76 -69
  15. data/lib/physique/task_builders/default.rb +19 -19
  16. data/lib/physique/task_builders/fluent_migrator.rb +302 -299
  17. data/lib/physique/task_builders/nuget.rb +18 -6
  18. data/lib/physique/task_builders/octopus.rb +4 -2
  19. data/lib/physique/task_builders/publish_nugets.rb +5 -3
  20. data/lib/physique/task_builders/test.rb +4 -4
  21. data/lib/physique/tasks/fluent_migrator.rb +158 -158
  22. data/lib/physique/tasks/nugets_pack.rb +12 -12
  23. data/lib/physique/tasks/octopus_pack.rb +1 -1
  24. data/lib/physique/tasks/sqlcmd.rb +109 -109
  25. data/lib/physique/tasks/versionizer.rb +112 -112
  26. data/lib/physique/tasks_builder.rb +59 -59
  27. data/lib/physique/tool_locator.rb +50 -50
  28. data/lib/physique/version.rb +3 -3
  29. data/physique.gemspec +29 -28
  30. data/spec/fluent_migrator_config_spec.rb +39 -39
  31. data/spec/project_spec.rb +42 -42
  32. data/spec/publish_nugets_spec.rb +40 -40
  33. data/spec/solution_spec.rb +11 -11
  34. data/spec/sqlcmd_spec.rb +146 -146
  35. data/spec/support/shared_contexts/rake.rb +20 -21
  36. data/spec/task_builders/build_spec.rb +25 -25
  37. data/spec/task_builders/default_spec.rb +17 -17
  38. data/spec/task_builders/fluent_migrator_spec.rb +70 -68
  39. data/spec/task_builders/nspec_spec.rb +13 -13
  40. data/spec/task_builders/nuget_spec.rb +16 -16
  41. data/spec/test_data/solutions/.nuget/NuGet.Config +5 -5
  42. data/spec/test_data/solutions/.nuget/NuGet.exe +0 -0
  43. data/spec/test_data/solutions/.nuget/NuGet.targets +144 -144
  44. data/spec/test_data/solutions/.nuget/packages.config +3 -3
  45. data/spec/test_data/solutions/basic/.semver +6 -6
  46. data/spec/test_data/solutions/basic/Basic.Tests/Basic.Tests.csproj +58 -58
  47. data/spec/test_data/solutions/basic/Basic.Tests/Class1.cs +14 -14
  48. data/spec/test_data/solutions/basic/Basic.Tests/Properties/AssemblyInfo.cs +36 -36
  49. data/spec/test_data/solutions/basic/Basic.Tests/packages.config +3 -3
  50. data/spec/test_data/solutions/basic/Basic.sln +28 -28
  51. data/spec/test_data/solutions/basic/Basic/Basic.csproj +52 -52
  52. data/spec/test_data/solutions/basic/Basic/Class1.cs +12 -12
  53. data/spec/test_data/solutions/basic/Basic/Properties/AssemblyInfo.cs +36 -36
  54. data/spec/test_data/solutions/basic/Rakefile.rb +10 -10
  55. data/spec/test_data/solutions/basic/packages.config +3 -3
  56. data/spec/test_data/solutions/fluent-migrator/.semver +6 -6
  57. data/spec/test_data/solutions/fluent-migrator/Basic.Migrations/Migrations/.gitkeep +0 -0
  58. data/spec/test_data/solutions/fluent-migrator/Basic.Migrations/Properties/AssemblyInfo.cs +36 -36
  59. data/spec/test_data/solutions/fluent-migrator/Basic.Migrations/TestMigration.cs +19 -19
  60. data/spec/test_data/solutions/fluent-migrator/Basic.Migrations/_Scripts/create.sql +1 -1
  61. data/spec/test_data/solutions/fluent-migrator/Basic.Migrations/_Scripts/drop.sql +4 -4
  62. data/spec/test_data/solutions/fluent-migrator/Basic.Migrations/_Scripts/seed.sql +1 -1
  63. data/spec/test_data/solutions/fluent-migrator/Basic.Migrations/packages.config +3 -3
  64. data/spec/test_data/solutions/fluent-migrator/Basic.Specs/Basic.Specs.csproj +59 -59
  65. data/spec/test_data/solutions/fluent-migrator/Basic.Specs/Class1.cs +12 -12
  66. data/spec/test_data/solutions/fluent-migrator/Basic.Specs/DebuggerShim.cs +42 -42
  67. data/spec/test_data/solutions/fluent-migrator/Basic.Specs/Properties/AssemblyInfo.cs +36 -36
  68. data/spec/test_data/solutions/fluent-migrator/Basic.Specs/packages.config +3 -3
  69. data/spec/test_data/solutions/fluent-migrator/Basic.sln +39 -39
  70. data/spec/test_data/solutions/fluent-migrator/Basic/Basic.csproj +55 -55
  71. data/spec/test_data/solutions/fluent-migrator/Basic/Class1.cs +12 -12
  72. data/spec/test_data/solutions/fluent-migrator/Basic/Properties/AssemblyInfo.cs +36 -36
  73. data/spec/test_data/solutions/fluent-migrator/Basic/packages.config +2 -2
  74. data/spec/test_data/solutions/fluent-migrator/Rakefile.rb +20 -20
  75. data/spec/test_data/solutions/multiple-fluent-migrator/.semver +6 -6
  76. data/spec/test_data/solutions/multiple-fluent-migrator/Basic.Migrations1/Basic.Migrations1.csproj +52 -52
  77. data/spec/test_data/solutions/multiple-fluent-migrator/Basic.Migrations1/Class1.cs +12 -12
  78. data/spec/test_data/solutions/multiple-fluent-migrator/Basic.Migrations1/Properties/AssemblyInfo.cs +36 -36
  79. data/spec/test_data/solutions/multiple-fluent-migrator/Basic.Migrations2/Basic.Migrations2.csproj +52 -52
  80. data/spec/test_data/solutions/multiple-fluent-migrator/Basic.Migrations2/Class1.cs +12 -12
  81. data/spec/test_data/solutions/multiple-fluent-migrator/Basic.Migrations2/Properties/AssemblyInfo.cs +36 -36
  82. data/spec/test_data/solutions/multiple-fluent-migrator/Basic.Specs/Basic.Specs.csproj +59 -59
  83. data/spec/test_data/solutions/multiple-fluent-migrator/Basic.Specs/Class1.cs +12 -12
  84. data/spec/test_data/solutions/multiple-fluent-migrator/Basic.Specs/DebuggerShim.cs +42 -42
  85. data/spec/test_data/solutions/multiple-fluent-migrator/Basic.Specs/Properties/AssemblyInfo.cs +36 -36
  86. data/spec/test_data/solutions/multiple-fluent-migrator/Basic.Specs/packages.config +3 -3
  87. data/spec/test_data/solutions/multiple-fluent-migrator/Basic.sln +45 -45
  88. data/spec/test_data/solutions/multiple-fluent-migrator/Basic/Basic.csproj +55 -55
  89. data/spec/test_data/solutions/multiple-fluent-migrator/Basic/Class1.cs +12 -12
  90. data/spec/test_data/solutions/multiple-fluent-migrator/Basic/Properties/AssemblyInfo.cs +36 -36
  91. data/spec/test_data/solutions/multiple-fluent-migrator/Basic/packages.config +2 -2
  92. data/spec/test_data/solutions/multiple-fluent-migrator/Rakefile.rb +28 -28
  93. data/spec/test_data/solutions/nspec/.semver +6 -6
  94. data/spec/test_data/solutions/nspec/Basic.Specs/Basic.Specs.csproj +59 -59
  95. data/spec/test_data/solutions/nspec/Basic.Specs/Class1.cs +12 -12
  96. data/spec/test_data/solutions/nspec/Basic.Specs/DebuggerShim.cs +42 -42
  97. data/spec/test_data/solutions/nspec/Basic.Specs/Properties/AssemblyInfo.cs +36 -36
  98. data/spec/test_data/solutions/nspec/Basic.Specs/packages.config +3 -3
  99. data/spec/test_data/solutions/nspec/Basic.sln +28 -28
  100. data/spec/test_data/solutions/nspec/Basic/Basic.csproj +55 -55
  101. data/spec/test_data/solutions/nspec/Basic/Class1.cs +12 -12
  102. data/spec/test_data/solutions/nspec/Basic/Properties/AssemblyInfo.cs +36 -36
  103. data/spec/test_data/solutions/nspec/Basic/packages.config +2 -2
  104. data/spec/test_data/solutions/nspec/Rakefile.rb +14 -14
  105. data/spec/test_data/tool_locator/Program Files/Microsoft SQL Server/110/Tools/Binn/SQLCMD.exe.txt b/data/spec/test_data/tool_locator/Program Files/Microsoft SQL → Server/110/Tools/Binn/SQLCMD.exe.txt +0 -0
  106. data/spec/test_data/tool_locator/Windows/Microsoft.NET/Framework/v3.5/MSBuild.exe.txt +0 -0
  107. data/spec/test_data/tool_locator/Windows/Microsoft.NET/Framework/v4.0.30319/MSBuild.exe.txt +0 -0
  108. data/spec/tool_locator_spec.rb +27 -29
  109. metadata +33 -16
@@ -1,3 +1,3 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <packages>
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <packages>
3
3
  </packages>
@@ -1,28 +1,28 @@
1
- require 'physique'
2
-
3
- Physique::Solution.new do |s|
4
- s.file = 'Basic.sln'
5
-
6
- s.use_nuget do |n|
7
- n.exe = '../.nuget/nuget.exe'
8
- n.restore_location = 'packages'
9
- end
10
-
11
- s.run_tests do |t|
12
- t.runner = :nspec
13
- end
14
-
15
- s.fluently_migrate do |t|
16
- t.task_alias = 'client'
17
- t.instance = '(local)'
18
- t.name = 'MyDatabase'
19
- t.project = 'Basic.Migrations1\Basic.Migrations1.csproj'
20
- end
21
-
22
- s.fluently_migrate do |t|
23
- t.task_alias = 'server'
24
- t.instance = '(local)'
25
- t.name = 'MyDatabase'
26
- t.project = 'Basic.Migrations2\Basic.Migrations2.csproj'
27
- end
28
- end
1
+ require 'physique'
2
+
3
+ Physique::Solution.new do |s|
4
+ s.file = 'Basic.sln'
5
+
6
+ s.use_nuget do |n|
7
+ n.exe = '../.nuget/nuget.exe'
8
+ n.restore_location = 'packages'
9
+ end
10
+
11
+ s.run_tests do |t|
12
+ t.runner = :nspec
13
+ end
14
+
15
+ s.fluently_migrate do |t|
16
+ t.task_alias = 'client'
17
+ t.instance = ENV['DATABASE_INSTANCE'] || '(local)'
18
+ t.name = 'MyDatabase'
19
+ t.project = 'Basic.Migrations1\Basic.Migrations1.csproj'
20
+ end
21
+
22
+ s.fluently_migrate do |t|
23
+ t.task_alias = 'server'
24
+ t.instance = ENV['DATABASE_INSTANCE'] || '(local)'
25
+ t.name = 'MyDatabase'
26
+ t.project = 'Basic.Migrations2\Basic.Migrations2.csproj'
27
+ end
28
+ end
@@ -1,6 +1,6 @@
1
- ---
2
- :major: 0
3
- :minor: 0
4
- :patch: 0
5
- :special: ''
6
- :metadata: ''
1
+ ---
2
+ :major: 0
3
+ :minor: 0
4
+ :patch: 0
5
+ :special: ''
6
+ :metadata: ''
@@ -1,60 +1,60 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3
- <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
4
- <PropertyGroup>
5
- <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
6
- <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
7
- <ProjectGuid>{85BD5CF1-C9BF-4F94-9063-C72C165A327C}</ProjectGuid>
8
- <OutputType>Library</OutputType>
9
- <AppDesignerFolder>Properties</AppDesignerFolder>
10
- <RootNamespace>Basic.Specs</RootNamespace>
11
- <AssemblyName>Basic.Specs</AssemblyName>
12
- <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
13
- <FileAlignment>512</FileAlignment>
14
- </PropertyGroup>
15
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
16
- <DebugSymbols>true</DebugSymbols>
17
- <DebugType>full</DebugType>
18
- <Optimize>false</Optimize>
19
- <OutputPath>bin\Debug\</OutputPath>
20
- <DefineConstants>DEBUG;TRACE</DefineConstants>
21
- <ErrorReport>prompt</ErrorReport>
22
- <WarningLevel>4</WarningLevel>
23
- </PropertyGroup>
24
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
25
- <DebugType>pdbonly</DebugType>
26
- <Optimize>true</Optimize>
27
- <OutputPath>bin\Release\</OutputPath>
28
- <DefineConstants>TRACE</DefineConstants>
29
- <ErrorReport>prompt</ErrorReport>
30
- <WarningLevel>4</WarningLevel>
31
- </PropertyGroup>
32
- <ItemGroup>
33
- <Reference Include="NSpec">
34
- <HintPath>..\packages\nspec.0.9.68\lib\NSpec.dll</HintPath>
35
- </Reference>
36
- <Reference Include="System" />
37
- <Reference Include="System.Core" />
38
- <Reference Include="System.Xml.Linq" />
39
- <Reference Include="System.Data.DataSetExtensions" />
40
- <Reference Include="Microsoft.CSharp" />
41
- <Reference Include="System.Data" />
42
- <Reference Include="System.Xml" />
43
- </ItemGroup>
44
- <ItemGroup>
45
- <Compile Include="Class1.cs" />
46
- <Compile Include="DebuggerShim.cs" />
47
- <Compile Include="Properties\AssemblyInfo.cs" />
48
- </ItemGroup>
49
- <ItemGroup>
50
- <None Include="packages.config" />
51
- </ItemGroup>
52
- <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
53
- <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
54
- Other similar extension points exist, see Microsoft.Common.targets.
55
- <Target Name="BeforeBuild">
56
- </Target>
57
- <Target Name="AfterBuild">
58
- </Target>
59
- -->
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3
+ <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
4
+ <PropertyGroup>
5
+ <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
6
+ <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
7
+ <ProjectGuid>{85BD5CF1-C9BF-4F94-9063-C72C165A327C}</ProjectGuid>
8
+ <OutputType>Library</OutputType>
9
+ <AppDesignerFolder>Properties</AppDesignerFolder>
10
+ <RootNamespace>Basic.Specs</RootNamespace>
11
+ <AssemblyName>Basic.Specs</AssemblyName>
12
+ <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
13
+ <FileAlignment>512</FileAlignment>
14
+ </PropertyGroup>
15
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
16
+ <DebugSymbols>true</DebugSymbols>
17
+ <DebugType>full</DebugType>
18
+ <Optimize>false</Optimize>
19
+ <OutputPath>bin\Debug\</OutputPath>
20
+ <DefineConstants>DEBUG;TRACE</DefineConstants>
21
+ <ErrorReport>prompt</ErrorReport>
22
+ <WarningLevel>4</WarningLevel>
23
+ </PropertyGroup>
24
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
25
+ <DebugType>pdbonly</DebugType>
26
+ <Optimize>true</Optimize>
27
+ <OutputPath>bin\Release\</OutputPath>
28
+ <DefineConstants>TRACE</DefineConstants>
29
+ <ErrorReport>prompt</ErrorReport>
30
+ <WarningLevel>4</WarningLevel>
31
+ </PropertyGroup>
32
+ <ItemGroup>
33
+ <Reference Include="NSpec">
34
+ <HintPath>..\packages\nspec.0.9.68\lib\NSpec.dll</HintPath>
35
+ </Reference>
36
+ <Reference Include="System" />
37
+ <Reference Include="System.Core" />
38
+ <Reference Include="System.Xml.Linq" />
39
+ <Reference Include="System.Data.DataSetExtensions" />
40
+ <Reference Include="Microsoft.CSharp" />
41
+ <Reference Include="System.Data" />
42
+ <Reference Include="System.Xml" />
43
+ </ItemGroup>
44
+ <ItemGroup>
45
+ <Compile Include="Class1.cs" />
46
+ <Compile Include="DebuggerShim.cs" />
47
+ <Compile Include="Properties\AssemblyInfo.cs" />
48
+ </ItemGroup>
49
+ <ItemGroup>
50
+ <None Include="packages.config" />
51
+ </ItemGroup>
52
+ <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
53
+ <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
54
+ Other similar extension points exist, see Microsoft.Common.targets.
55
+ <Target Name="BeforeBuild">
56
+ </Target>
57
+ <Target Name="AfterBuild">
58
+ </Target>
59
+ -->
60
60
  </Project>
@@ -1,12 +1,12 @@
1
- using NSpec;
2
-
3
- namespace Basic.Tests
4
- {
5
- public class describe_a_class : nspec
6
- {
7
- public void it_should_all_work_out()
8
- {
9
- 1.should_be(1);
10
- }
11
- }
12
- }
1
+ using NSpec;
2
+
3
+ namespace Basic.Tests
4
+ {
5
+ public class describe_a_class : nspec
6
+ {
7
+ public void it_should_all_work_out()
8
+ {
9
+ 1.should_be(1);
10
+ }
11
+ }
12
+ }
@@ -1,42 +1,42 @@
1
- using System.Linq;
2
- using System.Reflection;
3
- using NSpec;
4
- using NSpec.Domain;
5
- using NSpec.Domain.Formatters;
6
-
7
- /*
8
- * Howdy,
9
- *
10
- * This is NSpec's DebuggerShim. It will allow you to use TestDriven.Net or Resharper's test runner to run
11
- * NSpec tests that are in the same Assembly as this class.
12
- *
13
- * It's DEFINITELY worth trying specwatchr (http://nspec.org/continuoustesting). Specwatchr automatically
14
- * runs tests for you.
15
- *
16
- * If you ever want to debug a test when using Specwatchr, simply put the following line in your test:
17
- *
18
- * System.Diagnostics.Debugger.Launch()
19
- *
20
- * Visual Studio will detect this and will give you a window which you can use to attach a debugger.
21
- */
22
-
23
- //[TestFixture]
24
- public class DebuggerShim
25
- {
26
- //[Test]
27
- public void debug()
28
- {
29
- var tagOrClassName = "class_or_tag_you_want_to_debug";
30
-
31
- var types = GetType().Assembly.GetTypes();
32
- // OR
33
- // var types = new Type[]{typeof(Some_Type_Containg_some_Specs)};
34
- var finder = new SpecFinder(types, "");
35
- var builder = new ContextBuilder(finder, new Tags().Parse(tagOrClassName), new DefaultConventions());
36
- var runner = new ContextRunner(builder, new ConsoleFormatter(), false);
37
- var results = runner.Run(builder.Contexts().Build());
38
-
39
- //assert that there aren't any failures
40
- results.Failures().Count().should_be(0);
41
- }
42
- }
1
+ using System.Linq;
2
+ using System.Reflection;
3
+ using NSpec;
4
+ using NSpec.Domain;
5
+ using NSpec.Domain.Formatters;
6
+
7
+ /*
8
+ * Howdy,
9
+ *
10
+ * This is NSpec's DebuggerShim. It will allow you to use TestDriven.Net or Resharper's test runner to run
11
+ * NSpec tests that are in the same Assembly as this class.
12
+ *
13
+ * It's DEFINITELY worth trying specwatchr (http://nspec.org/continuoustesting). Specwatchr automatically
14
+ * runs tests for you.
15
+ *
16
+ * If you ever want to debug a test when using Specwatchr, simply put the following line in your test:
17
+ *
18
+ * System.Diagnostics.Debugger.Launch()
19
+ *
20
+ * Visual Studio will detect this and will give you a window which you can use to attach a debugger.
21
+ */
22
+
23
+ //[TestFixture]
24
+ public class DebuggerShim
25
+ {
26
+ //[Test]
27
+ public void debug()
28
+ {
29
+ var tagOrClassName = "class_or_tag_you_want_to_debug";
30
+
31
+ var types = GetType().Assembly.GetTypes();
32
+ // OR
33
+ // var types = new Type[]{typeof(Some_Type_Containg_some_Specs)};
34
+ var finder = new SpecFinder(types, "");
35
+ var builder = new ContextBuilder(finder, new Tags().Parse(tagOrClassName), new DefaultConventions());
36
+ var runner = new ContextRunner(builder, new ConsoleFormatter(), false);
37
+ var results = runner.Run(builder.Contexts().Build());
38
+
39
+ //assert that there aren't any failures
40
+ results.Failures().Count().should_be(0);
41
+ }
42
+ }
@@ -1,36 +1,36 @@
1
- using System.Reflection;
2
- using System.Runtime.CompilerServices;
3
- using System.Runtime.InteropServices;
4
-
5
- // General Information about an assembly is controlled through the following
6
- // set of attributes. Change these attribute values to modify the information
7
- // associated with an assembly.
8
- [assembly: AssemblyTitle("Basic.Specs")]
9
- [assembly: AssemblyDescription("")]
10
- [assembly: AssemblyConfiguration("")]
11
- [assembly: AssemblyCompany("")]
12
- [assembly: AssemblyProduct("Basic.Specs")]
13
- [assembly: AssemblyCopyright("Copyright © 2015")]
14
- [assembly: AssemblyTrademark("")]
15
- [assembly: AssemblyCulture("")]
16
-
17
- // Setting ComVisible to false makes the types in this assembly not visible
18
- // to COM components. If you need to access a type in this assembly from
19
- // COM, set the ComVisible attribute to true on that type.
20
- [assembly: ComVisible(false)]
21
-
22
- // The following GUID is for the ID of the typelib if this project is exposed to COM
23
- [assembly: Guid("22d050cf-1c33-44e6-bf20-e6f8858ae6fc")]
24
-
25
- // Version information for an assembly consists of the following four values:
26
- //
27
- // Major Version
28
- // Minor Version
29
- // Build Number
30
- // Revision
31
- //
32
- // You can specify all the values or you can default the Build and Revision Numbers
33
- // by using the '*' as shown below:
34
- // [assembly: AssemblyVersion("1.0.*")]
35
- [assembly: AssemblyVersion("1.0.0.0")]
36
- [assembly: AssemblyFileVersion("1.0.0.0")]
1
+ using System.Reflection;
2
+ using System.Runtime.CompilerServices;
3
+ using System.Runtime.InteropServices;
4
+
5
+ // General Information about an assembly is controlled through the following
6
+ // set of attributes. Change these attribute values to modify the information
7
+ // associated with an assembly.
8
+ [assembly: AssemblyTitle("Basic.Specs")]
9
+ [assembly: AssemblyDescription("")]
10
+ [assembly: AssemblyConfiguration("")]
11
+ [assembly: AssemblyCompany("")]
12
+ [assembly: AssemblyProduct("Basic.Specs")]
13
+ [assembly: AssemblyCopyright("Copyright © 2015")]
14
+ [assembly: AssemblyTrademark("")]
15
+ [assembly: AssemblyCulture("")]
16
+
17
+ // Setting ComVisible to false makes the types in this assembly not visible
18
+ // to COM components. If you need to access a type in this assembly from
19
+ // COM, set the ComVisible attribute to true on that type.
20
+ [assembly: ComVisible(false)]
21
+
22
+ // The following GUID is for the ID of the typelib if this project is exposed to COM
23
+ [assembly: Guid("22d050cf-1c33-44e6-bf20-e6f8858ae6fc")]
24
+
25
+ // Version information for an assembly consists of the following four values:
26
+ //
27
+ // Major Version
28
+ // Minor Version
29
+ // Build Number
30
+ // Revision
31
+ //
32
+ // You can specify all the values or you can default the Build and Revision Numbers
33
+ // by using the '*' as shown below:
34
+ // [assembly: AssemblyVersion("1.0.*")]
35
+ [assembly: AssemblyVersion("1.0.0.0")]
36
+ [assembly: AssemblyFileVersion("1.0.0.0")]
@@ -1,4 +1,4 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <packages>
3
- <package id="nspec" version="0.9.68" targetFramework="net45" />
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <packages>
3
+ <package id="nspec" version="0.9.68" targetFramework="net45" />
4
4
  </packages>
@@ -1,28 +1,28 @@
1
- 
2
- Microsoft Visual Studio Solution File, Format Version 12.00
3
- # Visual Studio 2013
4
- VisualStudioVersion = 12.0.30110.0
5
- MinimumVisualStudioVersion = 10.0.40219.1
6
- Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Basic", "Basic\Basic.csproj", "{AFDC274D-E5E5-4B37-AA08-4878AA382A12}"
7
- EndProject
8
- Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Basic.Specs", "Basic.Specs\Basic.Specs.csproj", "{85BD5CF1-C9BF-4F94-9063-C72C165A327C}"
9
- EndProject
10
- Global
11
- GlobalSection(SolutionConfigurationPlatforms) = preSolution
12
- Debug|Any CPU = Debug|Any CPU
13
- Release|Any CPU = Release|Any CPU
14
- EndGlobalSection
15
- GlobalSection(ProjectConfigurationPlatforms) = postSolution
16
- {AFDC274D-E5E5-4B37-AA08-4878AA382A12}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
17
- {AFDC274D-E5E5-4B37-AA08-4878AA382A12}.Debug|Any CPU.Build.0 = Debug|Any CPU
18
- {AFDC274D-E5E5-4B37-AA08-4878AA382A12}.Release|Any CPU.ActiveCfg = Release|Any CPU
19
- {AFDC274D-E5E5-4B37-AA08-4878AA382A12}.Release|Any CPU.Build.0 = Release|Any CPU
20
- {85BD5CF1-C9BF-4F94-9063-C72C165A327C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
21
- {85BD5CF1-C9BF-4F94-9063-C72C165A327C}.Debug|Any CPU.Build.0 = Debug|Any CPU
22
- {85BD5CF1-C9BF-4F94-9063-C72C165A327C}.Release|Any CPU.ActiveCfg = Release|Any CPU
23
- {85BD5CF1-C9BF-4F94-9063-C72C165A327C}.Release|Any CPU.Build.0 = Release|Any CPU
24
- EndGlobalSection
25
- GlobalSection(SolutionProperties) = preSolution
26
- HideSolutionNode = FALSE
27
- EndGlobalSection
28
- EndGlobal
1
+ 
2
+ Microsoft Visual Studio Solution File, Format Version 12.00
3
+ # Visual Studio 2013
4
+ VisualStudioVersion = 12.0.30110.0
5
+ MinimumVisualStudioVersion = 10.0.40219.1
6
+ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Basic", "Basic\Basic.csproj", "{AFDC274D-E5E5-4B37-AA08-4878AA382A12}"
7
+ EndProject
8
+ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Basic.Specs", "Basic.Specs\Basic.Specs.csproj", "{85BD5CF1-C9BF-4F94-9063-C72C165A327C}"
9
+ EndProject
10
+ Global
11
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
12
+ Debug|Any CPU = Debug|Any CPU
13
+ Release|Any CPU = Release|Any CPU
14
+ EndGlobalSection
15
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
16
+ {AFDC274D-E5E5-4B37-AA08-4878AA382A12}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
17
+ {AFDC274D-E5E5-4B37-AA08-4878AA382A12}.Debug|Any CPU.Build.0 = Debug|Any CPU
18
+ {AFDC274D-E5E5-4B37-AA08-4878AA382A12}.Release|Any CPU.ActiveCfg = Release|Any CPU
19
+ {AFDC274D-E5E5-4B37-AA08-4878AA382A12}.Release|Any CPU.Build.0 = Release|Any CPU
20
+ {85BD5CF1-C9BF-4F94-9063-C72C165A327C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
21
+ {85BD5CF1-C9BF-4F94-9063-C72C165A327C}.Debug|Any CPU.Build.0 = Debug|Any CPU
22
+ {85BD5CF1-C9BF-4F94-9063-C72C165A327C}.Release|Any CPU.ActiveCfg = Release|Any CPU
23
+ {85BD5CF1-C9BF-4F94-9063-C72C165A327C}.Release|Any CPU.Build.0 = Release|Any CPU
24
+ EndGlobalSection
25
+ GlobalSection(SolutionProperties) = preSolution
26
+ HideSolutionNode = FALSE
27
+ EndGlobalSection
28
+ EndGlobal
@@ -1,56 +1,56 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3
- <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
4
- <PropertyGroup>
5
- <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
6
- <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
7
- <ProjectGuid>{AFDC274D-E5E5-4B37-AA08-4878AA382A12}</ProjectGuid>
8
- <OutputType>Library</OutputType>
9
- <AppDesignerFolder>Properties</AppDesignerFolder>
10
- <RootNamespace>Basic</RootNamespace>
11
- <AssemblyName>Basic</AssemblyName>
12
- <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
13
- <FileAlignment>512</FileAlignment>
14
- </PropertyGroup>
15
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
16
- <DebugSymbols>true</DebugSymbols>
17
- <DebugType>full</DebugType>
18
- <Optimize>false</Optimize>
19
- <OutputPath>bin\Debug\</OutputPath>
20
- <DefineConstants>DEBUG;TRACE</DefineConstants>
21
- <ErrorReport>prompt</ErrorReport>
22
- <WarningLevel>4</WarningLevel>
23
- </PropertyGroup>
24
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
25
- <DebugType>pdbonly</DebugType>
26
- <Optimize>true</Optimize>
27
- <OutputPath>bin\Release\</OutputPath>
28
- <DefineConstants>TRACE</DefineConstants>
29
- <ErrorReport>prompt</ErrorReport>
30
- <WarningLevel>4</WarningLevel>
31
- </PropertyGroup>
32
- <ItemGroup>
33
- <Reference Include="System" />
34
- <Reference Include="System.Core" />
35
- <Reference Include="System.Xml.Linq" />
36
- <Reference Include="System.Data.DataSetExtensions" />
37
- <Reference Include="Microsoft.CSharp" />
38
- <Reference Include="System.Data" />
39
- <Reference Include="System.Xml" />
40
- </ItemGroup>
41
- <ItemGroup>
42
- <Compile Include="Class1.cs" />
43
- <Compile Include="Properties\AssemblyInfo.cs" />
44
- </ItemGroup>
45
- <ItemGroup>
46
- <None Include="packages.config" />
47
- </ItemGroup>
48
- <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
49
- <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
50
- Other similar extension points exist, see Microsoft.Common.targets.
51
- <Target Name="BeforeBuild">
52
- </Target>
53
- <Target Name="AfterBuild">
54
- </Target>
55
- -->
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3
+ <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
4
+ <PropertyGroup>
5
+ <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
6
+ <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
7
+ <ProjectGuid>{AFDC274D-E5E5-4B37-AA08-4878AA382A12}</ProjectGuid>
8
+ <OutputType>Library</OutputType>
9
+ <AppDesignerFolder>Properties</AppDesignerFolder>
10
+ <RootNamespace>Basic</RootNamespace>
11
+ <AssemblyName>Basic</AssemblyName>
12
+ <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
13
+ <FileAlignment>512</FileAlignment>
14
+ </PropertyGroup>
15
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
16
+ <DebugSymbols>true</DebugSymbols>
17
+ <DebugType>full</DebugType>
18
+ <Optimize>false</Optimize>
19
+ <OutputPath>bin\Debug\</OutputPath>
20
+ <DefineConstants>DEBUG;TRACE</DefineConstants>
21
+ <ErrorReport>prompt</ErrorReport>
22
+ <WarningLevel>4</WarningLevel>
23
+ </PropertyGroup>
24
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
25
+ <DebugType>pdbonly</DebugType>
26
+ <Optimize>true</Optimize>
27
+ <OutputPath>bin\Release\</OutputPath>
28
+ <DefineConstants>TRACE</DefineConstants>
29
+ <ErrorReport>prompt</ErrorReport>
30
+ <WarningLevel>4</WarningLevel>
31
+ </PropertyGroup>
32
+ <ItemGroup>
33
+ <Reference Include="System" />
34
+ <Reference Include="System.Core" />
35
+ <Reference Include="System.Xml.Linq" />
36
+ <Reference Include="System.Data.DataSetExtensions" />
37
+ <Reference Include="Microsoft.CSharp" />
38
+ <Reference Include="System.Data" />
39
+ <Reference Include="System.Xml" />
40
+ </ItemGroup>
41
+ <ItemGroup>
42
+ <Compile Include="Class1.cs" />
43
+ <Compile Include="Properties\AssemblyInfo.cs" />
44
+ </ItemGroup>
45
+ <ItemGroup>
46
+ <None Include="packages.config" />
47
+ </ItemGroup>
48
+ <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
49
+ <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
50
+ Other similar extension points exist, see Microsoft.Common.targets.
51
+ <Target Name="BeforeBuild">
52
+ </Target>
53
+ <Target Name="AfterBuild">
54
+ </Target>
55
+ -->
56
56
  </Project>