From 9adfa4c3fbbf7b0d2ebdd93edba4a65363c172aa Mon Sep 17 00:00:00 2001 From: Brady Holt Date: Tue, 6 Jun 2017 09:41:16 -0500 Subject: [PATCH] 1.3 Release --- DbUp.Support.SqlServer.Scripting.sln | 4 +++- .../DefinitionScriptProvider.cs | 2 +- build/Gemfile | 5 +++-- build/Gemfile.lock | 16 ++++++++++------ build/Rakefile | 2 +- build/version.txt | 1 + 6 files changed, 19 insertions(+), 11 deletions(-) diff --git a/DbUp.Support.SqlServer.Scripting.sln b/DbUp.Support.SqlServer.Scripting.sln index 1cd5ba4..d4edfca 100644 --- a/DbUp.Support.SqlServer.Scripting.sln +++ b/DbUp.Support.SqlServer.Scripting.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio 14 -VisualStudioVersion = 14.0.23107.0 +VisualStudioVersion = 14.0.25420.1 MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DbUp.Support.SqlServer.Scripting", "DbUp.Support.SqlServer.Scripting\DbUp.Support.SqlServer.Scripting.csproj", "{A1EC7074-3C1D-4424-BC80-8BF770758774}" EndProject @@ -11,6 +11,8 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution ProjectSection(SolutionItems) = preProject build\tools\dbup-sqlserver-scripting.psm1 = build\tools\dbup-sqlserver-scripting.psm1 build\pack\DbUp.Support.SqlServer.Scripting.nuspec = build\pack\DbUp.Support.SqlServer.Scripting.nuspec + build\Gemfile = build\Gemfile + build\Rakefile = build\Rakefile README.md = README.md build\version.txt = build\version.txt EndProjectSection diff --git a/DbUp.Support.SqlServer.Scripting/DefinitionScriptProvider.cs b/DbUp.Support.SqlServer.Scripting/DefinitionScriptProvider.cs index c0e69e1..28fe475 100644 --- a/DbUp.Support.SqlServer.Scripting/DefinitionScriptProvider.cs +++ b/DbUp.Support.SqlServer.Scripting/DefinitionScriptProvider.cs @@ -42,7 +42,7 @@ public DefinitionScriptProvider(string defintionFolderPath = "..\\..\\Definition if (_defintionFolderPath == null) { - throw new DirectoryNotFoundException($"Path: {defintionFolderPath} not found"); + throw new DirectoryNotFoundException("Path: " + defintionFolderPath + " not found"); } _contentReplaceRegex = new Regex(contentReplaceRegex, RegexOptions.Multiline); diff --git a/build/Gemfile b/build/Gemfile index 7723e2c..3f80a9d 100644 --- a/build/Gemfile +++ b/build/Gemfile @@ -1,3 +1,4 @@ -source 'https://rubygems.org' +source 'http://rubygems.org' gem 'albacore', '~>1.0' -gem 'nokogiri' \ No newline at end of file +gem 'nokogiri' +gem 'rake', '~>10.0' \ No newline at end of file diff --git a/build/Gemfile.lock b/build/Gemfile.lock index 85fd329..74dc9ab 100644 --- a/build/Gemfile.lock +++ b/build/Gemfile.lock @@ -1,22 +1,26 @@ GEM - remote: https://rubygems.org/ + remote: http://rubygems.org/ specs: albacore (1.0.0) nokogiri (~> 1.5) rake (~> 10.0) rubyzip (~> 1.0) - mini_portile2 (2.0.0) - nokogiri (1.6.7.2-x86-mingw32) - mini_portile2 (~> 2.0.0.rc2) + mini_portile2 (2.1.0) + nokogiri (1.7.1-x64-mingw32) + mini_portile2 (~> 2.1.0) + nokogiri (1.7.1-x86-mingw32) + mini_portile2 (~> 2.1.0) rake (10.5.0) - rubyzip (1.2.0) + rubyzip (1.2.1) PLATFORMS + x64-mingw32 x86-mingw32 DEPENDENCIES albacore (~> 1.0) nokogiri + rake (~> 10.0) BUNDLED WITH - 1.12.5 + 1.14.6 diff --git a/build/Rakefile b/build/Rakefile index 34b58a5..7a377fa 100644 --- a/build/Rakefile +++ b/build/Rakefile @@ -29,7 +29,7 @@ task :build do |t| end end -task :package => [:build] do |t, args| +task :package do |t, args| desc "copy lib" sh "xcopy /Y /S /EXCLUDE:exclude.txt ..\\#{project_name}\\bin\\Release\\#{project_name}* .\\pack\\lib\\net35\\" desc "create the nuget package" diff --git a/build/version.txt b/build/version.txt index 05b94ba..fbc23cc 100644 --- a/build/version.txt +++ b/build/version.txt @@ -1,3 +1,4 @@ +1.3:New support for building database from scratch using new DefinitionScriptProvider 1.2:Added support for User Defined Types 1.1:Support for DbUp 3.3.4, misc bug fixes 1.0.4:Use dbup-consolescripts 1.0.9 and fix error with spaces in path