Skip to content

Commit

Permalink
Bumped PagedList.Mvc's version.
Browse files Browse the repository at this point in the history
  • Loading branch information
troygoode committed Aug 18, 2012
1 parent 18273cd commit 7ebaa48
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 22 deletions.
21 changes: 3 additions & 18 deletions rakefile.rb
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
nuspec.projectUrl = "http://github.com/TroyGoode/PagedList" nuspec.projectUrl = "http://github.com/TroyGoode/PagedList"
nuspec.tags = "paging pager page infinitescroll ajax mvc" nuspec.tags = "paging pager page infinitescroll ajax mvc"
nuspec.dependency "PagedList", PAGEDLIST_VERSION nuspec.dependency "PagedList", PAGEDLIST_VERSION
nuspec.file "Content\\**\\*.*", "Content" nuspec.file "..\\PagedList.Mvc4.Example\\Content\\PagedList.css", "Content\\Content"
nuspec.output_file = "src/PagedList.Mvc/PagedList.Mvc.nuspec" nuspec.output_file = "src/PagedList.Mvc/PagedList.Mvc.nuspec"
end end


Expand All @@ -96,28 +96,13 @@
nuget.output = './packages/' nuget.output = './packages/'
end end


#HACK: remove once http://nuget.codeplex.com/workitem/1349 is fixed
task :prepare_package_pagedlistmvc => :release do
content_directory = './src/PagedList.Mvc.Example/Content/'
script_directory = './src/PagedList.Mvc.Example/Scripts/PagedList/'


content_directory_out = './src/PagedList.Mvc/Content/Content/' nugetpack :package_pagedlistmvc => :release do |nuget|
script_directory_out = './src/PagedList.Mvc/Content/Scripts/PagedList/'

FileUtils.mkdir_p content_directory_out
FileUtils.mkdir_p script_directory_out

FileUtils.cp content_directory + 'PagedList.css', content_directory_out + 'PagedList.css'
FileUtils.cp script_directory + 'PagedList.Mvc.js', script_directory_out + 'PagedList.Mvc.js'
FileUtils.cp script_directory + 'PagedList.Mvc.Template.html', script_directory_out + 'PagedList.Mvc.Template.html'
end

nugetpack :package_pagedlistmvc => :prepare_package_pagedlistmvc do |nuget|
nuget.nuspec = './src/PagedList.Mvc/PagedList.Mvc.csproj -Prop Configuration=Release' nuget.nuspec = './src/PagedList.Mvc/PagedList.Mvc.csproj -Prop Configuration=Release'
nuget.output = './packages/' nuget.output = './packages/'
end end


task :package => [:package_pagedlist, :package_pagedlistmvc] do task :pack => [:package_pagedlist, :package_pagedlistmvc] do
end end


nugetpush :push_pagedlist => :package_pagedlist do |nuget| nugetpush :push_pagedlist => :package_pagedlist do |nuget|
Expand Down
2 changes: 1 addition & 1 deletion src/PagedList.Mvc/PagedList.Mvc.nuspec
Original file line number Original file line Diff line number Diff line change
@@ -1 +1 @@
<?xml version='1.0'?><package xmlns='http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd'><metadata><id>$id$</id><version>$version$</version><title>$id$</title><authors>$author$</authors><description>$description$</description><language>en-US</language><licenseUrl>http://www.opensource.org/licenses/mit-license.php</licenseUrl><projectUrl>http://github.com/TroyGoode/PagedList</projectUrl><owners>TroyGoode</owners><tags>paging pager page infinitescroll ajax mvc</tags><dependencies><dependency id='PagedList' version='1.15'/></dependencies></metadata><files><file src='Content\**\*.*' target='Content'/></files></package> <?xml version='1.0'?><package xmlns='http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd'><metadata><id>$id$</id><version>$version$</version><title>$id$</title><authors>$author$</authors><description>$description$</description><language>en-US</language><licenseUrl>http://www.opensource.org/licenses/mit-license.php</licenseUrl><projectUrl>http://github.com/TroyGoode/PagedList</projectUrl><owners>TroyGoode</owners><tags>paging pager page infinitescroll ajax mvc</tags><dependencies><dependency id='PagedList' version='1.15'/></dependencies></metadata><files><file src='..\PagedList.Mvc4.Example\Content\PagedList.css' target='Content\Content'/></files></package>
4 changes: 2 additions & 2 deletions src/PagedList.Mvc/Properties/AssemblyInfo.cs
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@
[assembly: AssemblyCompany("Troy Goode")] [assembly: AssemblyCompany("Troy Goode")]
[assembly: AssemblyProduct("PagedList.Mvc")] [assembly: AssemblyProduct("PagedList.Mvc")]
[assembly: AssemblyCopyright("MIT License")] [assembly: AssemblyCopyright("MIT License")]
[assembly: AssemblyVersion("3.17")] [assembly: AssemblyVersion("3.18")]


[assembly: CLSCompliant(true)] [assembly: CLSCompliant(true)]
[assembly: ComVisible(false)] [assembly: ComVisible(false)]
[assembly: Guid("eb684fee-2094-4833-ae61-f9bfcab34abd")] [assembly: Guid("eb684fee-2094-4833-ae61-f9bfcab34abd")]
[assembly: AllowPartiallyTrustedCallers()] [assembly: AllowPartiallyTrustedCallers()]
[assembly: AssemblyFileVersion("3.17")] [assembly: AssemblyFileVersion("3.18")]
[assembly: AssemblyConfiguration("")] [assembly: AssemblyConfiguration("")]
[assembly: AssemblyTrademark("")] [assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")] [assembly: AssemblyCulture("")]
Expand Down
2 changes: 1 addition & 1 deletion version.rb
Original file line number Original file line Diff line number Diff line change
@@ -1,2 +1,2 @@
PAGEDLIST_VERSION = '1.15' PAGEDLIST_VERSION = '1.15'
PAGEDLIST_MVC_VERSION = '3.17' PAGEDLIST_MVC_VERSION = '3.18'

0 comments on commit 7ebaa48

Please sign in to comment.