jasmine-core 2.4.0 → 2.4.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 91e1057cd38105936d95ec3920c604af995c0ca2
4
- data.tar.gz: 0775a45bc83099daafd49928a260f939344653b4
3
+ metadata.gz: 0169ff00d52d62027ccaa73129da72cebd93ce9f
4
+ data.tar.gz: 64a4e9061a2e9869383f8ec39c7390da8cadfb8f
5
5
  SHA512:
6
- metadata.gz: 2328728f8beb02b97fc1c1408c710ec659d0dda8bee8b4c0c2a328545fdc09089640f187124681c2c4df4a3eacb1629dce296520055c4932a105f2a0e0733ba4
7
- data.tar.gz: e66c80e73c55c3f3d0cef3482e127e38749ed51c41c6947898c2f66271eff320ac079910cd031c69cb4e47fc2dc6202675b3a54691423c7b7cc5d14165c86fb6
6
+ metadata.gz: 0fcfaa57e6b89a26bdc8e6ebeb2e82e4ba80c9a8afe1310f8910a3f14f961ca543fd93225429579b89a40baeb366a8114e8686d80ed706d74d65ce5f81ab8539
7
+ data.tar.gz: d03ec7d98abf86f1242531034446fddd57a46c5abd60bf3fbb8d478b878d954076363556573ab019c657b98408f30e7b296dbf18269cb6a7b4fcc7c16518560d
@@ -612,7 +612,7 @@ getJasmineRequireObj().Env = function(j$) {
612
612
 
613
613
  while(suite) {
614
614
  befores = befores.concat(suite.beforeFns);
615
- afters = afters.concat(suite.afterFns.reverse());
615
+ afters = afters.concat(suite.afterFns);
616
616
 
617
617
  suite = suite.parentSuite;
618
618
  }
@@ -3450,5 +3450,5 @@ getJasmineRequireObj().interface = function(jasmine, env) {
3450
3450
  };
3451
3451
 
3452
3452
  getJasmineRequireObj().version = function() {
3453
- return '2.4.0';
3453
+ return '2.4.1';
3454
3454
  };
@@ -169,7 +169,7 @@ describe("jasmine spec running", function () {
169
169
  env.execute();
170
170
  });
171
171
 
172
- it("should run multiple befores and afters in the order they are declared", function(done) {
172
+ it("should run multiple befores and afters ordered so functions declared later are treated as more specific", function(done) {
173
173
  var actions = [];
174
174
 
175
175
  env.beforeEach(function () {
@@ -217,10 +217,10 @@ describe("jasmine spec running", function () {
217
217
  "beforeEach1",
218
218
  "beforeEach2",
219
219
  "outer it 1",
220
- "afterEach1",
221
220
  "afterEach2",
222
- "runner afterEach1",
223
- "runner afterEach2"
221
+ "afterEach1",
222
+ "runner afterEach2",
223
+ "runner afterEach1"
224
224
  ];
225
225
  expect(actions).toEqual(expected);
226
226
  done();
@@ -4,6 +4,6 @@
4
4
  #
5
5
  module Jasmine
6
6
  module Core
7
- VERSION = "2.4.0"
7
+ VERSION = "2.4.1"
8
8
  end
9
9
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jasmine-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.4.0
4
+ version: 2.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rajan Agaskar
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2015-12-03 00:00:00.000000000 Z
13
+ date: 2015-12-04 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rake