Permalink
Browse files

normalizing line endings and adding .gitattributes file

  • Loading branch information...
1 parent d70a26a commit 862f709fa2f1894c1089ad40923ffb330ea4c3cc @troygoode committed Mar 20, 2013
Showing with 175,264 additions and 175,242 deletions.
  1. +22 −0 .gitattributes
  2. +115 −115 rakefile.rb
  3. +3 −3 src/.nuget/packages.config
  4. +335 −335 src/PagedList.Mvc/HtmlHelper.cs
  5. +75 −75 src/PagedList.Mvc/PagedList.Mvc.csproj
  6. +22 −22 src/PagedList.Mvc/PagedListDisplayMode.cs
  7. +435 −435 src/PagedList.Mvc/PagedListRenderOptions.cs
  8. +19 −19 src/PagedList.Mvc/Properties/AssemblyInfo.cs
  9. +4,407 −4,407 src/PagedList.Mvc4.Example/App_Data/Names.txt
  10. +32 −32 src/PagedList.Mvc4.Example/App_Start/AuthConfig.cs
  11. +42 −42 src/PagedList.Mvc4.Example/App_Start/BundleConfig.cs
  12. +12 −12 src/PagedList.Mvc4.Example/App_Start/FilterConfig.cs
  13. +22 −22 src/PagedList.Mvc4.Example/App_Start/RouteConfig.cs
  14. +19 −19 src/PagedList.Mvc4.Example/App_Start/WebApiConfig.cs
  15. +1 −1 src/PagedList.Mvc4.Example/Content/PagedList.css
  16. +759 −759 src/PagedList.Mvc4.Example/Content/Site.css
  17. +465 −465 src/PagedList.Mvc4.Example/Content/themes/base/jquery-ui.css
  18. +19 −19 src/PagedList.Mvc4.Example/Content/themes/base/jquery.ui.accordion.css
  19. +11 −11 src/PagedList.Mvc4.Example/Content/themes/base/jquery.ui.all.css
  20. +53 −53 src/PagedList.Mvc4.Example/Content/themes/base/jquery.ui.autocomplete.css
  21. +21 −21 src/PagedList.Mvc4.Example/Content/themes/base/jquery.ui.base.css
  22. +38 −38 src/PagedList.Mvc4.Example/Content/themes/base/jquery.ui.button.css
  23. +38 −38 src/PagedList.Mvc4.Example/Content/themes/base/jquery.ui.core.css
  24. +67 −67 src/PagedList.Mvc4.Example/Content/themes/base/jquery.ui.datepicker.css
  25. +21 −21 src/PagedList.Mvc4.Example/Content/themes/base/jquery.ui.dialog.css
  26. +10 −10 src/PagedList.Mvc4.Example/Content/themes/base/jquery.ui.progressbar.css
  27. +19 −19 src/PagedList.Mvc4.Example/Content/themes/base/jquery.ui.resizable.css
  28. +10 −10 src/PagedList.Mvc4.Example/Content/themes/base/jquery.ui.selectable.css
  29. +23 −23 src/PagedList.Mvc4.Example/Content/themes/base/jquery.ui.slider.css
  30. +18 −18 src/PagedList.Mvc4.Example/Content/themes/base/jquery.ui.tabs.css
  31. +246 −246 src/PagedList.Mvc4.Example/Content/themes/base/jquery.ui.theme.css
  32. +4 −4 src/PagedList.Mvc4.Example/Content/themes/base/minified/jquery-ui.min.css
  33. +4 −4 src/PagedList.Mvc4.Example/Content/themes/base/minified/jquery.ui.accordion.min.css
  34. +4 −4 src/PagedList.Mvc4.Example/Content/themes/base/minified/jquery.ui.autocomplete.min.css
  35. +4 −4 src/PagedList.Mvc4.Example/Content/themes/base/minified/jquery.ui.button.min.css
  36. +4 −4 src/PagedList.Mvc4.Example/Content/themes/base/minified/jquery.ui.core.min.css
  37. +4 −4 src/PagedList.Mvc4.Example/Content/themes/base/minified/jquery.ui.datepicker.min.css
  38. +4 −4 src/PagedList.Mvc4.Example/Content/themes/base/minified/jquery.ui.dialog.min.css
  39. +4 −4 src/PagedList.Mvc4.Example/Content/themes/base/minified/jquery.ui.progressbar.min.css
  40. +4 −4 src/PagedList.Mvc4.Example/Content/themes/base/minified/jquery.ui.resizable.min.css
  41. +4 −4 src/PagedList.Mvc4.Example/Content/themes/base/minified/jquery.ui.selectable.min.css
  42. +4 −4 src/PagedList.Mvc4.Example/Content/themes/base/minified/jquery.ui.slider.min.css
  43. +4 −4 src/PagedList.Mvc4.Example/Content/themes/base/minified/jquery.ui.tabs.min.css
  44. +4 −4 src/PagedList.Mvc4.Example/Content/themes/base/minified/jquery.ui.theme.min.css
  45. +407 −407 src/PagedList.Mvc4.Example/Controllers/AccountController.cs
  46. +31 −31 src/PagedList.Mvc4.Example/Controllers/AjaxController.cs
  47. +117 −117 src/PagedList.Mvc4.Example/Controllers/AutomapperController.cs
  48. +40 −40 src/PagedList.Mvc4.Example/Controllers/BaseController.cs
  49. +32 −32 src/PagedList.Mvc4.Example/Controllers/HomeController.cs
  50. +31 −31 src/PagedList.Mvc4.Example/Controllers/InfiniteScrollController.cs
  51. +23 −23 src/PagedList.Mvc4.Example/Controllers/TraditionalPagingController.cs
  52. +24 −24 src/PagedList.Mvc4.Example/Controllers/UnobtrusiveAjaxController.cs
  53. +50 −50 src/PagedList.Mvc4.Example/Filters/InitializeSimpleMembershipAttribute.cs
  54. +1 −1 src/PagedList.Mvc4.Example/Global.asax
  55. +27 −27 src/PagedList.Mvc4.Example/Global.asax.cs
  56. +97 −97 src/PagedList.Mvc4.Example/Models/AccountModels.cs
  57. +351 −351 src/PagedList.Mvc4.Example/PagedList.Mvc4.Example.csproj
  58. +35 −35 src/PagedList.Mvc4.Example/Properties/AssemblyInfo.cs
  59. +2,521 −2,521 src/PagedList.Mvc4.Example/Scripts/jquery-1.7.1.intellisense.js
  60. +9,266 −9,266 src/PagedList.Mvc4.Example/Scripts/jquery-1.7.1.js
  61. +3 −3 src/PagedList.Mvc4.Example/Scripts/jquery-1.7.1.min.js
  62. +11,464 −11,464 src/PagedList.Mvc4.Example/Scripts/jquery-ui-1.8.20.js
  63. +4 −4 src/PagedList.Mvc4.Example/Scripts/jquery-ui-1.8.20.min.js
  64. +162 −162 src/PagedList.Mvc4.Example/Scripts/jquery.unobtrusive-ajax.js
  65. +1,291 −1,291 src/PagedList.Mvc4.Example/Scripts/jquery.validate-vsdoc.js
  66. +1,186 −1,186 src/PagedList.Mvc4.Example/Scripts/jquery.validate.js
  67. +49 −49 src/PagedList.Mvc4.Example/Scripts/jquery.validate.min.js
  68. +364 −364 src/PagedList.Mvc4.Example/Scripts/jquery.validate.unobtrusive.js
  69. +1,265 −1,265 src/PagedList.Mvc4.Example/Scripts/modernizr-2.5.3.js
  70. +36 −36 src/PagedList.Mvc4.Example/Views/Account/ExternalLoginConfirmation.cshtml
  71. +8 −8 src/PagedList.Mvc4.Example/Views/Account/ExternalLoginFailure.cshtml
  72. +50 −50 src/PagedList.Mvc4.Example/Views/Account/Login.cshtml
  73. +32 −32 src/PagedList.Mvc4.Example/Views/Account/Manage.cshtml
  74. +37 −37 src/PagedList.Mvc4.Example/Views/Account/Register.cshtml
  75. +27 −27 src/PagedList.Mvc4.Example/Views/Account/_ChangePasswordPartial.cshtml
  76. +25 −25 src/PagedList.Mvc4.Example/Views/Account/_ExternalLoginsListPartial.cshtml
  77. +34 −34 src/PagedList.Mvc4.Example/Views/Account/_RemoveExternalLoginsPartial.cshtml
  78. +26 −26 src/PagedList.Mvc4.Example/Views/Account/_SetPasswordPartial.cshtml
  79. +125 −125 src/PagedList.Mvc4.Example/Views/Ajax/Index.cshtml
  80. +16 −16 src/PagedList.Mvc4.Example/Views/Automapper/Index.cshtml
  81. +33 −33 src/PagedList.Mvc4.Example/Views/Home/About.cshtml
  82. +49 −49 src/PagedList.Mvc4.Example/Views/Home/Contact.cshtml
  83. +45 −45 src/PagedList.Mvc4.Example/Views/Home/Index.cshtml
  84. +33 −33 src/PagedList.Mvc4.Example/Views/InfiniteScroll/Index.cshtml
  85. +10 −10 src/PagedList.Mvc4.Example/Views/Shared/Error.cshtml
  86. +50 −50 src/PagedList.Mvc4.Example/Views/Shared/_Layout.cshtml
  87. +15 −15 src/PagedList.Mvc4.Example/Views/Shared/_LoginPartial.cshtml
  88. +56 −56 src/PagedList.Mvc4.Example/Views/TraditionalPaging/Index.cshtml
  89. +30 −30 src/PagedList.Mvc4.Example/Views/UnobtrusiveAjax/Index.cshtml
  90. +12 −12 src/PagedList.Mvc4.Example/Views/UnobtrusiveAjax/UnobtrusiveAjax_Partial.cshtml
  91. +59 −59 src/PagedList.Mvc4.Example/Views/Web.config
  92. +2 −2 src/PagedList.Mvc4.Example/Views/_ViewStart.cshtml
  93. +29 −29 src/PagedList.Mvc4.Example/Web.Debug.config
  94. +30 −30 src/PagedList.Mvc4.Example/Web.Release.config
  95. +72 −72 src/PagedList.Mvc4.Example/Web.config
  96. +32 −32 src/PagedList.Mvc4.Example/packages.config
  97. +50 −50 src/PagedList.sln
  98. +108 −108 src/PagedList/BasePagedList.cs
  99. +72 −72 src/PagedList/PagedList.cs
  100. +19 −19 src/PagedList/Properties/AssemblyInfo.cs
  101. +15 −15 src/packages/AutoMapper.2.1.267/lib/net40/AutoMapper.xml
  102. +671 −671 src/packages/AutoMapper.2.1.267/lib/sl4/AutoMapper.XML
  103. +1,695 −1,695 src/packages/DotNetOpenAuth.AspNet.4.0.3.12153/lib/net40-full/DotNetOpenAuth.AspNet.xml
  104. +9,901 −9,901 src/packages/DotNetOpenAuth.Core.4.0.3.12153/lib/net40-full/DotNetOpenAuth.Core.xml
  105. +397 −397 ...ckages/DotNetOpenAuth.OAuth.Consumer.4.0.3.12153/lib/net40-full/DotNetOpenAuth.OAuth.Consumer.xml
  106. +1,858 −1,858 src/packages/DotNetOpenAuth.OAuth.Core.4.0.3.12153/lib/net40-full/DotNetOpenAuth.OAuth.xml
  107. +10,721 −10,721 src/packages/DotNetOpenAuth.OpenId.Core.4.0.3.12153/lib/net40-full/DotNetOpenAuth.OpenId.xml
  108. +3,557 −3,557 ...NetOpenAuth.OpenId.RelyingParty.4.0.3.12153/lib/net40-full/DotNetOpenAuth.OpenId.RelyingParty.xml
  109. +5 −5 src/packages/EntityFramework.5.0.0/Content/App.config.transform
  110. +5 −5 src/packages/EntityFramework.5.0.0/Content/Web.config.transform
  111. +18,061 −18,061 src/packages/EntityFramework.5.0.0/lib/net40/EntityFramework.xml
  112. +17,968 −17,968 src/packages/EntityFramework.5.0.0/lib/net45/EntityFramework.xml
  113. +777 −777 src/packages/EntityFramework.5.0.0/tools/EntityFramework.psm1
  114. +17 −17 src/packages/EntityFramework.5.0.0/tools/Redirect.VS11.config
  115. +13 −13 src/packages/EntityFramework.5.0.0/tools/Redirect.config
  116. +30 −30 src/packages/EntityFramework.5.0.0/tools/about_EntityFramework.help.txt
  117. +176 −176 src/packages/EntityFramework.5.0.0/tools/init.ps1
  118. +170 −170 src/packages/EntityFramework.5.0.0/tools/install.ps1
  119. +10,253 −10,253 src/packages/Microsoft.AspNet.Mvc.4.0.20710.0/lib/net40/System.Web.Mvc.xml
  120. +4,358 −4,358 src/packages/Microsoft.AspNet.Razor.2.0.20710.0/lib/net40/System.Web.Razor.xml
  121. +1,488 −1,488 src/packages/Microsoft.AspNet.WebApi.Client.4.0.20710.0/lib/net40/System.Net.Http.Formatting.xml
  122. +13 −13 src/packages/Microsoft.AspNet.WebApi.Core.4.0.20710.0/content/web.config.transform
  123. +4,678 −4,678 src/packages/Microsoft.AspNet.WebApi.Core.4.0.20710.0/lib/net40/System.Web.Http.xml
  124. +135 −135 src/packages/Microsoft.AspNet.WebApi.WebHost.4.0.20710.0/lib/net40/System.Web.Http.WebHost.xml
  125. +832 −832 src/packages/Microsoft.AspNet.WebPages.2.0.20710.0/lib/net40/System.Web.Helpers.xml
  126. +40 −40 src/packages/Microsoft.AspNet.WebPages.2.0.20710.0/lib/net40/System.Web.WebPages.Deployment.xml
  127. +223 −223 src/packages/Microsoft.AspNet.WebPages.2.0.20710.0/lib/net40/System.Web.WebPages.Razor.xml
  128. +2,623 −2,623 src/packages/Microsoft.AspNet.WebPages.2.0.20710.0/lib/net40/System.Web.WebPages.xml
  129. +172 −172 src/packages/Microsoft.AspNet.WebPages.Data.2.0.20710.0/lib/net40/WebMatrix.Data.xml
  130. +114 −114 src/packages/Microsoft.AspNet.WebPages.OAuth.2.0.20710.0/lib/net40/Microsoft.Web.WebPages.OAuth.xml
  131. +790 −790 src/packages/Microsoft.AspNet.WebPages.WebData.2.0.20710.0/lib/net40/WebMatrix.WebData.xml
  132. +62 −62 src/packages/Microsoft.Net.Http.2.0.20710.0/lib/net40/System.Net.Http.WebRequest.xml
  133. +2,307 −2,307 src/packages/Microsoft.Net.Http.2.0.20710.0/lib/net40/System.Net.Http.xml
  134. +162 −162 ...packages/Microsoft.jQuery.Unobtrusive.Ajax.2.0.20710.0/Content/Scripts/jquery.unobtrusive-ajax.js
  135. +364 −364 ...icrosoft.jQuery.Unobtrusive.Validation.2.0.20710.0/Content/Scripts/jquery.validate.unobtrusive.js
  136. +1,265 −1,265 src/packages/Modernizr.2.5.3/Content/Scripts/modernizr-2.5.3.js
  137. +7,583 −7,583 src/packages/Newtonsoft.Json.4.5.6/lib/net40/Newtonsoft.Json.xml
  138. +7,177 −7,177 src/packages/jQuery.1.7.1.1/Content/Scripts/jquery-1.7.1-vsdoc.js
  139. +9,266 −9,266 src/packages/jQuery.1.7.1.1/Content/Scripts/jquery-1.7.1.js
  140. +3 −3 src/packages/jQuery.1.7.1.1/Content/Scripts/jquery-1.7.1.min.js
  141. +116 −116 src/packages/jQuery.1.7.1.1/Tools/common.ps1
  142. +38 −38 src/packages/jQuery.1.7.1.1/Tools/install.ps1
  143. +2,521 −2,521 src/packages/jQuery.1.7.1.1/Tools/jquery-1.7.1.intellisense.js
  144. +40 −40 src/packages/jQuery.1.7.1.1/Tools/uninstall.ps1
  145. +465 −465 src/packages/jQuery.UI.Combined.1.8.20.1/Content/Content/themes/base/jquery-ui.css
  146. +19 −19 src/packages/jQuery.UI.Combined.1.8.20.1/Content/Content/themes/base/jquery.ui.accordion.css
  147. +11 −11 src/packages/jQuery.UI.Combined.1.8.20.1/Content/Content/themes/base/jquery.ui.all.css
  148. +53 −53 src/packages/jQuery.UI.Combined.1.8.20.1/Content/Content/themes/base/jquery.ui.autocomplete.css
  149. +21 −21 src/packages/jQuery.UI.Combined.1.8.20.1/Content/Content/themes/base/jquery.ui.base.css
  150. +38 −38 src/packages/jQuery.UI.Combined.1.8.20.1/Content/Content/themes/base/jquery.ui.button.css
  151. +38 −38 src/packages/jQuery.UI.Combined.1.8.20.1/Content/Content/themes/base/jquery.ui.core.css
  152. +67 −67 src/packages/jQuery.UI.Combined.1.8.20.1/Content/Content/themes/base/jquery.ui.datepicker.css
  153. +21 −21 src/packages/jQuery.UI.Combined.1.8.20.1/Content/Content/themes/base/jquery.ui.dialog.css
  154. +10 −10 src/packages/jQuery.UI.Combined.1.8.20.1/Content/Content/themes/base/jquery.ui.progressbar.css
  155. +19 −19 src/packages/jQuery.UI.Combined.1.8.20.1/Content/Content/themes/base/jquery.ui.resizable.css
  156. +10 −10 src/packages/jQuery.UI.Combined.1.8.20.1/Content/Content/themes/base/jquery.ui.selectable.css
  157. +23 −23 src/packages/jQuery.UI.Combined.1.8.20.1/Content/Content/themes/base/jquery.ui.slider.css
  158. +18 −18 src/packages/jQuery.UI.Combined.1.8.20.1/Content/Content/themes/base/jquery.ui.tabs.css
  159. +246 −246 src/packages/jQuery.UI.Combined.1.8.20.1/Content/Content/themes/base/jquery.ui.theme.css
  160. +4 −4 src/packages/jQuery.UI.Combined.1.8.20.1/Content/Content/themes/base/minified/jquery-ui.min.css
  161. +4 −4 ...ages/jQuery.UI.Combined.1.8.20.1/Content/Content/themes/base/minified/jquery.ui.accordion.min.css
  162. +4 −4 ...s/jQuery.UI.Combined.1.8.20.1/Content/Content/themes/base/minified/jquery.ui.autocomplete.min.css
  163. +4 −4 ...ackages/jQuery.UI.Combined.1.8.20.1/Content/Content/themes/base/minified/jquery.ui.button.min.css
  164. +4 −4 src/packages/jQuery.UI.Combined.1.8.20.1/Content/Content/themes/base/minified/jquery.ui.core.min.css
  165. +4 −4 ...ges/jQuery.UI.Combined.1.8.20.1/Content/Content/themes/base/minified/jquery.ui.datepicker.min.css
  166. +4 −4 ...ackages/jQuery.UI.Combined.1.8.20.1/Content/Content/themes/base/minified/jquery.ui.dialog.min.css
  167. +4 −4 ...es/jQuery.UI.Combined.1.8.20.1/Content/Content/themes/base/minified/jquery.ui.progressbar.min.css
  168. +4 −4 ...ages/jQuery.UI.Combined.1.8.20.1/Content/Content/themes/base/minified/jquery.ui.resizable.min.css
  169. +4 −4 ...ges/jQuery.UI.Combined.1.8.20.1/Content/Content/themes/base/minified/jquery.ui.selectable.min.css
  170. +4 −4 ...ackages/jQuery.UI.Combined.1.8.20.1/Content/Content/themes/base/minified/jquery.ui.slider.min.css
  171. +4 −4 src/packages/jQuery.UI.Combined.1.8.20.1/Content/Content/themes/base/minified/jquery.ui.tabs.min.css
  172. +4 −4 ...packages/jQuery.UI.Combined.1.8.20.1/Content/Content/themes/base/minified/jquery.ui.theme.min.css
  173. +11,464 −11,464 src/packages/jQuery.UI.Combined.1.8.20.1/Content/Scripts/jquery-ui-1.8.20.js
  174. +4 −4 src/packages/jQuery.UI.Combined.1.8.20.1/Content/Scripts/jquery-ui-1.8.20.min.js
  175. +1,291 −1,291 src/packages/jQuery.Validation.1.9.0.1/Content/Scripts/jquery.validate-vsdoc.js
  176. +1,186 −1,186 src/packages/jQuery.Validation.1.9.0.1/Content/Scripts/jquery.validate.js
  177. +49 −49 src/packages/jQuery.Validation.1.9.0.1/Content/Scripts/jquery.validate.min.js
  178. +4 −4 src/packages/repositories.config
  179. +1 −1 version.rb
