Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
rasmus committed Sep 24, 2015
2 parents e5aa034 + 25bf6a1 commit 16e5b42
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Documentation/Jobs.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,10 @@ like this.

```csharp
var resolver = EventFlowOptions.new
.UseHandfireJobScheduler() // This line
.UseHangfireJobScheduler() // This line
...
.CreateResolver();
```

Note that the `UseHandfireJobScheduler()` does do any Hangfire configuration,
Note that the `UseHangfireJobScheduler()` doesn't do any Hangfire configuration,
but merely registers the proper scheduler in EventFlow.
7 changes: 6 additions & 1 deletion RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
### New in 0.14 (not released yet)
### New in 0.15 (not released yet)

* Fixed: Added `UseHangfireJobScheduler()` and marked `UseHandfireJobScheduler()`
obsolete, fixing method spelling mistake

### New in 0.14.1051 (released 2015-09-23)

* Breaking: All `EventFlowOptions` extensions are now `IEventFlowOptions`
instead and `EventFlowOptions` implements this interface. If you have made
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public async Task Flow()
{
using (var resolver = EventFlowOptions.New
.AddDefaults(EventFlowTestHelpers.Assembly)
.UseHandfireJobScheduler()
.UseHangfireJobScheduler()
.CreateResolver(false))
{
GlobalConfiguration.Configuration
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
// IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

using System;
using EventFlow.Hangfire.Integration;
using EventFlow.Jobs;
using Hangfire;
Expand All @@ -28,8 +29,15 @@ namespace EventFlow.Hangfire.Extensions
{
public static class EventFlowOptionsHangfireExtensions
{
[Obsolete("Please use the correctly spelled 'UseHangfireJobScheduler()' instead")]
public static IEventFlowOptions UseHandfireJobScheduler(
this IEventFlowOptions eventFlowOptions)
{
return eventFlowOptions.UseHangfireJobScheduler();
}

public static IEventFlowOptions UseHangfireJobScheduler(
this IEventFlowOptions eventFlowOptions)
{
return eventFlowOptions.RegisterServices(sr =>
{
Expand Down
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
init:
- git config --global core.autocrlf input

version: 0.14.{build}
version: 0.15.{build}

skip_tags: true

Expand Down

0 comments on commit 16e5b42

Please sign in to comment.