teaspoon-qunit 1.19.0 → 1.20.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -350,7 +350,7 @@
350
350
  create();
351
351
  }
352
352
  if (jQueryAvailable()) {
353
- parsed = $($.parseHTML(content, document, true));
353
+ parsed = jQuery(jQuery.parseHTML(content, document, true));
354
354
  results = [];
355
355
  for (i = j = 0, ref = parsed.length; 0 <= ref ? j < ref : j > ref; i = 0 <= ref ? ++j : --j) {
356
356
  results.push(window.fixture.el.appendChild(parsed[i]));
@@ -365,7 +365,7 @@
365
365
  var ref;
366
366
  window.fixture.el = document.createElement("div");
367
367
  if (jQueryAvailable()) {
368
- window.fixture.$el = $(window.fixture.el);
368
+ window.fixture.$el = jQuery(window.fixture.el);
369
369
  }
370
370
  window.fixture.el.id = "teaspoon-fixtures";
371
371
  return (ref = document.body) != null ? ref.appendChild(window.fixture.el) : void 0;
@@ -407,7 +407,7 @@
407
407
  };
408
408
 
409
409
  jQueryAvailable = function() {
410
- return typeof window.$ === 'function';
410
+ return typeof window.jQuery === 'function';
411
411
  };
412
412
 
413
413
  return Fixture;
@@ -7,7 +7,7 @@ module Teaspoon
7
7
  framework_name :qunit
8
8
 
9
9
  # register standard versions
10
- versions = ["1.12.0", "1.13.0", "1.14.0", "1.15.0", "1.16.0", "1.17.1", "1.18.0", "1.19.0"]
10
+ versions = ["1.12.0", "1.13.0", "1.14.0", "1.15.0", "1.16.0", "1.17.1", "1.18.0", "1.19.0", "1.20.0"]
11
11
 
12
12
  versions.each do |version|
13
13
  register_version version, "qunit/#{version}.js",
@@ -1,5 +1,5 @@
1
1
  module Teaspoon
2
2
  module Qunit
3
- VERSION = "1.19.0"
3
+ VERSION = "1.20.0"
4
4
  end
5
5
  end
@@ -6,7 +6,7 @@ Teaspoon.configure do |config|
6
6
  config.fixture_paths << Teaspoon::FIXTURE_PATH
7
7
 
8
8
  config.suite do |suite|
9
- suite.use_framework :qunit, "1.19.0"
9
+ suite.use_framework :qunit, "1.20.0"
10
10
  suite.matcher = "#{path}/**/*_test.{js,js.coffee,coffee}"
11
11
  end
12
12
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: teaspoon-qunit
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.19.0
4
+ version: 1.20.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - jejacks0n
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-10-09 00:00:00.000000000 Z
12
+ date: 2015-11-06 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: teaspoon
@@ -42,6 +42,7 @@ files:
42
42
  - lib/teaspoon/qunit/assets/qunit/1.17.1.js
43
43
  - lib/teaspoon/qunit/assets/qunit/1.18.0.js
44
44
  - lib/teaspoon/qunit/assets/qunit/1.19.0.js
45
+ - lib/teaspoon/qunit/assets/qunit/1.20.0.js
45
46
  - lib/teaspoon/qunit/assets/qunit/MIT.LICENSE
46
47
  - lib/teaspoon/qunit/assets/teaspoon-qunit.js
47
48
  - lib/teaspoon/qunit/assets/teaspoon/qunit.coffee