jasmine-core 2.3.2 → 2.3.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/jasmine-core/jasmine.js +2 -1
- data/lib/jasmine-core/spec/core/TreeProcessorSpec.js +4 -2
- data/lib/jasmine-core/version.rb +1 -1
- metadata +96 -96
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 62b63c2afe6af61a81fe7a0325115f52005da3cf
|
4
|
+
data.tar.gz: 084d5b07313cae31f03f76e48df8c33c5318b8bd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ee03760e7c755b1ba5c34ea64bbe7242d6b0556f0dc341af2495ffb6bac0f0abe31f049bb30476dff678fd817c77835faa04b565dd25930a3895237de2fb78f6
|
7
|
+
data.tar.gz: d0b7bf5e4eb688fce121bfe4dcfe768702048668f323b6cfda045ac1457c43172344680a687128891d41ebb196715472e467e017d8c7e3a1985b3c8f0506cd30
|
data/lib/jasmine-core/jasmine.js
CHANGED
@@ -2208,6 +2208,7 @@ getJasmineRequireObj().TreeProcessor = function() {
|
|
2208
2208
|
|
2209
2209
|
queueRunnerFactory({
|
2210
2210
|
queueableFns: childFns,
|
2211
|
+
userContext: tree.sharedUserContext(),
|
2211
2212
|
onException: function() {
|
2212
2213
|
tree.onException.apply(tree, arguments);
|
2213
2214
|
},
|
@@ -3294,5 +3295,5 @@ getJasmineRequireObj().interface = function(jasmine, env) {
|
|
3294
3295
|
};
|
3295
3296
|
|
3296
3297
|
getJasmineRequireObj().version = function() {
|
3297
|
-
return '2.3.
|
3298
|
+
return '2.3.3';
|
3298
3299
|
};
|
@@ -202,7 +202,7 @@ describe("TreeProcessor", function() {
|
|
202
202
|
|
203
203
|
it("runs a single leaf", function() {
|
204
204
|
var leaf = new Leaf(),
|
205
|
-
node = new Node({ children: [leaf] }),
|
205
|
+
node = new Node({ children: [leaf], userContext: { root: 'context' } }),
|
206
206
|
queueRunner = jasmine.createSpy('queueRunner'),
|
207
207
|
processor = new j$.TreeProcessor({ tree: node, runnableIds: [leaf.id], queueRunnerFactory: queueRunner }),
|
208
208
|
treeComplete = jasmine.createSpy('treeComplete');
|
@@ -212,6 +212,7 @@ describe("TreeProcessor", function() {
|
|
212
212
|
expect(queueRunner).toHaveBeenCalledWith({
|
213
213
|
onComplete: treeComplete,
|
214
214
|
onException: jasmine.any(Function),
|
215
|
+
userContext: { root: 'context' },
|
215
216
|
queueableFns: [{ fn: jasmine.any(Function) }]
|
216
217
|
});
|
217
218
|
|
@@ -222,7 +223,7 @@ describe("TreeProcessor", function() {
|
|
222
223
|
|
223
224
|
it("runs a node with no children", function() {
|
224
225
|
var node = new Node({ userContext: { node: 'context' } }),
|
225
|
-
root = new Node({ children: [node] }),
|
226
|
+
root = new Node({ children: [node], userContext: { root: 'context' } }),
|
226
227
|
nodeStart = jasmine.createSpy('nodeStart'),
|
227
228
|
nodeComplete = jasmine.createSpy('nodeComplete'),
|
228
229
|
queueRunner = jasmine.createSpy('queueRunner'),
|
@@ -241,6 +242,7 @@ describe("TreeProcessor", function() {
|
|
241
242
|
expect(queueRunner).toHaveBeenCalledWith({
|
242
243
|
onComplete: treeComplete,
|
243
244
|
onException: jasmine.any(Function),
|
245
|
+
userContext: { root: 'context' },
|
244
246
|
queueableFns: [{ fn: jasmine.any(Function) }]
|
245
247
|
});
|
246
248
|
|
data/lib/jasmine-core/version.rb
CHANGED
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.3.
|
4
|
+
version: 2.3.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rajan Agaskar
|
@@ -10,62 +10,62 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2015-05-
|
13
|
+
date: 2015-05-11 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rake
|
17
17
|
requirement: !ruby/object:Gem::Requirement
|
18
18
|
requirements:
|
19
|
-
- -
|
19
|
+
- - ">="
|
20
20
|
- !ruby/object:Gem::Version
|
21
21
|
version: '0'
|
22
22
|
type: :development
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
25
|
requirements:
|
26
|
-
- -
|
26
|
+
- - ">="
|
27
27
|
- !ruby/object:Gem::Version
|
28
28
|
version: '0'
|
29
29
|
- !ruby/object:Gem::Dependency
|
30
30
|
name: sauce-connect
|
31
31
|
requirement: !ruby/object:Gem::Requirement
|
32
32
|
requirements:
|
33
|
-
- -
|
33
|
+
- - ">="
|
34
34
|
- !ruby/object:Gem::Version
|
35
35
|
version: '0'
|
36
36
|
type: :development
|
37
37
|
prerelease: false
|
38
38
|
version_requirements: !ruby/object:Gem::Requirement
|
39
39
|
requirements:
|
40
|
-
- -
|
40
|
+
- - ">="
|
41
41
|
- !ruby/object:Gem::Version
|
42
42
|
version: '0'
|
43
43
|
- !ruby/object:Gem::Dependency
|
44
44
|
name: compass
|
45
45
|
requirement: !ruby/object:Gem::Requirement
|
46
46
|
requirements:
|
47
|
-
- -
|
47
|
+
- - ">="
|
48
48
|
- !ruby/object:Gem::Version
|
49
49
|
version: '0'
|
50
50
|
type: :development
|
51
51
|
prerelease: false
|
52
52
|
version_requirements: !ruby/object:Gem::Requirement
|
53
53
|
requirements:
|
54
|
-
- -
|
54
|
+
- - ">="
|
55
55
|
- !ruby/object:Gem::Version
|
56
56
|
version: '0'
|
57
57
|
- !ruby/object:Gem::Dependency
|
58
58
|
name: jasmine_selenium_runner
|
59
59
|
requirement: !ruby/object:Gem::Requirement
|
60
60
|
requirements:
|
61
|
-
- -
|
61
|
+
- - ">="
|
62
62
|
- !ruby/object:Gem::Version
|
63
63
|
version: 0.2.0
|
64
64
|
type: :development
|
65
65
|
prerelease: false
|
66
66
|
version_requirements: !ruby/object:Gem::Requirement
|
67
67
|
requirements:
|
68
|
-
- -
|
68
|
+
- - ">="
|
69
69
|
- !ruby/object:Gem::Version
|
70
70
|
version: 0.2.0
|
71
71
|
description: Test your JavaScript without any framework dependencies, in any environment,
|
@@ -75,89 +75,89 @@ executables: []
|
|
75
75
|
extensions: []
|
76
76
|
extra_rdoc_files: []
|
77
77
|
files:
|
78
|
-
- ./lib/console/console.js
|
79
|
-
- ./lib/jasmine-core
|
80
|
-
- ./lib/jasmine-core
|
81
|
-
- ./lib/jasmine-core/
|
82
|
-
- ./lib/jasmine-core/boot.js
|
83
|
-
- ./lib/jasmine-core/
|
84
|
-
- ./lib/jasmine-core/
|
85
|
-
- ./lib/jasmine-core/
|
86
|
-
- ./lib/jasmine-core/example/node_example/
|
87
|
-
- ./lib/jasmine-core/example/node_example/
|
88
|
-
- ./lib/jasmine-core/example/spec/
|
89
|
-
- ./lib/jasmine-core/example/spec/
|
90
|
-
- ./lib/jasmine-core/example/
|
91
|
-
- ./lib/jasmine-core/example/
|
92
|
-
- ./lib/jasmine-core/
|
93
|
-
- ./lib/jasmine-core/
|
94
|
-
- ./lib/jasmine-core/jasmine.js
|
95
|
-
- ./lib/jasmine-core/
|
96
|
-
- ./lib/jasmine-core/
|
97
|
-
- ./lib/jasmine-core/
|
98
|
-
- ./lib/jasmine-core.js
|
99
|
-
- ./lib/jasmine-core.
|
100
|
-
- ./lib/jasmine-core/spec/
|
101
|
-
- ./lib/jasmine-core/spec/core/
|
102
|
-
- ./lib/jasmine-core/spec/core/
|
103
|
-
- ./lib/jasmine-core/spec/core/
|
104
|
-
- ./lib/jasmine-core/spec/core/
|
105
|
-
- ./lib/jasmine-core/spec/core/
|
106
|
-
- ./lib/jasmine-core/spec/core/
|
107
|
-
- ./lib/jasmine-core/spec/core/
|
108
|
-
- ./lib/jasmine-core/spec/core/
|
109
|
-
- ./lib/jasmine-core/spec/core/
|
110
|
-
- ./lib/jasmine-core/spec/core/
|
111
|
-
- ./lib/jasmine-core/spec/core/
|
112
|
-
- ./lib/jasmine-core/spec/core/
|
113
|
-
- ./lib/jasmine-core/spec/core/
|
114
|
-
- ./lib/jasmine-core/spec/core/
|
115
|
-
- ./lib/jasmine-core/spec/core/
|
116
|
-
- ./lib/jasmine-core/spec/core/
|
117
|
-
- ./lib/jasmine-core/spec/core/
|
118
|
-
- ./lib/jasmine-core/spec/core/
|
119
|
-
- ./lib/jasmine-core/spec/core/
|
120
|
-
- ./lib/jasmine-core/spec/core/
|
121
|
-
- ./lib/jasmine-core/spec/core/
|
122
|
-
- ./lib/jasmine-core/spec/core/
|
123
|
-
- ./lib/jasmine-core/spec/core/
|
124
|
-
- ./lib/jasmine-core/spec/core/
|
125
|
-
- ./lib/jasmine-core/spec/core/
|
126
|
-
- ./lib/jasmine-core/spec/core/
|
127
|
-
- ./lib/jasmine-core/spec/core/
|
128
|
-
- ./lib/jasmine-core/spec/core/
|
129
|
-
- ./lib/jasmine-core/spec/core/matchers/
|
130
|
-
- ./lib/jasmine-core/spec/core/matchers/
|
131
|
-
- ./lib/jasmine-core/spec/core/matchers/
|
132
|
-
- ./lib/jasmine-core/spec/core/matchers/
|
133
|
-
- ./lib/jasmine-core/spec/core/matchers/
|
134
|
-
- ./lib/jasmine-core/spec/core/matchers/
|
135
|
-
- ./lib/jasmine-core/spec/core/matchers/
|
136
|
-
- ./lib/jasmine-core/spec/core/
|
137
|
-
- ./lib/jasmine-core/spec/core/
|
138
|
-
- ./lib/jasmine-core/spec/core/
|
139
|
-
- ./lib/jasmine-core/spec/core/
|
140
|
-
- ./lib/jasmine-core/spec/core/
|
141
|
-
- ./lib/jasmine-core/spec/core/
|
142
|
-
- ./lib/jasmine-core/spec/core/
|
143
|
-
- ./lib/jasmine-core/spec/core/
|
144
|
-
- ./lib/jasmine-core/spec/core/
|
145
|
-
- ./lib/jasmine-core/spec/core/
|
146
|
-
- ./lib/jasmine-core/spec/core/
|
147
|
-
- ./lib/jasmine-core/spec/
|
148
|
-
- ./lib/jasmine-core/spec/helpers/
|
149
|
-
- ./lib/jasmine-core/spec/helpers/
|
150
|
-
- ./lib/jasmine-core/spec/
|
151
|
-
- ./lib/jasmine-core/spec/html/
|
152
|
-
- ./lib/jasmine-core/spec/html/
|
153
|
-
- ./lib/jasmine-core/spec/html/
|
154
|
-
- ./lib/jasmine-core/spec/html/
|
155
|
-
- ./lib/jasmine-core/spec/html/
|
156
|
-
- ./lib/jasmine-core/spec/
|
157
|
-
- ./lib/jasmine-core/spec/
|
158
|
-
- ./lib/jasmine-core/spec/
|
159
|
-
- ./lib/jasmine-core/spec/performance/
|
160
|
-
- ./lib/jasmine-core/
|
78
|
+
- "./lib/console/console.js"
|
79
|
+
- "./lib/jasmine-core.js"
|
80
|
+
- "./lib/jasmine-core.rb"
|
81
|
+
- "./lib/jasmine-core/__init__.py"
|
82
|
+
- "./lib/jasmine-core/boot.js"
|
83
|
+
- "./lib/jasmine-core/boot/boot.js"
|
84
|
+
- "./lib/jasmine-core/boot/node_boot.js"
|
85
|
+
- "./lib/jasmine-core/core.py"
|
86
|
+
- "./lib/jasmine-core/example/node_example/lib/jasmine_examples/Player.js"
|
87
|
+
- "./lib/jasmine-core/example/node_example/lib/jasmine_examples/Song.js"
|
88
|
+
- "./lib/jasmine-core/example/node_example/spec/helpers/jasmine_examples/SpecHelper.js"
|
89
|
+
- "./lib/jasmine-core/example/node_example/spec/jasmine_examples/PlayerSpec.js"
|
90
|
+
- "./lib/jasmine-core/example/spec/PlayerSpec.js"
|
91
|
+
- "./lib/jasmine-core/example/spec/SpecHelper.js"
|
92
|
+
- "./lib/jasmine-core/example/src/Player.js"
|
93
|
+
- "./lib/jasmine-core/example/src/Song.js"
|
94
|
+
- "./lib/jasmine-core/jasmine-html.js"
|
95
|
+
- "./lib/jasmine-core/jasmine.css"
|
96
|
+
- "./lib/jasmine-core/jasmine.js"
|
97
|
+
- "./lib/jasmine-core/json2.js"
|
98
|
+
- "./lib/jasmine-core/node_boot.js"
|
99
|
+
- "./lib/jasmine-core/spec/console/ConsoleReporterSpec.js"
|
100
|
+
- "./lib/jasmine-core/spec/core/CallTrackerSpec.js"
|
101
|
+
- "./lib/jasmine-core/spec/core/ClockSpec.js"
|
102
|
+
- "./lib/jasmine-core/spec/core/DelayedFunctionSchedulerSpec.js"
|
103
|
+
- "./lib/jasmine-core/spec/core/EnvSpec.js"
|
104
|
+
- "./lib/jasmine-core/spec/core/ExceptionFormatterSpec.js"
|
105
|
+
- "./lib/jasmine-core/spec/core/ExceptionsSpec.js"
|
106
|
+
- "./lib/jasmine-core/spec/core/ExpectationResultSpec.js"
|
107
|
+
- "./lib/jasmine-core/spec/core/ExpectationSpec.js"
|
108
|
+
- "./lib/jasmine-core/spec/core/JsApiReporterSpec.js"
|
109
|
+
- "./lib/jasmine-core/spec/core/MockDateSpec.js"
|
110
|
+
- "./lib/jasmine-core/spec/core/PrettyPrintSpec.js"
|
111
|
+
- "./lib/jasmine-core/spec/core/QueueRunnerSpec.js"
|
112
|
+
- "./lib/jasmine-core/spec/core/ReportDispatcherSpec.js"
|
113
|
+
- "./lib/jasmine-core/spec/core/SpecSpec.js"
|
114
|
+
- "./lib/jasmine-core/spec/core/SpyRegistrySpec.js"
|
115
|
+
- "./lib/jasmine-core/spec/core/SpySpec.js"
|
116
|
+
- "./lib/jasmine-core/spec/core/SpyStrategySpec.js"
|
117
|
+
- "./lib/jasmine-core/spec/core/SuiteSpec.js"
|
118
|
+
- "./lib/jasmine-core/spec/core/TimerSpec.js"
|
119
|
+
- "./lib/jasmine-core/spec/core/TreeProcessorSpec.js"
|
120
|
+
- "./lib/jasmine-core/spec/core/UtilSpec.js"
|
121
|
+
- "./lib/jasmine-core/spec/core/asymmetric_equality/AnySpec.js"
|
122
|
+
- "./lib/jasmine-core/spec/core/asymmetric_equality/AnythingSpec.js"
|
123
|
+
- "./lib/jasmine-core/spec/core/asymmetric_equality/ArrayContainingSpec.js"
|
124
|
+
- "./lib/jasmine-core/spec/core/asymmetric_equality/ObjectContainingSpec.js"
|
125
|
+
- "./lib/jasmine-core/spec/core/asymmetric_equality/StringMatchingSpec.js"
|
126
|
+
- "./lib/jasmine-core/spec/core/integration/CustomMatchersSpec.js"
|
127
|
+
- "./lib/jasmine-core/spec/core/integration/EnvSpec.js"
|
128
|
+
- "./lib/jasmine-core/spec/core/integration/SpecRunningSpec.js"
|
129
|
+
- "./lib/jasmine-core/spec/core/matchers/matchersUtilSpec.js"
|
130
|
+
- "./lib/jasmine-core/spec/core/matchers/toBeCloseToSpec.js"
|
131
|
+
- "./lib/jasmine-core/spec/core/matchers/toBeDefinedSpec.js"
|
132
|
+
- "./lib/jasmine-core/spec/core/matchers/toBeFalsySpec.js"
|
133
|
+
- "./lib/jasmine-core/spec/core/matchers/toBeGreaterThanSpec.js"
|
134
|
+
- "./lib/jasmine-core/spec/core/matchers/toBeLessThanSpec.js"
|
135
|
+
- "./lib/jasmine-core/spec/core/matchers/toBeNaNSpec.js"
|
136
|
+
- "./lib/jasmine-core/spec/core/matchers/toBeNullSpec.js"
|
137
|
+
- "./lib/jasmine-core/spec/core/matchers/toBeSpec.js"
|
138
|
+
- "./lib/jasmine-core/spec/core/matchers/toBeTruthySpec.js"
|
139
|
+
- "./lib/jasmine-core/spec/core/matchers/toBeUndefinedSpec.js"
|
140
|
+
- "./lib/jasmine-core/spec/core/matchers/toContainSpec.js"
|
141
|
+
- "./lib/jasmine-core/spec/core/matchers/toEqualSpec.js"
|
142
|
+
- "./lib/jasmine-core/spec/core/matchers/toHaveBeenCalledSpec.js"
|
143
|
+
- "./lib/jasmine-core/spec/core/matchers/toHaveBeenCalledWithSpec.js"
|
144
|
+
- "./lib/jasmine-core/spec/core/matchers/toMatchSpec.js"
|
145
|
+
- "./lib/jasmine-core/spec/core/matchers/toThrowErrorSpec.js"
|
146
|
+
- "./lib/jasmine-core/spec/core/matchers/toThrowSpec.js"
|
147
|
+
- "./lib/jasmine-core/spec/helpers/BrowserFlags.js"
|
148
|
+
- "./lib/jasmine-core/spec/helpers/defineJasmineUnderTest.js"
|
149
|
+
- "./lib/jasmine-core/spec/helpers/nodeDefineJasmineUnderTest.js"
|
150
|
+
- "./lib/jasmine-core/spec/html/HtmlReporterSpec.js"
|
151
|
+
- "./lib/jasmine-core/spec/html/HtmlSpecFilterSpec.js"
|
152
|
+
- "./lib/jasmine-core/spec/html/MatchersHtmlSpec.js"
|
153
|
+
- "./lib/jasmine-core/spec/html/PrettyPrintHtmlSpec.js"
|
154
|
+
- "./lib/jasmine-core/spec/html/QueryStringSpec.js"
|
155
|
+
- "./lib/jasmine-core/spec/html/ResultsNodeSpec.js"
|
156
|
+
- "./lib/jasmine-core/spec/node_suite.js"
|
157
|
+
- "./lib/jasmine-core/spec/npmPackage/npmPackageSpec.js"
|
158
|
+
- "./lib/jasmine-core/spec/performance/large_object_test.js"
|
159
|
+
- "./lib/jasmine-core/spec/performance/performance_test.js"
|
160
|
+
- "./lib/jasmine-core/version.rb"
|
161
161
|
homepage: http://jasmine.github.io
|
162
162
|
licenses:
|
163
163
|
- MIT
|
@@ -168,17 +168,17 @@ require_paths:
|
|
168
168
|
- lib
|
169
169
|
required_ruby_version: !ruby/object:Gem::Requirement
|
170
170
|
requirements:
|
171
|
-
- -
|
171
|
+
- - ">="
|
172
172
|
- !ruby/object:Gem::Version
|
173
173
|
version: '0'
|
174
174
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
175
175
|
requirements:
|
176
|
-
- -
|
176
|
+
- - ">="
|
177
177
|
- !ruby/object:Gem::Version
|
178
178
|
version: '0'
|
179
179
|
requirements: []
|
180
180
|
rubyforge_project: jasmine-core
|
181
|
-
rubygems_version: 2.
|
181
|
+
rubygems_version: 2.4.5
|
182
182
|
signing_key:
|
183
183
|
specification_version: 4
|
184
184
|
summary: JavaScript BDD framework
|