Skip to content
Browse files

v1.0.8

  • Loading branch information...
1 parent 8f3d5ac commit 9cf6e8d664406a20f84d1feff9093488d75bb788 @nightroman committed Apr 19, 2012
Showing with 13 additions and 5 deletions.
  1. +1 −1 Module/Mdbc.psd1
  2. +8 −0 Release-Notes.md
  3. +1 −1 Src/AssemblyInfo.cs
  4. +1 −1 Src/Commands/NewDataCommand.cs
  5. +2 −2 Tests/Test-Query.ps1
View
2 Module/Mdbc.psd1
@@ -1,7 +1,7 @@
@{
Author = 'Roman Kuzmin'
- ModuleVersion = '1.0.7'
+ ModuleVersion = '1.0.8'
CompanyName = 'https://github.com/nightroman/Mdbc'
Description = 'Mdbc module - Windows PowerShell Cmdlets for MongoDB'
Copyright = '(C) 2011-2012 Roman Kuzmin. All rights reserved.'
View
8 Release-Notes.md
@@ -1,6 +1,14 @@
Mdbc Release Notes
==================
+## v1.0.8
+
+C# driver v1.4.1 patched for [CSHARP-447](https://jira.mongodb.org/browse/CSHARP-447).
+
+Adapted for [CSHARP-446](https://jira.mongodb.org/browse/CSHARP-446).
+
+Amended tests.
+
## v1.0.6, v1.0.7
Fixed weird silent PS errors on exporting module aliases.
View
2 Src/AssemblyInfo.cs
@@ -4,7 +4,7 @@
using System;
[assembly: AssemblyProduct("Mdbc")]
-[assembly: AssemblyVersion("1.0.7")]
+[assembly: AssemblyVersion("1.0.8")]
[assembly: AssemblyTitle("Mdbc module - MongoDB Cmdlets for PowerShell")]
[assembly: AssemblyCompany("https://github.com/nightroman/Mdbc")]
[assembly: AssemblyCopyright("Copyright (c) 2011-2012 Roman Kuzmin")]
View
2 Src/Commands/NewDataCommand.cs
@@ -32,7 +32,7 @@ public sealed class NewDataCommand : Cmdlet
void WriteDocument(BsonDocument document)
{
if (DocumentId != null)
- document.SetDocumentId(DocumentId.BaseObject);
+ document.SetDocumentId(BsonValue.Create(DocumentId.BaseObject));
else if (NewDocumentId)
document.SetDocumentId(BsonObjectId.GenerateNewId());
View
4 Tests/Test-Query.ps1
@@ -58,10 +58,10 @@ test { query Name -NE 42 } '{ "Name" : { "$ne" : 42 } }'
### [ Ignore Case ]
### IEQ
-test { query Name -IEQ te*xt } '{ "Name" : /^te\\*xt$/i }'
+test { query Name -IEQ te*xt } '{ "Name" : /^te\*xt$/i }'
### NEQ
-test { query Name -INE te*xt } '{ "Name" : { "$not" : /^te\\*xt$/i } }'
+test { query Name -INE te*xt } '{ "Name" : { "$not" : /^te\*xt$/i } }'
### [ Misc ]

0 comments on commit 9cf6e8d

Please sign in to comment.
Something went wrong with that request. Please try again.