Skip to content

Commit

Permalink
chore(all): prepare release 0.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
EisenbergEffect committed Jul 2, 2015
1 parent e3936c6 commit 806c435
Show file tree
Hide file tree
Showing 9 changed files with 35 additions and 18 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "aurelia-metadata",
"version": "0.6.0",
"version": "0.7.0",
"description": "Utilities for reading and writing the metadata of JavaScript functions.",
"keywords": [
"aurelia",
Expand Down
6 changes: 3 additions & 3 deletions dist/amd/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ define(['exports', 'core-js'], function (exports, _coreJs) {
var metadataContainerKey = '__metadata__';

if (typeof theGlobal.System === 'undefined') {
theGlobal.System = {};
theGlobal.System = { isFake: true };
}

if (typeof System.forEachModule === 'undefined') {
Expand Down Expand Up @@ -135,13 +135,13 @@ define(['exports', 'core-js'], function (exports, _coreJs) {
var exp = value[name];
if (exp === fn) {
originStorage.set(fn, origin = new Origin(key, name));
return;
return true;
}
}

if (value === fn) {
originStorage.set(fn, origin = new Origin(key, 'default'));
return;
return true;
}
});
}
Expand Down
6 changes: 3 additions & 3 deletions dist/commonjs/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ var emptyMetadata = Object.freeze({});
var metadataContainerKey = '__metadata__';

if (typeof theGlobal.System === 'undefined') {
theGlobal.System = {};
theGlobal.System = { isFake: true };
}

if (typeof System.forEachModule === 'undefined') {
Expand Down Expand Up @@ -136,13 +136,13 @@ var Origin = (function () {
var exp = value[name];
if (exp === fn) {
originStorage.set(fn, origin = new Origin(key, name));
return;
return true;
}
}

if (value === fn) {
originStorage.set(fn, origin = new Origin(key, 'default'));
return;
return true;
}
});
}
Expand Down
6 changes: 3 additions & 3 deletions dist/es6/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const emptyMetadata = Object.freeze({});
const metadataContainerKey = '__metadata__';

if(typeof theGlobal.System === 'undefined'){
theGlobal.System = {};
theGlobal.System = { isFake:true };
}

if(typeof System.forEachModule === 'undefined'){
Expand Down Expand Up @@ -148,13 +148,13 @@ export class Origin {
var exp = value[name];
if(exp === fn){
originStorage.set(fn, origin = new Origin(key, name));
return;
return true;
}
}

if(value === fn){
originStorage.set(fn, origin = new Origin(key, 'default'));
return;
return true;
}
});
}
Expand Down
6 changes: 3 additions & 3 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const emptyMetadata = Object.freeze({});
const metadataContainerKey = '__metadata__';

if(typeof theGlobal.System === 'undefined'){
theGlobal.System = {};
theGlobal.System = { isFake:true };
}

