Skip to content

Commit afa451b

Browse files
authored
Merge pull request #278 from OpenF2/1.4.2-wip
1.4.2 wip
2 parents 0643587 + ab85b32 commit afa451b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

63 files changed

+192
-180
lines changed

F2.latest.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Gruntfile.js

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ module.exports = function(grunt) {
44
handlebars = require('handlebars'),
55
moment = require('moment'),
66
pkg = grunt.file.readJSON('package.json'),
7+
bower_pkg = grunt.file.readJSON('bower.json'),
78
semver = require('semver'),
89
path = require('path');
910

@@ -61,7 +62,7 @@ module.exports = function(grunt) {
6162
files: [
6263
{
6364
expand: true,
64-
cwd: 'docs/',
65+
cwd: 'docs/dist',
6566
src: ['**'],
6667
dest: '../gh-pages'
6768
},
@@ -424,13 +425,19 @@ module.exports = function(grunt) {
424425
grunt.log.error('"' + releaseType + '" is not a valid release type (major, minor, or patch) or SemVer version');
425426
return;
426427
}
428+
429+
var version = semver.valid(releaseType) ? releaseType : String(semver.inc(pkg.version, releaseType)).replace(/\-\w+$/, '');
427430

428-
pkg.version = semver.valid(releaseType) ? releaseType : String(semver.inc(pkg.version, releaseType)).replace(/\-\w+$/, '');
431+
pkg.version = version;
432+
bower_pkg.version = version;
433+
429434
pkg._releaseDate = new Date().toJSON();
430435
pkg._releaseDateFormatted = moment(pkg._releaseDate).format('D MMMM YYYY');
431436

432437
grunt.file.write('./package.json', JSON.stringify(pkg, null, '\t'));
438+
grunt.file.write('./bower.json', JSON.stringify(bower_pkg, null, '\t'));
433439
grunt.config.set('pkg', pkg);
440+
434441

435442
grunt.task.run('version');
436443
});
@@ -473,4 +480,5 @@ module.exports = function(grunt) {
473480
grunt.registerTask('test-live', ['jshint', 'express', 'express-keepalive']);
474481
grunt.registerTask('travis', ['test']);
475482
grunt.registerTask('default', ['test', 'js', 'docs', 'zip']);
483+
grunt.registerTask('build', ['js', 'docs', 'zip', 'packages', 'nuget'])
476484
};

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ Join the team and help contribute to F2 on GitHub. Begin by reading our [contrib
2828

2929
* Choose a [F2.js package](http://docs.openf2.org/f2js-sdk.html#packages), including [F2.basic.js](https://raw.github.com/OpenF2/F2/master/sdk/packages/f2.basic.min.js) (7kb, minified and gzipped)
3030
* Grab any version of F2 [on cdnjs.com](http://cdnjs.com/libraries/F2/).
31-
* For .NET developers: install the [NuGet Package](https://nuget.org/packages/F2/).
32-
* *Bower coming soon!*
31+
* For .NET developers: install the [NuGet Package](https://nuget.org/packages/F2/) or `PM> Install-Package F2`
32+
* Bower: `bower install F2`
3333

3434
### Docs
3535

bower.json

Lines changed: 35 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,36 @@
11
{
2-
"name": "F2",
3-
"description": "F2 is an open and free web integration framework designed to help you and other financial industry participants develop custom solutions that combine the best tools and content from multiple providers into one, privately-labeled, seamlessly integrated front-end.",
4-
"keywords": ["f2","openf2","markit f2"],
5-
"homepage": "http://www.openf2.org",
6-
"version": "1.4.1",
7-
"main": "F2.latest.js",
8-
"ignore": [
9-
"**/.*",
10-
".bowerrc",
11-
".gitignore",
12-
".gitattributes",
13-
".jshintrc",
14-
".travis.yml",
15-
"Gruntfile.js",
16-
"package.json",
17-
"README.md",
18-
"CONTRIBUTING.md",
19-
"ThirdPartyMaterial.md",
20-
"LICENSE",
21-
"docs",
22-
"examples",
23-
"sdk",
24-
"tests",
25-
"node_modules"
26-
],
27-
"license": "Apache-2.0",
28-
"repository": {
29-
"type": "git",
30-
"url": "git://github.com/OpenF2/F2.git"
31-
}
32-
}
2+
"name": "F2",
3+
"description": "F2 is an open and free web integration framework that allows you to deploy apps & components both within your existing web application and cross-domain.",
4+
"keywords": [
5+
"f2",
6+
"openf2",
7+
"markit f2"
8+
],
9+
"homepage": "http://www.openf2.org",
10+
"version": "1.4.2",
11+
"main": "F2.latest.js",
12+
"ignore": [
13+
"**/.*",
14+
".bowerrc",
15+
".gitignore",
16+
".gitattributes",
17+
".jshintrc",
18+
".travis.yml",
19+
"Gruntfile.js",
20+
"package.json",
21+
"README.md",
22+
"CONTRIBUTING.md",
23+
"ThirdPartyMaterial.md",
24+
"LICENSE",
25+
"docs",
26+
"examples",
27+
"sdk",
28+
"tests",
29+
"node_modules"
30+
],
31+
"license": "Apache-2.0",
32+
"repository": {
33+
"type": "git",
34+
"url": "git://github.com/OpenF2/F2.git"
35+
}
36+
}

dist/f2.basic.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1089,7 +1089,7 @@ if (typeof JSON !== 'object') {
10891089

10901090

10911091
/*!
1092-
* F2 v1.4.1 05-17-2016
1092+
* F2 v1.4.2 06-20-2016
10931093
* Copyright (c) 2014 Markit On Demand, Inc. http://www.openf2.org
10941094
*
10951095
* "F2" is licensed under the Apache License, Version 2.0 (the "License");
@@ -1453,7 +1453,7 @@ F2 = (function() {
14531453
* @method version
14541454
* @return {string} F2 version number
14551455
*/
1456-
version: function() { return '1.4.1'; }
1456+
version: function() { return '1.4.2'; }
14571457
};
14581458
})();
14591459

dist/f2.basic.min.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/f2.debug.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14362,7 +14362,7 @@ global.easyXDM = easyXDM;
1436214362
})(window, document, location, window.setTimeout, decodeURIComponent, encodeURIComponent);
1436314363

1436414364
/*!
14365-
* F2 v1.4.1 05-17-2016
14365+
* F2 v1.4.2 06-20-2016
1436614366
* Copyright (c) 2014 Markit On Demand, Inc. http://www.openf2.org
1436714367
*
1436814368
* "F2" is licensed under the Apache License, Version 2.0 (the "License");
@@ -14726,7 +14726,7 @@ F2 = (function() {
1472614726
* @method version
1472714727
* @return {string} F2 version number
1472814728
*/
14729-
version: function() { return '1.4.1'; }
14729+
version: function() { return '1.4.2'; }
1473014730
};
1473114731
})();
1473214732

dist/f2.min.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/f2.no-bootstrap.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14025,7 +14025,7 @@ global.easyXDM = easyXDM;
1402514025
})(window, document, location, window.setTimeout, decodeURIComponent, encodeURIComponent);
1402614026

1402714027
/*!
14028-
* F2 v1.4.1 05-17-2016
14028+
* F2 v1.4.2 06-20-2016
1402914029
* Copyright (c) 2014 Markit On Demand, Inc. http://www.openf2.org
1403014030
*
1403114031
* "F2" is licensed under the Apache License, Version 2.0 (the "License");
@@ -14389,7 +14389,7 @@ F2 = (function() {
1438914389
* @method version
1439014390
* @return {string} F2 version number
1439114391
*/
14392-
version: function() { return '1.4.1'; }
14392+
version: function() { return '1.4.2'; }
1439314393
};
1439414394
})();
1439514395

dist/f2.no-bootstrap.min.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)