Skip to content

Commit

Permalink
bump version to 2.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Gregg Van Hove committed Aug 24, 2017
1 parent 6d0f0ed commit 8cf8736
Show file tree
Hide file tree
Showing 4 changed files with 77 additions and 3 deletions.
24 changes: 23 additions & 1 deletion lib/jasmine-core/jasmine.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ var getJasmineRequireObj = (function (jasmineGlobal) {

getJasmineRequireObj().requireMatchers = function(jRequire, j$) {
var availableMatchers = [
'nothing',
'toBe',
'toBeCloseTo',
'toBeDefined',
Expand Down Expand Up @@ -2884,6 +2885,27 @@ getJasmineRequireObj().matchersUtil = function(j$) {
}
};

getJasmineRequireObj().nothing = function() {
/**
* {@link expect} nothing explicitly.
* @function
* @name matchers#nothing
* @example
* expect().nothing();
*/
function nothing() {
return {
compare: function() {
return {
pass: true
};
}
};
}

return nothing;
};

getJasmineRequireObj().NullDiffBuilder = function(j$) {
return function() {
return {
Expand Down Expand Up @@ -5359,5 +5381,5 @@ getJasmineRequireObj().UserContext = function(j$) {
};

getJasmineRequireObj().version = function() {
return '2.7.0';
return '2.8.0';
};
2 changes: 1 addition & 1 deletion lib/jasmine-core/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
#
module Jasmine
module Core
VERSION = "2.7.0"
VERSION = "2.8.0"
end
end
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "jasmine-core",
"license": "MIT",
"version": "2.7.0",
"version": "2.8.0",
"repository": {
"type": "git",
"url": "https://github.com/jasmine/jasmine.git"
Expand Down
52 changes: 52 additions & 0 deletions release_notes/2.8.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
# Jasmine 2.8.0 Release Notes

## Summary

This release contains a number of fixes and pull requests.
2.8 should be the last 2.x release of Jasmine, as we aim for 3.0.

## Changes

* Create CODE_OF_CONDUCT.md
* Add jsdocs for reporter events
* Update jsApiReporter docs to link to new suite and spec results
* Add explicit docs for the callback function passed to `it` etc.
* Update afterAll documentation

## Pull Requests & Issues

* Add 'nothing' matcher and tests
- Merges [#1412](https://github.com/jasmine/jasmine/issues/1412) from @ksvitkovsky
- Fixes [#1221](https://github.com/jasmine/jasmine/issues/1221)


* Make toEqual matcher report the difference between array elements when arrays have different length
- Closes [#1375](https://github.com/jasmine/jasmine/issues/1375) from @kiewic


* Add arrayWithExactContents asymmetric matcher
- Fixes [#817](https://github.com/jasmine/jasmine/issues/817)


* Ensure no message added on asym. match success
- Closes [#1408](https://github.com/jasmine/jasmine/issues/1408) from @ksvitkovsky
- Fixes [#1388](https://github.com/jasmine/jasmine/issues/1388)


* Better primitives detection for saveArgsByValue
- Closes [#1407](https://github.com/jasmine/jasmine/issues/1407) from @ksvitkovsky
- Fixes [#1403](https://github.com/jasmine/jasmine/issues/1403)


* Better pretty printing for typed arrays
- Closes [#1404](https://github.com/jasmine/jasmine/issues/1404) from @ksvitkovsky
- Fixes [#1180](https://github.com/jasmine/jasmine/issues/1180)


* Rewrite ES6 Set and Map comparison to ignore insertion order
- Merges [#1406](https://github.com/jasmine/jasmine/issues/1406) from @theefer
- Fixes [#1402](https://github.com/jasmine/jasmine/issues/1402)

------

_Release Notes generated with _[Anchorman](http://github.com/infews/anchorman)_

0 comments on commit 8cf8736

Please sign in to comment.