Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3132d98f23 | ||
|
|
b799f54bc9 | ||
|
|
3c051fc291 | ||
|
|
6b937da863 |
@@ -1,6 +1,5 @@
|
|||||||
dist/
|
dist/
|
||||||
grunt/
|
grunt/
|
||||||
images/
|
|
||||||
node_modules
|
node_modules
|
||||||
release_notes/
|
release_notes/
|
||||||
spec/
|
spec/
|
||||||
@@ -15,6 +14,8 @@ jasmine-core.gemspec
|
|||||||
.gitignore
|
.gitignore
|
||||||
*.sh
|
*.sh
|
||||||
Gruntfile.js
|
Gruntfile.js
|
||||||
|
lib/jasmine-core.rb
|
||||||
lib/jasmine-core/boot/
|
lib/jasmine-core/boot/
|
||||||
lib/jasmine-core/spec
|
lib/jasmine-core/spec
|
||||||
lib/jasmine-core/version.rb
|
lib/jasmine-core/version.rb
|
||||||
|
lib/jasmine-core/*.py
|
||||||
|
|||||||
BIN
dist/jasmine-standalone-2.0.3.zip
vendored
Normal file
BIN
dist/jasmine-standalone-2.0.3.zip
vendored
Normal file
Binary file not shown.
@@ -3,18 +3,28 @@ module.exports.boot = require('./jasmine-core/node_boot.js');
|
|||||||
|
|
||||||
module.exports.files = (function() {
|
module.exports.files = (function() {
|
||||||
var path = require('path'),
|
var path = require('path'),
|
||||||
fs = require('fs'),
|
fs = require('fs');
|
||||||
glob = require('glob');
|
|
||||||
|
|
||||||
var rootPath = path.join(__dirname, "jasmine-core"),
|
var rootPath = path.join(__dirname, "jasmine-core"),
|
||||||
bootFiles = ['boot.js'],
|
bootFiles = ['boot.js'],
|
||||||
nodeBootFiles = ['node_boot.js'];
|
nodeBootFiles = ['node_boot.js'],
|
||||||
|
cssFiles = [],
|
||||||
|
jsFiles = [],
|
||||||
|
jsFilesToSkip = ['jasmine.js'].concat(bootFiles, nodeBootFiles);
|
||||||
|
|
||||||
var cssFiles = glob.sync(path.join(rootPath, '*.css')).map(path.basename);
|
fs.readdirSync(rootPath).forEach(function(file) {
|
||||||
var jsFiles = glob.sync(path.join(rootPath, '*.js')).map(path.basename);
|
if(fs.statSync(path.join(rootPath, file)).isFile()) {
|
||||||
|
switch(path.extname(file)) {
|
||||||
['jasmine.js'].concat(bootFiles, nodeBootFiles).forEach(function(file) {
|
case '.css':
|
||||||
jsFiles.splice(jsFiles.indexOf(file), 1);
|
cssFiles.push(file);
|
||||||
|
break;
|
||||||
|
case '.js':
|
||||||
|
if (jsFilesToSkip.indexOf(file) < 0) {
|
||||||
|
jsFiles.push(file);
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
|||||||
@@ -2589,5 +2589,5 @@ getJasmineRequireObj().interface = function(jasmine, env) {
|
|||||||
};
|
};
|
||||||
|
|
||||||
getJasmineRequireObj().version = function() {
|
getJasmineRequireObj().version = function() {
|
||||||
return '2.0.2';
|
return '2.0.4';
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -4,6 +4,6 @@
|
|||||||
#
|
#
|
||||||
module Jasmine
|
module Jasmine
|
||||||
module Core
|
module Core
|
||||||
VERSION = "2.0.2"
|
VERSION = "2.0.4"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "jasmine-core",
|
"name": "jasmine-core",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"version": "2.0.2",
|
"version": "2.0.4",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/pivotal/jasmine.git"
|
"url": "https://github.com/pivotal/jasmine.git"
|
||||||
|
|||||||
Reference in New Issue
Block a user