Skip to content

Commit

Permalink
release 1.1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Arcath committed Mar 14, 2016
1 parent 46d3503 commit 0213b68
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Gruntfile.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -70,4 +70,4 @@ module.exports = (grunt) ->
grunt.registerTask 'test', ['shell:mocha']
grunt.registerTask 'coverage', ['mochaTest:coverage', 'shell:coveralls']
grunt.registerTask 'testDocs', ['coffee:source', 'mochaTest:testDocs']
grunt.registerTask 'publish', ['coffee', 'shell:publish', 'buildDist']
grunt.registerTask 'publish', ['coffee', 'shell:publish', 'shell:buildDist']
5 changes: 5 additions & 0 deletions dist/sodb.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,11 @@
return objects.filter(function(entry) {
return entry[field].indexOf(value) !== -1;
});
},
matches: function(field, value, objects) {
return objects.filter(function(entry) {
return value.test(entry[field]);
});
}
};

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sodb",
"version": "1.1.2",
"version": "1.1.3",
"description": "Single Object Database",
"main": "lib/sodb.js",
"scripts": {
Expand Down

0 comments on commit 0213b68

Please sign in to comment.