if(typeof System.forEachModule === 'undefined'){
Expand Down Expand Up @@ -148,13 +148,13 @@ export class Origin {
var exp = value[name];
if(exp === fn){
originStorage.set(fn, origin = new Origin(key, name));
return;
return true;
}
}

if(value === fn){
originStorage.set(fn, origin = new Origin(key, 'default'));
return;
return true;
}
});
}
Expand Down
6 changes: 3 additions & 3 deletions dist/system/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ System.register(['core-js'], function (_export) {
metadataContainerKey = '__metadata__';

if (typeof theGlobal.System === 'undefined') {
theGlobal.System = {};
theGlobal.System = { isFake: true };
}

if (typeof System.forEachModule === 'undefined') {
Expand Down Expand Up @@ -135,13 +135,13 @@ System.register(['core-js'], function (_export) {
var exp = value[name];
if (exp === fn) {
originStorage.set(fn, origin = new Origin(key, name));
return;
return true;
}
}

if (value === fn) {
originStorage.set(fn, origin = new Origin(key, 'default'));
return;
return true;
}
});
}
Expand Down
17 changes: 17 additions & 0 deletions doc/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
## 0.7.0 (2015-07-01)


#### Bug Fixes

* **all:** address issue with globals and remove unnecessary Reflect.metadata poly ([93cda3b4](https://github.com/aurelia/metadata/commit/93cda3b401e706b837fc398c1fc106e829e936fe))
* **metadata:** mark fake System as such ([c40cfcb8](https://github.com/aurelia/metadata/commit/c40cfcb87c3c788f607d3ff67bf494ca05f5be15))
* **origin:** short-circuit module registry search on origin location success ([889e0ce7](https://github.com/aurelia/metadata/commit/889e0ce753d40b320ca803a5e4b16e4716219707))
* **package:** update aurelia tools and dts generator ([4cba6176](https://github.com/aurelia/metadata/commit/4cba61761b80ad9241a2516c72bee5999abe8986))
* **test:** correct import sources ([fd5b6f06](https://github.com/aurelia/metadata/commit/fd5b6f0696aa8e735fcf59f633e7b7f75924932f))


#### Features

* **build:** d.ts generation and build concat ([e7e24b5b](https://github.com/aurelia/metadata/commit/e7e24b5b0502920c6616219d305134c1e69b4fea))


## 0.6.0 (2015-06-08)


Expand Down
2 changes: 1 addition & 1 deletion doc/api.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"name":"metadata","description":"Utilities for reading and writing the metadata of JavaScript functions.","classes":[{"name":"Metadata","file":"aurelia/metadata/src/metadata.js","line":20,"description":"Provides helpers for working with metadata.","static":1,"methods":[],"properties":[],"events":[]},{"name":"Origin","file":"aurelia/metadata/src/origin.js","line":14,"description":"A metadata annotation that describes the origin module of the function to which it's attached.","is_constructor":1,"params":[{"name":"moduleId","description":"The origin module id.","type":"String"},{"name":"moduleMember","description":"The name of the export in the origin module.","type":"String"}],"methods":[{"line":28,"description":"Get the Origin annotation for the specified function.","name":"get","static":1,"params":[{"name":"fn","description":"The function to inspect for Origin metadata.","type":"Function"}],"return":{"description":"Returns the Origin metadata.","type":"Origin"}},{"line":59,"description":"Set the Origin annotation for the specified function.","name":"set","static":1,"params":[{"name":"fn","description":"The function to set the Origin metadata on.","type":"Function"},{"name":"fn","description":"The Origin metadata to store on the function.","type":"Origin"}],"return":{"description":"Returns the Origin metadata.","type":"Origin"}}],"properties":[],"events":[]}],"methods":[],"properties":[],"events":[]}
{"classes":[{"name":"Metadata","file":"aurelia/metadata/src/metadata.js","line":70,"description":"Provides helpers for working with metadata.","static":1,"methods":[],"properties":[],"events":[]},{"name":"Origin","file":"aurelia/metadata/src/origin.js","line":6,"description":"A metadata annotation that describes the origin module of the function to which it's attached.","is_constructor":1,"params":[{"name":"moduleId","description":"The origin module id.","type":"String"},{"name":"moduleMember","description":"The name of the export in the origin module.","type":"String"}],"methods":[{"line":20,"description":"Get the Origin annotation for the specified function.","name":"get","static":1,"params":[{"name":"fn","description":"The function to inspect for Origin metadata.","type":"Function"}],"return":{"description":"Returns the Origin metadata.","type":"Origin"}},{"line":51,"description":"Set the Origin annotation for the specified function.","name":"set","static":1,"params":[{"name":"fn","description":"The function to set the Origin metadata on.","type":"Function"},{"name":"fn","description":"The Origin metadata to store on the function.","type":"Origin"}],"return":{"description":"Returns the Origin metadata.","type":"Origin"}}],"properties":[],"events":[]}],"methods":[],"properties":[],"events":[]}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "aurelia-metadata",
"version": "0.6.0",
"version": "0.7.0",
"description": "Utilities for reading and writing the metadata of JavaScript functions.",
"keywords": [
"aurelia",
Expand Down

0 comments on commit 806c435

Please sign in to comment.