View
@@ -0,0 +1,22 @@
+# Auto detect text files and perform LF normalization
+* text=auto
+
+# Custom for Visual Studio
+*.cs diff=csharp
+*.sln merge=union
+*.csproj merge=union
+*.vbproj merge=union
+*.fsproj merge=union
+*.dbproj merge=union
+
+# Standard to msysgit
+*.doc diff=astextplain
+*.DOC diff=astextplain
+*.docx diff=astextplain
+*.DOCX diff=astextplain
+*.dot diff=astextplain
+*.DOT diff=astextplain
+*.pdf diff=astextplain
+*.PDF diff=astextplain
+*.rtf diff=astextplain
+*.RTF diff=astextplain
View
@@ -1,116 +1,116 @@
-require 'albacore' # >= 0.2.7
-require 'fileutils'
-load './version.rb'
-
-task :default => [:build]
-
-assemblyinfo :generate_pagedlist_assemblyinfo do |asm|
- asm.version = PAGEDLIST_VERSION
- asm.company_name = "Troy Goode"
- asm.product_name = "PagedList"
- asm.title = "PagedList"
- asm.description = "PagedList makes it easier for .Net developers to write paging code. It allows you to take any IEnumerable(T) and by specifying the page size and desired page index, select only a subset of that list. PagedList also provides properties that are useful when building UI paging controls."
- asm.copyright = "MIT License"
- asm.custom_attributes \
- :CLSCompliant => true,
- :ComVisible => false,
- :Guid => "1d709432-45fa-4475-a403-b2310a47d0a6",
- :AllowPartiallyTrustedCallers => nil,
- :AssemblyFileVersion => PAGEDLIST_VERSION,
- :AssemblyConfiguration => '',
- :AssemblyTrademark => '',
- :AssemblyCulture => ''
- asm.namespaces "System", "System.Security"
- asm.output_file = "src/PagedList/Properties/AssemblyInfo.cs"
-end
-
-assemblyinfo :generate_pagedlistmvc_assemblyinfo do |asm|
- asm.version = PAGEDLIST_MVC_VERSION
- asm.company_name = "Troy Goode"
- asm.product_name = "PagedList.Mvc"
- asm.title = "PagedList.Mvc"
- asm.description = "Asp.Net MVC HtmlHelper method for generating paging control for use with PagedList library."
- asm.copyright = "MIT License"
- asm.custom_attributes \
- :CLSCompliant => true,
- :ComVisible => false,
- :Guid => "eb684fee-2094-4833-ae61-f9bfcab34abd",
- :AllowPartiallyTrustedCallers => nil,
- :AssemblyFileVersion => PAGEDLIST_MVC_VERSION,
- :AssemblyConfiguration => '',
- :AssemblyTrademark => '',
- :AssemblyCulture => ''
- asm.namespaces "System", "System.Security"
- asm.output_file = "src/PagedList.Mvc/Properties/AssemblyInfo.cs"
-end
-
-nuspec :generate_pagedlist_nuspec do |nuspec|
- nuspec.title = "$id$"
- nuspec.id = "$id$"
- nuspec.version = "$version$"
- nuspec.authors = "$author$"
- nuspec.owners = "TroyGoode"
- nuspec.description = "$description$"
- nuspec.language = "en-US"
- nuspec.licenseUrl = "http://www.opensource.org/licenses/mit-license.php"
- nuspec.projectUrl = "http://github.com/TroyGoode/PagedList"
- nuspec.tags = "paging pager page infinitescroll ajax mvc"
- nuspec.output_file = "src/PagedList/PagedList.nuspec"
-end
-
-nuspec :generate_pagedlistmvc_nuspec do |nuspec|
- nuspec.title = "$id$"
- nuspec.id = "$id$"
- nuspec.version = "$version$"
- nuspec.authors = "$author$"
- nuspec.owners = "TroyGoode"
- nuspec.description = "$description$"
- nuspec.language = "en-US"
- nuspec.licenseUrl = "http://www.opensource.org/licenses/mit-license.php"
- nuspec.projectUrl = "http://github.com/TroyGoode/PagedList"
- nuspec.tags = "paging pager page infinitescroll ajax mvc"
- nuspec.dependency "PagedList", PAGEDLIST_VERSION
- nuspec.file "..\\PagedList.Mvc4.Example\\Content\\PagedList.css", "Content\\Content"
- nuspec.output_file = "src/PagedList.Mvc/PagedList.Mvc.nuspec"
-end
-
-msbuild :build => [:generate_pagedlist_assemblyinfo, :generate_pagedlistmvc_assemblyinfo, :generate_pagedlist_nuspec, :generate_pagedlistmvc_nuspec] do |msb|
- msb.properties :configuration => :Debug
- msb.targets :Clean, :Rebuild
- msb.solution = "src/PagedList.sln"
-end
-
-xunit :test => :build do |xunit|
- xunit.command = "src/PagedList.Tests/Dependencies/xunit-1.8/xunit.console.clr4.exe"
- xunit.assembly = "src/PagedList.Tests/bin/debug/PagedList.Tests.dll"
-end
-
-msbuild :release => :test do |msb|
- msb.properties :configuration => :Release
- msb.targets :Clean, :Rebuild
- msb.solution = "src/PagedList.sln"
-end
-
-nugetpack :package_pagedlist => :release do |nuget|
- nuget.nuspec = './src/PagedList/PagedList.csproj -Prop Configuration=Release'
- nuget.output = './packages/'
-end
-
-nugetpack :package_pagedlistmvc => :release do |nuget|
- nuget.nuspec = './src/PagedList.Mvc/PagedList.Mvc.csproj -Prop Configuration=Release'
- nuget.output = './packages/'
-end
-
-task :pack => [:package_pagedlist, :package_pagedlistmvc] do
-end
-
-nugetpush :push_pagedlist => :package_pagedlist do |nuget|
- nuget.package = "packages\\PagedList.#{PAGEDLIST_VERSION}.0.0.nupkg"
-end
-
-nugetpush :push_pagedlistmvc => :package_pagedlistmvc do |nuget|
- nuget.package = "packages\\PagedList.Mvc.#{PAGEDLIST_MVC_VERSION}.0.0.nupkg"
-end
-
-task :push => [:push_pagedlist, :push_pagedlistmvc] do
+require 'albacore' # >= 0.2.7
+require 'fileutils'
+load './version.rb'
+
+task :default => [:build]
+
+assemblyinfo :generate_pagedlist_assemblyinfo do |asm|
+ asm.version = PAGEDLIST_VERSION
+ asm.company_name = "Troy Goode"
+ asm.product_name = "PagedList"
+ asm.title = "PagedList"
+ asm.description = "PagedList makes it easier for .Net developers to write paging code. It allows you to take any IEnumerable(T) and by specifying the page size and desired page index, select only a subset of that list. PagedList also provides properties that are useful when building UI paging controls."
+ asm.copyright = "MIT License"
+ asm.custom_attributes \
+ :CLSCompliant => true,
+ :ComVisible => false,
+ :Guid => "1d709432-45fa-4475-a403-b2310a47d0a6",
+ :AllowPartiallyTrustedCallers => nil,
+ :AssemblyFileVersion => PAGEDLIST_VERSION,
+ :AssemblyConfiguration => '',
+ :AssemblyTrademark => '',
+ :AssemblyCulture => ''
+ asm.namespaces "System", "System.Security"
+ asm.output_file = "src/PagedList/Properties/AssemblyInfo.cs"
+end
+
+assemblyinfo :generate_pagedlistmvc_assemblyinfo do |asm|
+ asm.version = PAGEDLIST_MVC_VERSION
+ asm.company_name = "Troy Goode"
+ asm.product_name = "PagedList.Mvc"
+ asm.title = "PagedList.Mvc"
+ asm.description = "Asp.Net MVC HtmlHelper method for generating paging control for use with PagedList library."
+ asm.copyright = "MIT License"
+ asm.custom_attributes \
+ :CLSCompliant => true,
+ :ComVisible => false,
+ :Guid => "eb684fee-2094-4833-ae61-f9bfcab34abd",
+ :AllowPartiallyTrustedCallers => nil,
+ :AssemblyFileVersion => PAGEDLIST_MVC_VERSION,
+ :AssemblyConfiguration => '',
+ :AssemblyTrademark => '',
+ :AssemblyCulture => ''
+ asm.namespaces "System", "System.Security"
+ asm.output_file = "src/PagedList.Mvc/Properties/AssemblyInfo.cs"
+end
+
+nuspec :generate_pagedlist_nuspec do |nuspec|
+ nuspec.title = "$id$"
+ nuspec.id = "$id$"
+ nuspec.version = "$version$"
+ nuspec.authors = "$author$"
+ nuspec.owners = "TroyGoode"
+ nuspec.description = "$description$"
+ nuspec.language = "en-US"
+ nuspec.licenseUrl = "http://www.opensource.org/licenses/mit-license.php"
+ nuspec.projectUrl = "http://github.com/TroyGoode/PagedList"
+ nuspec.tags = "paging pager page infinitescroll ajax mvc"
+ nuspec.output_file = "src/PagedList/PagedList.nuspec"
+end
+
+nuspec :generate_pagedlistmvc_nuspec do |nuspec|
+ nuspec.title = "$id$"
+ nuspec.id = "$id$"
+ nuspec.version = "$version$"
+ nuspec.authors = "$author$"
+ nuspec.owners = "TroyGoode"
+ nuspec.description = "$description$"
+ nuspec.language = "en-US"
+ nuspec.licenseUrl = "http://www.opensource.org/licenses/mit-license.php"
+ nuspec.projectUrl = "http://github.com/TroyGoode/PagedList"
+ nuspec.tags = "paging pager page infinitescroll ajax mvc"
+ nuspec.dependency "PagedList", PAGEDLIST_VERSION
+ nuspec.file "..\\PagedList.Mvc4.Example\\Content\\PagedList.css", "Content\\Content"
+ nuspec.output_file = "src/PagedList.Mvc/PagedList.Mvc.nuspec"
+end
+
+msbuild :build => [:generate_pagedlist_assemblyinfo, :generate_pagedlistmvc_assemblyinfo, :generate_pagedlist_nuspec, :generate_pagedlistmvc_nuspec] do |msb|
+ msb.properties :configuration => :Debug
+ msb.targets :Clean, :Rebuild
+ msb.solution = "src/PagedList.sln"
+end
+
+xunit :test => :build do |xunit|
+ xunit.command = "src/PagedList.Tests/Dependencies/xunit-1.8/xunit.console.clr4.exe"
+ xunit.assembly = "src/PagedList.Tests/bin/debug/PagedList.Tests.dll"
+end
+
+msbuild :release => :test do |msb|
+ msb.properties :configuration => :Release
+ msb.targets :Clean, :Rebuild
+ msb.solution = "src/PagedList.sln"
+end
+
+nugetpack :package_pagedlist => :release do |nuget|
+ nuget.nuspec = './src/PagedList/PagedList.csproj -Prop Configuration=Release'
+ nuget.output = './packages/'
+end
+
+nugetpack :package_pagedlistmvc => :release do |nuget|
+ nuget.nuspec = './src/PagedList.Mvc/PagedList.Mvc.csproj -Prop Configuration=Release'
+ nuget.output = './packages/'
+end
+
+task :pack => [:package_pagedlist, :package_pagedlistmvc] do
+end
+
+nugetpush :push_pagedlist => :package_pagedlist do |nuget|
+ nuget.package = "packages\\PagedList.#{PAGEDLIST_VERSION}.0.0.nupkg"
+end
+
+nugetpush :push_pagedlistmvc => :package_pagedlistmvc do |nuget|
+ nuget.package = "packages\\PagedList.Mvc.#{PAGEDLIST_MVC_VERSION}.0.0.nupkg"
+end
+
+task :push => [:push_pagedlist, :push_pagedlistmvc] do
end
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="utf-8"?>
-<packages>
- <package id="NuGet.CommandLine" version="2.2.0" />
+<?xml version="1.0" encoding="utf-8"?>
+<packages>
+ <package id="NuGet.CommandLine" version="2.2.0" />
</packages>
Oops, something went wrong.

0 comments on commit 862f709

Please sign in to comment.