fubu 0.9.9.317 → 0.9.9.370

Sign up to get free protection for your applications and to get access to all the features.
Files changed (77) hide show
  1. checksums.yaml +8 -8
  2. data/bin/Bottles.dll +0 -0
  3. data/bin/Fubu.exe +0 -0
  4. data/bin/FubuCore.dll +0 -0
  5. data/bin/FubuCsProjFile.dll +0 -0
  6. data/bin/FubuLocalization.dll +0 -0
  7. data/bin/FubuMVC.Core.dll +0 -0
  8. data/bin/FubuMVC.Katana.dll +0 -0
  9. data/bin/FubuMVC.OwinHost.dll +0 -0
  10. data/bin/FubuMVC.StructureMap.dll +0 -0
  11. data/bin/HtmlTags.dll +0 -0
  12. data/bin/Ionic.Zip.dll +0 -0
  13. data/bin/Microsoft.Owin.Host.HttpListener.dll +0 -0
  14. data/bin/Microsoft.Owin.Hosting.dll +0 -0
  15. data/bin/Microsoft.Owin.dll +0 -0
  16. data/bin/WebDriver.dll +0 -0
  17. data/bin/chromedriver.exe +0 -0
  18. data/bin/fubu +9 -3
  19. data/bin/templates/Templates.xml +62 -0
  20. data/bin/templates/alteration/bottle-service/bottle-service.config +11 -0
  21. data/bin/templates/alteration/bottle-service/inputs.txt +2 -0
  22. data/bin/templates/alteration/bottle-service/nuget.txt +1 -0
  23. data/bin/templates/alteration/bottle-service/rake.txt +6 -0
  24. data/bin/templates/alteration/empty-bottle-service/%SERVICE_NAME%Loader.cs +23 -0
  25. data/bin/templates/alteration/ft-in-memory/FubuTransportationSetup.cs +33 -0
  26. data/bin/templates/alteration/ft-lightningqueues/FubuTransportationSetup.cs +31 -0
  27. data/bin/templates/alteration/ft-lightningqueues/ignore.txt +1 -0
  28. data/bin/templates/alteration/ft-lightningqueues/nuget.txt +1 -0
  29. data/bin/templates/alteration/ft-structuremap/%APPLICATION_SOURCE%.cs +16 -0
  30. data/bin/templates/alteration/ft-structuremap/%STRUCTUREMAP_REGISTRY%.cs +19 -0
  31. data/bin/templates/alteration/ft-structuremap/inputs.txt +1 -0
  32. data/bin/templates/alteration/ft-structuremap/instructions.txt +9 -0
  33. data/bin/templates/alteration/ft-structuremap/nuget.txt +2 -0
  34. data/bin/templates/alteration/{fubumvc-empty → fubu-rake-tasks}/rake.txt +1 -1
  35. data/bin/templates/alteration/fubucore/nuget.txt +1 -0
  36. data/bin/templates/alteration/{fubu-bottle → fubumvc-bottle}/BottleConfiguration.cs +4 -0
  37. data/bin/templates/alteration/fubumvc-bottle/assembly-info.txt +2 -0
  38. data/bin/templates/alteration/{fubu-bottle → fubumvc-bottle}/instructions.txt +0 -0
  39. data/bin/templates/alteration/fubumvc-bottle/nuget.txt +1 -0
  40. data/bin/templates/alteration/fubumvc-empty/inputs.txt +1 -1
  41. data/bin/templates/alteration/fubutransportation/inputs.txt +2 -0
  42. data/bin/templates/alteration/fubutransportation/nuget.txt +1 -0
  43. data/bin/templates/alteration/raven/nuget.txt +2 -5
  44. data/bin/templates/alteration/razor/Home.cshtml +6 -0
  45. data/bin/templates/alteration/razor/HomeEndpoint.cs +10 -0
  46. data/bin/templates/alteration/razor/HomeModel.cs +7 -0
  47. data/bin/templates/alteration/razor/Shared/Application.cshtml +11 -0
  48. data/bin/templates/alteration/razor/instructions.txt +4 -0
  49. data/bin/templates/alteration/razor/nuget.txt +3 -0
  50. data/bin/templates/alteration/serenity/%SHORT_NAME%System.cs +19 -0
  51. data/bin/templates/alteration/serenity/instructions.txt +4 -0
  52. data/bin/templates/alteration/serenity/nuget.txt +1 -0
  53. data/bin/templates/alteration/spark/nuget.txt +2 -1
  54. data/bin/templates/alteration/storyteller/Fixtures/MathFixture.cs +17 -0
  55. data/bin/templates/alteration/storyteller/Tests/Math/TwoPlusTwo.xml +7 -0
  56. data/bin/templates/alteration/storyteller/ignore.txt +2 -0
  57. data/bin/templates/alteration/storyteller/instructions.txt +16 -0
  58. data/bin/templates/alteration/storyteller/nuget.txt +1 -0
  59. data/bin/templates/alteration/storyteller/rake.txt +6 -0
  60. data/bin/templates/alteration/structuremap/instructions.txt +1 -1
  61. data/bin/templates/project/aspnet/Global.asax +1 -0
  62. data/bin/templates/project/aspnet/Global.asax.cs +21 -0
  63. data/bin/templates/project/aspnet/Properties/AssemblyInfo.cs +8 -0
  64. data/bin/templates/project/aspnet/Web.config +49 -0
  65. data/bin/templates/project/aspnet/csproj.xml +81 -0
  66. data/bin/templates/{alteration/fubumvc-empty → project/aspnet}/ripple.dependencies.config +0 -0
  67. data/bin/templates/project/baseline/Properties/AssemblyInfo.cs +8 -0
  68. data/bin/templates/project/baseline/ripple.dependencies.config +0 -0
  69. data/bin/templates/solution/baseline/ignore.txt +2 -1
  70. data/bin/templates/solution/baseline/rake.txt +1 -1
  71. data/bin/templates/solution/edge-ripple/ripple.config +1 -1
  72. data/bin/templates/solution/floating-ripple/ripple.config +1 -1
  73. data/bin/templates/solution/public-ripple/ripple.config +1 -1
  74. metadata +68 -10
  75. data/bin/fubu.exe +0 -0
  76. data/bin/templates/alteration/fubu-bottle/assembly-info.txt +0 -3
  77. data/bin/templates/alteration/fubu-bottle/nuget.txt +0 -2
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MmQ0Y2I5OWMxODE5OGMxMDMzMjVlM2VkYjY3ZDFjNjNjMzQyYmY2YQ==
4
+ YzMzMjc5ZjNjZWVjNTZjMzA2ODQ1NDQ2NjczYjY3MTUwYThiZGNjYw==
5
5
  data.tar.gz: !binary |-
