rally-jasmine-core 1.2.0.1 → 1.2.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -154,7 +154,7 @@ jasmine.HtmlReporter = function(_doc) {
154
154
  dom.symbolSummary = self.createDom('ul', {className: 'symbolSummary'}),
155
155
  dom.alert = self.createDom('div', {className: 'alert'},
156
156
  self.createDom('span', { className: 'exceptions' },
157
- self.createDom('label', { className: 'label', 'for': 'no_try_catch' }, 'No try/catch'),
157
+ self.createDom('label', { className: 'label', for: 'no_try_catch' }, 'No try/catch'),
158
158
  self.createDom('input', { id: 'no_try_catch', type: 'checkbox' }))),
159
159
  dom.results = self.createDom('div', {className: 'results'},
160
160
  dom.summary = self.createDom('div', { className: 'summary' }),
@@ -406,12 +406,18 @@ jasmine.HtmlReporter.SpecView = function(spec, dom, views) {
406
406
  this.detail = this.createDom('div', { className: 'specDetail' },
407
407
  this.createDom('a', {
408
408
  className: 'description',
409
- href: '?spec=' + encodeURIComponent(this.spec.getFullName()),
409
+ href: this.createQueryString(['spec=' + encodeURIComponent(this.spec.getFullName())]),
410
410
  title: this.spec.getFullName()
411
411
  }, this.spec.getFullName())
412
412
  );
413
413
  };
414
414
 
415
+ jasmine.HtmlReporter.SpecView.prototype.createQueryString = function(paramsToAdd) {
416
+ var query = window.location.search.substring(1);
417
+ var vars = query.split('&').concat(paramsToAdd);
418
+ return '?' + vars.join('&');
419
+ };
420
+
415
421
  jasmine.HtmlReporter.SpecView.prototype.status = function() {
416
422
  return this.getSpecStatus(this.spec);
417
423
  };
@@ -2568,5 +2568,5 @@ jasmine.version_= {
2568
2568
  "major": 1,
2569
2569
  "minor": 2,
2570
2570
  "build": 0,
2571
- "revision": 1351621339
2571
+ "revision": 1351623981
2572
2572
  };
@@ -1,6 +1,6 @@
1
1
  module Jasmine
2
2
  module Core
3
- VERSION = "1.2.0.1"
3
+ VERSION = "1.2.0.2"
4
4
  end
5
5
  end
6
6
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rally-jasmine-core
3
3
  version: !ruby/object:Gem::Version
4
- hash: 77
4
+ hash: 75
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 2
9
9
  - 0
10
- - 1
11
- version: 1.2.0.1
10
+ - 2
11
+ version: 1.2.0.2
12
12
  platform: ruby
13
13
  authors:
14
14
  - Matt Parrish
@@ -19,7 +19,7 @@ autorequire:
19
19
  bindir: bin
20
20
  cert_chain: []
21
21
 
22
- date: 2012-10-30 00:00:00 Z
22
+ date: 2013-01-24 00:00:00 Z
23
23
  dependencies:
24
24
  - !ruby/object:Gem::Dependency
25
25
  version_requirements: &id001 !ruby/object:Gem::Requirement