Commits

Nick Sivo committed 9001413

Bump versions, fix a bug.

  • Participants
  • Parent commits 332fdf8

Comments (0)

Files changed (7)

TwilioFluent.Mvc3/Properties/AssemblyInfo.cs

 // You can specify all the values or you can default the Build and Revision Numbers 
 // by using the '*' as shown below:
 // [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("1.0.0.0")]
-[assembly: AssemblyFileVersion("1.0.0.0")]
+[assembly: AssemblyVersion("1.0.0.2")]
+[assembly: AssemblyFileVersion("1.0.0.2")]

TwilioFluent.Mvc3/TwilioFluent.Mvc3.nuspec

 <package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
 	<metadata>
 		<id>TwilioFluent.Mvc3</id>
-		<version>1.0.0.0</version>
+		<version>$version$</version>
 		<authors>$author$</authors>
 		<owners>$author$</owners>
 		<licenseUrl>http://www.apache.org/licenses/LICENSE-2.0</licenseUrl>

TwilioFluent.Mvc3/TwilioFluentBuilderExtensions.cs

 namespace TwilioFluent.Mvc3
 {
 	using System.Web.Mvc;
-	using TwilioFluent.TwiML;
+	using TwilioFluent.TwiML.Fluent;
 
 	/// <summary>
 	/// Helper extension methods to make it easy to return a builder as an ActionResult.
 		/// Converts a builder into an ActionResult.
 		/// </summary>
 		/// <param name="builder">The builder to write as a result.</param>
-		public static ActionResult End(this TwilioFluentBuilder builder)
+		public static ActionResult End(this ITwilioFluentRoot builder)
 		{
 			return new TwilioResult(builder);
 		}

TwilioFluent.Mvc3/TwilioResult.cs

 	using System.Diagnostics.CodeAnalysis;
 	using System.Text;
 	using System.Web.Mvc;
-	using TwilioFluent.TwiML;
+	using TwilioFluent.TwiML.Fluent;
 
 	/// <summary>
 	/// Writes a Twilio response to the output stream.
 		/// </summary>
 		public const string MimeType = "application/xml";
 
-		private TwilioFluentBuilder _builder;
+		private ITwilioFluentRoot _builder;
 
 		/// <summary>
 		/// Initializes a new instance of the <see cref="TwilioResult"/> class.
 		/// </summary>
 		/// <param name="builder">The builder to wrap.</param>
-		public TwilioResult(TwilioFluentBuilder builder)
+		public TwilioResult(ITwilioFluentRoot builder)
 		{
 			_builder = builder;
 		}

TwilioFluent.TwiML/Fluent/ITwilioFluentRoot.cs

 
 namespace TwilioFluent.TwiML.Fluent
 {
+	using System.IO;
+	using System.Text;
+	using System.Xml;
+
 	/// <summary>
 	/// Fluent bindings for Twilio responses.
 	/// </summary>
 		/// </summary>
 		/// <param name="reason">The reason for rejection.</param>
 		ITwilioFluentRoot Reject(Reason reason);
+
+		/// <summary>
+		/// Writes the response to the specified output stream.
+		/// </summary>
+		/// <param name="outputStream">The output stream.</param>
+		void Write(Stream outputStream);
+
+		/// <summary>
+		/// Writes the response to the specified StringBuilder.
+		/// </summary>
+		/// <param name="builder">The StringBuilder.</param>
+		void Write(StringBuilder builder);
+
+		/// <summary>
+		/// Writes the response to the specified XmlWriter.
+		/// </summary>
+		/// <param name="writer">The XmlWriter.</param>
+		void Write(XmlWriter writer);
 	}
 }

TwilioFluent.TwiML/Properties/AssemblyInfo.cs

 // You can specify all the values or you can default the Build and Revision Numbers 
 // by using the '*' as shown below:
 // [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("1.0.0.0")]
-[assembly: AssemblyFileVersion("1.0.0.0")]
+[assembly: AssemblyVersion("1.0.0.1")]
+[assembly: AssemblyFileVersion("1.0.0.1")]

TwilioFluent.TwiML/TwilioFluent.TwiML.nuspec

 <package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
 	<metadata>
 		<id>TwilioFluent.TwiML</id>
-		<version>1.0.0.0</version>
+		<version>$version$</version>
 		<authors>$author$</authors>
 		<owners>$author$</owners>
 		<licenseUrl>http://www.apache.org/licenses/LICENSE-2.0</licenseUrl>
 		<tags>SMS voice telephony phone twilio twiml</tags>
 		<dependencies>
 			<dependency id="libphonenumber-csharp" />
-			<dependency id="TwilioFluent.TwiML" />
 		</dependencies>
 	</metadata>
 	<files>