6
- MDk3YjRjZjg1Y2QzODQ5ZWM3NTk5MDVjMTA3MjFiMjEyZmIxYzY4Zg==
6
+ NjM0MWI4NmMwNzBhZmRhYzY0NzYxMjJjMmE4YTZiMWY1NjM1YmRmNA==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- ZDQxZjY1YWY5N2ZmOTE3ODUwNGFiYjEwZmFlNmNjNzFjNzIwMmRiMzk1NWVm
10
- Nzk3MjBiNTFjMTRlNmQ1MzJlMTE0NjQwZGQ4Mzk4ZDkxNmQyYzM1NTcwYTE5
11
- YWViYmQwMzFiOTMxYjk5YzI5NGRmMWE2OGY3MzFmNGEyYjI3ZDc=
9
+ NjFhMzNmZmUzZWY5YzdkMDY0NmZlMGI4MzViYmIxMGYxMTljNWYxOTdhZGMw
10
+ M2YzYjYxZGU5ZmQyNTc5ZmE1YzNlN2RhNjg0NGU3NjA5YTBjYWNkZmUxM2Yw
11
+ YzZhZDg4MGUxOGY2ZmEwMTE5MzdjNjkyYTQ3NDVkOWI4YmRlOGQ=
12
12
  data.tar.gz: !binary |-
13
- YzVmNzcxNjAxZDdmNmMxY2JjZmJkODY1MzViODRiYTMyM2JmNjNhZTkwY2Vk
14
- NDdhM2Q5MmVhYmNjZjdlZGNhYmNjNTVjMTBjNmFjYmViMjk4MTQ0MWZjN2Vh
15
- YjQzMDFmZjJkMGI0M2RmYmVjMzM5YzQyN2Q0NzI2NGZkOTgzNzE=
13
+ MjgzYThkMmM5ODlmOGE5YWZiM2ZlNmUwZGVjNzZjNTBjZjk3OGZlYTI4MzAy
14
+ YWM3ZjEyYzI0YzVhNGNmZGExYmU1M2I3Y2YwYzczZmQ3M2ViN2NhYjcyODVh
15
+ NjhjNmU5OGM3OTY5YmU4NGMxM2VkMWUyOWMzYjA1YjY3ZTU3MmY=
data/bin/Bottles.dll CHANGED
Binary file
data/bin/Fubu.exe ADDED
Binary file
data/bin/FubuCore.dll CHANGED
Binary file
Binary file
Binary file
data/bin/FubuMVC.Core.dll CHANGED
Binary file
Binary file
Binary file
Binary file
data/bin/HtmlTags.dll CHANGED
Binary file
data/bin/Ionic.Zip.dll CHANGED
Binary file
Binary file
Binary file
data/bin/WebDriver.dll CHANGED
Binary file
data/bin/chromedriver.exe CHANGED
Binary file
data/bin/fubu CHANGED
@@ -1,9 +1,15 @@
1
- #!C:/Ruby/bin/ruby.exe
1
+ #!/bin/env ruby
2
2
  #
3
3
  # This file was generated by RubyGems.
4
4
  #
5
5
  # The application 'fubu' is installed as part of a gem, and
6
6
  # this file is here to facilitate running it.
7
7
  #
