js-test-driver-rails 0.2.9 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -2416,6 +2416,6 @@ jasmine.getGlobal().clearInterval = function(timeoutKey) {
2416
2416
  jasmine.version_= {
2417
2417
  "major": 1,
2418
2418
  "minor": 0,
2419
- "build": "0.rc1",
2420
- "revision": 1282853377
2419
+ "build": 1,
2420
+ "revision": 1286311016
2421
2421
  };
@@ -172,6 +172,9 @@ describe("TrivialReporter", function() {
172
172
  var errorDiv = findElement(divs, 'resultMessage log');
173
173
  expect(errorDiv.innerHTML).toEqual("this is a multipart log message");
174
174
  });
175
+
176
+ xit("should work on IE without console.log.apply", function() {
177
+ });
175
178
  });
176
179
 
177
180
  describe("duplicate example names", function() {
@@ -34,7 +34,7 @@ jasmine.TrivialReporter.prototype.reportRunnerStarting = function(runner) {
34
34
  this.outerDiv = this.createDom('div', { className: 'jasmine_reporter' },
35
35
  this.createDom('div', { className: 'banner' },
36
36
  this.createDom('div', { className: 'logo' },
37
- "Jasmine",
37
+ this.createDom('a', { href: 'http://pivotal.github.com/jasmine/', target: "_blank" }, "Jasmine"),
38
38
  this.createDom('span', { className: 'version' }, runner.env.versionString())),
39
39
  this.createDom('div', { className: 'options' },
40
40
  "Show ",
@@ -70,16 +70,16 @@ jasmine.TrivialReporter.prototype.reportRunnerStarting = function(runner) {
70
70
  this.startedAt = new Date();
71
71
 
72
72
  var self = this;
73
- showPassed.onchange = function(evt) {
74
- if (evt.target.checked) {
73
+ showPassed.onclick = function(evt) {
74
+ if (showPassed.checked) {
75
75
  self.outerDiv.className += ' show-passed';
76
76
  } else {
77
77
  self.outerDiv.className = self.outerDiv.className.replace(/ show-passed/, '');
78
78
  }
79
79
  };
80
80
 
81
- showSkipped.onchange = function(evt) {
82
- if (evt.target.checked) {
81
+ showSkipped.onclick = function(evt) {
82
+ if (showSkipped.checked) {
83
83
  self.outerDiv.className += ' show-skipped';
84
84
  } else {
85
85
  self.outerDiv.className = self.outerDiv.className.replace(/ show-skipped/, '');
@@ -162,7 +162,13 @@ jasmine.TrivialReporter.prototype.reportSpecResults = function(spec) {
162
162
 
163
163
  jasmine.TrivialReporter.prototype.log = function() {
164
164
  var console = jasmine.getGlobal().console;
165
- if (console && console.log) console.log.apply(console, arguments);
165
+ if (console && console.log) {
166
+ if (console.log.apply) {
167
+ console.log.apply(console, arguments);
168
+ } else {
169
+ console.log(arguments); // ie fix: console.log.apply doesn't exist on ie
170
+ }
171
+ }
166
172
  };
167
173
 
168
174
  jasmine.TrivialReporter.prototype.getLocation = function() {
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "major": 1,
3
3
  "minor": 0,
4
- "build": "0.rc1"
4
+ "build": 1
5
5
  }
Binary file
metadata CHANGED
@@ -1,13 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: js-test-driver-rails
3
3
  version: !ruby/object:Gem::Version
4
- hash: 5
5
- prerelease: false
6
- segments:
7
- - 0
8
- - 2
9
- - 9
10
- version: 0.2.9
4
+ prerelease:
5
+ version: 0.3.0
11
6
  platform: ruby
12
7
  authors:
13
8
  - Adam Pohorecki
@@ -15,149 +10,118 @@ autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
17
12
 
18
- date: 2010-11-18 00:00:00 +01:00
19
- default_executable:
13
+ date: 2011-04-19 00:00:00 Z
20
14
  dependencies:
21
15
  - !ruby/object:Gem::Dependency
22
- prerelease: false
23
16
  name: bundler
24
- version_requirements: &id001 !ruby/object:Gem::Requirement
17
+ requirement: &id001 !ruby/object:Gem::Requirement
25
18
  none: false
26
19
  requirements:
27
20
  - - ">="
28
21
  - !ruby/object:Gem::Version
29
- hash: 3
30
- segments:
31
- - 0
32
22
  version: "0"
33
- requirement: *id001
34
23
  type: :runtime
35
- - !ruby/object:Gem::Dependency
36
24
  prerelease: false
25
+ version_requirements: *id001
26
+ - !ruby/object:Gem::Dependency
37
27
  name: jeweler
38
- version_requirements: &id002 !ruby/object:Gem::Requirement
28
+ requirement: &id002 !ruby/object:Gem::Requirement
39
29
  none: false
40
30
  requirements:
41
31
  - - ">="
42
32
  - !ruby/object:Gem::Version
43
- hash: 3
44
- segments:
45
- - 0
46
33
  version: "0"
47
- requirement: *id002
48
34
  type: :runtime
49
- - !ruby/object:Gem::Dependency
50
35
  prerelease: false
36
+ version_requirements: *id002
37
+ - !ruby/object:Gem::Dependency
51
38
  name: mocha
52
- version_requirements: &id003 !ruby/object:Gem::Requirement
39
+ requirement: &id003 !ruby/object:Gem::Requirement
53
40
  none: false
54
41
  requirements:
55
42
  - - ">="
56
43
  - !ruby/object:Gem::Version
57
- hash: 3
58
- segments:
59
- - 0
60
44
  version: "0"
61
- requirement: *id003
62
45
  type: :runtime
63
- - !ruby/object:Gem::Dependency
64
46
  prerelease: false
47
+ version_requirements: *id003
48
+ - !ruby/object:Gem::Dependency
65
49
  name: rake
66
- version_requirements: &id004 !ruby/object:Gem::Requirement
50
+ requirement: &id004 !ruby/object:Gem::Requirement
67
51
  none: false
68
52
  requirements:
69
53
  - - ">="
70
54
  - !ruby/object:Gem::Version
71
- hash: 3
72
- segments:
73
- - 0
74
55
  version: "0"
75
- requirement: *id004
76
56
  type: :runtime
77
- - !ruby/object:Gem::Dependency
78
57
  prerelease: false
58
+ version_requirements: *id004
59
+ - !ruby/object:Gem::Dependency
79
60
  name: json
80
- version_requirements: &id005 !ruby/object:Gem::Requirement
61
+ requirement: &id005 !ruby/object:Gem::Requirement
81
62
  none: false
82
63
  requirements:
83
64
  - - ">="
84
65
  - !ruby/object:Gem::Version
85
- hash: 3
86
- segments:
87
- - 0
88
66
  version: "0"
89
- requirement: *id005
90
67
  type: :runtime
91
- - !ruby/object:Gem::Dependency
92
68
  prerelease: false
69
+ version_requirements: *id005
70
+ - !ruby/object:Gem::Dependency
93
71
  name: jeweler
94
- version_requirements: &id006 !ruby/object:Gem::Requirement
72
+ requirement: &id006 !ruby/object:Gem::Requirement
95
73
  none: false
96
74
  requirements:
97
75
  - - ">="
98
76
  - !ruby/object:Gem::Version
99
- hash: 3
100
- segments:
101
- - 0
102
77
  version: "0"
103
- requirement: *id006
104
78
  type: :development
105
- - !ruby/object:Gem::Dependency
106
79
  prerelease: false
80
+ version_requirements: *id006
81
+ - !ruby/object:Gem::Dependency
107
82
  name: mocha
108
- version_requirements: &id007 !ruby/object:Gem::Requirement
83
+ requirement: &id007 !ruby/object:Gem::Requirement
109
84
  none: false
110
85
  requirements:
111
86
  - - ">="
112
87
  - !ruby/object:Gem::Version
113
- hash: 3
114
- segments:
115
- - 0
116
88
  version: "0"
117
- requirement: *id007
118
89
  type: :development
119
- - !ruby/object:Gem::Dependency
120
90
  prerelease: false
91
+ version_requirements: *id007
92
+ - !ruby/object:Gem::Dependency
121
93
  name: jeweler
122
- version_requirements: &id008 !ruby/object:Gem::Requirement
94
+ requirement: &id008 !ruby/object:Gem::Requirement
123
95
  none: false
124
96
  requirements:
125
97
  - - ">="
126
98
  - !ruby/object:Gem::Version
127
- hash: 3
128
- segments:
129
- - 0
130
99
  version: "0"
131
- requirement: *id008
132
100
  type: :development
133
- - !ruby/object:Gem::Dependency
134
101
  prerelease: false
102
+ version_requirements: *id008
103
+ - !ruby/object:Gem::Dependency
135
104
  name: rake
136
- version_requirements: &id009 !ruby/object:Gem::Requirement
105
+ requirement: &id009 !ruby/object:Gem::Requirement
137
106
  none: false
138
107
  requirements:
139
108
  - - ">="
140
109
  - !ruby/object:Gem::Version
141
- hash: 3
142
- segments:
143
- - 0
144
110
  version: "0"
145
- requirement: *id009
146
111
  type: :runtime
147
- - !ruby/object:Gem::Dependency
148
112
  prerelease: false
113
+ version_requirements: *id009
114
+ - !ruby/object:Gem::Dependency
149
115
  name: json
150
- version_requirements: &id010 !ruby/object:Gem::Requirement
116
+ requirement: &id010 !ruby/object:Gem::Requirement
151
117
  none: false
152
118
  requirements:
153
119
  - - ">="
154
120
  - !ruby/object:Gem::Version
155
- hash: 3
156
- segments:
157
- - 0
158
121
  version: "0"
159
- requirement: *id010
160
122
  type: :runtime
123
+ prerelease: false
124
+ version_requirements: *id010
161
125
  description: Use ruby to configure JsTestDriver, capture browsers and run tests.
162
126
  email: adam@pohorecki.pl
163
127
  executables: []
@@ -194,11 +158,15 @@ files:
194
158
  - vendor/jasmine-jstd-adapter/MIT.LICENSE
195
159
  - vendor/jasmine-jstd-adapter/README.md
196
160
  - vendor/jasmine-jstd-adapter/jsTestDriver.conf
161
+ - vendor/jasmine-jstd-adapter/jsTestDriverIit.conf
197
162
  - vendor/jasmine-jstd-adapter/lib/jasmine/jasmine-0.11.1.js
198
163
  - vendor/jasmine-jstd-adapter/lib/jstestdriver/JsTestDriver.jar
199
164
  - vendor/jasmine-jstd-adapter/server.sh
165
+ - vendor/jasmine-jstd-adapter/src-test/iit/iitSpec.js
200
166
  - vendor/jasmine-jstd-adapter/src-test/tests.js
201
167
  - vendor/jasmine-jstd-adapter/src/JasmineAdapter.js
168
+ - vendor/jasmine-jstd-adapter/test-iit.sh
169
+ - vendor/jasmine-jstd-adapter/test-regular.sh
202
170
  - vendor/jasmine-jstd-adapter/test.sh
203
171
  - vendor/jasmine/Gemfile
204
172
  - vendor/jasmine/MIT.LICENSE
@@ -219,6 +187,15 @@ files:
219
187
  - vendor/jasmine/images/question-bk.png
220
188
  - vendor/jasmine/images/questionbk-16.png
221
189
  - vendor/jasmine/images/spinner.gif
190
+ - vendor/jasmine/jsdoc-template/allclasses.tmpl
191
+ - vendor/jasmine/jsdoc-template/allfiles.tmpl
192
+ - vendor/jasmine/jsdoc-template/class.tmpl
193
+ - vendor/jasmine/jsdoc-template/index.tmpl
194
+ - vendor/jasmine/jsdoc-template/publish.js
195
+ - vendor/jasmine/jsdoc-template/static/default.css
196
+ - vendor/jasmine/jsdoc-template/static/header.html
197
+ - vendor/jasmine/jsdoc-template/static/index.html
198
+ - vendor/jasmine/jsdoc-template/symbol.tmpl
222
199
  - vendor/jasmine/lib/jasmine-html.js
223
200
  - vendor/jasmine/lib/jasmine.css
224
201
  - vendor/jasmine/lib/jasmine.js
@@ -265,7 +242,6 @@ files:
265
242
  - vendor/jasmine/src/util.js
266
243
  - vendor/jasmine/src/version.json
267
244
  - vendor/js_test_driver.jar
268
- has_rdoc: true
269
245
  homepage: http://github.com/psyho/js-test-driver-rails
270
246
  licenses: []
271
247
 
@@ -279,7 +255,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
279
255
  requirements:
280
256
  - - ">="
281
257
  - !ruby/object:Gem::Version
282
- hash: 3
258
+ hash: 486797743
283
259
  segments:
284
260
  - 0
285
261
  version: "0"
@@ -288,14 +264,11 @@ required_rubygems_version: !ruby/object:Gem::Requirement
288
264
  requirements:
289
265
  - - ">="
290
266
  - !ruby/object:Gem::Version
291
- hash: 3
292
- segments:
293
- - 0
294
267
  version: "0"
295
268
  requirements: []
296
269
 
297
270
  rubyforge_project: js-test-driver-rails
298
- rubygems_version: 1.3.7
271
+ rubygems_version: 1.7.2
299
272
  signing_key:
300
273
  specification_version: 3
301
274
  summary: A wrapper for JsTestDriver for use with ruby/rails projects