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.
- checksums.yaml +4 -4
- data/FLUENT_MIGRATOR.md +300 -300
- data/Gemfile +3 -3
- data/Gemfile.lock +51 -11
- data/Guardfile +34 -0
- data/README.md +368 -368
- data/RUBY_SETUP.md +14 -14
- data/Rakefile +1 -1
- data/lib/physique.rb +22 -22
- data/lib/physique/config.rb +23 -23
- data/lib/physique/dsl.rb +46 -46
- data/lib/physique/project_path_resolver.rb +45 -45
- data/lib/physique/solution.rb +72 -72
- data/lib/physique/task_builders/build.rb +76 -69
- data/lib/physique/task_builders/default.rb +19 -19
- data/lib/physique/task_builders/fluent_migrator.rb +302 -299
- data/lib/physique/task_builders/nuget.rb +18 -6
- data/lib/physique/task_builders/octopus.rb +4 -2
- data/lib/physique/task_builders/publish_nugets.rb +5 -3
- data/lib/physique/task_builders/test.rb +4 -4
- data/lib/physique/tasks/fluent_migrator.rb +158 -158
- data/lib/physique/tasks/nugets_pack.rb +12 -12
- data/lib/physique/tasks/octopus_pack.rb +1 -1
- data/lib/physique/tasks/sqlcmd.rb +109 -109
- data/lib/physique/tasks/versionizer.rb +112 -112
- data/lib/physique/tasks_builder.rb +59 -59
- data/lib/physique/tool_locator.rb +50 -50
- data/lib/physique/version.rb +3 -3
- data/physique.gemspec +29 -28
- data/spec/fluent_migrator_config_spec.rb +39 -39
- data/spec/project_spec.rb +42 -42
- data/spec/publish_nugets_spec.rb +40 -40
- data/spec/solution_spec.rb +11 -11
- data/spec/sqlcmd_spec.rb +146 -146
- data/spec/support/shared_contexts/rake.rb +20 -21
- data/spec/task_builders/build_spec.rb +25 -25
- data/spec/task_builders/default_spec.rb +17 -17
- data/spec/task_builders/fluent_migrator_spec.rb +70 -68
- data/spec/task_builders/nspec_spec.rb +13 -13
- data/spec/task_builders/nuget_spec.rb +16 -16
- data/spec/test_data/solutions/.nuget/NuGet.Config +5 -5
- data/spec/test_data/solutions/.nuget/NuGet.exe +0 -0
- data/spec/test_data/solutions/.nuget/NuGet.targets +144 -144
- data/spec/test_data/solutions/.nuget/packages.config +3 -3
- data/spec/test_data/solutions/basic/.semver +6 -6
- data/spec/test_data/solutions/basic/Basic.Tests/Basic.Tests.csproj +58 -58
- data/spec/test_data/solutions/basic/Basic.Tests/Class1.cs +14 -14
- data/spec/test_data/solutions/basic/Basic.Tests/Properties/AssemblyInfo.cs +36 -36
- data/spec/test_data/solutions/basic/Basic.Tests/packages.config +3 -3
- data/spec/test_data/solutions/basic/Basic.sln +28 -28
- data/spec/test_data/solutions/basic/Basic/Basic.csproj +52 -52
- data/spec/test_data/solutions/basic/Basic/Class1.cs +12 -12
- data/spec/test_data/solutions/basic/Basic/Properties/AssemblyInfo.cs +36 -36
- data/spec/test_data/solutions/basic/Rakefile.rb +10 -10
- data/spec/test_data/solutions/basic/packages.config +3 -3
- data/spec/test_data/solutions/fluent-migrator/.semver +6 -6
- data/spec/test_data/solutions/fluent-migrator/Basic.Migrations/Migrations/.gitkeep +0 -0
- data/spec/test_data/solutions/fluent-migrator/Basic.Migrations/Properties/AssemblyInfo.cs +36 -36
- data/spec/test_data/solutions/fluent-migrator/Basic.Migrations/TestMigration.cs +19 -19
- data/spec/test_data/solutions/fluent-migrator/Basic.Migrations/_Scripts/create.sql +1 -1
- data/spec/test_data/solutions/fluent-migrator/Basic.Migrations/_Scripts/drop.sql +4 -4
- data/spec/test_data/solutions/fluent-migrator/Basic.Migrations/_Scripts/seed.sql +1 -1
- data/spec/test_data/solutions/fluent-migrator/Basic.Migrations/packages.config +3 -3
- data/spec/test_data/solutions/fluent-migrator/Basic.Specs/Basic.Specs.csproj +59 -59
- data/spec/test_data/solutions/fluent-migrator/Basic.Specs/Class1.cs +12 -12
- data/spec/test_data/solutions/fluent-migrator/Basic.Specs/DebuggerShim.cs +42 -42
- data/spec/test_data/solutions/fluent-migrator/Basic.Specs/Properties/AssemblyInfo.cs +36 -36
- data/spec/test_data/solutions/fluent-migrator/Basic.Specs/packages.config +3 -3
- data/spec/test_data/solutions/fluent-migrator/Basic.sln +39 -39
- data/spec/test_data/solutions/fluent-migrator/Basic/Basic.csproj +55 -55
- data/spec/test_data/solutions/fluent-migrator/Basic/Class1.cs +12 -12
- data/spec/test_data/solutions/fluent-migrator/Basic/Properties/AssemblyInfo.cs +36 -36
- data/spec/test_data/solutions/fluent-migrator/Basic/packages.config +2 -2
- data/spec/test_data/solutions/fluent-migrator/Rakefile.rb +20 -20
- data/spec/test_data/solutions/multiple-fluent-migrator/.semver +6 -6
- data/spec/test_data/solutions/multiple-fluent-migrator/Basic.Migrations1/Basic.Migrations1.csproj +52 -52
- data/spec/test_data/solutions/multiple-fluent-migrator/Basic.Migrations1/Class1.cs +12 -12
- data/spec/test_data/solutions/multiple-fluent-migrator/Basic.Migrations1/Properties/AssemblyInfo.cs +36 -36
- data/spec/test_data/solutions/multiple-fluent-migrator/Basic.Migrations2/Basic.Migrations2.csproj +52 -52
- data/spec/test_data/solutions/multiple-fluent-migrator/Basic.Migrations2/Class1.cs +12 -12
- data/spec/test_data/solutions/multiple-fluent-migrator/Basic.Migrations2/Properties/AssemblyInfo.cs +36 -36
- data/spec/test_data/solutions/multiple-fluent-migrator/Basic.Specs/Basic.Specs.csproj +59 -59
- data/spec/test_data/solutions/multiple-fluent-migrator/Basic.Specs/Class1.cs +12 -12
- data/spec/test_data/solutions/multiple-fluent-migrator/Basic.Specs/DebuggerShim.cs +42 -42
- data/spec/test_data/solutions/multiple-fluent-migrator/Basic.Specs/Properties/AssemblyInfo.cs +36 -36
- data/spec/test_data/solutions/multiple-fluent-migrator/Basic.Specs/packages.config +3 -3
- data/spec/test_data/solutions/multiple-fluent-migrator/Basic.sln +45 -45
- data/spec/test_data/solutions/multiple-fluent-migrator/Basic/Basic.csproj +55 -55
- data/spec/test_data/solutions/multiple-fluent-migrator/Basic/Class1.cs +12 -12
- data/spec/test_data/solutions/multiple-fluent-migrator/Basic/Properties/AssemblyInfo.cs +36 -36
- data/spec/test_data/solutions/multiple-fluent-migrator/Basic/packages.config +2 -2
- data/spec/test_data/solutions/multiple-fluent-migrator/Rakefile.rb +28 -28
- data/spec/test_data/solutions/nspec/.semver +6 -6
- data/spec/test_data/solutions/nspec/Basic.Specs/Basic.Specs.csproj +59 -59
- data/spec/test_data/solutions/nspec/Basic.Specs/Class1.cs +12 -12
- data/spec/test_data/solutions/nspec/Basic.Specs/DebuggerShim.cs +42 -42
- data/spec/test_data/solutions/nspec/Basic.Specs/Properties/AssemblyInfo.cs +36 -36
- data/spec/test_data/solutions/nspec/Basic.Specs/packages.config +3 -3
- data/spec/test_data/solutions/nspec/Basic.sln +28 -28
- data/spec/test_data/solutions/nspec/Basic/Basic.csproj +55 -55
- data/spec/test_data/solutions/nspec/Basic/Class1.cs +12 -12
- data/spec/test_data/solutions/nspec/Basic/Properties/AssemblyInfo.cs +36 -36
- data/spec/test_data/solutions/nspec/Basic/packages.config +2 -2
- data/spec/test_data/solutions/nspec/Rakefile.rb +14 -14
- 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
- data/spec/test_data/tool_locator/Windows/Microsoft.NET/Framework/v3.5/MSBuild.exe.txt +0 -0
- data/spec/test_data/tool_locator/Windows/Microsoft.NET/Framework/v4.0.30319/MSBuild.exe.txt +0 -0
- data/spec/tool_locator_spec.rb +27 -29
- metadata +33 -16
@@ -1,12 +1,12 @@
|
|
1
|
-
using System;
|
2
|
-
using System.Collections.Generic;
|
3
|
-
using System.Linq;
|
4
|
-
using System.Text;
|
5
|
-
using System.Threading.Tasks;
|
6
|
-
|
7
|
-
namespace Basic.Migrations
|
8
|
-
{
|
9
|
-
public class Class1
|
10
|
-
{
|
11
|
-
}
|
12
|
-
}
|
1
|
+
using System;
|
2
|
+
using System.Collections.Generic;
|
3
|
+
using System.Linq;
|
4
|
+
using System.Text;
|
5
|
+
using System.Threading.Tasks;
|
6
|
+
|
7
|
+
namespace Basic.Migrations
|
8
|
+
{
|
9
|
+
public class Class1
|
10
|
+
{
|
11
|
+
}
|
12
|
+
}
|
data/spec/test_data/solutions/multiple-fluent-migrator/Basic.Migrations1/Properties/AssemblyInfo.cs
CHANGED
@@ -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.Migrations")]
|
9
|
-
[assembly: AssemblyDescription("")]
|
10
|
-
[assembly: AssemblyConfiguration("")]
|
11
|
-
[assembly: AssemblyCompany("")]
|
12
|
-
[assembly: AssemblyProduct("Basic.Migrations")]
|
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("a3fc8dd7-523f-4e07-a502-719c4d35ad76")]
|
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.Migrations")]
|
9
|
+
[assembly: AssemblyDescription("")]
|
10
|
+
[assembly: AssemblyConfiguration("")]
|
11
|
+
[assembly: AssemblyCompany("")]
|
12
|
+
[assembly: AssemblyProduct("Basic.Migrations")]
|
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("a3fc8dd7-523f-4e07-a502-719c4d35ad76")]
|
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")]
|
data/spec/test_data/solutions/multiple-fluent-migrator/Basic.Migrations2/Basic.Migrations2.csproj
CHANGED
@@ -1,53 +1,53 @@
|
|
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>{82875A7D-7002-43B7-8931-8C73371C1945}</ProjectGuid>
|
8
|
-
<OutputType>Library</OutputType>
|
9
|
-
<AppDesignerFolder>Properties</AppDesignerFolder>
|
10
|
-
<RootNamespace>Basic.Migrations2</RootNamespace>
|
11
|
-
<AssemblyName>Basic.Migrations2</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
|
-
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
46
|
-
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
47
|
-
Other similar extension points exist, see Microsoft.Common.targets.
|
48
|
-
<Target Name="BeforeBuild">
|
49
|
-
</Target>
|
50
|
-
<Target Name="AfterBuild">
|
51
|
-
</Target>
|
52
|
-
-->
|
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>{82875A7D-7002-43B7-8931-8C73371C1945}</ProjectGuid>
|
8
|
+
<OutputType>Library</OutputType>
|
9
|
+
<AppDesignerFolder>Properties</AppDesignerFolder>
|
10
|
+
<RootNamespace>Basic.Migrations2</RootNamespace>
|
11
|
+
<AssemblyName>Basic.Migrations2</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
|
+
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
46
|
+
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
47
|
+
Other similar extension points exist, see Microsoft.Common.targets.
|
48
|
+
<Target Name="BeforeBuild">
|
49
|
+
</Target>
|
50
|
+
<Target Name="AfterBuild">
|
51
|
+
</Target>
|
52
|
+
-->
|
53
53
|
</Project>
|
@@ -1,12 +1,12 @@
|
|
1
|
-
using System;
|
2
|
-
using System.Collections.Generic;
|
3
|
-
using System.Linq;
|
4
|
-
using System.Text;
|
5
|
-
using System.Threading.Tasks;
|
6
|
-
|
7
|
-
namespace Basic.Migrations
|
8
|
-
{
|
9
|
-
public class Class1
|
10
|
-
{
|
11
|
-
}
|
12
|
-
}
|
1
|
+
using System;
|
2
|
+
using System.Collections.Generic;
|
3
|
+
using System.Linq;
|
4
|
+
using System.Text;
|
5
|
+
using System.Threading.Tasks;
|
6
|
+
|
7
|
+
namespace Basic.Migrations
|
8
|
+
{
|
9
|
+
public class Class1
|
10
|
+
{
|
11
|
+
}
|
12
|
+
}
|
data/spec/test_data/solutions/multiple-fluent-migrator/Basic.Migrations2/Properties/AssemblyInfo.cs
CHANGED
@@ -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.Migrations")]
|
9
|
-
[assembly: AssemblyDescription("")]
|
10
|
-
[assembly: AssemblyConfiguration("")]
|
11
|
-
[assembly: AssemblyCompany("")]
|
12
|
-
[assembly: AssemblyProduct("Basic.Migrations")]
|
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("a3fc8dd7-523f-4e07-a502-719c4d35ad76")]
|
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.Migrations")]
|
9
|
+
[assembly: AssemblyDescription("")]
|
10
|
+
[assembly: AssemblyConfiguration("")]
|
11
|
+
[assembly: AssemblyCompany("")]
|
12
|
+
[assembly: AssemblyProduct("Basic.Migrations")]
|
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("a3fc8dd7-523f-4e07-a502-719c4d35ad76")]
|
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,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
|
+
}
|