8
- result = system(File.dirname(__FILE__) + "/fubu.exe " + ARGV.join(' '))
9
- exit 1 unless result
8
+ cmd = ""
9
+ if(!RUBY_PLATFORM.match("linux|darwin").nil?)
10
+ cmd << "mono "
11
+ end
12
+ cmd << File.dirname(__FILE__) + "/Fubu.exe " + ARGV.join(' ')
13
+
14
+ result = system(cmd)
15
+ exit 1 unless result
@@ -0,0 +1,62 @@
1
+ <templates>
2
+ <category type="new">
3
+ <project name="web-app" description="New FubuMVC application project" template="aspnet" alterations="fubumvc-empty, fubu-rake-tasks">
4
+ <selection name="ioc" description="IoC Container" >
5
+ <option name="structuremap" description="Use StructureMap for IoC" alterations="structuremap"/>
6
+ </selection>
7
+ <selection name="views" description="View Engine">
8
+ <option name="no-views" description="No view engine" alterations="no-views"/>
9
+ <option name="spark" description="Spark view engine" alterations="spark"/>
10
+ <option name="razor" description="Razor view engine" alterations="razor"/>
11
+ </selection>
12
+ </project>
13
+ <project name="web-bottle" description="New FubuMVC Bottle" template="baseline" alterations="fubumvc-bottle">
14
+
15
+ </project>
16
+ <project name="library" description="Simple Class Library project" template="baseline" alterations="fubucore"></project>
17
+ <project name="service" description="Windows Service using BottlesServiceRunner and TopShelf" template="baseline" alterations="bottle-service, empty-bottle-service">
18
+
19
+ </project>
20
+
21
+ <project name="transport-service" description="New FubuTransportation application" template="baseline" alterations="bottle-service, fubutransportation, fubu-rake-tasks" dotnet="v4.5">
22
+ <selection name="ioc" description="IoC Container" >
23
+ <option name="structuremap" description="Use StructureMap for IoC" alterations="ft-structuremap"/>
24
+ </selection>
25
+ <selection name="transport" description="Initial transport choice -- you can add additional transports later">
26
+ <option name="lq" description="LightningQueues transport" alterations="ft-lightningqueues"/>
27
+ <option name="in-memory" description="In Memory transport suitable for experimentation or light testing" alterations="ft-in-memory"/>
28
+ </selection>
29
+ </project>
30
+
31
+
32
+ </category>
33
+ <category type="add">
34
+ <project name="library" description="Simple Class Library project" template="baseline" alterations="fubucore"></project>
35
+ <project name="web-bottle" description="New FubuMVC Bottle" template="baseline" alterations="fubumvc-bottle"></project>
36
+
37
+ <project name="web-app" description="New FubuMVC application project" template="aspnet" alterations="fubumvc-empty, fubu-rake-tasks">
38
+ <selection name="ioc" description="IoC Container" >
39
+ <option name="structuremap" description="Use StructureMap for IoC" alterations="structuremap"/>
40
+ </selection>
41
+ <selection name="views" description="View Engine">
42
+ <option name="no-views" description="No view engine" alterations="no-views"/>
43
+ <option name="spark" description="Spark view engine" alterations="spark"/>
44
+ <option name="razor" description="Razor view engine" alterations="razor"/>
45
+ </selection>
46
+ </project>
47
+
48
+ <project name="service" description="Windows Service using BottlesServiceRunner and TopShelf" template="baseline" alterations="bottle-service, empty-bottle-service">
49
+
50
+ </project>
51
+
52
+ <project name="transport-service" description="New FubuTransportation application" template="baseline" alterations="bottle-service, fubutransportation, fubu-rake-tasks" dotnet="v4.5">
53
+ <selection name="ioc" description="IoC Container" >
54
+ <option name="structuremap" description="Use StructureMap for IoC" alterations="ft-structuremap"/>
55
+ </selection>
56
+ <selection name="transport" description="Initial transport choice -- you can add additional transports later">
57
+ <option name="lq" description="LightningQueues transport" alterations="ft-lightningqueues"/>
58
+ <option name="in-memory" description="In Memory transport suitable for experimentation or light testing" alterations="ft-in-memory"/>
59
+ </selection>
60
+ </project>
61
+ </category>
62
+ </templates>
@@ -0,0 +1,11 @@
1
+ <service>
2
+ <Name>%SERVICE_NAME%</Name>
3
+ <DisplayName>%DISPLAY_NAME%</DisplayName>
4
+ <Description>A Bottles/TopShelf hosted service</Description>
5
+ <UseEventLog>False</UseEventLog>
6
+
7
+ <!-- Set this if there is an ambiguity about what bootstrapper or IApplicationLoader
8
+ BottleServiceRunner should use -->
9
+ <!--<BootstrapperType>assembly qualified name of a specific bootstrapper type</BootstrapperType>-->
10
+
11
+ </service>
@@ -0,0 +1,2 @@
1
+ %SERVICE_NAME%=%SHORT_NAME%,The service name
2
+ %DISPLAY_NAME%=%SERVICE_NAME%,The displayed service name in the services control panel
@@ -0,0 +1 @@
1
+ BottleServiceRunner
@@ -0,0 +1,6 @@
1
+ FubuRake::BottleServices.new({
2
+ :prefix => "%RAKE_TASK_PREFIX%",
3
+
4
+ :dir => "%PROJECT_FOLDER%/bin/#{@solution.compilemode}",
5
+ :name => '%SERVICE_NAME%'
6
+ })
@@ -0,0 +1,23 @@
1
+ using Bottles.Services;
2
+ using System;
3
+
4
+ namespace %NAMESPACE%
5
+ {
6
+ public class %SERVICE_NAME%Loader : IApplicationLoader, IDisposable
7
+ {
8
+ public IDisposable Load()
9
+ {
10
+ // Bootstrap your service code in this method
11
+ // Returning an IDisposable here is just a way
12
+ // to allow BottleServiceRunner to cleanly
13
+ // shut down the running application later
14
+ return this;
15
+ }
16
+
17
+ public void Dispose()
18
+ {
19
+ // shut down your running code and clean
20
+ // up resources
21
+ }
22
+ }
23
+ }
@@ -0,0 +1,33 @@
1
+ using System;
2
+ using FubuTransportation;
3
+ using FubuTransportation.Configuration;
4
+
5
+ namespace %NAMESPACE%
6
+ {
7
+ public class BusSettings
8
+ {
9
+ public BusSettings()
10
+ {
11
+ Inbound = "memory://transport/inbound".ToUri();
12
+ Outbound = "memory://transport/outbound".ToUri();
13
+ }
14
+
15
+ public Uri Inbound { get; set; }
16
+ public Uri Outbound { get; set; }
17
+ }
18
+
19
+ public class %TRANSPORT_REGISTRY% : FubuTransportRegistry<BusSettings>
20
+ {
21
+ public %TRANSPORT_REGISTRY%()
22
+ {
23
+ EnableInMemoryTransport();
24
+
25
+ // More options are available for thread or task scheduling
26
+ Channel(x => x.Inbound).ReadIncoming();
27
+
28
+ // Static subscriptions
29
+ Channel(x => x.Outbound)
30
+ .AcceptsMessages(x => true);
31
+ }
32
+ }
33
+ }
@@ -0,0 +1,31 @@
1
+ using System;
2
+ using FubuTransportation;
3
+ using FubuTransportation.Configuration;
4
+
5
+ namespace %NAMESPACE%
6
+ {
7
+ public class BusSettings
8
+ {
9
+ public BusSettings()
10
+ {
11
+ Inbound = new Uri("lq.tcp://localhost:2200/inbound");
12
+ Outbound = new Uri("lq.tcp://localhost:2201/outbound");
13
+ }
14
+
15
+ public Uri Inbound { get; set; }
16
+ public Uri Outbound { get; set; }
17
+ }
18
+
19
+ public class %TRANSPORT_REGISTRY% : FubuTransportRegistry<BusSettings>
20
+ {
21
+ public %TRANSPORT_REGISTRY%()
22
+ {
23
+ // More options are available for thread or task scheduling
24
+ Channel(x => x.Inbound).ReadIncoming();
25
+
26
+ // Static subscriptions
27
+ Channel(x => x.Outbound)
28
+ .AcceptsMessages(x => true);
29
+ }
30
+ }
31
+ }
@@ -0,0 +1 @@
1
+ fubutransportation.esent.*
@@ -0,0 +1 @@
1
+ FubuTransportation.LightningQueues
@@ -0,0 +1,16 @@
1
+ using FubuMVC.Core;
2
+ using FubuMVC.StructureMap;
3
+ using FubuTransportation.Configuration;
4
+ using StructureMap;
5
+
6
+ namespace %NAMESPACE%
7
+ {
8
+ public class %APPLICATION_SOURCE% : IApplicationSource
9
+ {
10
+ public FubuApplication BuildApplication()
11
+ {
12
+ return FubuTransport.For<%TRANSPORT_REGISTRY%>()
13
+ .StructureMap<%STRUCTUREMAP_REGISTRY%>();
14
+ }
15
+ }
16
+ }
@@ -0,0 +1,19 @@
1
+ using StructureMap.Configuration.DSL;
2
+
3
+ namespace %NAMESPACE%
4
+ {
5
+ public class %STRUCTUREMAP_REGISTRY% : Registry
6
+ {
7
+ public %STRUCTUREMAP_REGISTRY%()
8
+ {
9
+ // make any StructureMap configuration here
10
+
11
+ // Sets up the default "IFoo is Foo" naming convention
12
+ // for auto-registration within this assembly
13
+ Scan(x => {
14
+ x.TheCallingAssembly();
15
+ x.WithDefaultConventions();
16
+ });
17
+ }
18
+ }
19
+ }
@@ -0,0 +1 @@
1
+ %STRUCTUREMAP_REGISTRY%=%SHORT_NAME%Registry
@@ -0,0 +1,9 @@
1
+
2
+
3
+ * StructureMap configuration is in the file %SHORT_NAME%Registry
4
+ * StructureMap's default 'IFoo is Foo' conventions are configured for this project
5
+
6
+ The FubuTransportation application is defined in the %APPLICATION_SOURCE% class. It's unlikely that you'll
7
+ need to customize the application bootstrapping, but %APPLICATION_SOURCE% is where that would
8
+ happen. You will want to refer to this class later if you use multiple forms of hosting (ASP.Net,
9
+ Katana, or Serenity).
@@ -0,0 +1,2 @@
1
+ FubuMVC.StructureMap
2
+ structuremap/2.6.3
@@ -1 +1 @@
1
- FubuRake::MvcApp.new({:directory => '%PROJECT_FOLDER%', :name => '%SHORT_NAME%'})
1
+ FubuRake::MvcApp.new({:directory => '%PROJECT_FOLDER%', :name => '%RAKE_TASK_PREFIX%'})
@@ -0,0 +1 @@
1
+ FubuCore
@@ -6,6 +6,10 @@ namespace %NAMESPACE%
6
6
  {
7
7
  public %SHORT_NAME%Registry()
8
8
  {
9
+ // The presence of this class by itself will allow you
10
+ // to import Endpoint/Chains from this Bottle into the main
11
+ // application
12
+
9
13
  // Register any custom FubuMVC policies, inclusions, or
10
14
  // other FubuMVC configuration here for ONLY this bottle
11
15
  // Or leave as is to use the default conventions unchanged
@@ -0,0 +1,2 @@
1
+ // Marks this assembly as a Bottle for FubuMVC/FubuTransportation apps
2
+ [assembly: FubuMVC.Core.FubuModule]
@@ -0,0 +1 @@
1
+ FubuMVC.Core
@@ -1 +1 @@
1
- %FUBU_REGISTRY%=%SHORT_NAME%FubuRegistry
1
+ %FUBU_REGISTRY%=%SHORT_NAME%FubuRegistry,The name of the FubuRegistry class for the application
@@ -0,0 +1,2 @@
1
+ %APPLICATION_SOURCE%=%SHORT_NAME%Application
2
+ %TRANSPORT_REGISTRY%=%SHORT_NAME%TransportRegistry
@@ -0,0 +1 @@
1
+ FubuTransportation
@@ -1,5 +1,2 @@
1
- RavenDB.Client/2.0.2230
2
- RavenDB.Database/2.0.2230
3
- RavenDB.Embedded/2.0.2230
4
- FubuMVC.RavenDb
5
- Microsoft.CompilerServices.AsyncTargetingPack/1.0.1
1
+ StructureMap/2.6.3
2
+ FubuMVC.RavenDb/0.9.5.85
@@ -0,0 +1,6 @@
1
+ @model %NAMESPACE%.HomeModel
2
+
3
+ <h4>Instructions</h4>
4
+ <pre>
5
+ %INSTRUCTIONS%
6
+ </pre>
@@ -0,0 +1,10 @@
1
+ namespace %NAMESPACE%
2
+ {
3
+ public class HomeEndpoint
4
+ {
5
+ public HomeModel Index(HomeModel model)
6
+ {
7
+ return model;
8
+ }
9
+ }
10
+ }
@@ -0,0 +1,7 @@
1
+ namespace %NAMESPACE%
2
+ {
3
+ public class HomeModel
4
+ {
5
+
6
+ }
7
+ }
@@ -0,0 +1,11 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>Test title</title>
5
+ </head>
6
+ <body>
7
+ @RenderSection("header", false)
8
+ @RenderBody()
9
+ @RenderSection("footer", false)
10
+ </body>
11
+ </html>
@@ -0,0 +1,4 @@
1
+ * The home page is served by HomeEndpoint.Index()
2
+ * HomeEndpoint.Index() could be eliminated if you choose
3
+ to use Home.cshtml as an 'actionless view'
4
+ * Shared/Application.cshtml is the master layout for the application
@@ -0,0 +1,3 @@
1
+ FubuMVC.Razor
2
+ FubuMVC.TwitterBootstrap
3
+ FubuMVC.Core.UI
@@ -0,0 +1,19 @@
1
+ using FubuMVC.Core;
2
+ using Serenity;
3
+ using System;
4
+
5
+ namespace %NAMESPACE%
6
+ {
7
+ public class ReplaceWithYourApplicationSource : IApplicationSource
8
+ {
9
+ public FubuApplication BuildApplication()
10
+ {
11
+ throw new NotImplementedException();
12
+ }
13
+ }
14
+
15
+ public class %SHORT_NAME%System : FubuMvcSystem<ReplaceWithYourApplicationSource>
16
+ {
17
+
18
+ }
19
+ }
@@ -0,0 +1,4 @@
1
+ Serenity Integration
2
+
3
+ * You will need to change the class %SHORT_NAME%System to connect to
4
+ the real FubuMVC/FubuTransportation application
@@ -0,0 +1 @@
1
+ Serenity
@@ -1,3 +1,4 @@
1
1
  FubuMVC.Spark
2
2
  FubuMVC.TwitterBootstrap
3
- FubuMVC.Core.UI
3
+ FubuMVC.Core.UI
4
+ Spark/1.7.5.0
@@ -0,0 +1,17 @@
1
+ using System;
2
+ using System.Diagnostics;
3
+ using System.Threading;
4
+ using StoryTeller.Engine;
5
+
6
+ namespace %NAMESPACE%
7
+ {
8
+ // TODO -- Delete Me! I'm just a standin
9
+ public class MathFixture : Fixture
10
+ {
11
+ [FormatAs("Adding {x} to {y} should be {returnValue}")]
12
+ public double Adding(double x, double y)
13
+ {
14
+ return x + y;
15
+ }
16
+ }
17
+ }
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0"?>
2
+ <Test name="Two plus Two" lifecycle="Acceptance">
3
+ <Math>
4
+ <Comment>Storyteller can do more complicated things than this</Comment>
5
+ <Adding x="2" y="2" returnValue="4" />
6
+ </Math>
7
+ </Test>
@@ -0,0 +1,2 @@
1
+ history.xml
2
+ results.htm
@@ -0,0 +1,16 @@
1
+ Storyteller2 Integration
2
+
3
+ * This template does not create a Storyteller ISystem. If your system under test requires
4
+ custom bootstrapping and teardown, it's suggested that you add your own implementation of
5
+ Storyteller.Engine.ISystem to your testing assembly
6
+
7
+ * In your rakefile, you may want to change the Storyteller tasks according to the options at
8
+ http://fubuworld.com/fuburake/storyteller2-integration/
9
+
10
+ * Fixture classes are generally kept in the Fixtures namespace, but this is only an idiom,
11
+ not a requirement. There is a standin MathFixture there you will want to remove.
12
+
13
+ * Storyteller2 tests are assumed to be in the /Tests folder, but each test at this time
14
+ will need to be under a suite folder. There is a single standin test as part of this
15
+ template
16
+
@@ -0,0 +1 @@
1
+ Storyteller2
@@ -0,0 +1,6 @@
1
+ # You may have to change the value of :compilemode below to reflect
2
+ # your rake file
3
+ FubuRake::Storyteller.new({
4
+ :path => '%PROJECT_FOLDER%',
5
+ :compilemode => @solution.compilemode
6
+ })
@@ -1,7 +1,7 @@
1
1
 
2
2
 
3
3
  * StructureMap configuration is in the file %SHORT_NAME%Registry
4
- * StructureMap's default "IFoo is Foo" conventions are configured for this project
4
+ * StructureMap's default 'IFoo is Foo' conventions are configured for this project
5
5
 
6
6
  The FubuMVC application is defined in the %APPLICATION_SOURCE% class. It's unlikely that you'll
7
7
  need to customize the application bootstrapping, but %APPLICATION_SOURCE% is where that would
@@ -0,0 +1 @@
1
+ <%@ Application Codebehind="Global.asax.cs" Inherits="%ASSEMBLY_NAME%.Global" Language="C#" %>
@@ -0,0 +1,21 @@
1
+ using System;
2
+ using System.Web;
3
+ using FubuMVC.Core;
4
+
5
+ namespace %ASSEMBLY_NAME%
6
+ {
7
+ public class Global : HttpApplication
8
+ {
9
+ private FubuRuntime _runtime;
10
+
11
+ protected void Application_Start(object sender, EventArgs e)
12
+ {
13
+ _runtime = FubuApplication.BootstrapApplication<%APPLICATION_SOURCE%>();
14
+ }
15
+
16
+ protected void Application_End(object sender, EventArgs e)
17
+ {
18
+ _runtime.Dispose();
19
+ }
20
+ }
21
+ }
@@ -0,0 +1,8 @@
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("%PROJECT_NAME%")]
@@ -0,0 +1,49 @@
1
+ <?xml version="1.0"?>
2
+
3
+ <!--
4
+ For more information on how to configure your ASP.NET application, please visit
5
+ http://go.microsoft.com/fwlink/?LinkId=169433
6
+ -->
7
+
8
+ <configuration>
9
+ <system.web>
10
+ <compilation debug="true" targetFramework="4.0" />
11
+ </system.web>
12
+ <system.webServer>
13
+ <validation validateIntegratedModeConfiguration="false" />
14
+ <modules runAllManagedModulesForAllRequests="true" />
15
+ <rewrite>
16
+ <rules>
17
+ <rule name="HTTP to HTTPS redirect" stopProcessing="true">
18
+ <match url="(.*)" />
19
+ <conditions>
20
+ <add input="{HTTPS}" pattern="off" ignoreCase="true" />
21
+ </conditions>
22
+ <action type="Redirect" redirectType="Found" url="https://{HTTP_HOST}/{R:1}" />
23
+ </rule>
24
+ </rules>
25
+ </rewrite>
26
+ </system.webServer>
27
+
28
+ <location path="Content" allowOverride="true">
29
+ <system.web>
30
+ <authorization>
31
+ <allow users="*" />
32
+ </authorization>
33
+ </system.web>
34
+ </location>
35
+ <location path="_content" allowOverride="true">
36
+ <system.web>
37
+ <authorization>
38
+ <allow users="*" />
39
+ </authorization>
40
+ </system.web>
41
+ </location>
42
+ <location path="fubu-content">
43
+ <system.web>
44
+ <authorization>
45
+ <deny users="*" />
46
+ </authorization>
47
+ </system.web>
48
+ </location>
49
+ </configuration>
@@ -0,0 +1,81 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3
+ <PropertyGroup>
4
+ <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
5
+ <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
6
+ <ProductVersion>8.0.30703</ProductVersion>
7
+ <SchemaVersion>2.0</SchemaVersion>
8
+ <ProjectGuid>GUID</ProjectGuid>
9
+ <ProjectTypeGuids>{349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids>
10
+ <OutputType>Library</OutputType>
11
+ <RootNamespace></RootNamespace>
12
+ <AssemblyName></AssemblyName>
13
+ <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
14
+ <FileAlignment>512</FileAlignment>
15
+ <FileUpgradeFlags></FileUpgradeFlags>
16
+ </PropertyGroup>
17
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
18
+ <DebugSymbols>true</DebugSymbols>
19
+ <DebugType>full</DebugType>
20
+ <Optimize>false</Optimize>
21
+ <OutputPath>bin</OutputPath>
22
+ <DefineConstants>DEBUG;TRACE</DefineConstants>
23
+ <ErrorReport>prompt</ErrorReport>
24
+ <WarningLevel>4</WarningLevel>
25
+ </PropertyGroup>
26
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
27
+ <DebugType>pdbonly</DebugType>
28
+ <Optimize>true</Optimize>
29
+ <OutputPath>bin</OutputPath>
30
+ <DefineConstants>TRACE</DefineConstants>
31
+ <ErrorReport>prompt</ErrorReport>
32
+ <WarningLevel>4</WarningLevel>
33
+ </PropertyGroup>
34
+ <ItemGroup>
35
+ <Reference Include="Microsoft.CSharp" />
36
+ <Reference Include="System" />
37
+ <Reference Include="System.Core" />
38
+ <Reference Include="System.Web" />
39
+ </ItemGroup>
40
+ <ItemGroup>
41
+ <Compile Include="..\CommonAssemblyInfo.cs">
42
+ <Link>CommonAssemblyInfo.cs</Link>
43
+ </Compile>
44
+ </ItemGroup>
45
+ <ItemGroup>
46
+ <Content Include="Web.config" />
47
+ </ItemGroup>
48
+ <PropertyGroup>
49
+ <VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">10.0</VisualStudioVersion>
50
+ <VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
51
+ </PropertyGroup>
52
+ <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
53
+ <Import Project="$(VSToolsPath)\WebApplications\Microsoft.WebApplication.targets" Condition="'$(VSToolsPath)' != ''" />
54
+ <Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets" Condition="false" />
55
+ <ProjectExtensions>
56
+ <VisualStudio>
57
+ <FlavorProperties GUID="{349c5851-65df-11da-9384-00065b846f21}">
58
+ <WebProjectProperties>
59
+ <UseIIS>False</UseIIS>
60
+ <AutoAssignPort>True</AutoAssignPort>
61
+ <DevelopmentServerPort>49886</DevelopmentServerPort>
62
+ <DevelopmentServerVPath>/</DevelopmentServerVPath>
63
+ <IISUrl>
64
+ </IISUrl>
65
+ <NTLMAuthentication>False</NTLMAuthentication>
66
+ <UseCustomServer>False</UseCustomServer>
67
+ <CustomServerUrl>
68
+ </CustomServerUrl>
69
+ <SaveServerSettingsInUserFile>False</SaveServerSettingsInUserFile>
70
+ </WebProjectProperties>
71
+ </FlavorProperties>
72
+ </VisualStudio>
73
+ </ProjectExtensions>
74
+ <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
75
+ Other similar extension points exist, see Microsoft.Common.targets.
76
+ <Target Name="BeforeBuild">
77
+ </Target>
78
+ <Target Name="AfterBuild">
79
+ </Target>
80
+ -->
81
+ </Project>
@@ -0,0 +1,8 @@
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("%ASSEMBLY_NAME%")]
@@ -26,4 +26,5 @@ results
26
26
  *.DotSettings.user
27
27
  Gemfile.lock
28
28
  logs
29
- pak*.zip
29
+ pak*.zip
30
+ fubu-content
@@ -1,6 +1,6 @@
1
1
  require 'fuburake'
2
2
 
3
- FubuRake::Solution.new do |sln|
3
+ @solution = FubuRake::Solution.new do |sln|
4
4
  sln.compile = {
5
5
  :solutionfile => '%SOLUTION_PATH%'
6
6
  }
@@ -9,7 +9,7 @@
9
9
  <DefaultFixedConstraint>Current,NextMajor</DefaultFixedConstraint>
10
10
  <Feeds>
11
11
  <Feed Url="http://build.fubu-project.org/guestAuth/app/nuget/v1/FeedService.svc" Mode="Fixed" Stability="ReleasedOnly" />
12
- <Feed Url="http://nuget.org/api/v2" Mode="Fixed" Stability="ReleasedOnly" />
12
+ <Feed Url="http://nuget.org/api/v2" Mode="Fixed" Stability="Anything" />
13
13
  <Feed Url="http://packages.nuget.org/v1/FeedService.svc" Mode="Fixed" Stability="ReleasedOnly" />
14
14
  </Feeds>
15
15
  <Nugets>
@@ -9,7 +9,7 @@
9
9
  <DefaultFixedConstraint>Current,NextMajor</DefaultFixedConstraint>
10
10
  <Feeds>
11
11
  <Feed Url="http://build.fubu-project.org/guestAuth/app/nuget/v1/FeedService.svc" Mode="Float" Stability="ReleasedOnly" />
12
- <Feed Url="http://nuget.org/api/v2" Mode="Fixed" Stability="ReleasedOnly" />
12
+ <Feed Url="http://nuget.org/api/v2" Mode="Fixed" Stability="Anything" />
13
13
  <Feed Url="http://packages.nuget.org/v1/FeedService.svc" Mode="Fixed" Stability="ReleasedOnly" />
14
14
  </Feeds>
15
15
  <Nugets>
@@ -8,7 +8,7 @@
8
8
  <DefaultFloatConstraint>Current</DefaultFloatConstraint>
9
9
  <DefaultFixedConstraint>Current,NextMajor</DefaultFixedConstraint>
10
10
  <Feeds>
11
- <Feed Url="http://nuget.org/api/v2" Mode="Fixed" Stability="ReleasedOnly" />
11
+ <Feed Url="http://nuget.org/api/v2" Mode="Fixed" Stability="Anything" />
12
12
  <Feed Url="http://packages.nuget.org/v1/FeedService.svc" Mode="Fixed" Stability="ReleasedOnly" />
13
13
  </Feeds>
14
14
  <Nugets>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fubu
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.9.317
4
+ version: 0.9.9.370
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeremy D. Miller
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2013-09-20 00:00:00.000000000 Z
14
+ date: 2013-12-17 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: rake
@@ -51,7 +51,7 @@ files:
51
51
  - bin/Bottles.dll
52
52
  - bin/chromedriver.exe
53
53
  - bin/fubu
54
- - bin/fubu.exe
54
+ - bin/Fubu.exe
55
55
  - bin/FubuCore.dll
56
56
  - bin/FubuCsProjFile.dll
57
57
  - bin/FubuLocalization.dll
@@ -77,23 +77,59 @@ files:
77
77
  - bin/templates/alteration
78
78
  - bin/templates/alteration/autofac
79
79
  - bin/templates/alteration/autofac/nuget.txt
80
- - bin/templates/alteration/fubu-bottle
81
- - bin/templates/alteration/fubu-bottle/assembly-info.txt
82
- - bin/templates/alteration/fubu-bottle/BottleConfiguration.cs
83
- - bin/templates/alteration/fubu-bottle/instructions.txt
84
- - bin/templates/alteration/fubu-bottle/nuget.txt
80
+ - bin/templates/alteration/bottle-service
81
+ - bin/templates/alteration/bottle-service/bottle-service.config
82
+ - bin/templates/alteration/bottle-service/inputs.txt
83
+ - bin/templates/alteration/bottle-service/nuget.txt
84
+ - bin/templates/alteration/bottle-service/rake.txt
85
+ - bin/templates/alteration/empty-bottle-service
86
+ - bin/templates/alteration/empty-bottle-service/%SERVICE_NAME%Loader.cs
87
+ - bin/templates/alteration/ft-in-memory
88
+ - bin/templates/alteration/ft-in-memory/FubuTransportationSetup.cs
89
+ - bin/templates/alteration/ft-lightningqueues
90
+ - bin/templates/alteration/ft-lightningqueues/FubuTransportationSetup.cs
91
+ - bin/templates/alteration/ft-lightningqueues/ignore.txt
92
+ - bin/templates/alteration/ft-lightningqueues/nuget.txt
93
+ - bin/templates/alteration/ft-structuremap
94
+ - bin/templates/alteration/ft-structuremap/%APPLICATION_SOURCE%.cs
95
+ - bin/templates/alteration/ft-structuremap/%STRUCTUREMAP_REGISTRY%.cs
96
+ - bin/templates/alteration/ft-structuremap/inputs.txt
97
+ - bin/templates/alteration/ft-structuremap/instructions.txt
98
+ - bin/templates/alteration/ft-structuremap/nuget.txt
99
+ - bin/templates/alteration/fubu-rake-tasks
100
+ - bin/templates/alteration/fubu-rake-tasks/rake.txt
101
+ - bin/templates/alteration/fubucore
102
+ - bin/templates/alteration/fubucore/nuget.txt
103
+ - bin/templates/alteration/fubumvc-bottle
104
+ - bin/templates/alteration/fubumvc-bottle/assembly-info.txt
105
+ - bin/templates/alteration/fubumvc-bottle/BottleConfiguration.cs
106
+ - bin/templates/alteration/fubumvc-bottle/instructions.txt
107
+ - bin/templates/alteration/fubumvc-bottle/nuget.txt
85
108
  - bin/templates/alteration/fubumvc-empty
86
109
  - bin/templates/alteration/fubumvc-empty/%FUBU_REGISTRY%.cs
87
110
  - bin/templates/alteration/fubumvc-empty/inputs.txt
88
111
  - bin/templates/alteration/fubumvc-empty/instructions.txt
89
112
  - bin/templates/alteration/fubumvc-empty/nuget.txt
90
- - bin/templates/alteration/fubumvc-empty/rake.txt
91
- - bin/templates/alteration/fubumvc-empty/ripple.dependencies.config
113
+ - bin/templates/alteration/fubutransportation
114
+ - bin/templates/alteration/fubutransportation/inputs.txt
115
+ - bin/templates/alteration/fubutransportation/nuget.txt
92
116
  - bin/templates/alteration/no-views
93
117
  - bin/templates/alteration/no-views/HomeEndpoint.cs
94
118
  - bin/templates/alteration/no-views/instructions.txt
95
119
  - bin/templates/alteration/raven
96
120
  - bin/templates/alteration/raven/nuget.txt
121
+ - bin/templates/alteration/razor
122
+ - bin/templates/alteration/razor/Home.cshtml
123
+ - bin/templates/alteration/razor/HomeEndpoint.cs
124
+ - bin/templates/alteration/razor/HomeModel.cs
125
+ - bin/templates/alteration/razor/instructions.txt
126
+ - bin/templates/alteration/razor/nuget.txt
127
+ - bin/templates/alteration/razor/Shared
128
+ - bin/templates/alteration/razor/Shared/Application.cshtml
129
+ - bin/templates/alteration/serenity
130
+ - bin/templates/alteration/serenity/%SHORT_NAME%System.cs
131
+ - bin/templates/alteration/serenity/instructions.txt
132
+ - bin/templates/alteration/serenity/nuget.txt
97
133
  - bin/templates/alteration/spark
98
134
  - bin/templates/alteration/spark/Home.spark
99
135
  - bin/templates/alteration/spark/HomeEndpoint.cs
@@ -104,6 +140,16 @@ files:
104
140
  - bin/templates/alteration/spark/Shared/Application.spark
105
141
  - bin/templates/alteration/spark/Shared/bindings.xml
106
142
  - bin/templates/alteration/spark/Shared/_global.spark
143
+ - bin/templates/alteration/storyteller
144
+ - bin/templates/alteration/storyteller/Fixtures
145
+ - bin/templates/alteration/storyteller/Fixtures/MathFixture.cs
146
+ - bin/templates/alteration/storyteller/ignore.txt
147
+ - bin/templates/alteration/storyteller/instructions.txt
148
+ - bin/templates/alteration/storyteller/nuget.txt
149
+ - bin/templates/alteration/storyteller/rake.txt
150
+ - bin/templates/alteration/storyteller/Tests
151
+ - bin/templates/alteration/storyteller/Tests/Math
152
+ - bin/templates/alteration/storyteller/Tests/Math/TwoPlusTwo.xml
107
153
  - bin/templates/alteration/structuremap
108
154
  - bin/templates/alteration/structuremap/%APPLICATION_SOURCE%.cs
109
155
  - bin/templates/alteration/structuremap/%STRUCTUREMAP_REGISTRY%.cs
@@ -114,8 +160,19 @@ files:
114
160
  - bin/templates/alteration/unit-testing/nuget.txt
115
161
  - bin/templates/alteration/unit-testing/Standin.cs
116
162
  - bin/templates/project
163
+ - bin/templates/project/aspnet
164
+ - bin/templates/project/aspnet/csproj.xml
165
+ - bin/templates/project/aspnet/Global.asax
166
+ - bin/templates/project/aspnet/Global.asax.cs
167
+ - bin/templates/project/aspnet/Properties
168
+ - bin/templates/project/aspnet/Properties/AssemblyInfo.cs
169
+ - bin/templates/project/aspnet/ripple.dependencies.config
170
+ - bin/templates/project/aspnet/Web.config
117
171
  - bin/templates/project/baseline
118
172
  - bin/templates/project/baseline/csproj.xml
173
+ - bin/templates/project/baseline/Properties
174
+ - bin/templates/project/baseline/Properties/AssemblyInfo.cs
175
+ - bin/templates/project/baseline/ripple.dependencies.config
119
176
  - bin/templates/solution
120
177
  - bin/templates/solution/baseline
121
178
  - bin/templates/solution/baseline/gems.txt
@@ -128,6 +185,7 @@ files:
128
185
  - bin/templates/solution/floating-ripple/ripple.config
129
186
  - bin/templates/solution/public-ripple
130
187
  - bin/templates/solution/public-ripple/ripple.config
188
+ - bin/templates/Templates.xml
131
189
  - bin/WebDriver.dll
132
190
  homepage: http://fubu-project.org
133
191
  licenses: []
data/bin/fubu.exe DELETED
Binary file
@@ -1,3 +0,0 @@
1
- using FubuMVC.Core;
2
-
3
- [assembly: FubuModule]
@@ -1,2 +0,0 @@
1
- FubuMVC.Core
2
- Bottles