Compare commits

...

4 Commits

Author SHA1 Message Date
slackersoft
3132d98f23 Bump version to 2.0.4 now that I think npm files are sorted 2014-08-24 21:14:11 -07:00
slackersoft
b799f54bc9 Remove runtime dependency on 'glob' so we have no runtime deps
- Clean up .npmignore a bit more
2014-08-24 21:11:50 -07:00
slackersoft
3c051fc291 bump to 2.0.3 to fix npm dependencies 2014-08-22 22:50:46 -07:00
slackersoft
6b937da863 Fix npm dependencies 2014-08-22 22:47:43 -07:00
6 changed files with 23 additions and 12 deletions

View File

@@ -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

Binary file not shown.

View File

@@ -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 {

View File

@@ -2589,5 +2589,5 @@ getJasmineRequireObj().interface = function(jasmine, env) {
}; };
getJasmineRequireObj().version = function() { getJasmineRequireObj().version = function() {
return '2.0.2'; return '2.0.4';
}; };

View File

@@ -4,6 +4,6 @@
# #
module Jasmine module Jasmine
module Core module Core
VERSION = "2.0.2" VERSION = "2.0.4"
end end
end end

View File

@@ -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"